pvlib.temperature.GenericLinearModel.to_sapm#

GenericLinearModel.to_sapm(wind_fit_low=1.4, wind_fit_high=5.4)[source]#

Convert the generic model parameters to SAPM model equivalents.

In the SAPM the heat transfer coefficient increases exponentially with windspeed, whereas in the other models the increase is linear. This function equates SAPM to the generic linear model at two specified winds speeds, thereby defining an exponential approximation for the linear behavior.

Parameters
  • wind_fit_low (float, optional) – First wind speed value at which the generic linear model must be equal to the SAPM model. [m/s]

  • wind_fit_high (float, optional) – Second wind speed value at which the generic linear model must be equal to the SAPM model. [m/s]

Returns

model_parameters (dict) – See pvlib.temperature.sapm_module() for model parameter details.

Notes

The two default wind speed values are based on measurements at 10 m height. Both the SAPM model and the conversion functions can work with wind speed data at different heights as long as the same height is used consistently throughout.