Push the output columns into settings file.
@@ -2141,72 +2141,6 @@ class GeneratorClusters:
f"Capacity of {self.all_resources['Existing_Cap_MW'].sum()} MW in final clusters"
)
- col_order = [
- "cluster",
- "R_ID",
- "zone",
- "voltage_level",
- "THERM",
- "DISP",
- "NDISP",
- "STOR",
- "DR",
- "HEAT",
- "NACC",
- "HYDRO",
- # "VRE",
- "RPS",
- "CES",
- "Commit",
- "Min_Share",
- "Max_Share",
- "Existing_Cap_MWh",
- "Existing_Cap_MW",
- "num_units",
- "unmodified_existing_cap_mw",
- "New_Build",
- "Cap_size",
- "Min_Cap_MW",
- "Max_Cap_MW",
- "Min_Share_percent",
- "Max_Share_percent",
- "capex",
- "Inv_cost_per_MWyr",
- "Fixed_OM_cost_per_MWyr",
- "capex_mwh",
- "Inv_cost_per_MWhyr",
- "Fixed_OM_cost_per_MWhyr",
- "Var_OM_cost_per_MWh",
- "Var_OM_cost_per_MWh_in",
- "Externality_cost_MWh",
- # "Start_cost",
- "Start_cost_per_MW",
- "Start_fuel_MMBTU_per_MW",
- "Start_fuel_MMBTU_per_start",
- "Heat_rate_MMBTU_per_MWh",
- "heat_rate_mmbtu_mwh_iqr",
- "heat_rate_mmbtu_mwh_std",
- "Fuel",
- "Min_power",
- "Self_disch",
- "Eff_up",
- "Eff_down",
- "Ratio_power_to_energy",
- "Min_Duration",
- "Max_Duration",
- "Max_DSM_delay",
- "Ramp_Up_percentage",
- "Ramp_Dn_percentage",
- "Up_time",
- "Down_time",
- "NACC_Eff",
- "NACC_Peak_to_Base",
- "Reg_Up",
- "Reg_Dn",
- "Rsv_Up",
- "Rsv_Dn",
- "Reg_Cost",
- "Rsv_Cost",
- ]
+ col_order = self.settings["generator_columns"]
return self.all_resources.reindex(columns=col_order)
