Skip to content

Commit

Permalink
Merge pull request #430 from radim2tej/weight_battery_charge
Browse files Browse the repository at this point in the history
Fixed weight_battery_charge.
  • Loading branch information
davidusb-geek authored Jan 26, 2025
2 parents 03eed89 + be7a81e commit c926d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emhass/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def perform_optimization(
* self.timeStep
* (
self.optim_conf["weight_battery_discharge"] * P_sto_pos[i]
+ self.optim_conf["weight_battery_charge"] * P_sto_neg[i]
- self.optim_conf["weight_battery_charge"] * P_sto_neg[i]
)
for i in set_I
)
Expand Down

0 comments on commit c926d8b

Please sign in to comment.