Skip to content

Commit

Permalink
Bugfix of solar constraint in post discretization (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
toniseibold authored Oct 10, 2024
1 parent b9416ae commit 6dd41b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/solve_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def add_solar_potential_constraints(n, config):
n.generators.loc[solar_today, "p_nom_max"]
.groupby(n.generators.loc[solar_today].bus.map(location))
.sum()
- n.generators.loc[solar_hsat, "p_nom_opt"]
- n.generators.loc[solar_hsat, "p_nom"]
.groupby(n.generators.loc[solar_hsat].bus.map(location))
.sum()
* land_use_factors["solar-hsat"]
Expand Down

0 comments on commit 6dd41b8

Please sign in to comment.