diff --git a/etrago/tools/constraints.py b/etrago/tools/constraints.py index 9785e580..0893523b 100755 --- a/etrago/tools/constraints.py +++ b/etrago/tools/constraints.py @@ -2929,7 +2929,7 @@ def add_chp_constraints_nmp(n): for e_chp in elec_chp ) - lhs = linexpr((1, lhs_1), (1, lhs_2)) + lhs = linexpr((1, lhs_1), (-1, lhs_2)) define_constraints( n, lhs, "<=", 0, "chplink_" + str(i), "backpressure"