File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -171,16 +171,21 @@ object to accomplish our modeling goal:
171
171
172
172
other_system_params = {} # sometime helpful to break apart
173
173
base_system = PVSystem(module_parameters = module,
174
- inverter_parameters = inverter)
174
+ inverter_parameters = inverter,
175
+ ** other_system_params)
175
176
176
177
energies = {}
177
178
for latitude, longitude, name in coordinates:
178
179
localized_system = base_system.localize(latitude, longitude, name = name)
179
180
localized_system.surface_tilt = latitude
180
181
localized_system.surface_azimuth = 0
181
- cs = localized_system.get_clearsky(times)
182
+ clearsky = localized_system.get_clearsky(times)
182
183
solar_position = localized_system.get_solarposition(times)
183
- total_irrad = localized_system.get_irradiance(times, ** solpos, ** cs)
184
+ total_irrad = localized_system.get_irradiance(solar_position[' apparent_zenith' ],
185
+ solar_position[' azimuth' ],
186
+ clearsky[' dni' ],
187
+ clearsky[' ghi' ],
188
+ clearsky[' dhi' ])
184
189
temps = localized_system.sapm_celltemp(total_irrad[' poa_global' ], 0 , 20 )
185
190
aoi = localized_system.get_aoi(solar_position[' apparent_zenith' ],
186
191
solar_position[' azimuth' ])
You can’t perform that action at this time.
0 commit comments