Skip to content

Commit

Permalink
Merge branch 'dev' into features/market-simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfmueller committed Oct 23, 2023
2 parents 11621c7 + 93d38a7 commit 673ca88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions etrago/execute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ def iterate_lopf(

else:
run_lopf(etrago, extra_functionality, method)
etrago.export_to_csv(path)

if args["lpfile"]:
network.model.write(lp_path)
Expand Down
2 changes: 1 addition & 1 deletion etrago/tools/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -2931,7 +2931,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"
Expand Down

0 comments on commit 673ca88

Please sign in to comment.