Skip to content

Commit

Permalink
Add files to tests write_outputs in VREStor and ThreeZones
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonaldo committed Jan 18, 2024
1 parent 3c793ad commit 0d45986
Show file tree
Hide file tree
Showing 75 changed files with 5,980 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ test_get_retirement_period.jl

# Test files
test/TDR/TDR_Results_test
test/MethodofMorris/morris.csv
test/MethodofMorris/morris.csv
!test/VREStor/Results_true/
!test/ThreeZones/Results_true/
4 changes: 4 additions & 0 deletions test/ThreeZones/Results_true/CO2_prices_and_penalties.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CO2_Cap,CO2_Price
CO2_Cap_1,131.98402629174623
CO2_Cap_2,113.33114344303644
CO2_Cap_3,50.15035969096366
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/ChargingCost.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Region,Resource,Zone,Cluster,AnnualSum
MA,MA_natural_gas_combined_cycle,1,1,0.0
CT,CT_natural_gas_combined_cycle,2,1,0.0
ME,ME_natural_gas_combined_cycle,3,1,0.0
MA,MA_solar_pv,1,1,0.0
CT,CT_onshore_wind,2,1,0.0
CT,CT_solar_pv,2,1,0.0
ME,ME_onshore_wind,3,1,0.0
MA,MA_battery,1,0,6.380895968972804e7
CT,CT_battery,2,0,2.672327385609733e8
ME,ME_battery,3,0,6.620022087717741e7
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/EnergyRevenue.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Region,Resource,Zone,Cluster,AnnualSum
MA,MA_natural_gas_combined_cycle,1,1,1.4476704138635266e9
CT,CT_natural_gas_combined_cycle,2,1,7.001053795833539e8
ME,ME_natural_gas_combined_cycle,3,1,8.233254510918912e7
MA,MA_solar_pv,1,1,3.958528391963538e8
CT,CT_onshore_wind,2,1,2.771751245155366e9
CT,CT_solar_pv,2,1,0.0
ME,ME_onshore_wind,3,1,1.214319835691168e9
MA,MA_battery,1,0,3.151615033353247e8
CT,CT_battery,2,0,7.859243908699381e8
ME,ME_battery,3,0,1.441929214975856e8
121 changes: 121 additions & 0 deletions test/ThreeZones/Results_true/FuelConsumption_plant_MMBTU.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
Resource,MA_natural_gas_combined_cycle,CT_natural_gas_combined_cycle,ME_natural_gas_combined_cycle
t1,3027.881851115864,0.0,0.0
t2,3027.881851115864,0.0,0.0
t3,3027.8818511158634,0.0,0.0
t4,3027.8818511158634,0.0,0.0
t5,3027.881851115864,0.0,0.0
t6,3027.881851115864,0.0,0.0
t7,8413.416792677028,0.0,0.0
t8,12757.310000000009,0.0,0.0
t9,13656.34,0.0,0.0
t10,13656.34,19033.82162178707,0.0
t11,13656.340000000002,15283.324418149414,0.0
t12,13656.34,20668.742366264636,0.0
t13,13656.34,20668.742366264636,0.0
t14,13656.34,20668.742366264636,0.0
t15,13656.34,20668.742366264636,0.0
t16,13656.34,20668.742366264636,0.0
t17,13656.34,13227.995114409365,0.0
t18,13656.34,0.0,0.0
t19,13656.34,0.0,0.0
t20,13656.34,0.0,0.0
t21,13344.280000000002,0.0,0.0
t22,9294.929999999995,0.0,0.0
t23,3900.7500000000023,0.0,0.0
t24,3027.881851115864,0.0,0.0
t25,37926.9361900136,0.0,2373.5943679247166
t26,34754.66342768373,0.0,2373.5943679247166
t27,26872.848463979928,0.0,2373.5943679247166
t28,26872.848463979928,0.0,2373.5943679247166
t29,28335.05344759869,12212.608480710589,2373.5943679247166
t30,33903.63780297593,26177.224550634794,2373.5943679247166
t31,57420.616376025486,27202.18264266144,2373.5943679247166
t32,57420.616376025486,27202.18264266144,2373.5943679247166
t33,57420.616376025486,27202.18264266144,2373.5943679247166
t34,57420.616376025486,27202.18264266144,2373.5943679247166
t35,57420.616376025486,27202.18264266144,2373.5943679247166
t36,57420.616376025486,17409.39689130332,2373.5943679247166
t37,49360.55600533824,0.0,2373.5943679247166
t38,50315.96203672184,0.0,2373.5943679247166
t39,57420.616376025486,0.0,2373.5943679247166
t40,57420.616376025486,0.0,2373.5943679247166
t41,57420.616376025486,0.0,2373.5943679247166
t42,57420.616376025486,0.0,2373.5943679247166
t43,57420.616376025486,0.0,2373.5943679247166
t44,57420.616376025486,0.0,2373.5943679247166
t45,52716.91466726827,0.0,2373.5943679247166
t46,47091.34,0.0,1125.0837303963158
t47,37632.95000000001,0.0,1125.0837303963158
t48,28241.430000000015,0.0,1125.0837303963158
t49,0.0,0.0,0.0
t50,0.0,0.0,0.0
t51,0.0,0.0,0.0
t52,0.0,0.0,0.0
t53,0.0,0.0,0.0
t54,0.0,0.0,0.0
t55,0.0,0.0,0.0
t56,3138.6612030684,0.0,0.0
t57,1615.626225982586,0.0,1473.2261057597818
t58,1615.626225982586,0.0,958.8174218058596
t59,3452.192790561081,0.0,2436.2439295551603
t60,3452.192790561081,0.0,2373.5943679247166
t61,3452.192790561081,0.0,2373.5943679247166
t62,1615.626225982586,0.0,1125.0837303963158
t63,1615.626225982586,0.0,1125.0837303963158
t64,12018.699202402582,4457.872632606625,1125.0837303963158
t65,24251.829582631482,6955.656807538387,2373.5943679247166
t66,22833.455691455063,6955.656807538387,2373.5943679247166
t67,18314.950000000004,6955.656807538387,1125.0837303963158
t68,16071.09000000001,6955.656807538387,1125.0837303963158
t69,22833.455691455063,6955.656807538387,2373.5943679247166
t70,22833.455691455063,6955.656807538387,2373.5943679247166
t71,22833.455691455063,6955.656807538387,2373.5943679247166
t72,14613.411642531242,4451.620356824567,1519.1003954718187
t73,32574.95705360096,42849.8868411139,2373.5943679247166
t74,29204.359208453072,42849.8868411139,2373.5943679247166
t75,27750.153727366054,42849.8868411139,2373.5943679247166
t76,27328.84633781739,42849.8868411139,2373.5943679247166
t77,28356.581207523668,42849.8868411139,2373.5943679247166
t78,30579.869293185653,42849.8868411139,2373.5943679247166
t79,34834.74916854694,42849.8868411139,2373.5943679247166
t80,37624.23532262476,42849.8868411139,2373.5943679247166
t81,32564.875914177846,42849.8868411139,2373.5943679247166
t82,26872.848463979928,42849.8868411139,2373.5943679247166
t83,26872.848463979928,42849.8868411139,2373.5943679247166
t84,26872.848463979928,42849.8868411139,2373.5943679247166
t85,26872.848463979928,42849.8868411139,2373.5943679247166
t86,34975.215778464895,42849.8868411139,2373.5943679247166
t87,28639.815508809184,42849.8868411139,2373.5943679247166
t88,40936.65873649009,42849.8868411139,2373.5943679247166
t89,57276.28018048079,42849.8868411139,2373.5943679247166
t90,57420.616376025486,42849.8868411139,2373.5943679247166
t91,57420.616376025486,42849.8868411139,2373.5943679247166
t92,57420.616376025486,42849.8868411139,2373.5943679247166
t93,57420.616376025486,42849.8868411139,2373.5943679247166
t94,50246.4835554938,42849.8868411139,2373.5943679247166
t95,40581.272243917614,42849.8868411139,2373.5943679247166
t96,31540.081102497596,42849.8868411139,2373.5943679247166
t97,57420.616376025486,42849.8868411139,2373.5943679247166
t98,57420.616376025486,42849.8868411139,2373.5943679247166
t99,57420.616376025486,42849.8868411139,2373.5943679247166
t100,57420.616376025486,42849.8868411139,2373.5943679247166
t101,57420.616376025486,42849.8868411139,2373.5943679247166
t102,57420.616376025486,42849.8868411139,2373.5943679247166
t103,57420.616376025486,42849.8868411139,2373.5943679247166
t104,57420.616376025486,42849.8868411139,2373.5943679247166
t105,57420.616376025486,42849.8868411139,2373.5943679247166
t106,57420.616376025486,42849.8868411139,2373.5943679247166
t107,57420.616376025486,42849.8868411139,2373.5943679247166
t108,57420.616376025486,42849.8868411139,2373.5943679247166
t109,57420.616376025486,42849.8868411139,2373.5943679247166
t110,57420.616376025486,42849.8868411139,2373.5943679247166
t111,57420.616376025486,42849.8868411139,2373.5943679247166
t112,57420.616376025486,42849.8868411139,2373.5943679247166
t113,57420.616376025486,42849.8868411139,2373.5943679247166
t114,57420.616376025486,42849.8868411139,2373.5943679247166
t115,57420.616376025486,42849.8868411139,2373.5943679247166
t116,57420.616376025486,42849.8868411139,2373.5943679247166
t117,57420.616376025486,42849.8868411139,2373.5943679247166
t118,57420.616376025486,42849.8868411139,2373.5943679247166
t119,57420.616376025486,42849.8868411139,2373.5943679247166
t120,57420.61637601854,42849.886841057254,2373.594367927379
5 changes: 5 additions & 0 deletions test/ThreeZones/Results_true/FuelConsumption_total_MMBTU.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Fuel,AnnualSum
CT_NG,2.319276528632926e7
ME_NG,1.0501849378475005e7
MA_NG,7.461485627310883e7
None,0.0
4 changes: 4 additions & 0 deletions test/ThreeZones/Results_true/Fuel_cost_plant.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Resource,Fuel,Zone,AnnualSum
MA_natural_gas_combined_cycle,MA_NG,1,2.045787433004773e8
CT_natural_gas_combined_cycle,CT_NG,2,6.470804970607593e7
ME_natural_gas_combined_cycle,ME_NG,3,2.914777481986388e7
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Constraint,Price
MinCapReq_1,24889.43216072926
MinCapReq_2,0.0
MinCapReq_3,0.0
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/NetRevenue.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
region,Resource,zone,Cluster,R_ID,Inv_cost_MW,Inv_cost_MWh,Inv_cost_charge_MW,Fixed_OM_cost_MW,Fixed_OM_cost_MWh,Fixed_OM_cost_charge_MW,Var_OM_cost_out,Fuel_cost,Var_OM_cost_in,StartCost,Charge_cost,EnergyRevenue,SubsidyRevenue,ReserveMarginRevenue,ESRRevenue,EmissionsCost,RegSubsidyRevenue,Revenue,Cost,Profit
MA,MA_natural_gas_combined_cycle,1,1,1,5.054250755036429e8,0.0,0.0,7.95001185276143e7,0.0,0.0,3.458938068912895e7,1.9848899118216625e8,0.0,1.0713360475029042e8,0.0,1.4476704138635266e9,0.0,0.0,0.0,5.225332432106838e8,0.0,1.4476704138635266e9,1.4476704138635266e9,0.0
CT,CT_natural_gas_combined_cycle,2,1,2,3.9359306171472603e8,0.0,0.0,5.8364916093416095e7,0.0,0.0,1.1268556351426717e7,6.2701135427985996e7,0.0,3.471148393542922e7,0.0,7.001053795833539e8,0.0,0.0,0.0,1.3946622606037012e8,0.0,7.001053795833539e8,7.001053795833541e8,-2.384185791015625e-7
ME,ME_natural_gas_combined_cycle,3,1,3,1.2300560353587678e7,0.0,0.0,3.064043252603927e6,0.0,0.0,3.6962950797680565e6,2.8770264227825545e7,0.0,6.556191145183728e6,0.0,8.233254510918912e7,0.0,0.0,0.0,2.794519105021993e7,0.0,8.233254510918912e7,8.233254510918887e7,2.5331974029541016e-7
MA,MA_solar_pv,1,1,4,4.265e8,0.0,0.0,9.380000000000001e7,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.958528391963538e8,0.0,0.0,0.0,0.0,1.2444716080364628e8,5.2030000000000006e8,5.203e8,5.960464477539063e-8
CT,CT_onshore_wind,2,1,5,1.9139035782814858e9,0.0,0.0,8.507222643997077e8,0.0,0.0,7.125402474174586e6,0.0,0.0,0.0,0.0,2.771751245155366e9,0.0,0.0,0.0,0.0,0.0,2.771751245155366e9,2.771751245155368e9,-1.9073486328125e-6
CT,CT_solar_pv,2,1,6,-0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
ME,ME_onshore_wind,3,1,7,8.388533999234861e8,0.0,0.0,3.7286688419438493e8,0.0,0.0,2.5995515732968478e6,0.0,0.0,0.0,0.0,1.214319835691168e9,0.0,0.0,0.0,0.0,0.0,1.214319835691168e9,1.2143198356911678e9,2.384185791015625e-7
MA,MA_battery,1,0,8,2.823074942829785e7,1.7500470187502685e8,0.0,7.056245835963949e6,4.373950537660714e7,0.0,461643.8161643844,0.0,545420.3877178453,0.0,6.380895968972804e7,3.151615033353247e8,0.0,0.0,0.0,0.0,0.0,3.151615033353247e8,3.18847226409506e8,-3.6857230741813183e6
CT,CT_battery,2,0,9,8.792811594510491e7,3.337184097917291e8,0.0,2.197753919277413e7,8.340734861959194e7,0.0,1.7842513063437657e6,0.0,2.10804738462165e6,0.0,2.672327385609733e8,7.859243908699381e8,0.0,0.0,0.0,0.0,0.0,7.859243908699381e8,7.981564508011388e8,-1.2232059931200624e7
ME,ME_battery,3,0,10,2.0481585312949996e7,4.2156373037723005e7,0.0,5.119350495654116e6,1.0536282084915033e7,0.0,353076.5538618,0.0,417150.9379274575,0.0,6.620022087717741e7,1.441929214975856e8,0.0,0.0,0.0,0.0,0.0,1.441929214975856e8,1.452640393002088e8,-1.0711178026232123e6
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/RegSubsidyRevenue.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Region,Resource,Zone,Cluster,R_ID,SubsidyRevenue
MA,MA_natural_gas_combined_cycle,1,1,1,0.0
CT,CT_natural_gas_combined_cycle,2,1,2,0.0
ME,ME_natural_gas_combined_cycle,3,1,3,0.0
MA,MA_solar_pv,1,1,4,1.2444716080364628e8
CT,CT_onshore_wind,2,1,5,0.0
CT,CT_solar_pv,2,1,6,0.0
ME,ME_onshore_wind,3,1,7,0.0
MA,MA_battery,1,0,8,0.0
CT,CT_battery,2,0,9,0.0
ME,ME_battery,3,0,10,0.0
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/SubsidyRevenue.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Region,Resource,Zone,Cluster,R_ID,SubsidyRevenue
MA,MA_natural_gas_combined_cycle,1,1,1,0.0
CT,CT_natural_gas_combined_cycle,2,1,2,0.0
ME,ME_natural_gas_combined_cycle,3,1,3,0.0
MA,MA_solar_pv,1,1,4,0.0
CT,CT_onshore_wind,2,1,5,0.0
CT,CT_solar_pv,2,1,6,0.0
ME,ME_onshore_wind,3,1,7,0.0
MA,MA_battery,1,0,8,0.0
CT,CT_battery,2,0,9,0.0
ME,ME_battery,3,0,10,0.0
12 changes: 12 additions & 0 deletions test/ThreeZones/Results_true/capacity.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Resource,Zone,StartCap,RetCap,NewCap,EndCap,CapacityConstraintDual,StartEnergyCap,RetEnergyCap,NewEnergyCap,EndEnergyCap,StartChargeCap,RetChargeCap,NewChargeCap,EndChargeCap
MA_natural_gas_combined_cycle,1,0.0,0.0,7728.212163664264,7728.212163664264,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
CT_natural_gas_combined_cycle,2,0.0,0.0,6018.242533864312,6018.242533864312,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
ME_natural_gas_combined_cycle,3,0.0,0.0,188.08196259308374,188.08196259308374,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
MA_solar_pv,1,0.0,0.0,5000.0,5000.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
CT_onshore_wind,2,0.0,0.0,19690.366031702528,19690.366031702528,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
CT_solar_pv,2,0.0,0.0,-0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
ME_onshore_wind,3,0.0,0.0,8630.179011558499,8630.179011558499,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
MA_battery,1,0.0,0.0,1441.521110513575,1441.521110513575,0.0,0.0,0.0,7780.0614330500075,7780.0614330500075,0.0,0.0,0.0,0.0
CT_battery,2,0.0,0.0,4489.793502098903,4489.793502098903,0.0,0.0,0.0,14835.885560226245,14835.885560226245,0.0,0.0,0.0,0.0
ME_battery,3,0.0,0.0,1045.8325833818421,1045.8325833818421,0.0,0.0,0.0,1874.1163438127057,1874.1163438127057,0.0,0.0,0.0,0.0
Total,n/a,0.0,0.0,54232.22889937701,54232.22889937701,n/a,0.0,0.0,24490.063337088955,24490.063337088955,0.0,0.0,0.0,0.0
11 changes: 11 additions & 0 deletions test/ThreeZones/Results_true/capacityfactor.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Resource,Zone,AnnualSum,Capacity,CapacityFactor
MA_natural_gas_combined_cycle,1,9.743487518064491e6,7728.212163664264,0.14392336041818254
CT_natural_gas_combined_cycle,2,3.1564583617441785e6,6018.242533864312,0.059872345618380174
ME_natural_gas_combined_cycle,3,821398.9066151236,188.08196259308374,0.4985432796387362
MA_solar_pv,1,4.883269e6,5000.0,0.11149015981735161
CT_onshore_wind,2,7.125402474174587e7,19690.366031702528,0.4130964897322982
CT_solar_pv,2,0.0,0.0,0.0
ME_onshore_wind,3,2.5995515732968472e7,8630.179011558499,0.343854353783016
MA_battery,1,3.0776254410958965e6,1441.521110513575,0.0
CT_battery,2,1.1895008708958441e7,4489.793502098903,0.0
ME_battery,3,2.353843692412e6,1045.8325833818421,0.0
Loading

0 comments on commit 0d45986

Please sign in to comment.