Skip to content

Commit bd13a1b

Browse files
tsaoyuwholmgren
authored andcommitted
Add sea surface albedo (#458)
* Add sea surface albedo * Change signature of grounddiffuse * Correct sea surface albedos as mentioned in #458 * Point albedos reference to pvsyst v6 and add sea surface reference * Add comments on surface albedos * Update whatsnew for 0.6.0
1 parent 8da6afc commit bd13a1b

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/sphinx/source/whatsnew/v0.6.0.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ API Changes
1010

1111
Enhancements
1212
~~~~~~~~~~~~
13-
13+
* Add sea surface albedo in irradiance.py (:issue:`458`)
1414

1515
Bug fixes
1616
~~~~~~~~~
@@ -28,3 +28,4 @@ Testing
2828
Contributors
2929
~~~~~~~~~~~~
3030
* Will Holmgren
31+
* Yu Cao

pvlib/irradiance.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from pvlib import solarposition
1818
from pvlib import atmosphere
1919

20-
20+
# see References section of grounddiffuse function
2121
SURFACE_ALBEDOS = {'urban': 0.18,
2222
'grass': 0.20,
2323
'fresh grass': 0.26,
@@ -30,7 +30,8 @@
3030
'aluminum': 0.85,
3131
'copper': 0.74,
3232
'fresh steel': 0.35,
33-
'dirty steel': 0.08}
33+
'dirty steel': 0.08,
34+
'sea': 0.06}
3435

3536

3637
def extraradiation(datetime_or_doy, solar_constant=1366.1, method='spencer',
@@ -470,8 +471,8 @@ def grounddiffuse(surface_tilt, ghi, albedo=.25, surface_type=None):
470471
471472
surface_type: None or string, default None
472473
If not None, overrides albedo. String can be one of ``'urban',
473-
'grass', 'fresh grass', 'snow', 'fresh snow', 'asphalt',
474-
'concrete', 'aluminum', 'copper', 'fresh steel', 'dirty steel'``.
474+
'grass', 'fresh grass', 'snow', 'fresh snow', 'asphalt', 'concrete',
475+
'aluminum', 'copper', 'fresh steel', 'dirty steel', 'sea'``.
475476
476477
Returns
477478
-------
@@ -488,9 +489,11 @@ def grounddiffuse(surface_tilt, ghi, albedo=.25, surface_type=None):
488489
The calculation is the last term of equations 3, 4, 7, 8, 10, 11, and 12.
489490
490491
[2] albedos from:
491-
http://pvpmc.org/modeling-steps/incident-irradiance/plane-of-array-poa-irradiance/calculating-poa-irradiance/poa-ground-reflected/albedo/
492+
http://files.pvsyst.com/help/albedo.htm
492493
and
493494
http://en.wikipedia.org/wiki/Albedo
495+
and
496+
https://doi.org/10.1175/1520-0469(1972)029<0959:AOTSS>2.0.CO;2
494497
'''
495498

496499
if surface_type is not None:

0 commit comments

Comments
 (0)