Skip to content

Commit 32a006e

Browse files
committed
fix the things I broke
1 parent 6a4115e commit 32a006e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pvlib/temperature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def fuentes(poa_global, temp_air, wind_speed, noct_installed, module_height=5,
526526
absorp = absorption
527527
xlen = hydraulic_diameter
528528
cap0 = 11000
529-
tinoct = inoct + 273.15
529+
tinoct = noct_installed + 273.15
530530

531531
# convective coefficient of top surface of module at NOCT
532532
windmod = 1.0

pvlib/tests/test_temperature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_fuentes(filename, inoct):
166166
'poa_global': data['Plane of Array Irradiance (W/m^2)'],
167167
'temp_air': data['Ambient Temperature (C)'],
168168
'wind_speed': data['Wind Speed (m/s)'],
169-
'inoct': inoct,
169+
'noct_installed': inoct,
170170
}
171171
expected_tcell = data['Cell Temperature (C)']
172172
expected_tcell.name = 'tmod'

0 commit comments

Comments
 (0)