Add remove option for solar-hsat
Add function to remove solar-hsat if the config option is 'False'
This commit is contained in:
parent
692d837b14
commit
be876761f2
@ -3319,7 +3319,13 @@ def remove_h2_network(n):
|
||||
if "EU H2 Store" in n.stores.index:
|
||||
n.stores.drop("EU H2 Store", inplace=True)
|
||||
|
||||
def remove_solar_tracking(n):
|
||||
|
||||
for tech in ['solar-hsat']:
|
||||
print('removing '+tech)
|
||||
n.mremove("Generator" , n.generators.index[n.generators.carrier==tech])
|
||||
|
||||
|
||||
def limit_individual_line_extension(n, maxext):
|
||||
logger.info(f"Limiting new HVAC and HVDC extensions to {maxext} MW")
|
||||
n.lines["s_nom_max"] = n.lines["s_nom"] + maxext
|
||||
@ -3696,6 +3702,9 @@ if __name__ == "__main__":
|
||||
if options["electricity_distribution_grid"]:
|
||||
insert_electricity_distribution_grid(n, costs)
|
||||
|
||||
if not options["solar_utility_singla_axis_tracking"]:
|
||||
remove_solar_tracking(n)
|
||||
|
||||
maybe_adjust_costs_and_potentials(n, snakemake.params["adjustments"])
|
||||
|
||||
if options["gas_distribution_grid"]:
|
||||
|
Loading…
Reference in New Issue
Block a user