Skip to content

Commit 2bbc618

Browse files
committed
more doc improvements
1 parent 7a863fc commit 2bbc618

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/sphinx/source/package_overview.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,21 @@ object to accomplish our modeling goal:
171171
172172
other_system_params = {} # sometime helpful to break apart
173173
base_system = PVSystem(module_parameters=module,
174-
inverter_parameters=inverter)
174+
inverter_parameters=inverter,
175+
**other_system_params)
175176
176177
energies = {}
177178
for latitude, longitude, name in coordinates:
178179
localized_system = base_system.localize(latitude, longitude, name=name)
179180
localized_system.surface_tilt = latitude
180181
localized_system.surface_azimuth = 0
181-
cs = localized_system.get_clearsky(times)
182+
clearsky = localized_system.get_clearsky(times)
182183
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'])
184189
temps = localized_system.sapm_celltemp(total_irrad['poa_global'], 0, 20)
185190
aoi = localized_system.get_aoi(solar_position['apparent_zenith'],
186191
solar_position['azimuth'])

0 commit comments

Comments
 (0)