Skip to content

Commit

Permalink
Increase range for soc of reservoirs to avoid problems with 5-hourly …
Browse files Browse the repository at this point in the history
…resolution
  • Loading branch information
ClaraBuettner committed Mar 3, 2025
1 parent 0093cbc commit 453da60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etrago/tools/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -3423,8 +3423,8 @@ def fixed_storage_unit_soc_at_horizon_end(self, n, sns):
(1, soc_market),
]

rhs_upper = DataArray(1.01 * soc_pre_market)
rhs_lower = DataArray(0.99 * soc_pre_market)
rhs_upper = DataArray(1.05 * soc_pre_market)
rhs_lower = DataArray(0.95 * soc_pre_market)

m.add_constraints(lhs, "<", rhs_upper, name=f"{c}-soc_horizon_end_upper")
m.add_constraints(lhs, ">", rhs_lower, name=f"{c}-soc_horizon_end_lower")
Expand Down

0 comments on commit 453da60

Please sign in to comment.