Skip to content

Commit 7288a2a

Browse files
committed
Hotfix: add storage post process step: filter costs by plants
1 parent 2fe5627 commit 7288a2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

switch_model/wecc/get_inputs/post_process_steps/add_storage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def main(config):
135135

136136
# Get the plant costs from GSheets and append to costs
137137
storage_costs = fetch_df("costs", "costs_scenario", config)
138+
storage_costs = storage_costs[storage_costs["GENERATION_PROJECT"].isin(gen_projects["GENERATION_PROJECT"])]
138139
add_to_csv("gen_build_costs.csv", storage_costs, primary_key=["GENERATION_PROJECT", "build_year"])
139140

140141
# Create add_storage_info.csv

0 commit comments

Comments
 (0)