@@ -134,7 +134,7 @@ class PVSystem:
134134 a single array is created from the other parameters (e.g.
135135 `surface_tilt`, `surface_azimuth`). Must contain at least one Array,
136136 if length of arrays is 0 a ValueError is raised. If `arrays` is
137- specified the following PVSystem parameters are ignored:
137+ specified the following parameters are ignored:
138138
139139 - `surface_tilt`
140140 - `surface_azimuth`
@@ -157,16 +157,13 @@ class PVSystem:
157157 North=0, East=90, South=180, West=270.
158158
159159 albedo : None or float, default None
160- Ground surface albedo. If ``None``, then ``surface_type`` is used
161- to look up a value in ``irradiance.SURFACE_ALBEDOS``.
162- If ``surface_type`` is also None then a ground surface albedo
163- of 0.25 is used. For time-dependent albedos, add ``'albedo'`` to
164- the input ``'weather'`` DataFrame for
165- :py:class:`pvlib.modelchain.ModelChain` methods.
160+ The ground albedo. If ``None``, will attempt to use
161+ ``surface_type`` and ``irradiance.SURFACE_ALBEDOS``
162+ to lookup albedo.
166163
167164 surface_type : None or string, default None
168- The ground surface type. See ``irradiance.SURFACE_ALBEDOS`` for
169- valid values.
165+ The ground surface type. See ``irradiance.SURFACE_ALBEDOS``
166+ for valid values.
170167
171168 module : None or string, default None
172169 The model name of the modules.
@@ -336,32 +333,30 @@ def get_aoi(self, solar_zenith, solar_azimuth):
336333
337334 @_unwrap_single_value
338335 def get_irradiance (self , solar_zenith , solar_azimuth , dni , ghi , dhi ,
339- albedo = None , dni_extra = None , airmass = None ,
340- model = 'haydavies' , ** kwargs ):
336+ dni_extra = None , airmass = None , model = 'haydavies' ,
337+ ** kwargs ):
341338 """
342339 Uses the :py:func:`irradiance.get_total_irradiance` function to
343340 calculate the plane of array irradiance components on a tilted
344- surface defined by ``self.surface_tilt`` and ``self.surface_azimuth```.
341+ surface defined by ``self.surface_tilt``,
342+ ``self.surface_azimuth``, and ``self.albedo``.
345343
346344 Parameters
347345 ----------
348- solar_zenith : float or Series
346+ solar_zenith : float or Series.
349347 Solar zenith angle.
350- solar_azimuth : float or Series
348+ solar_azimuth : float or Series.
351349 Solar azimuth angle.
352350 dni : float or Series or tuple of float or Series
353- Direct Normal Irradiance. [W/m2]
351+ Direct Normal Irradiance
354352 ghi : float or Series or tuple of float or Series
355- Global horizontal irradiance. [W/m2]
353+ Global horizontal irradiance
356354 dhi : float or Series or tuple of float or Series
357- Diffuse horizontal irradiance. [W/m2]
358- albedo : None, float or Series, default None
359- Ground surface albedo. [unitless]
360- dni_extra : None, float, Series or tuple of float or Series,
361- default None
362- Extraterrestrial direct normal irradiance. [W/m2]
355+ Diffuse horizontal irradiance
356+ dni_extra : None, float or Series, default None
357+ Extraterrestrial direct normal irradiance
363358 airmass : None, float or Series, default None
364- Airmass. [unitless]
359+ Airmass
365360 model : String, default 'haydavies'
366361 Irradiance model.
367362
@@ -381,26 +376,17 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
381376 poa_irradiance : DataFrame or tuple of DataFrame
382377 Column names are: ``'poa_global', 'poa_direct', 'poa_diffuse',
383378 'poa_sky_diffuse', 'poa_ground_diffuse'``.
384-
385- See also
386- --------
387- :py:func:`pvlib.irradiance.get_total_irradiance`
388379 """
389380 dni = self ._validate_per_array (dni , system_wide = True )
390381 ghi = self ._validate_per_array (ghi , system_wide = True )
391382 dhi = self ._validate_per_array (dhi , system_wide = True )
392-
393- albedo = self ._validate_per_array (albedo , system_wide = True )
394-
395383 return tuple (
396384 array .get_irradiance (solar_zenith , solar_azimuth ,
397385 dni , ghi , dhi ,
398- albedo = albedo ,
399- dni_extra = dni_extra , airmass = airmass ,
400- model = model ,
386+ dni_extra , airmass , model ,
401387 ** kwargs )
402- for array , dni , ghi , dhi , albedo in zip (
403- self .arrays , dni , ghi , dhi , albedo
388+ for array , dni , ghi , dhi in zip (
389+ self .arrays , dni , ghi , dhi
404390 )
405391 )
406392
@@ -1272,14 +1258,14 @@ class Array:
12721258 If not provided, a FixedMount with zero tilt is used.
12731259
12741260 albedo : None or float, default None
1275- Ground surface albedo. If ``None``, then ``surface_type`` is used
1276- to look up a value in ``irradiance.SURFACE_ALBEDOS``.
1277- If ``surface_type`` is also None then a ground surface albedo
1278- of 0.25 is used.
1261+ The ground albedo. If ``None``, will attempt to use
1262+ ``surface_type`` to look up an albedo value in
1263+ ``irradiance.SURFACE_ALBEDOS``. If a surface albedo
1264+ cannot be found then 0.25 is used.
12791265
12801266 surface_type : None or string, default None
1281- The ground surface type. See ``irradiance.SURFACE_ALBEDOS`` for valid
1282- values.
1267+ The ground surface type. See ``irradiance.SURFACE_ALBEDOS``
1268+ for valid values.
12831269
12841270 module : None or string, default None
12851271 The model name of the modules.
@@ -1439,14 +1425,15 @@ def get_aoi(self, solar_zenith, solar_azimuth):
14391425 solar_zenith , solar_azimuth )
14401426
14411427 def get_irradiance (self , solar_zenith , solar_azimuth , dni , ghi , dhi ,
1442- albedo = None , dni_extra = None , airmass = None ,
1443- model = 'haydavies' , ** kwargs ):
1428+ dni_extra = None , airmass = None , model = 'haydavies' ,
1429+ ** kwargs ):
14441430 """
14451431 Get plane of array irradiance components.
14461432
14471433 Uses the :py:func:`pvlib.irradiance.get_total_irradiance` function to
14481434 calculate the plane of array irradiance components for a surface
1449- defined by ``self.surface_tilt`` and ``self.surface_azimuth``.
1435+ defined by ``self.surface_tilt`` and ``self.surface_azimuth`` with
1436+ albedo ``self.albedo``.
14501437
14511438 Parameters
14521439 ----------
@@ -1455,17 +1442,15 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
14551442 solar_azimuth : float or Series.
14561443 Solar azimuth angle.
14571444 dni : float or Series
1458- Direct normal irradiance. [W/m2]
1459- ghi : float or Series. [W/m2]
1445+ Direct Normal Irradiance
1446+ ghi : float or Series
14601447 Global horizontal irradiance
14611448 dhi : float or Series
1462- Diffuse horizontal irradiance. [W/m2]
1463- albedo : None, float or Series, default None
1464- Ground surface albedo. [unitless]
1449+ Diffuse horizontal irradiance
14651450 dni_extra : None, float or Series, default None
1466- Extraterrestrial direct normal irradiance. [W/m2]
1451+ Extraterrestrial direct normal irradiance
14671452 airmass : None, float or Series, default None
1468- Airmass. [unitless]
1453+ Airmass
14691454 model : String, default 'haydavies'
14701455 Irradiance model.
14711456
@@ -1478,14 +1463,7 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
14781463 poa_irradiance : DataFrame
14791464 Column names are: ``'poa_global', 'poa_direct', 'poa_diffuse',
14801465 'poa_sky_diffuse', 'poa_ground_diffuse'``.
1481-
1482- See also
1483- --------
1484- :py:func:`pvlib.irradiance.get_total_irradiance`
14851466 """
1486- if albedo is None :
1487- albedo = self .albedo
1488-
14891467 # not needed for all models, but this is easier
14901468 if dni_extra is None :
14911469 dni_extra = irradiance .get_extra_radiation (solar_zenith .index )
@@ -1498,10 +1476,10 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
14981476 orientation ['surface_azimuth' ],
14991477 solar_zenith , solar_azimuth ,
15001478 dni , ghi , dhi ,
1501- albedo = albedo ,
15021479 dni_extra = dni_extra ,
15031480 airmass = airmass ,
15041481 model = model ,
1482+ albedo = self .albedo ,
15051483 ** kwargs )
15061484
15071485 def get_iam (self , aoi , iam_model = 'physical' ):
0 commit comments