From a15e37f27d6bc377d62375ea5ae5106813f8ee49 Mon Sep 17 00:00:00 2001 From: Filippo Pecci Date: Mon, 8 Jan 2024 17:31:56 -0500 Subject: [PATCH] Fixed issue #605 (#609) * Fixed issue #605 by tracking capacity between stages for all generators with either New_Build=1 or Can_Retire=1. --- src/multi_stage/dual_dynamic_programming.jl | 6 +- src/multi_stage/endogenous_retirement.jl | 5 - .../Can_Retire/Inputs_p1/CO2_cap.csv | 2 + .../Inputs_p1/Capacity_reserve_margin.csv | 2 + .../Can_Retire/Inputs_p1/Demand_data.csv | 121 ++++++ .../Inputs_p1/Energy_share_requirement.csv | 2 + .../Can_Retire/Inputs_p1/Fuels_data.csv | 122 ++++++ .../Can_Retire/Inputs_p1/Generators_data.csv | 5 + .../Inputs_p1/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../Can_Retire/Inputs_p1/Period_map.csv | 366 ++++++++++++++++++ .../Can_Retire/Inputs_p1/Reserves.csv | 2 + .../Can_Retire/Inputs_p2/CO2_cap.csv | 2 + .../Inputs_p2/Capacity_reserve_margin.csv | 2 + .../Can_Retire/Inputs_p2/Demand_data.csv | 121 ++++++ .../Inputs_p2/Energy_share_requirement.csv | 2 + .../Can_Retire/Inputs_p2/Fuels_data.csv | 122 ++++++ .../Can_Retire/Inputs_p2/Generators_data.csv | 5 + .../Inputs_p2/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../Can_Retire/Inputs_p2/Period_map.csv | 366 ++++++++++++++++++ .../Can_Retire/Inputs_p2/Reserves.csv | 2 + .../Can_Retire/Inputs_p3/CO2_cap.csv | 2 + .../Inputs_p3/Capacity_reserve_margin.csv | 2 + .../Can_Retire/Inputs_p3/Demand_data.csv | 121 ++++++ .../Inputs_p3/Energy_share_requirement.csv | 2 + .../Can_Retire/Inputs_p3/Fuels_data.csv | 122 ++++++ .../Can_Retire/Inputs_p3/Generators_data.csv | 5 + .../Inputs_p3/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../Can_Retire/Inputs_p3/Period_map.csv | 366 ++++++++++++++++++ .../Can_Retire/Inputs_p3/Reserves.csv | 2 + test/MultiStage/Can_Retire/highs_settings.yml | 12 + .../New_Build/Inputs_p1/CO2_cap.csv | 2 + .../Inputs_p1/Capacity_reserve_margin.csv | 2 + .../New_Build/Inputs_p1/Demand_data.csv | 121 ++++++ .../Inputs_p1/Energy_share_requirement.csv | 2 + .../New_Build/Inputs_p1/Fuels_data.csv | 122 ++++++ .../New_Build/Inputs_p1/Generators_data.csv | 5 + .../Inputs_p1/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../New_Build/Inputs_p1/Period_map.csv | 366 ++++++++++++++++++ .../New_Build/Inputs_p1/Reserves.csv | 2 + .../New_Build/Inputs_p2/CO2_cap.csv | 2 + .../Inputs_p2/Capacity_reserve_margin.csv | 2 + .../New_Build/Inputs_p2/Demand_data.csv | 121 ++++++ .../Inputs_p2/Energy_share_requirement.csv | 2 + .../New_Build/Inputs_p2/Fuels_data.csv | 122 ++++++ .../New_Build/Inputs_p2/Generators_data.csv | 5 + .../Inputs_p2/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../New_Build/Inputs_p2/Period_map.csv | 366 ++++++++++++++++++ .../New_Build/Inputs_p2/Reserves.csv | 2 + .../New_Build/Inputs_p3/CO2_cap.csv | 2 + .../Inputs_p3/Capacity_reserve_margin.csv | 2 + .../New_Build/Inputs_p3/Demand_data.csv | 121 ++++++ .../Inputs_p3/Energy_share_requirement.csv | 2 + .../New_Build/Inputs_p3/Fuels_data.csv | 122 ++++++ .../New_Build/Inputs_p3/Generators_data.csv | 5 + .../Inputs_p3/Generators_variability.csv | 121 ++++++ .../Minimum_capacity_requirement.csv | 4 + .../New_Build/Inputs_p3/Period_map.csv | 366 ++++++++++++++++++ .../New_Build/Inputs_p3/Reserves.csv | 2 + test/MultiStage/New_Build/highs_settings.yml | 12 + test/test_multistage.jl | 53 ++- 65 files changed, 4561 insertions(+), 9 deletions(-) create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/CO2_cap.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Demand_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Energy_share_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Fuels_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Generators_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Generators_variability.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Period_map.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p1/Reserves.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/CO2_cap.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Demand_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Energy_share_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Fuels_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Generators_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Generators_variability.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Period_map.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p2/Reserves.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/CO2_cap.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Demand_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Energy_share_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Fuels_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Generators_data.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Generators_variability.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Period_map.csv create mode 100644 test/MultiStage/Can_Retire/Inputs_p3/Reserves.csv create mode 100644 test/MultiStage/Can_Retire/highs_settings.yml create mode 100644 test/MultiStage/New_Build/Inputs_p1/CO2_cap.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Demand_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Energy_share_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Fuels_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Generators_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Generators_variability.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Period_map.csv create mode 100644 test/MultiStage/New_Build/Inputs_p1/Reserves.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/CO2_cap.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Demand_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Energy_share_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Fuels_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Generators_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Generators_variability.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Period_map.csv create mode 100644 test/MultiStage/New_Build/Inputs_p2/Reserves.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/CO2_cap.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Capacity_reserve_margin.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Demand_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Energy_share_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Fuels_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Generators_data.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Generators_variability.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Minimum_capacity_requirement.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Period_map.csv create mode 100644 test/MultiStage/New_Build/Inputs_p3/Reserves.csv create mode 100644 test/MultiStage/New_Build/highs_settings.yml diff --git a/src/multi_stage/dual_dynamic_programming.jl b/src/multi_stage/dual_dynamic_programming.jl index 1b5aa3e489..92f9791eb3 100644 --- a/src/multi_stage/dual_dynamic_programming.jl +++ b/src/multi_stage/dual_dynamic_programming.jl @@ -356,13 +356,13 @@ returns: JuMP model with updated linking constraints. """ function fix_initial_investments(EP_prev::Model, EP_cur::Model, start_cap_d::Dict, inputs_d::Dict) - RET_CAP = inputs_d["RET_CAP"] # Set of all resources subject to inter-stage capacity tracking - + ALL_CAP = union(inputs_d["RET_CAP"],inputs_d["NEW_CAP"]) # Set of all resources subject to inter-stage capacity tracking + # start_cap_d dictionary contains the starting capacity expression name (e) as a key, # and the associated linking constraint name (c) as a value for (e, c) in start_cap_d for y in keys(EP_cur[c]) - if y[1] in RET_CAP # extract resource integer index value from key + if y[1] in ALL_CAP # extract resource integer index value from key # Set the right hand side value of the linking initial capacity constraint in the current # stage to the value of the available capacity variable solved for in the previous stages set_normalized_rhs(EP_cur[c][y], value(EP_prev[e][y])) diff --git a/src/multi_stage/endogenous_retirement.jl b/src/multi_stage/endogenous_retirement.jl index fa165a9df1..3371476c17 100644 --- a/src/multi_stage/endogenous_retirement.jl +++ b/src/multi_stage/endogenous_retirement.jl @@ -124,8 +124,6 @@ function endogenous_retirement_discharge!(EP::Model, inputs::Dict, num_stages::I dfGen = inputs["dfGen"] - G = inputs["G"] # Number of resources (generators, storage, DR, and DERs) - NEW_CAP = inputs["NEW_CAP"] # Set of all resources eligible for new capacity RET_CAP = inputs["RET_CAP"] # Set of all resources eligible for capacity retirements COMMIT = inputs["COMMIT"] # Set of all resources eligible for unit commitment @@ -181,8 +179,6 @@ function endogenous_retirement_charge!(EP::Model, inputs::Dict, num_stages::Int, dfGen = inputs["dfGen"] - STOR_ASYMMETRIC = inputs["STOR_ASYMMETRIC"] # Set of storage resources with asymmetric (separte) charge/discharge capacity components - NEW_CAP_CHARGE = inputs["NEW_CAP_CHARGE"] # Set of asymmetric charge/discharge storage resources eligible for new charge capacity RET_CAP_CHARGE = inputs["RET_CAP_CHARGE"] # Set of asymmetric charge/discharge storage resources eligible for charge capacity retirements @@ -231,7 +227,6 @@ function endogenous_retirement_energy!(EP::Model, inputs::Dict, num_stages::Int, dfGen = inputs["dfGen"] - STOR_ALL = inputs["STOR_ALL"] # Set of all storage resources NEW_CAP_ENERGY = inputs["NEW_CAP_ENERGY"] # Set of all storage resources eligible for new energy capacity RET_CAP_ENERGY = inputs["RET_CAP_ENERGY"] # Set of all storage resources eligible for energy capacity retirements diff --git a/test/MultiStage/Can_Retire/Inputs_p1/CO2_cap.csv b/test/MultiStage/Can_Retire/Inputs_p1/CO2_cap.csv new file mode 100644 index 0000000000..f1f3ff4165 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,1,1 \ No newline at end of file diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Capacity_reserve_margin.csv b/test/MultiStage/Can_Retire/Inputs_p1/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Demand_data.csv b/test/MultiStage/Can_Retire/Inputs_p1/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Energy_share_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p1/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Fuels_data.csv b/test/MultiStage/Can_Retire/Inputs_p1/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Generators_data.csv b/test/MultiStage/Can_Retire/Inputs_p1/Generators_data.csv new file mode 100644 index 0000000000..7a759104c9 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,1,0,10000,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,500,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,1000,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Generators_variability.csv b/test/MultiStage/Can_Retire/Inputs_p1/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Minimum_capacity_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p1/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Period_map.csv b/test/MultiStage/Can_Retire/Inputs_p1/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/Can_Retire/Inputs_p1/Reserves.csv b/test/MultiStage/Can_Retire/Inputs_p1/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p1/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/CO2_cap.csv b/test/MultiStage/Can_Retire/Inputs_p2/CO2_cap.csv new file mode 100644 index 0000000000..e8a5ff9305 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,0.5,0.5 \ No newline at end of file diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Capacity_reserve_margin.csv b/test/MultiStage/Can_Retire/Inputs_p2/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Demand_data.csv b/test/MultiStage/Can_Retire/Inputs_p2/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Energy_share_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p2/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Fuels_data.csv b/test/MultiStage/Can_Retire/Inputs_p2/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Generators_data.csv b/test/MultiStage/Can_Retire/Inputs_p2/Generators_data.csv new file mode 100644 index 0000000000..574127a24d --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,1,0,0,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Generators_variability.csv b/test/MultiStage/Can_Retire/Inputs_p2/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Minimum_capacity_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p2/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Period_map.csv b/test/MultiStage/Can_Retire/Inputs_p2/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/Can_Retire/Inputs_p2/Reserves.csv b/test/MultiStage/Can_Retire/Inputs_p2/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p2/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/CO2_cap.csv b/test/MultiStage/Can_Retire/Inputs_p3/CO2_cap.csv new file mode 100644 index 0000000000..cfb18ecf62 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,0.05,0.05 \ No newline at end of file diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Capacity_reserve_margin.csv b/test/MultiStage/Can_Retire/Inputs_p3/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Demand_data.csv b/test/MultiStage/Can_Retire/Inputs_p3/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Energy_share_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p3/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Fuels_data.csv b/test/MultiStage/Can_Retire/Inputs_p3/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Generators_data.csv b/test/MultiStage/Can_Retire/Inputs_p3/Generators_data.csv new file mode 100644 index 0000000000..574127a24d --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,1,0,0,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Generators_variability.csv b/test/MultiStage/Can_Retire/Inputs_p3/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Minimum_capacity_requirement.csv b/test/MultiStage/Can_Retire/Inputs_p3/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Period_map.csv b/test/MultiStage/Can_Retire/Inputs_p3/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/Can_Retire/Inputs_p3/Reserves.csv b/test/MultiStage/Can_Retire/Inputs_p3/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/Can_Retire/Inputs_p3/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/Can_Retire/highs_settings.yml b/test/MultiStage/Can_Retire/highs_settings.yml new file mode 100644 index 0000000000..e520dfbef7 --- /dev/null +++ b/test/MultiStage/Can_Retire/highs_settings.yml @@ -0,0 +1,12 @@ +# HiGHS Solver Parameters +# Common solver settings +Feasib_Tol: 1.0e-05 # Primal feasibility tolerance # [type: double, advanced: false, range: [1e-10, inf], default: 1e-07] +Optimal_Tol: 1.0e-05 # Dual feasibility tolerance # [type: double, advanced: false, range: [1e-10, inf], default: 1e-07] +TimeLimit: 1.0e23 # Time limit # [type: double, advanced: false, range: [0, inf], default: inf] +Pre_Solve: on # Presolve option: "off", "choose" or "on" # [type: string, advanced: false, default: "choose"] +Method: ipm # HiGHS-specific solver settings # Solver option: "simplex", "choose" or "ipm" # [type: string, advanced: false, default: "choose"] +ipm_optimality_tolerance: 1e-04 + +# run the crossover routine for ipx +# [type: string, advanced: "on", range: {"off", "on"}, default: "off"] +run_crossover: "on" diff --git a/test/MultiStage/New_Build/Inputs_p1/CO2_cap.csv b/test/MultiStage/New_Build/Inputs_p1/CO2_cap.csv new file mode 100644 index 0000000000..f1f3ff4165 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,1,1 \ No newline at end of file diff --git a/test/MultiStage/New_Build/Inputs_p1/Capacity_reserve_margin.csv b/test/MultiStage/New_Build/Inputs_p1/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/New_Build/Inputs_p1/Demand_data.csv b/test/MultiStage/New_Build/Inputs_p1/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/New_Build/Inputs_p1/Energy_share_requirement.csv b/test/MultiStage/New_Build/Inputs_p1/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/New_Build/Inputs_p1/Fuels_data.csv b/test/MultiStage/New_Build/Inputs_p1/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/New_Build/Inputs_p1/Generators_data.csv b/test/MultiStage/New_Build/Inputs_p1/Generators_data.csv new file mode 100644 index 0000000000..f891203315 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,0,1,10000,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,500,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,1000,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/New_Build/Inputs_p1/Generators_variability.csv b/test/MultiStage/New_Build/Inputs_p1/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/New_Build/Inputs_p1/Minimum_capacity_requirement.csv b/test/MultiStage/New_Build/Inputs_p1/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/New_Build/Inputs_p1/Period_map.csv b/test/MultiStage/New_Build/Inputs_p1/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/New_Build/Inputs_p1/Reserves.csv b/test/MultiStage/New_Build/Inputs_p1/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p1/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/New_Build/Inputs_p2/CO2_cap.csv b/test/MultiStage/New_Build/Inputs_p2/CO2_cap.csv new file mode 100644 index 0000000000..e8a5ff9305 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,0.5,0.5 \ No newline at end of file diff --git a/test/MultiStage/New_Build/Inputs_p2/Capacity_reserve_margin.csv b/test/MultiStage/New_Build/Inputs_p2/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/New_Build/Inputs_p2/Demand_data.csv b/test/MultiStage/New_Build/Inputs_p2/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/New_Build/Inputs_p2/Energy_share_requirement.csv b/test/MultiStage/New_Build/Inputs_p2/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/New_Build/Inputs_p2/Fuels_data.csv b/test/MultiStage/New_Build/Inputs_p2/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/New_Build/Inputs_p2/Generators_data.csv b/test/MultiStage/New_Build/Inputs_p2/Generators_data.csv new file mode 100644 index 0000000000..d8e0ca4e9b --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,0,1,0,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/New_Build/Inputs_p2/Generators_variability.csv b/test/MultiStage/New_Build/Inputs_p2/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/New_Build/Inputs_p2/Minimum_capacity_requirement.csv b/test/MultiStage/New_Build/Inputs_p2/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/New_Build/Inputs_p2/Period_map.csv b/test/MultiStage/New_Build/Inputs_p2/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/New_Build/Inputs_p2/Reserves.csv b/test/MultiStage/New_Build/Inputs_p2/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p2/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/New_Build/Inputs_p3/CO2_cap.csv b/test/MultiStage/New_Build/Inputs_p3/CO2_cap.csv new file mode 100644 index 0000000000..cfb18ecf62 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/CO2_cap.csv @@ -0,0 +1,2 @@ +,Network_zones,CO_2_Cap_Zone_1,CO_2_Max_tons_MWh_1,CO_2_Max_Mtons_1 +NE,z1,1,0.05,0.05 \ No newline at end of file diff --git a/test/MultiStage/New_Build/Inputs_p3/Capacity_reserve_margin.csv b/test/MultiStage/New_Build/Inputs_p3/Capacity_reserve_margin.csv new file mode 100644 index 0000000000..1cda938c80 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Capacity_reserve_margin.csv @@ -0,0 +1,2 @@ +,Network_zones,CapRes_1 +NE,z1,0.156 diff --git a/test/MultiStage/New_Build/Inputs_p3/Demand_data.csv b/test/MultiStage/New_Build/Inputs_p3/Demand_data.csv new file mode 100644 index 0000000000..473c675be1 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Demand_data.csv @@ -0,0 +1,121 @@ +Voll,Demand_Segment,Cost_of_Demand_Curtailment_per_MW,Max_Demand_Curtailment,Rep_Periods,Timesteps_per_Rep_Period,Sub_Weights,Time_Index,Demand_MW_z1 +50000,1,1,1,5,24,24.0,1,11122.0 +,,,,,,3672.0,2,10655.0 +,,,,,,5016.0,3,10441.0 +,,,,,,24.0,4,10365.0 +,,,,,,24.0,5,10639.0 +,,,,,,,6,11577.0 +,,,,,,,7,13349.0 +,,,,,,,8,14550.0 +,,,,,,,9,14922.0 +,,,,,,,10,15165.0 +,,,,,,,11,15328.0 +,,,,,,,12,15380.0 +,,,,,,,13,15275.0 +,,,,,,,14,15154.0 +,,,,,,,15,14953.0 +,,,,,,,16,14885.0 +,,,,,,,17,15340.0 +,,,,,,,18,16003.0 +,,,,,,,19,15767.0 +,,,,,,,20,15236.0 +,,,,,,,21,14663.0 +,,,,,,,22,13889.0 +,,,,,,,23,12855.0 +,,,,,,,24,11809.0 +,,,,,,,25,9702.0 +,,,,,,,26,9229.0 +,,,,,,,27,9004.0 +,,,,,,,28,8951.0 +,,,,,,,29,9188.0 +,,,,,,,30,10087.0 +,,,,,,,31,11929.0 +,,,,,,,32,13166.0 +,,,,,,,33,13504.0 +,,,,,,,34,13632.0 +,,,,,,,35,13724.0 +,,,,,,,36,13742.0 +,,,,,,,37,13665.0 +,,,,,,,38,13641.0 +,,,,,,,39,13501.0 +,,,,,,,40,13366.0 +,,,,,,,41,13376.0 +,,,,,,,42,13524.0 +,,,,,,,43,13736.0 +,,,,,,,44,14401.0 +,,,,,,,45,14006.0 +,,,,,,,46,13006.0 +,,,,,,,47,11658.0 +,,,,,,,48,10416.0 +,,,,,,,49,10219.0 +,,,,,,,50,9671.0 +,,,,,,,51,9383.0 +,,,,,,,52,9269.0 +,,,,,,,53,9483.0 +,,,,,,,54,10103.0 +,,,,,,,55,11573.0 +,,,,,,,56,13059.0 +,,,,,,,57,13905.0 +,,,,,,,58,14430.0 +,,,,,,,59,14873.0 +,,,,,,,60,15179.0 +,,,,,,,61,15323.0 +,,,,,,,62,15515.0 +,,,,,,,63,15537.0 +,,,,,,,64,15481.0 +,,,,,,,65,15485.0 +,,,,,,,66,15440.0 +,,,,,,,67,15208.0 +,,,,,,,68,15028.0 +,,,,,,,69,15221.0 +,,,,,,,70,14913.0 +,,,,,,,71,13573.0 +,,,,,,,72,12159.0 +,,,,,,,73,14935.0 +,,,,,,,74,14062.0 +,,,,,,,75,13498.0 +,,,,,,,76,13146.0 +,,,,,,,77,13178.0 +,,,,,,,78,13712.0 +,,,,,,,79,15192.0 +,,,,,,,80,17114.0 +,,,,,,,81,18656.0 +,,,,,,,82,20020.0 +,,,,,,,83,21201.0 +,,,,,,,84,22009.0 +,,,,,,,85,22567.0 +,,,,,,,86,23070.0 +,,,,,,,87,23388.0 +,,,,,,,88,23629.0 +,,,,,,,89,23770.0 +,,,,,,,90,23575.0 +,,,,,,,91,23034.0 +,,,,,,,92,22325.0 +,,,,,,,93,21921.0 +,,,,,,,94,21122.0 +,,,,,,,95,19311.0 +,,,,,,,96,17514.0 +,,,,,,,97,11232.0 +,,,,,,,98,10825.0 +,,,,,,,99,10632.0 +,,,,,,,100,10622.0 +,,,,,,,101,10948.0 +,,,,,,,102,11984.0 +,,,,,,,103,13879.0 +,,,,,,,104,14890.0 +,,,,,,,105,15134.0 +,,,,,,,106,15241.0 +,,,,,,,107,15360.0 +,,,,,,,108,15407.0 +,,,,,,,109,15385.0 +,,,,,,,110,15372.0 +,,,,,,,111,15285.0 +,,,,,,,112,15482.0 +,,,,,,,113,16544.0 +,,,,,,,114,17247.0 +,,,,,,,115,17114.0 +,,,,,,,116,16657.0 +,,,,,,,117,15936.0 +,,,,,,,118,14783.0 +,,,,,,,119,13342.0 +,,,,,,,120,12052.0 diff --git a/test/MultiStage/New_Build/Inputs_p3/Energy_share_requirement.csv b/test/MultiStage/New_Build/Inputs_p3/Energy_share_requirement.csv new file mode 100644 index 0000000000..50c97b4b39 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Energy_share_requirement.csv @@ -0,0 +1,2 @@ +,Network_zones,ESR_1,ESR_2 +NE,z1,0.259,0.348 diff --git a/test/MultiStage/New_Build/Inputs_p3/Fuels_data.csv b/test/MultiStage/New_Build/Inputs_p3/Fuels_data.csv new file mode 100644 index 0000000000..4c5f7bc799 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Fuels_data.csv @@ -0,0 +1,122 @@ +Time_Index,NG,None +0,0.05306,0.0 +1,5.28,0.0 +2,5.28,0.0 +3,5.28,0.0 +4,5.28,0.0 +5,5.28,0.0 +6,5.28,0.0 +7,5.28,0.0 +8,5.28,0.0 +9,5.28,0.0 +10,5.28,0.0 +11,5.28,0.0 +12,5.28,0.0 +13,5.28,0.0 +14,5.28,0.0 +15,5.28,0.0 +16,5.28,0.0 +17,5.28,0.0 +18,5.28,0.0 +19,5.28,0.0 +20,5.28,0.0 +21,5.28,0.0 +22,5.28,0.0 +23,5.28,0.0 +24,5.28,0.0 +25,3.69,0.0 +26,3.69,0.0 +27,3.69,0.0 +28,3.69,0.0 +29,3.69,0.0 +30,3.69,0.0 +31,3.69,0.0 +32,3.69,0.0 +33,3.69,0.0 +34,3.69,0.0 +35,3.69,0.0 +36,3.69,0.0 +37,3.69,0.0 +38,3.69,0.0 +39,3.69,0.0 +40,3.69,0.0 +41,3.69,0.0 +42,3.69,0.0 +43,3.69,0.0 +44,3.69,0.0 +45,3.69,0.0 +46,3.69,0.0 +47,3.69,0.0 +48,3.69,0.0 +49,2.23,0.0 +50,2.23,0.0 +51,2.23,0.0 +52,2.23,0.0 +53,2.23,0.0 +54,2.23,0.0 +55,2.23,0.0 +56,2.23,0.0 +57,2.23,0.0 +58,2.23,0.0 +59,2.23,0.0 +60,2.23,0.0 +61,2.23,0.0 +62,2.23,0.0 +63,2.23,0.0 +64,2.23,0.0 +65,2.23,0.0 +66,2.23,0.0 +67,2.23,0.0 +68,2.23,0.0 +69,2.23,0.0 +70,2.23,0.0 +71,2.23,0.0 +72,2.23,0.0 +73,2.34,0.0 +74,2.34,0.0 +75,2.34,0.0 +76,2.34,0.0 +77,2.34,0.0 +78,2.34,0.0 +79,2.34,0.0 +80,2.34,0.0 +81,2.34,0.0 +82,2.34,0.0 +83,2.34,0.0 +84,2.34,0.0 +85,2.34,0.0 +86,2.34,0.0 +87,2.34,0.0 +88,2.34,0.0 +89,2.34,0.0 +90,2.34,0.0 +91,2.34,0.0 +92,2.34,0.0 +93,2.34,0.0 +94,2.34,0.0 +95,2.34,0.0 +96,2.34,0.0 +97,2.74,0.0 +98,2.74,0.0 +99,2.74,0.0 +100,2.74,0.0 +101,2.74,0.0 +102,2.74,0.0 +103,2.74,0.0 +104,2.74,0.0 +105,2.74,0.0 +106,2.74,0.0 +107,2.74,0.0 +108,2.74,0.0 +109,2.74,0.0 +110,2.74,0.0 +111,2.74,0.0 +112,2.74,0.0 +113,2.74,0.0 +114,2.74,0.0 +115,2.74,0.0 +116,2.74,0.0 +117,2.74,0.0 +118,2.74,0.0 +119,2.74,0.0 +120,2.74,0.0 diff --git a/test/MultiStage/New_Build/Inputs_p3/Generators_data.csv b/test/MultiStage/New_Build/Inputs_p3/Generators_data.csv new file mode 100644 index 0000000000..d8e0ca4e9b --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Generators_data.csv @@ -0,0 +1,5 @@ +Resource,Zone,THERM,MUST_RUN,STOR,FLEX,HYDRO,VRE,Num_VRE_Bins,New_Build,Can_Retire,Existing_Cap_MW,Existing_Cap_MWh,Existing_Charge_Cap_MW,Max_Cap_MW,Max_Cap_MWh,Max_Charge_Cap_MW,Min_Cap_MW,Min_Cap_MWh,Min_Charge_Cap_MW,Inv_Cost_per_MWyr,Inv_Cost_per_MWhyr,Inv_Cost_Charge_per_MWyr,Fixed_OM_Cost_per_MWyr,Fixed_OM_Cost_per_MWhyr,Fixed_OM_Cost_Charge_per_MWyr,Var_OM_Cost_per_MWh,Var_OM_Cost_per_MWh_In,Heat_Rate_MMBTU_per_MWh,Fuel,Cap_Size,Start_Cost_per_MW,Start_Fuel_MMBTU_per_MW,Up_Time,Down_Time,Ramp_Up_Percentage,Ramp_Dn_Percentage,Hydro_Energy_to_Power_Ratio,Min_Power,Self_Disch,Eff_Up,Eff_Down,Min_Duration,Max_Duration,Max_Flexible_Demand_Advance,Max_Flexible_Demand_Delay,Flexible_Demand_Energy_Eff,Reg_Max,Rsv_Max,Reg_Cost,Rsv_Cost,MinCapTag,MinCapTag_1,MinCapTag_2,MinCapTag_3,MGA,Resource_Type,CapRes_1,ESR_1,ESR_2,region,cluster,WACC,Capital_Recovery_Period,Lifetime,Min_Retired_Cap_MW,Min_Retired_Energy_Cap_MW,Min_Retired_Charge_Cap_MW,LDS +natural_gas_combined_cycle,1,1,0,0,0,0,0,0,0,1,0,0,0,-1,-1,-1,0,0,0,65400,0,0,10287,0,0,3.55,0,7.43,NG,250,91,2,6,6,0.64,0.64,0,0.468,0,1,1,0,0,0,0,1,0.25,0.5,0,0,2,0,0,0,1,natural_gas_fired_combined_cycle,0.93,0,0,NE,1,0.039,20,20,0,0,0,0 +solar_pv,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,85300,0,0,18760,0,0,0,0,9.13,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,7,1,0,0,1,solar_photovoltaic,0.8,1,1,NE,1,0.017,20,20,0,0,0,0 +onshore_wind,1,0,0,0,0,0,1,1,1,1,0,0,0,-1,-1,-1,0,0,0,97200,0,0,43205,0,0,0.1,0,9.12,None,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,6,0,1,0,1,onshore_wind_turbine,0.8,1,1,NE,1,0.024,20,20,0,0,0,0 +battery,1,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,-1,0,0,0,19584,22494,0,4895,5622,5622,0.15,0.15,0,None,0,0,0,0,0,1,1,0,0,0,0.92,0.92,1,10,0,0,1,0,0,0,0,12,0,0,1,0,battery_mid,0.95,0,0,NE,0,0.027,20,20,0,0,0,0 diff --git a/test/MultiStage/New_Build/Inputs_p3/Generators_variability.csv b/test/MultiStage/New_Build/Inputs_p3/Generators_variability.csv new file mode 100644 index 0000000000..509dadf457 --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Generators_variability.csv @@ -0,0 +1,121 @@ +Time_Index,natural_gas_combined_cycle,solar_pv,onshore_wind,battery +1,1.0,0.0,0.523972332,1.0 +2,1.0,0.0,0.657110274,1.0 +3,1.0,0.0,0.757477045,1.0 +4,1.0,0.0,0.644009769,1.0 +5,1.0,0.0,0.467615873,1.0 +6,1.0,0.0,0.553678334,1.0 +7,1.0,0.0,0.77921623,1.0 +8,1.0,0.0,0.725531518,1.0 +9,1.0,0.0,0.786552846,1.0 +10,1.0,0.003,0.589495063,1.0 +11,1.0,0.0852,0.436854541,1.0 +12,1.0,0.1324,0.533977807,1.0 +13,1.0,0.1041,0.54939425,1.0 +14,1.0,0.1276,0.297182679,1.0 +15,1.0,0.1108,0.108885378,1.0 +16,1.0,0.0825,0.097908288,1.0 +17,1.0,0.0043,0.092191279,1.0 +18,1.0,0.0,0.112537816,1.0 +19,1.0,0.0,0.366680771,1.0 +20,1.0,0.0,0.794670165,1.0 +21,1.0,0.0,0.931621909,1.0 +22,1.0,0.0,1.0,1.0 +23,1.0,0.0,1.0,1.0 +24,1.0,0.0,1.0,1.0 +25,1.0,0.0,0.676885605,1.0 +26,1.0,0.0,0.738456726,1.0 +27,1.0,0.0,0.703836918,1.0 +28,1.0,0.0,0.697715104,1.0 +29,1.0,0.0,0.578294039,1.0 +30,1.0,0.0,0.478842616,1.0 +31,1.0,0.0,0.57159102,1.0 +32,1.0,0.0216,0.389114857,1.0 +33,1.0,0.1372,0.520889282,1.0 +34,1.0,0.3468,0.376534432,1.0 +35,1.0,0.3952,0.327963144,1.0 +36,1.0,0.4551,0.407575041,1.0 +37,1.0,0.5095,0.536571622,1.0 +38,1.0,0.5567,0.576452434,1.0 +39,1.0,0.5691,0.562025309,1.0 +40,1.0,0.4904,0.422575682,1.0 +41,1.0,0.3087,0.521396458,1.0 +42,1.0,0.1034,0.710955501,1.0 +43,1.0,0.0,0.683217525,1.0 +44,1.0,0.0,0.635520697,1.0 +45,1.0,0.0,0.5644238,1.0 +46,1.0,0.0,0.61978668,1.0 +47,1.0,0.0,0.516743779,1.0 +48,1.0,0.0,0.470443606,1.0 +49,1.0,0.0,0.500380576,1.0 +50,1.0,0.0,0.512022793,1.0 +51,1.0,0.0,0.404206336,1.0 +52,1.0,0.0,0.142279267,1.0 +53,1.0,0.0,0.133046106,1.0 +54,1.0,0.1356,0.133957967,1.0 +55,1.0,0.1041,0.041104347,1.0 +56,1.0,0.2399,0.029715812,1.0 +57,1.0,0.3785,0.064291924,1.0 +58,1.0,0.4837,0.043738909,1.0 +59,1.0,0.5323,0.056054953,1.0 +60,1.0,0.5114,0.101633437,1.0 +61,1.0,0.5175,0.238559932,1.0 +62,1.0,0.5099,0.194997847,1.0 +63,1.0,0.502,0.190832943,1.0 +64,1.0,0.4113,0.26438266,1.0 +65,1.0,0.3017,0.273810387,1.0 +66,1.0,0.1773,0.195969075,1.0 +67,1.0,0.0811,0.235671312,1.0 +68,1.0,0.0006,0.188544422,1.0 +69,1.0,0.0,0.179863051,1.0 +70,1.0,0.0,0.223087296,1.0 +71,1.0,0.0,0.457369655,1.0 +72,1.0,0.0,0.715852976,1.0 +73,1.0,0.0,0.280310601,1.0 +74,1.0,0.0,0.603805244,1.0 +75,1.0,0.0,0.741859972,1.0 +76,1.0,0.0,0.44207269,1.0 +77,1.0,0.0,0.534612,1.0 +78,1.0,0.0259,0.587511122,1.0 +79,1.0,0.096,0.48241505,1.0 +80,1.0,0.2133,0.226682097,1.0 +81,1.0,0.3624,0.376575917,1.0 +82,1.0,0.4795,0.272142261,1.0 +83,1.0,0.5633,0.132447034,1.0 +84,1.0,0.5708,0.091180928,1.0 +85,1.0,0.534,0.420845181,1.0 +86,1.0,0.5641,0.543866694,1.0 +87,1.0,0.5537,0.943579316,1.0 +88,1.0,0.457,0.83001256,1.0 +89,1.0,0.3439,0.698711514,1.0 +90,1.0,0.1642,0.536995411,1.0 +91,1.0,0.0638,0.770702124,1.0 +92,1.0,0.0,0.569594324,1.0 +93,1.0,0.0,0.668922722,1.0 +94,1.0,0.0,0.759383678,1.0 +95,1.0,0.0,0.672967851,1.0 +96,1.0,0.0,0.861851215,1.0 +97,1.0,0.0,0.000154842,1.0 +98,1.0,0.0,5.75e-5,1.0 +99,1.0,0.0,7.18e-5,1.0 +100,1.0,0.0,3.65e-5,1.0 +101,1.0,0.0,3.0e-5,1.0 +102,1.0,0.0,0.0,1.0 +103,1.0,0.0,0.000772537,1.0 +104,1.0,0.0,0.000930232,1.0 +105,1.0,0.1029,0.000778525,1.0 +106,1.0,0.2427,0.000131503,1.0 +107,1.0,0.3353,0.005792293,1.0 +108,1.0,0.3693,0.00257458,1.0 +109,1.0,0.321,1.01e-5,1.0 +110,1.0,0.2798,0.000134685,1.0 +111,1.0,0.2887,0.000516413,1.0 +112,1.0,0.1717,0.001232307,1.0 +113,1.0,0.0,0.002655152,1.0 +114,1.0,0.0,0.003173271,1.0 +115,1.0,0.0,0.003878384,1.0 +116,1.0,0.0,0.005781263,1.0 +117,1.0,0.0,0.006259252,1.0 +118,1.0,0.0,0.008088858,1.0 +119,1.0,0.0,0.008165604,1.0 +120,1.0,0.0,0.007110484,1.0 diff --git a/test/MultiStage/New_Build/Inputs_p3/Minimum_capacity_requirement.csv b/test/MultiStage/New_Build/Inputs_p3/Minimum_capacity_requirement.csv new file mode 100644 index 0000000000..8593a5abcc --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Minimum_capacity_requirement.csv @@ -0,0 +1,4 @@ +MinCapReqConstraint,ConstraintDescription,Min_MW +1,PV,5000 +2,Wind,10000 +3,Batteries,6000 diff --git a/test/MultiStage/New_Build/Inputs_p3/Period_map.csv b/test/MultiStage/New_Build/Inputs_p3/Period_map.csv new file mode 100644 index 0000000000..72f49e820b --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Period_map.csv @@ -0,0 +1,366 @@ +Period_Index,Rep_Period,Rep_Period_Index +1,72,2 +2,72,2 +3,72,2 +4,72,2 +5,72,2 +6,72,2 +7,72,2 +8,72,2 +9,72,2 +10,72,2 +11,72,2 +12,72,2 +13,72,2 +14,72,2 +15,72,2 +16,72,2 +17,72,2 +18,72,2 +19,72,2 +20,72,2 +21,72,2 +22,72,2 +23,72,2 +24,72,2 +25,72,2 +26,72,2 +27,27,1 +28,72,2 +29,72,2 +30,72,2 +31,72,2 +32,72,2 +33,72,2 +34,72,2 +35,72,2 +36,72,2 +37,72,2 +38,72,2 +39,72,2 +40,72,2 +41,72,2 +42,72,2 +43,72,2 +44,72,2 +45,72,2 +46,72,2 +47,72,2 +48,72,2 +49,72,2 +50,72,2 +51,72,2 +52,72,2 +53,72,2 +54,72,2 +55,72,2 +56,72,2 +57,72,2 +58,72,2 +59,72,2 +60,72,2 +61,72,2 +62,72,2 +63,72,2 +64,72,2 +65,72,2 +66,72,2 +67,72,2 +68,72,2 +69,72,2 +70,72,2 +71,72,2 +72,72,2 +73,72,2 +74,72,2 +75,72,2 +76,72,2 +77,72,2 +78,72,2 +79,72,2 +80,72,2 +81,72,2 +82,72,2 +83,72,2 +84,72,2 +85,72,2 +86,72,2 +87,72,2 +88,72,2 +89,72,2 +90,72,2 +91,72,2 +92,72,2 +93,72,2 +94,72,2 +95,72,2 +96,72,2 +97,72,2 +98,72,2 +99,72,2 +100,72,2 +101,72,2 +102,72,2 +103,72,2 +104,72,2 +105,72,2 +106,72,2 +107,72,2 +108,72,2 +109,170,3 +110,72,2 +111,72,2 +112,72,2 +113,72,2 +114,72,2 +115,72,2 +116,72,2 +117,72,2 +118,72,2 +119,72,2 +120,72,2 +121,72,2 +122,170,3 +123,170,3 +124,170,3 +125,170,3 +126,170,3 +127,170,3 +128,170,3 +129,170,3 +130,170,3 +131,170,3 +132,170,3 +133,170,3 +134,170,3 +135,170,3 +136,170,3 +137,170,3 +138,170,3 +139,170,3 +140,170,3 +141,170,3 +142,170,3 +143,170,3 +144,170,3 +145,170,3 +146,170,3 +147,170,3 +148,170,3 +149,170,3 +150,170,3 +151,170,3 +152,170,3 +153,170,3 +154,170,3 +155,170,3 +156,170,3 +157,170,3 +158,170,3 +159,170,3 +160,170,3 +161,170,3 +162,170,3 +163,170,3 +164,170,3 +165,170,3 +166,170,3 +167,170,3 +168,170,3 +169,170,3 +170,170,3 +171,170,3 +172,170,3 +173,170,3 +174,170,3 +175,170,3 +176,170,3 +177,170,3 +178,170,3 +179,170,3 +180,170,3 +181,170,3 +182,170,3 +183,170,3 +184,170,3 +185,170,3 +186,170,3 +187,170,3 +188,170,3 +189,170,3 +190,170,3 +191,170,3 +192,170,3 +193,170,3 +194,170,3 +195,170,3 +196,170,3 +197,170,3 +198,198,4 +199,170,3 +200,170,3 +201,170,3 +202,170,3 +203,170,3 +204,170,3 +205,170,3 +206,170,3 +207,170,3 +208,170,3 +209,170,3 +210,170,3 +211,170,3 +212,170,3 +213,170,3 +214,170,3 +215,170,3 +216,170,3 +217,170,3 +218,170,3 +219,170,3 +220,170,3 +221,170,3 +222,170,3 +223,170,3 +224,170,3 +225,170,3 +226,170,3 +227,170,3 +228,170,3 +229,170,3 +230,170,3 +231,170,3 +232,170,3 +233,170,3 +234,170,3 +235,170,3 +236,170,3 +237,170,3 +238,170,3 +239,170,3 +240,170,3 +241,170,3 +242,170,3 +243,170,3 +244,170,3 +245,170,3 +246,170,3 +247,170,3 +248,170,3 +249,170,3 +250,170,3 +251,170,3 +252,170,3 +253,170,3 +254,170,3 +255,170,3 +256,170,3 +257,170,3 +258,170,3 +259,170,3 +260,170,3 +261,170,3 +262,170,3 +263,170,3 +264,170,3 +265,170,3 +266,170,3 +267,170,3 +268,170,3 +269,170,3 +270,170,3 +271,170,3 +272,170,3 +273,170,3 +274,170,3 +275,170,3 +276,170,3 +277,170,3 +278,170,3 +279,170,3 +280,170,3 +281,170,3 +282,170,3 +283,170,3 +284,170,3 +285,170,3 +286,170,3 +287,170,3 +288,170,3 +289,170,3 +290,170,3 +291,170,3 +292,170,3 +293,170,3 +294,170,3 +295,170,3 +296,170,3 +297,170,3 +298,170,3 +299,170,3 +300,170,3 +301,170,3 +302,170,3 +303,170,3 +304,170,3 +305,170,3 +306,170,3 +307,72,2 +308,72,2 +309,170,3 +310,170,3 +311,170,3 +312,72,2 +313,170,3 +314,170,3 +315,170,3 +316,170,3 +317,170,3 +318,170,3 +319,170,3 +320,170,3 +321,170,3 +322,170,3 +323,170,3 +324,170,3 +325,170,3 +326,170,3 +327,170,3 +328,72,2 +329,170,3 +330,170,3 +331,331,5 +332,170,3 +333,170,3 +334,170,3 +335,170,3 +336,72,2 +337,72,2 +338,72,2 +339,72,2 +340,72,2 +341,72,2 +342,72,2 +343,72,2 +344,72,2 +345,72,2 +346,72,2 +347,72,2 +348,72,2 +349,72,2 +350,72,2 +351,72,2 +352,72,2 +353,72,2 +354,72,2 +355,72,2 +356,72,2 +357,72,2 +358,72,2 +359,72,2 +360,72,2 +361,72,2 +362,72,2 +363,72,2 +364,72,2 +365,72,2 diff --git a/test/MultiStage/New_Build/Inputs_p3/Reserves.csv b/test/MultiStage/New_Build/Inputs_p3/Reserves.csv new file mode 100644 index 0000000000..b495df0dea --- /dev/null +++ b/test/MultiStage/New_Build/Inputs_p3/Reserves.csv @@ -0,0 +1,2 @@ +Reg_Req_Percent_Demand,Reg_Req_Percent_VRE,Rsv_Req_Percent_Demand,Rsv_Req_Percent_VRE,Unmet_Rsv_Penalty_Dollar_per_MW,Dynamic_Contingency,Static_Contingency_MW +0.01,0.0032,0.033,0.0795,1000,0,0 diff --git a/test/MultiStage/New_Build/highs_settings.yml b/test/MultiStage/New_Build/highs_settings.yml new file mode 100644 index 0000000000..e520dfbef7 --- /dev/null +++ b/test/MultiStage/New_Build/highs_settings.yml @@ -0,0 +1,12 @@ +# HiGHS Solver Parameters +# Common solver settings +Feasib_Tol: 1.0e-05 # Primal feasibility tolerance # [type: double, advanced: false, range: [1e-10, inf], default: 1e-07] +Optimal_Tol: 1.0e-05 # Dual feasibility tolerance # [type: double, advanced: false, range: [1e-10, inf], default: 1e-07] +TimeLimit: 1.0e23 # Time limit # [type: double, advanced: false, range: [0, inf], default: inf] +Pre_Solve: on # Presolve option: "off", "choose" or "on" # [type: string, advanced: false, default: "choose"] +Method: ipm # HiGHS-specific solver settings # Solver option: "simplex", "choose" or "ipm" # [type: string, advanced: false, default: "choose"] +ipm_optimality_tolerance: 1e-04 + +# run the crossover routine for ipx +# [type: string, advanced: "on", range: {"off", "on"}, default: "off"] +run_crossover: "on" diff --git a/test/test_multistage.jl b/test/test_multistage.jl index 4c6a8d4600..8624251e19 100644 --- a/test/test_multistage.jl +++ b/test/test_multistage.jl @@ -5,7 +5,7 @@ using Test include(joinpath(@__DIR__, "utilities.jl")) obj_true = [79734.80032, 41630.03494, 27855.20631] -test_path = "MultiStage" +test_path = joinpath(@__DIR__,"MultiStage"); # Define test inputs multistage_setup = Dict( @@ -58,4 +58,55 @@ obj_test = round_from_tol!.(obj_test, optimal_tol) optimal_tol = round_from_tol!.(optimal_tol, optimal_tol) write_testlog(test_path, obj_test, optimal_tol, test_result) +function test_new_build(EP::Dict,inputs::Dict) + ### Test that the resource with New_Build = 0 did not expand capacity + a = true; + + for t in keys(EP) + if t==1 + a = value(EP[t][:eTotalCap][1]) <= inputs[1]["dfGen"][1,:Existing_Cap_MW][1] + else + a = value(EP[t][:eTotalCap][1]) <= value(EP[t-1][:eTotalCap][1]) + end + if a==false + break + end + end + + return a +end + +function test_can_retire(EP::Dict,inputs::Dict) + ### Test that the resource with Can_Retire = 0 did not retire capacity + a = true; + + for t in keys(EP) + if t==1 + a = value(EP[t][:eTotalCap][1]) >= inputs[1]["dfGen"][1,:Existing_Cap_MW][1] + else + a = value(EP[t][:eTotalCap][1]) >= value(EP[t-1][:eTotalCap][1]) + end + if a==false + break + end + end + + return a +end + +test_path_new_build = joinpath(@__DIR__,"MultiStage","New_Build"); +EP, inputs, _ = redirect_stdout(devnull) do + run_genx_case_testing(test_path_new_build, genx_setup); +end + +new_build_test_result = @test test_new_build(EP,inputs) +write_testlog(test_path_new_build,"Testing that the resource with New_Build = 0 did not expand capacity",new_build_test_result) + +test_path_can_retire = joinpath(@__DIR__,"MultiStage","Can_Retire"); +EP, inputs, _ = redirect_stdout(devnull) do + run_genx_case_testing(test_path_can_retire, genx_setup); +end +can_retire_test_result = @test test_can_retire(EP,inputs) +write_testlog(test_path_can_retire,"Testing that the resource with Can_Retire = 0 did not expand capacity",can_retire_test_result) + end # module TestMultiStage