fix bug with e_max_pu

This commit is contained in:
lisazeyen 2024-08-02 16:59:42 +02:00
parent 3149bfd926
commit b62db80435

View File

@ -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,