mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
change calculation of energy savings to use adjusted heat demand, not heat demand
This commit is contained in:
parent
93830f90bb
commit
e182d7acd7
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ def aggregate_portfolio_recommendations(
|
|||
session.query(
|
||||
func.sum(Recommendation.estimated_cost).label("cost"),
|
||||
func.sum(Recommendation.total_work_hours).label("total_work_hours"),
|
||||
func.sum(Recommendation.heat_demand).label("energy_savings"),
|
||||
func.sum(Recommendation.adjusted_heat_demand).label("energy_savings"),
|
||||
func.sum(Recommendation.co2_equivalent_savings).label("co2_equivalent_savings"),
|
||||
func.sum(Recommendation.energy_cost_savings).label("energy_cost_savings"),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue