File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -195,12 +195,16 @@ def test_SingleAxisTracker_tracking():
195
195
assert_frame_equal (expect , tracker_data )
196
196
197
197
### results calculated using PVsyst
198
+ pvsyst_solar_azimuth = 7.1609
199
+ pvsyst_solar_height = 27.315
200
+ pvsyst_axis_tilt = 20.
201
+ pvsyst_axis_azimuth = 20.
198
202
system .backtrack = False
199
203
system .max_angle = 60.
200
- system .axis_tilt = 20.
201
- system .axis_azimuth = 200.
202
- apparent_azimuth = pd .Series ([180 + 7.1609 ])
203
- apparent_zenith = pd .Series ([90 - 27.315 ])
204
+ system .axis_tilt = pvsyst_axis_tilt
205
+ system .axis_azimuth = 180 + pvsyst_axis_azimuth
206
+ apparent_azimuth = pd .Series ([180 + pvsyst_solar_azimuth ]) # the definition of azimuth is different from PYsyst
207
+ apparent_zenith = pd .Series ([90 - pvsyst_solar_height ])
204
208
tracker_data = system .singleaxis (apparent_zenith , apparent_azimuth )
205
209
expect = pd .DataFrame ({'aoi' : 41.07852 , 'surface_azimuth' : 180 - 18.432 ,
206
210
'surface_tilt' : 24.92122 , 'tracker_theta' : - 15.18391 },
You can’t perform that action at this time.
0 commit comments