From 46f518b83742a61d38edb49fedb3a7aef0bb0361 Mon Sep 17 00:00:00 2001 From: maartenbrinkerink Date: Wed, 4 Dec 2024 17:49:31 -0500 Subject: [PATCH] remove test csv --- .../osemosys_global/transmission/user_defined_capacity.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/workflow/scripts/osemosys_global/transmission/user_defined_capacity.py b/workflow/scripts/osemosys_global/transmission/user_defined_capacity.py index 80515cb..734c614 100644 --- a/workflow/scripts/osemosys_global/transmission/user_defined_capacity.py +++ b/workflow/scripts/osemosys_global/transmission/user_defined_capacity.py @@ -127,8 +127,6 @@ def set_user_defined_capacity_trn(tech_capacity_trn, op_life_dict, (df_max_cap_inv['YEAR'] == row['YEAR']), 'VALUE'] = df_max_cap_inv.loc[( df_max_cap_inv['TECHNOLOGY'] == row['TECHNOLOGY']) & (df_max_cap_inv['YEAR'] == row['YEAR']), 'VALUE'] + row['VALUE'] - - df_max_cap_inv.to_csv('temp5.csv') # Add IAR and OAR for custom technologies tech_list = list(tech_capacity_trn_df['TECHNOLOGY'].unique()) @@ -271,4 +269,4 @@ def set_user_defined_capacity_trn(tech_capacity_trn, op_life_dict, inplace=True) return(df_max_cap_inv, df_min_cap_inv, df_res_cap, - df_iar, df_oar, op_life, cap_cost, fix_cost, var_cost) \ No newline at end of file + df_iar, df_oar, op_life, cap_cost, fix_cost, var_cost)