feat(measurement): treat long *_emr_keys meter gaps as unknown

Additional fixes:
Add timezone to loadakkudoktoradapted tests datetime generation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
Bobby Noelte
2026-11-15 18:30:00 +01:00
co-authored by Claude Opus 5.5
parent f441759dfa
commit cc875f798c
13 changed files with 179 additions and 25 deletions
+4 -2
View File
@@ -907,10 +907,12 @@ keys in `measurement.pv_production_emr_keys` to fit the model against measuremen
Calibration preserves daily energy while optionally correcting the intraday
azimuth shape, clamps correction factors and respects inverter capacity.
Hourly meters are fitted hourly; native quarter-hour meters retain their cadence.
Readings marked invalid or unavailable do not count for the meter cadence.
Meters may report at any time stamps: each interval gets the energy interpolated at its
boundaries. With several PV meters only the period all of them report is fitted, and
intervals a meter does not fully cover (a reset, or a gap longer than the channel's
`max_gap_seconds`) are skipped.
intervals a meter does not fully cover (a reset, or a gap longer than
`measurement.emr_max_gap_seconds` or the channel's `max_gap_seconds`, see the meter gaps
in the measurement documentation) are skipped.
Probable outage or curtailment days are excluded by default. Without sufficient
usable measurements the uncalibrated physical model is used.