SolarArbiter / solarforecastarbiter-core

Core data gathering, validation, processing, and reporting package for the Solar Forecast Arbiter
https://solarforecastarbiter-core.readthedocs.io
MIT License
33 stars 21 forks source link

lower ac limits exceeded threshold #750

Open wholmgren opened 2 years ago

wholmgren commented 2 years ago

Validator's AC limits currently default to

def check_ac_power_limits(power, day_night, capacity,
                          capacity_limit_low=-0.05,
                          capacity_limit_high_day=1.05,
                          capacity_limit_high_night=0.05):

We're seeing hourly average user data that's likely mislabeled and/or has tz issues but it's not reliably being flagged by limits exceeded because it's right around the 5% threshold. Should lower that to 1% at night. Shouldn't be any power at night but reasonable to leave a tolerance for numerical precision.