energy_analysis.ccya_case.reports.generator#
Static scientific figures and a self-contained report for the CCYA case study.
- energy_analysis.ccya_case.reports.generator.generate_report(root, config, measured, historical, models, results, summary, manifest)[source]#
Write PNG/SVG figures plus HTML with embedded figures and CSV download.
The report is generated from the same result tables written by the analysis, not separately refitted models. All labels from inputs are HTML-escaped.
- Parameters:
root (Path)
config (CaseConfig)
measured (DataFrame)
historical (dict[str, DataFrame])
models (dict[str, CCYAModel])
results (dict[tuple[str, float], CCYAResult])
summary (DataFrame)
manifest (dict[str, object])
- Return type:
None