Skip to content

Commit

Permalink
Update scripts/add_existing_baseyear.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
  • Loading branch information
toniseibold and fneum committed Jun 4, 2024
1 parent 5051eae commit ae2dc6f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/add_existing_baseyear.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,7 @@ def add_power_capacities_installed_before_baseyear(n, grouping_years, costs, bas
name_suffix = f" {generator}{suffix}-{grouping_year}"
name_suffix_by = f" {generator}{suffix}-{baseyear}"
asset_i = capacity.index + name_suffix
if generator in ["solar", "onwind", "offwind-ac"]:
if generator == "offwind-ac":
cost_key = "offwind"
else:
cost_key = generator
cost_key = generators.split("-")[0]
# to consider electricity grid connection costs or a split between
# solar utility and rooftop as well, rather take cost assumptions
# from existing network than from the cost database
Expand Down

0 comments on commit ae2dc6f

Please sign in to comment.