Skip to content

Commit

Permalink
Merge branch 'master' of github.com:PyPSA/pypsa-eur
Browse files Browse the repository at this point in the history
  • Loading branch information
fneum committed Jan 17, 2024
2 parents 644c997 + c1877fa commit 5faab62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/solve_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ def prepare_network(
for df in (
n.generators_t.p_max_pu,
n.generators_t.p_min_pu,
n.links_t.p_max_pu,
n.links_t.p_min_pu,
n.storage_units_t.inflow,
):
df.where(df > solve_opts["clip_p_max_pu"], other=0.0, inplace=True)
Expand Down

0 comments on commit 5faab62

Please sign in to comment.