rdtools.normalization.sapm_dc_power

rdtools.normalization.sapm_dc_power(pvlib_pvsystem, met_data)

Deprecated since version 2.0.0: The sapm_dc_power function was deprecated in rdtools 2.0.0 and will be removed in 3.0.0. Use normalize_with_expected_power instead.

Use Sandia Array Performance Model (SAPM) and PVWatts to compute the effective DC power using measured irradiance, ambient temperature, and wind speed. Effective irradiance and cell temperature are calculated with SAPM, and DC power with PVWatts.

Warning

The pvlib_pvsystem argument must be a pvlib.pvsystem.LocalizedPVSystem object, which is no longer available as of pvlib 0.9.0. To use this function you'll need to use an older version of pvlib.

Parameters
  • pvlib_pvsystem (pvlib.pvsystem.LocalizedPVSystem) -- Object contains orientation, geographic coordinates, equipment constants (including DC rated power in watts). The object must also specify either the temperature_model_parameters attribute or both racking_model and module_type attributes to infer the temperature model parameters.

  • met_data (pandas.DataFrame) -- Measured irradiance components, ambient temperature, and wind speed. Expected met_data DataFrame column names: ['DNI', 'GHI', 'DHI', 'Temperature', 'Wind Speed']

Note

All series are assumed to be right-labeled, meaning that the recorded value at a given timestamp refers to the previous time interval

Returns

  • power_dc (pandas.Series) -- DC power in watts derived using Sandia Array Performance Model and PVWatts.

  • effective_poa (pandas.Series) -- Effective irradiance calculated with SAPM