energy_analysis.thermal_counterfactual#
Reanalyse Foobot’s published EnergyPlus/Timestral outputs, without refitting.
- energy_analysis.thermal_counterfactual.score_panels(panels)[source]#
Recompute T1 errors and T2 paired shifts using each morning’s T2 zero offset.
T1 and T2 forecasts have different issue times, so T1 is never used as the counterfactual reference. Rows with missed targets retain NaN timing errors. The frame includes every panel and explicit event-observation flags.
- Parameters:
panels (tuple[ThermalPanel, ...])
- Return type:
DataFrame
- energy_analysis.thermal_counterfactual.sensitivity_ratios(scores)[source]#
Fit comfort time vs offset per complete T2 day; omit censored/flat truth days.
No imputation, regression on incomplete schedules, or ratios with near-zero simulated sensitivity. Return counts through one row per day and valid flag.
- Parameters:
scores (DataFrame)
- Return type:
DataFrame