Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions pvlib/temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,61 @@ def pvsyst_cell(poa_global, temp_air, wind_speed=1.0, u_c=29.0, u_v=0.0,
heat_input = poa_global * alpha_absorption * (1 - eta_m)
temp_difference = heat_input / total_loss_factor
return temp_air + temp_difference


def faiman(poa_global, temp_air, wind_speed=1.0, u0=25.0, u1=5.0):
'''
Calculate cell/module temperature using an empirical heat loss factor
model as proposed by Faiman [2] and adopted in the IEC 61853 standards [1].

Usage of this model in the IEC 61853 standard does not distinguish
between cell and module temperature.

Parameters
----------
poa_global : numeric
Total incident irradiance [W/m^2].

temp_air : numeric
Ambient dry bulb temperature [C].

wind_speed : numeric, default 1.0
Wind speed in m/s measured at the same height for which the wind loss
factor was determined. The default value 1.0 m/s is the wind
speed at module height used to determine NOCT. [m/s]

u_c : numeric, default 25.0
Combined heat loss factor coefficient. The default value is
just a round number that is somewhat realistic. [W/(m^2 C)].

u_v : numeric, default 5.0
Combined heat loss factor influenced by wind. The default value is
just a round number that is somewhat realistic. [(W/m^2 C)(m/s)].

Returns
-------
numeric, values in degrees Celsius

Notes
-----
If multiple arguments are vectors they must be the same length.

References
----------
[1] IEC 61853...

[2] Faiman, D. (2008). "Assessing the outdoor operating temperature of
photovoltaic modules." Progress in Photovoltaics 16(4): 307-315.
'''
# Contributed by Anton Driesse (@adriesse), PV Performance Labs. Dec., 2019

# The following lines may seem odd since u0 & u1 are probably scalar,
# but it serves an indirect and easy way of allowing lists and
# tuples for the other function arguments.
u0 = np.asanyarray(u0)
u1 = np.asanyarray(u1)

total_loss_factor = u0 + u1 * wind_speed
heat_input = poa_global
temp_difference = heat_input / total_loss_factor
return temp_air + temp_difference