Skip to content

Commit

Permalink
fix bug with e_max_pu
Browse files Browse the repository at this point in the history
  • Loading branch information
lisazeyen committed Aug 2, 2024
1 parent 3149bfd commit b62db80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2358,8 +2358,8 @@ def add_biomass(n, costs):
* costs.at["solid biomass", "CO2 intensity"],
p_nom_extendable=True,
)

e_max_pu = pd.Series([1] * (len(snapshots) - 1) + [0], index=n.snapshots)
e_max_pu = pd.Series([1] * (len(n.snapshots) - 1) + [0], index=n.snapshots)
n.madd(
"Store",
spatial.msw.nodes,
Expand Down

0 comments on commit b62db80

Please sign in to comment.