solarforecastarbiter.validation.validator.check_dc_power_limits

solarforecastarbiter.validation.validator.check_dc_power_limits(power, solar_zenith, capacity, capacity_limit_low=-0.05, capacity_limit_high_day=1.2, capacity_limit_high_night=0.05)[source]

Checks for extreme AC power.

Parameters:
  • power (Series) – DC or AC power.
  • solar_zenith (Series) – Solar zenith angle in degrees.
  • capacity (float) – DC capacity.
  • capacity_limit_low (float) – Lower bound in fraction of capacity.
  • capacity_limit_high_day (float) – Upper bound in fraction of capacity for day time.
  • capacity_limit_high_night (float) – Upper bound in fraction of capacity for night time.
Returns:

flags (Series) –

True for values that are within the limits:
  • power > capacity * capacity_limit_low, AND * power < capacity * capacity_limit_high_day AND solar_zenith < 93, OR * power < capacity * capacity_limit_high_night AND solar_zenith > 93

Notes

Day time is defined as zenith < 93 degrees.