@@ -276,6 +276,8 @@ def get_irradiance_poa(surface_tilt, surface_azimuth, solar_zenith,
276276 [W/m^2]
277277 - ``poa_ground_diffuse`` : total ground-reflected diffuse irradiance on the
278278 plane of array. [W/m^2]
279+ - ``shaded_fraction`` : fraction of row slant height from the bottom that
280+ is shaded from direct irradiance by adjacent rows. [unitless]
279281
280282 References
281283 ----------
@@ -369,7 +371,7 @@ def get_irradiance_poa(surface_tilt, surface_azimuth, solar_zenith,
369371 output = {
370372 'poa_global' : poa_global , 'poa_direct' : poa_direct ,
371373 'poa_diffuse' : poa_diffuse , 'poa_ground_diffuse' : poa_gnd_pv ,
372- 'poa_sky_diffuse' : poa_sky_pv }
374+ 'poa_sky_diffuse' : poa_sky_pv , 'shaded_fraction' : f_x }
373375 if isinstance (poa_global , pd .Series ):
374376 output = pd .DataFrame (output )
375377 return output
@@ -502,6 +504,9 @@ def get_irradiance(surface_tilt, surface_azimuth, solar_zenith, solar_azimuth,
502504 cells from the front surface. [W/m^2]
503505 - ``poa_front_ground_diffuse`` : ground-reflected diffuse irradiance
504506 reaching the module cells from the front surface. [W/m^2]
507+ - ``shaded_fraction_front`` : fraction of row slant height from the bottom
508+ that is shaded from direct irradiance on the front surface by adjacent
509+ rows. [unitless]
505510 - ``poa_back_direct`` : direct irradiance reaching the module cells from
506511 the back surface. [W/m^2]
507512 - ``poa_back_diffuse`` : total diffuse irradiance reaching the module
@@ -510,6 +515,9 @@ def get_irradiance(surface_tilt, surface_azimuth, solar_zenith, solar_azimuth,
510515 cells from the back surface. [W/m^2]
511516 - ``poa_back_ground_diffuse`` : ground-reflected diffuse irradiance
512517 reaching the module cells from the back surface. [W/m^2]
518+ - ``shaded_fraction_back`` : fraction of row slant height from the bottom
519+ that is shaded from direct irradiance on the back surface by adjacent
520+ rows. [unitless]
513521
514522 References
515523 ----------
@@ -545,13 +553,15 @@ def get_irradiance(surface_tilt, surface_azimuth, solar_zenith, solar_azimuth,
545553 'poa_diffuse' : 'poa_front_diffuse' ,
546554 'poa_sky_diffuse' : 'poa_front_sky_diffuse' ,
547555 'poa_ground_diffuse' : 'poa_front_ground_diffuse' ,
556+ 'shaded_fraction' : 'shaded_fraction_front' ,
548557 }
549558 colmap_back = {
550559 'poa_global' : 'poa_back' ,
551560 'poa_direct' : 'poa_back_direct' ,
552561 'poa_diffuse' : 'poa_back_diffuse' ,
553562 'poa_sky_diffuse' : 'poa_back_sky_diffuse' ,
554563 'poa_ground_diffuse' : 'poa_back_ground_diffuse' ,
564+ 'shaded_fraction' : 'shaded_fraction_back' ,
555565 }
556566
557567 if isinstance (ghi , pd .Series ):
0 commit comments