Update land_use constraints
Add solar-hsat and solar-rooftop to land use constraints
This commit is contained in:
parent
9a55c8fa7b
commit
fde0cd9aae
@ -124,7 +124,7 @@ def add_land_use_constraint_perfect(n):
|
|||||||
def _add_land_use_constraint(n):
|
def _add_land_use_constraint(n):
|
||||||
# warning: this will miss existing offwind which is not classed AC-DC and has carrier 'offwind'
|
# warning: this will miss existing offwind which is not classed AC-DC and has carrier 'offwind'
|
||||||
|
|
||||||
for carrier in ["solar", "onwind", "offwind-ac", "offwind-dc"]:
|
for carrier in ["solar", "solar rooftop", "solar-hsat", "onwind", "offwind-ac", "offwind-dc"]:
|
||||||
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
|
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
|
||||||
n.generators.loc[extendable_i, "p_nom_min"] = 0
|
n.generators.loc[extendable_i, "p_nom_min"] = 0
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ def _add_land_use_constraint_m(n, planning_horizons, config):
|
|||||||
grouping_years = config["existing_capacities"]["grouping_years_power"]
|
grouping_years = config["existing_capacities"]["grouping_years_power"]
|
||||||
current_horizon = snakemake.wildcards.planning_horizons
|
current_horizon = snakemake.wildcards.planning_horizons
|
||||||
|
|
||||||
for carrier in ["solar", "onwind", "offwind-ac", "offwind-dc"]:
|
for carrier in ["solar", "solar rooftop", "solar-hsat", "onwind", "offwind-ac", "offwind-dc"]:
|
||||||
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
|
extendable_i = (n.generators.carrier == carrier) & n.generators.p_nom_extendable
|
||||||
n.generators.loc[extendable_i, "p_nom_min"] = 0
|
n.generators.loc[extendable_i, "p_nom_min"] = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user