mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
removed incorrect ventilation input
This commit is contained in:
parent
d85c44f039
commit
54b00a1671
1 changed files with 1 additions and 3 deletions
|
|
@ -1182,9 +1182,7 @@ async def model_engine(body: PlanTriggerRequest):
|
|||
)
|
||||
|
||||
# Add best practice measures (ventilation/trickle vents) - pass needs_ventilation flag
|
||||
selected = optimiser_functions.add_best_practice_measures(
|
||||
p.id, solution, recommendations, selected, needs_ventilation
|
||||
)
|
||||
selected = optimiser_functions.add_best_practice_measures(p.id, solution, recommendations, selected)
|
||||
# Final flattening - we pass what the battery SAP score would be, regardless if the battery was selected
|
||||
recommendations[p.id] = optimiser_functions.flatten_recommendations_with_defaults(
|
||||
p.id, recommendations, selected, battery_sap_score
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue