mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed bug with selecting batter solar recommendations
This commit is contained in:
parent
505fe0736b
commit
f04b79d680
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ def prepare_input_measures(property_recommendations, goal):
|
|||
# if the recommendation is a solar recommendation without a battery, we exclude it from the optimisation.
|
||||
# That will ensure that the optimiser only considers solar recommendations with batteries, so we don't
|
||||
# under-report the potential cost
|
||||
recs = [r for r in recs if recs["has_battery"]]
|
||||
recs = [r for r in recs if r["has_battery"]]
|
||||
|
||||
input_measures.append(
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue