Skip to content

Commit

Permalink
Add set as default for the cooling function
Browse files Browse the repository at this point in the history
  • Loading branch information
adrivinca authored and glatterf42 committed Oct 23, 2024
1 parent ef055d7 commit 2f9625f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message_ix_models/model/water/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ def cooling(context, regions, rcps, rels):
# Build
build(context, scen)

# Set scenario as default
scen.set_as_default()

Check warning on line 271 in message_ix_models/model/water/cli.py

View check run for this annotation

Codecov / codecov/patch

message_ix_models/model/water/cli.py#L271

Added line #L271 was not covered by tests

# Solve
scen.solve(solve_options={"lpmethod": "4"}, case=caseName)

Expand Down

0 comments on commit 2f9625f

Please sign in to comment.