File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
switch_model/wecc/get_inputs/post_process_steps Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def main(config):
3333 assert "Hydro_NonPumped" not in agg_techs
3434 assert "Hydro_Pumped" not in agg_techs
3535
36- print (f"\t \t Aggregating on projects where gen_tech in { agg_techs } " )
36+ print (f"\t \t Aggregating on projects where gen_tech in { agg_techs } with capacity factors from the { cf_quantile * 100 } th percentile " )
3737 key = "GENERATION_PROJECT"
3838
3939 #################
@@ -51,8 +51,8 @@ def main(config):
5151 projects_no_agg = df [~ should_agg ]
5252 df = df [should_agg ]
5353
54- # Drop the db_id column since we're creating a new project
55- df = df . drop ( "gen_dbid" , axis = 1 )
54+ # Reset the dbid since we're creating a new project
55+ df [ "gen_dbid" ] = "."
5656
5757 # Specify the new project id (e.g. agg_Wind_CA_SGE) and save a mapping of keys to aggregate keys for later
5858 df ["agg_key" ] = "agg_" + df ["gen_tech" ] + "_" + df ["gen_load_zone" ]
You can’t perform that action at this time.
0 commit comments