pvdeg.letid.calc_energy_loss#

pvdeg.letid.calc_energy_loss(timesteps)[source]#

Return energy loss given timeseries of normalized changes in maximum power.

Parameters:

timesteps (Dataframe) –

timesteps.index must be DatetimeIndex OR timesteps must include 'Datetime' column with dtype datetime

Column names must include:
  • 'Pmp_norm', a column of normalized (0-1) maximum power such as

returned by letid.calc_device_params

Returns:

energy_loss (float) – fractional energy loss over time