Skip to content

Commit

Permalink
Merge pull request PyPSA#1092 from PyPSA/revert-hotfix-myopic-res-cap…
Browse files Browse the repository at this point in the history
…acities

revert hotfix for doubled renewable capacity
  • Loading branch information
lindnemi authored Jun 10, 2024
2 parents 180d939 + 47889d7 commit 24b50e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Release Notes
Upcoming Release
================

* Reverted outdated hotfix for doubled renewable capacity in myopic optimization.

* Added Enhanced Geothermal Systems for generation of electricity and district heat.
Cost and available capacity assumptions based on `Aghahosseini et al. (2020)
<https://www.sciencedirect.com/science/article/pii/S0306261920312551>`__.
Expand Down
4 changes: 0 additions & 4 deletions scripts/solve_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ def _add_land_use_constraint(n):
"offwind-dc",
"offwind-float",
]:
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
n.generators.loc[extendable_i, "p_nom_min"] = 0

ext_i = (n.generators.carrier == carrier) & ~n.generators.p_nom_extendable
existing = (
Expand Down Expand Up @@ -174,8 +172,6 @@ def _add_land_use_constraint_m(n, planning_horizons, config):
"offwind-ac",
"offwind-dc",
]:
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
n.generators.loc[extendable_i, "p_nom_min"] = 0

existing = n.generators.loc[n.generators.carrier == carrier, "p_nom"]
ind = list(
Expand Down

0 comments on commit 24b50e8

Please sign in to comment.