Commit graph

8 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
af5dbe325d feat(modelling): cut plan→recommendation readers onto plan_id
Rewrite the three structurally-identical m2m-join readers
(portfolio_functions.aggregate_portfolio_recommendations,
Outputs.get_recommendations_from_db, export get_recommendations) to join
PlanModel directly via recommendation.plan_id, dropping the plan_recommendations
join and its now-unused import. The writers set plan_id (prior slice), so the
rows resolve. test_export pins the export reader through the cut (its fixtures
now set recommendation.plan_id). A portfolio_functions DB characterization test
lands with the scenario consolidation (which provides the full-parity scenario
table the aggregation writes to).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 21:09:43 +00:00
Daniel Roth
b3fa7c3051 rename Plan and Scenario to PlanModel and ScenarioModel 2026-02-12 12:01:39 +00:00
Khalim Conn-Kowlessar
4ef2f0af28 completed mds outputs for the moment 2024-10-03 12:10:45 +01:00
Khalim Conn-Kowlessar
2a75a6db17 adding heat demand to mds outputs 2024-10-02 20:19:25 +01:00
Khalim Conn-Kowlessar
17f653340b almost completed the mds output 2024-10-02 17:31:58 +01:00
Khalim Conn-Kowlessar
ad82b15c6e added measure matrix code 2024-10-02 17:29:04 +01:00
Khalim Conn-Kowlessar
6bc2ee0a6c adding rest of database query functions 2024-10-02 14:39:04 +01:00
Khalim Conn-Kowlessar
aadcc56d32 adding database queries to Outputs class 2024-10-02 14:33:29 +01:00