10000 add klucher to total_irrad test list · dacoex/pvlib-python@846bd17 · GitHub
[go: up one dir, main page]

Skip to content

Commit 846bd17

Browse files
committed
add klucher to total_irrad test list
1 parent ea5a383 commit 846bd17

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pvlib/test/test_irradiance.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,18 @@ def test_perez():
137137
dni_et, ephem_data['apparent_zenith'],
138138
ephem_data['apparent_azimuth'], AM)
139139

140-
140+
# klutcher (misspelling) will be removed in 0.3
141141
def test_total_irrad():
142-
models = ['isotropic', 'klutcher', 'haydavies', 'reindl', 'king', 'perez']
142+
models = ['isotropic', 'klutcher', 'klucher',
143+
'haydavies', 'reindl', 'king', 'perez']
143144
AM = atmosphere.relativeairmass(ephem_data['apparent_zenith'])
144145

145146
for model in models:
146147
total = irradiance.total_irrad(
147148
32, 180,
148149
ephem_data['apparent_zenith'], ephem_data['azimuth'],
149-
dni=irrad_data['dni'], ghi=irrad_data['ghi'], dhi=irrad_data['dhi'],
150+
dni=irrad_data['dni'], ghi=irrad_data['ghi'],
151+
dhi=irrad_data['dhi'],
150152
dni_extra=dni_et, airmass=AM,
151153
model=model,
152154
surface_type='urban')

0 commit comments

Comments
 (0)
0