@@ -138,8 +138,9 @@ provided for each array, and the arrays are provided to
138138.. ipython :: python
139139
140140 module_parameters = {' pdc0' : 5000 , ' gamma_pdc' : - 0.004 }
141- array_one = pvsystem.Array(module_parameters = module_parameters)
142- array_two = pvsystem.Array(module_parameters = module_parameters)
141+ mount = pvsystem.FixedMount(surface_tilt = 20 , surface_azimuth = 180 )
142+ array_one = pvsystem.Array(mount = mount, module_parameters = module_parameters)
143+ array_two = pvsystem.Array(mount = mount, module_parameters = module_parameters)
143144 system_two_arrays = pvsystem.PVSystem(arrays = [array_one, array_two],
144145 inverter_parameters = inverter_parameters)
145146 print ([array.module_parameters for array in system_two_arrays.arrays])
@@ -148,7 +149,7 @@ provided for each array, and the arrays are provided to
148149
149150 The :py:class: `~pvlib.pvsystem.Array ` class includes those
150151:py:class: `~pvlib.pvsystem.PVSystem ` attributes that may vary from array
151- to array. These attributes include ` surface_tilt `, ` surface_azimuth `,
152+ to array. These attributes include
152153`module_parameters `, `temperature_model_parameters `, `modules_per_string `,
153154`strings_per_inverter `, `albedo `, `surface_type `, `module_type `, and
154155`racking_model `.
@@ -179,27 +180,30 @@ Tilt and azimuth
179180The first parameters which describe the DC part of a PV system are the tilt
180181and azimuth of the modules. In the case of a PV system with a single array,
181182these parameters can be specified using the `PVSystem.surface_tilt ` and
182- `PVSystem.surface_azimuth ` attributes.
183+ `PVSystem.surface_azimuth ` attributes. This will automatically create
184+ an :py:class: `~pvlib.pvsystem.Array ` with a :py:class: `~pvlib.pvsystem.FixedMount `
185+ at the specified tilt and azimuth:
183186
184187.. ipython :: python
185188
186189 # single south-facing array at 20 deg tilt
187190 system_one_array = pvsystem.PVSystem(surface_tilt = 20 , surface_azimuth = 180 )
188- print (system_one_array.arrays[0 ].surface_tilt,
189- system_one_array.arrays[0 ].surface_azimuth)
191+ print (system_one_array.arrays[0 ].mount)
190192
191193
192194 In the case of a PV system with several arrays, the parameters are specified
193- for each array using the attributes `Array.surface_tilt ` and `Array.surface_azimuth `.
195+ for each array by passing a different :py:class: `~pvlib.pvsystem.FixedMount `
196+ (or another `Mount ` class):
194197
195198.. ipython :: python
196199
197- array_one = pvsystem.Array(surface_tilt = 30 , surface_azimuth = 90 )
198- print (array_one.surface_tilt, array_one.surface_azimuth)
199- array_two = pvsystem.Array(surface_tilt = 30 , surface_azimuth = 220 )
200+ array_one = pvsystem.Array(pvsystem.FixedMount( surface_tilt = 30 , surface_azimuth = 90 ) )
201+ print (array_one.mount. surface_tilt, array_one.mount .surface_azimuth)
202+ array_two = pvsystem.Array(pvsystem.FixedMount( surface_tilt = 30 , surface_azimuth = 220 ) )
200203 system = pvsystem.PVSystem(arrays = [array_one, array_two])
201204 system.num_arrays
202- [(array.surface_tilt, array.surface_azimuth) for array in system.arrays]
205+ for array in system.arrays:
206+ print (array.mount)
203207
204208
205209 The `surface_tilt ` and `surface_azimuth ` attributes are used in PVSystem
@@ -215,8 +219,7 @@ and `solar_azimuth` as arguments.
215219
216220 # single south-facing array at 20 deg tilt
217221 system_one_array = pvsystem.PVSystem(surface_tilt = 20 , surface_azimuth = 180 )
218- print (system_one_array.arrays[0 ].surface_tilt,
219- system_one_array.arrays[0 ].surface_azimuth)
222+ print (system_one_array.arrays[0 ].mount)
220223
221224 # call get_aoi with solar_zenith, solar_azimuth
222225 aoi = system_one_array.get_aoi(solar_zenith = 30 , solar_azimuth = 180 )
@@ -229,7 +232,7 @@ operates in a similar manner.
229232.. ipython :: python
230233
231234 # two arrays each at 30 deg tilt with different facing
232- array_one = pvsystem.Array(surface_tilt = 30 , surface_azimuth = 90 )
235+ array_one = pvsystem.Array(pvsystem.FixedMount( surface_tilt = 30 , surface_azimuth = 90 ) )
233236 array_one_aoi = array_one.get_aoi(solar_zenith = 30 , solar_azimuth = 180 )
234237 print (array_one_aoi)
235238
@@ -240,7 +243,7 @@ operates on all `Array` instances in the `PVSystem`, whereas the the
240243
241244.. ipython :: python
242245
243- array_two = pvsystem.Array(surface_tilt = 30 , surface_azimuth = 220 )
246+ array_two = pvsystem.Array(pvsystem.FixedMount( surface_tilt = 30 , surface_azimuth = 220 ) )
244247 system_multiarray = pvsystem.PVSystem(arrays = [array_one, array_two])
245248 print (system_multiarray.num_arrays)
246249 # call get_aoi with solar_zenith, solar_azimuth
@@ -315,8 +318,8 @@ Losses
315318
316319The `losses_parameters ` attribute contains data that may be used with
317320methods that calculate system losses. At present, these methods include
318- only :py:meth: `PVSystem.pvwatts_losses ` and
319- :py:func: `pvsystem.pvwatts_losses `, but we hope to add more related functions
321+ only :py:meth: `pvlib.pvsystem. PVSystem.pvwatts_losses ` and
322+ :py:func: `pvlib. pvsystem.pvwatts_losses `, but we hope to add more related functions
320323and methods in the future.
321324
322325
0 commit comments