Skip to content

Commit 7a68407

Browse files
committed
Hotfix: add storage post process step: filter costs by plants
1 parent 54755dd commit 7a68407

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
@@ -123,6 +123,7 @@ def main(config):
123123

124124
# Get the plant costs from GSheets and append to costs
125125
storage_costs = fetch_df("costs", "costs_scenario", config)
126+
storage_costs = storage_costs[storage_costs["GENERATION_PROJECT"].isin(gen_projects["GENERATION_PROJECT"])]
126127
add_to_csv("gen_build_costs.csv", storage_costs, primary_key=["GENERATION_PROJECT", "build_year"])
127128

128129
# Create add_storage_info.csv

0 commit comments

Comments
 (0)