diff --git a/.gitignore b/.gitignore index daaf969f..875c165b 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ examples/simple_nostorage_scengen/ tests/simulator_tests/test_cases/deterministic_with_network_simulation_output/ tests/simulator_tests/test_cases/deterministic_simulation_output/ +tests/simulator_tests/test_cases/deterministic_simulation_csv_output/ diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_load.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_load.csv new file mode 100644 index 00000000..4d4199fc --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_load.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,CopperSheet +2020,7,10,1,1417.352657 +2020,7,10,2,1349.256173 +2020,7,10,3,1293.15764 +2020,7,10,4,1263.973433 +2020,7,10,5,1268.837467 +2020,7,10,6,1291.239049 +2020,7,10,7,1355.768574 +2020,7,10,8,1451.779213 +2020,7,10,9,1545.168677 +2020,7,10,10,1606.077199 +2020,7,10,11,1678.794516 +2020,7,10,12,1755.592217 +2020,7,10,13,1786.370747 +2020,7,10,14,1779.209808 +2020,7,10,15,1817.527591 +2020,7,10,16,1861.006656 +2020,7,10,17,1880.787063 +2020,7,10,18,1838.956366 +2020,7,10,19,1771.481397 +2020,7,10,20,1704.35772 +2020,7,10,21,1686.549949 +2020,7,10,22,1619.750541 +2020,7,10,23,1497.825407 +2020,7,10,24,1376.521789 +2020,7,11,1,1289.941973 +2020,7,11,2,1221.548242 +2020,7,11,3,1180.636307 +2020,7,11,4,1143.048128 +2020,7,11,5,1131.995961 +2020,7,11,6,1118.403687 +2020,7,11,7,1134.292866 +2020,7,11,8,1266.567585 +2020,7,11,9,1408.975708 +2020,7,11,10,1542.250256 +2020,7,11,11,1679.037718 +2020,7,11,12,1793.207419 +2020,7,11,13,1875.247469 +2020,7,11,14,1959.20611 +2020,7,11,15,2026.086585 +2020,7,11,16,2071.754466 +2020,7,11,17,2099.614575 +2020,7,11,18,2084.400956 +2020,7,11,19,2025.735294 +2020,7,11,20,1937.182842 +2020,7,11,21,1884.948515 +2020,7,11,22,1772.129935 +2020,7,11,23,1634.612868 +2020,7,11,24,1502.959665 +2020,7,12,1,1404.706167 +2020,7,12,2,1331.09711 +2020,7,12,3,1272.755717 +2020,7,12,4,1229.627944 +2020,7,12,5,1196.552509 +2020,7,12,6,1164.747127 +2020,7,12,7,1196.255262 +2020,7,12,8,1306.506713 +2020,7,12,9,1463.750142 +2020,7,12,10,1614.183923 +2020,7,12,11,1783.830641 +2020,7,12,12,1920.293833 +2020,7,12,13,2022.816873 +2020,7,12,14,2101.938503 +2020,7,12,15,2160.901411 +2020,7,12,16,2197.895096 +2020,7,12,17,2217.405279 +2020,7,12,18,2196.949312 +2020,7,12,19,2133.338548 +2020,7,12,20,2030.896575 +2020,7,12,21,1966.096826 +2020,7,12,22,1843.766356 +2020,7,12,23,1686.820173 +2020,7,12,24,1547.357492 +2020,7,13,1,1441.375583 +2020,7,13,2,1369.009557 +2020,7,13,3,1304.507054 +2020,7,13,4,1257.812322 +2020,7,13,5,1250.73245 +2020,7,13,6,1265.6218 +2020,7,13,7,1342.824838 +2020,7,13,8,1457.291785 +2020,7,13,9,1588.593697 +2020,7,13,10,1703.709182 +2020,7,13,11,1822.688873 +2020,7,13,12,1936.183013 +2020,7,13,13,2038.327739 +2020,7,13,14,2137.554045 +2020,7,13,15,2219.621117 +2020,7,13,16,2286.744795 +2020,7,13,17,2302.309705 +2020,7,13,18,2279.340653 +2020,7,13,19,2203.056377 +2020,7,13,20,2087.02213 +2020,7,13,21,2018.628399 +2020,7,13,22,1897.919274 +2020,7,13,23,1713.464273 +2020,7,13,24,1549.357151 +2020,7,14,1,1434.565935 +2020,7,14,2,1357.06565 +2020,7,14,3,1286.726306 +2020,7,14,4,1244.868586 +2020,7,14,5,1230.952042 +2020,7,14,6,1240.977358 +2020,7,14,7,1325.908806 +2020,7,14,8,1457.291785 +2020,7,14,9,1591.53914 +2020,7,14,10,1714.112811 +2020,7,14,11,1855.142792 +2020,7,14,12,1982.256229 +2020,7,14,13,2108.775173 +2020,7,14,14,2208.947264 +2020,7,14,15,2284.528957 +2020,7,14,16,2346.761577 +2020,7,14,17,2372.000512 +2020,7,14,18,2349.977244 +2020,7,14,19,2274.746843 +2020,7,14,20,2159.901582 +2020,7,14,21,2095.101832 +2020,7,14,22,1979.716122 +2020,7,14,23,1789.64046 +2020,7,14,24,1609.022642 +2020,7,15,1,1517.876038 +2020,7,15,2,1419.325293 +2020,7,15,3,1343.149107 +2020,7,15,4,1310.749232 +2020,7,15,5,1312.370577 +2020,7,15,6,1334.718114 +2020,7,15,7,1426.161964 +2020,7,15,8,1526.982592 +2020,7,15,9,1695.926727 +2020,7,15,10,1808.502105 +2020,7,15,11,1941.344294 +2020,7,15,12,2057.513654 +2020,7,15,13,2171.278018 +2020,7,15,14,2279.313631 +2020,7,15,15,2363.893788 +2020,7,15,16,2412.858402 +2020,7,15,17,2440.069974 +2020,7,15,18,2410.939811 +2020,7,15,19,2338.303561 +2020,7,15,20,2240.104107 +2020,7,15,21,2172.250825 +2020,7,15,22,2063.29645 +2020,7,15,23,1881.381557 +2020,7,15,24,1717.328479 +2020,7,16,1,1587.972181 +2020,7,16,2,1506.877916 +2020,7,16,3,1438.457162 +2020,7,16,4,1400.139379 +2020,7,16,5,1392.113722 +2020,7,16,6,1404.40892 +2020,7,16,7,1485.449141 +2020,7,16,8,1626.533166 +2020,7,16,9,1758.807885 +2020,7,16,10,1882.030095 +2020,7,16,11,2024.627375 +2020,7,16,12,2159.307089 +2020,7,16,13,2280.583684 +2020,7,16,14,2382.431164 +2020,7,16,15,2459.553135 +2020,7,16,16,2514.084367 +2020,7,16,17,2525.75805 +2020,7,16,18,2497.22238 +2020,7,16,19,2406.400046 +2020,7,16,20,2306.849471 +2020,7,16,21,2251.372454 +2020,7,16,22,2138.878143 +2020,7,16,23,1963.097338 +2020,7,16,24,1786.424792 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_max_p.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_max_p.csv new file mode 100644 index 00000000..e96d1ba6 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_max_p.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,HYDRO,PV,RTPV,WIND +2020,7,10,1,76.2,0,0,1356.325 +2020,7,10,2,76.2,0,0,1590.091667 +2020,7,10,3,79.45,0,0,1532.408333 +2020,7,10,4,121.85,0,0,848.1083333 +2020,7,10,5,158.65,0,0,984.1583333 +2020,7,10,6,202.675,0.15,0,1146.566667 +2020,7,10,7,234.675,62.79166667,0.291666667,1124.033333 +2020,7,10,8,230.575,128.25,11.99166667,828.9666667 +2020,7,10,9,233.75,187.975,27.14166667,672.0833333 +2020,7,10,10,234.675,218.65,43.89166667,569.9 +2020,7,10,11,233.825,225.5416667,58.93333333,406.1416667 +2020,7,10,12,233.575,216.6833333,69.03333333,296.4916667 +2020,7,10,13,228.95,211.9583333,74.425,206.5 +2020,7,10,14,227.825,209.3583333,71.35,154.3 +2020,7,10,15,230.825,235.625,54.85833333,139.9083333 +2020,7,10,16,228.95,232.8,47.69166667,112.275 +2020,7,10,17,227.825,212.2333333,33.35,109.975 +2020,7,10,18,229.2,137.95,21.70833333,108.6666667 +2020,7,10,19,227.575,63.725,7.35,78.78333333 +2020,7,10,20,226.2,5.675,0.025,41.375 +2020,7,10,21,186.55,0,0,22.15833333 +2020,7,10,22,111.4,0,0,16.89166667 +2020,7,10,23,76.2,0,0,16.66666667 +2020,7,10,24,76.2,0,0,17.40833333 +2020,7,11,1,76.2,0,0,19.68333333 +2020,7,11,2,74.9,0,0,19.98333333 +2020,7,11,3,75.1,0,0,23.79166667 +2020,7,11,4,77.825,0,0,29.39166667 +2020,7,11,5,117.55,0,0,22.76666667 +2020,7,11,6,150,0.241666667,0,18.825 +2020,7,11,7,148.375,77.54166667,0.3,16.85833333 +2020,7,11,8,153.175,158.975,13.00833333,18.09166667 +2020,7,11,9,155.475,219.6166667,31.5,17.375 +2020,7,11,10,155.925,254.1583333,47.65,16.075 +2020,7,11,11,155.475,265.9916667,60.55,17.31666667 +2020,7,11,12,155.925,274.475,68.61666667,20 +2020,7,11,13,155.475,277.7083333,72.28333333,26.16666667 +2020,7,11,14,155.925,270.8916667,71.475,29.76666667 +2020,7,11,15,156.775,239.675,65.01666667,41.55 +2020,7,11,16,155.4,236.7166667,55.54166667,43.475 +2020,7,11,17,155.4,192.3833333,36.29166667,46.05 +2020,7,11,18,155.4,150.225,24.35,44.96666667 +2020,7,11,19,155.4,90.58333333,7.975,37.7 +2020,7,11,20,154.1,6.3,0.008333333,31.7 +2020,7,11,21,113.025,0,0,25.74166667 +2020,7,11,22,77.575,0,0,20.74166667 +2020,7,11,23,76.2,0,0,21.24166667 +2020,7,11,24,76.2,0,0,27.33333333 +2020,7,12,1,76.2,0,0,35.16666667 +2020,7,12,2,76.2,0,0,47.425 +2020,7,12,3,76.2,0,0,56.44166667 +2020,7,12,4,77.825,0,0,67.05 +2020,7,12,5,120.475,0,0,81 +2020,7,12,6,198.625,0.183333333,0,78.50833333 +2020,7,12,7,233.575,73.01666667,0.391666667,50.68333333 +2020,7,12,8,232.2,153.6166667,12.68333333,32.30833333 +2020,7,12,9,235.125,212.9666667,28.00833333,21.96666667 +2020,7,12,10,233.05,247.125,45.125,20.55833333 +2020,7,12,11,229.2,263.1666667,57.68333333,22.14166667 +2020,7,12,12,229.2,271.8333333,66.675,22.84166667 +2020,7,12,13,229.2,276.575,66.94166667,22.74166667 +2020,7,12,14,230.825,221.5,63.83333333,24.36666667 +2020,7,12,15,232.2,239.9083333,55.31666667,26.9 +2020,7,12,16,230.575,200.3166667,41.775,48.28333333 +2020,7,12,17,229.2,152.025,32.99166667,60.88333333 +2020,7,12,18,215.55,108.35,21.075,82.625 +2020,7,12,19,202.375,65.00833333,7.066666667,101.1583333 +2020,7,12,20,217.9,6.3,0.008333333,73.61666667 +2020,7,12,21,227.65,0,0,99.94166667 +2020,7,12,22,185.45,0,0,106.2416667 +2020,7,12,23,125.375,0,0,113.1166667 +2020,7,12,24,89.65,0,0,127.7583333 +2020,7,13,1,79.2,0,0,135.95 +2020,7,13,2,120.475,0,0,143.475 +2020,7,13,3,154.1,0,0,193.6 +2020,7,13,4,155.925,0,0,269.375 +2020,7,13,5,196.75,0,0,526.9 +2020,7,13,6,232.45,0.116666667,0,735.55 +2020,7,13,7,230.325,71.375,0.275,863.4416667 +2020,7,13,8,226.2,152.8583333,11.41666667,778.1583333 +2020,7,13,9,226.2,216.375,26.04166667,608.3333333 +2020,7,13,10,226.2,251.9166667,41.14166667,639.2833333 +2020,7,13,11,227.825,267.725,54.93333333,672.8 +2020,7,13,12,227.575,277.7916667,66.74166667,616.975 +2020,7,13,13,226.2,282.2416667,72.79166667,639.325 +2020,7,13,14,226.2,280.4583333,73.30833333,758.0916667 +2020,7,13,15,227.825,268.7833333,69.15,905.45 +2020,7,13,16,229.2,241.0833333,60.05,930.7833333 +2020,7,13,17,227.575,223.2166667,46.675,877.1416667 +2020,7,13,18,226.2,168.05,28.35,892.35 +2020,7,13,19,226.2,95.96666667,8.333333333,879.6833333 +2020,7,13,20,226.2,7.991666667,0.033333333,813.75 +2020,7,13,21,226.2,0,0,859.5333333 +2020,7,13,22,226.2,0,0,851.1 +2020,7,13,23,227.825,0,0,890.2666667 +2020,7,13,24,229.2,0,0,1047.391667 +2020,7,14,1,229.2,0,0,1165.15 +2020,7,14,2,226.275,0,0,959.55 +2020,7,14,3,226.725,0,0,807.95 +2020,7,14,4,226.275,0,0,866.1333333 +2020,7,14,5,226.725,0,0,752.9166667 +2020,7,14,6,227.575,0.05,0,774.1833333 +2020,7,14,7,226.2,71.20833333,0.283333333,801.5916667 +2020,7,14,8,226.2,152.35,13.5,573.8583333 +2020,7,14,9,226.2,207.3583333,32.025,246.8 +2020,7,14,10,226.2,248.9833333,47.2,175.0583333 +2020,7,14,11,224.9,265.15,57.84166667,160.2166667 +2020,7,14,12,226.725,273.2166667,66.60833333,169.2083333 +2020,7,14,13,226.275,279.7,70.89166667,192.025 +2020,7,14,14,228.35,277.3833333,69.15833333,238.6166667 +2020,7,14,15,228.95,263.8416667,63.89166667,335.3916667 +2020,7,14,16,227.825,248.175,54.16666667,343.375 +2020,7,14,17,227.575,253.3083333,45.79166667,395.3416667 +2020,7,14,18,229.45,190.2916667,28.43333333,341.1 +2020,7,14,19,227.65,84.85,7.208333333,335.5666667 +2020,7,14,20,226.725,8.458333333,0.016666667,414.125 +2020,7,14,21,229.2,0,0,556.5166667 +2020,7,14,22,199.95,0,0,628.5083333 +2020,7,14,23,176.825,0,0,918.125 +2020,7,14,24,181.45,0,0,1207.183333 +2020,7,15,1,182.575,0,0,1468.875 +2020,7,15,2,182.825,0,0,1586.108333 +2020,7,15,3,208.575,0,0,1326.475 +2020,7,15,4,227.575,0,0,1011.416667 +2020,7,15,5,227.825,0,0,809.2833333 +2020,7,15,6,229.2,0.025,0,694.9583333 +2020,7,15,7,229.2,61.29166667,0.233333333,487.5333333 +2020,7,15,8,227.575,141.8333333,11.16666667,392.125 +2020,7,15,9,226.2,206.525,29.18333333,255.7833333 +2020,7,15,10,227.825,254.2833333,48.25833333,313.475 +2020,7,15,11,227.575,270.8666667,60.84166667,402.8583333 +2020,7,15,12,226.2,278.8,68.375,438.7416667 +2020,7,15,13,227.825,285.9416667,71.83333333,593.3916667 +2020,7,15,14,227.575,286.2333333,69.94166667,693.675 +2020,7,15,15,224.9,271.8083333,65.29166667,775.0916667 +2020,7,15,16,225.1,240.6833333,57.28333333,999.5833333 +2020,7,15,17,227.825,203.1,43.21666667,1025.558333 +2020,7,15,18,227.575,177.9333333,25.225,1353.45 +2020,7,15,19,229.45,97.55833333,7.483333333,1578.766667 +2020,7,15,20,233.825,7.066666667,0.016666667,2100.6 +2020,7,15,21,230.325,0,0,2233.633333 +2020,7,15,22,191.1,0,0,2316.95 +2020,7,15,23,150.675,0,0,2384.583333 +2020,7,15,24,147.775,0,0,2262.225 +2020,7,16,1,149.75,0,0,2198.208333 +2020,7,16,2,148.625,0,0,2110.391667 +2020,7,16,3,148.375,0,0,1714.816667 +2020,7,16,4,156.425,0,0,1394.183333 +2020,7,16,5,201.125,0,0,1426.816667 +2020,7,16,6,232.2,0.033333333,0,1528.45 +2020,7,16,7,233.825,68.16666667,0.25,1389.025 +2020,7,16,8,233.575,149.7,12.575,1060.375 +2020,7,16,9,233.825,212.5083333,31.475,823.1 +2020,7,16,10,233.575,254.575,48.45833333,625.5833333 +2020,7,16,11,227.65,268.7333333,61.23333333,446.0083333 +2020,7,16,12,222.175,271.65,68.96666667,337.95 +2020,7,16,13,220.8,271.275,70.625,185.9416667 +2020,7,16,14,222.425,264.6,70.1,226.7916667 +2020,7,16,15,223.8,256.1916667,67.15,268.0333333 +2020,7,16,16,225.1,234.05,58.36666667,172.425 +2020,7,16,17,227.825,200.1333333,43.85,91.29166667 +2020,7,16,18,229.2,158.1166667,26.36666667,62.24166667 +2020,7,16,19,227.575,88.55,8.3,52.19166667 +2020,7,16,20,227.825,7.816666667,0.033333333,42.54166667 +2020,7,16,21,226.275,0,0,31.20833333 +2020,7,16,22,225.1,0,0,24.775 +2020,7,16,23,189.475,0,0,40.475 +2020,7,16,24,155.475,0,0,53.74166667 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_min_p.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_min_p.csv new file mode 100644 index 00000000..95d070e3 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/actuals_renewables_min_p.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,HYDRO,PV,RTPV,WIND +2020,7,10,1,76.2,0,0,0 +2020,7,10,2,76.2,0,0,0 +2020,7,10,3,79.45,0,0,0 +2020,7,10,4,121.85,0,0,0 +2020,7,10,5,158.65,0,0,0 +2020,7,10,6,202.675,0.15,0,0 +2020,7,10,7,234.675,62.79166667,0.291666667,0 +2020,7,10,8,230.575,128.25,11.99166667,0 +2020,7,10,9,233.75,187.975,27.14166667,0 +2020,7,10,10,234.675,218.65,43.89166667,0 +2020,7,10,11,233.825,225.5416667,58.93333333,0 +2020,7,10,12,233.575,216.6833333,69.03333333,0 +2020,7,10,13,228.95,211.9583333,74.425,0 +2020,7,10,14,227.825,209.3583333,71.35,0 +2020,7,10,15,230.825,235.625,54.85833333,0 +2020,7,10,16,228.95,232.8,47.69166667,0 +2020,7,10,17,227.825,212.2333333,33.35,0 +2020,7,10,18,229.2,137.95,21.70833333,0 +2020,7,10,19,227.575,63.725,7.35,0 +2020,7,10,20,226.2,5.675,0.025,0 +2020,7,10,21,186.55,0,0,0 +2020,7,10,22,111.4,0,0,0 +2020,7,10,23,76.2,0,0,0 +2020,7,10,24,76.2,0,0,0 +2020,7,11,1,76.2,0,0,0 +2020,7,11,2,74.9,0,0,0 +2020,7,11,3,75.1,0,0,0 +2020,7,11,4,77.825,0,0,0 +2020,7,11,5,117.55,0,0,0 +2020,7,11,6,150,0.241666667,0,0 +2020,7,11,7,148.375,77.54166667,0.3,0 +2020,7,11,8,153.175,158.975,13.00833333,0 +2020,7,11,9,155.475,219.6166667,31.5,0 +2020,7,11,10,155.925,254.1583333,47.65,0 +2020,7,11,11,155.475,265.9916667,60.55,0 +2020,7,11,12,155.925,274.475,68.61666667,0 +2020,7,11,13,155.475,277.7083333,72.28333333,0 +2020,7,11,14,155.925,270.8916667,71.475,0 +2020,7,11,15,156.775,239.675,65.01666667,0 +2020,7,11,16,155.4,236.7166667,55.54166667,0 +2020,7,11,17,155.4,192.3833333,36.29166667,0 +2020,7,11,18,155.4,150.225,24.35,0 +2020,7,11,19,155.4,90.58333333,7.975,0 +2020,7,11,20,154.1,6.3,0.008333333,0 +2020,7,11,21,113.025,0,0,0 +2020,7,11,22,77.575,0,0,0 +2020,7,11,23,76.2,0,0,0 +2020,7,11,24,76.2,0,0,0 +2020,7,12,1,76.2,0,0,0 +2020,7,12,2,76.2,0,0,0 +2020,7,12,3,76.2,0,0,0 +2020,7,12,4,77.825,0,0,0 +2020,7,12,5,120.475,0,0,0 +2020,7,12,6,198.625,0.183333333,0,0 +2020,7,12,7,233.575,73.01666667,0.391666667,0 +2020,7,12,8,232.2,153.6166667,12.68333333,0 +2020,7,12,9,235.125,212.9666667,28.00833333,0 +2020,7,12,10,233.05,247.125,45.125,0 +2020,7,12,11,229.2,263.1666667,57.68333333,0 +2020,7,12,12,229.2,271.8333333,66.675,0 +2020,7,12,13,229.2,276.575,66.94166667,0 +2020,7,12,14,230.825,221.5,63.83333333,0 +2020,7,12,15,232.2,239.9083333,55.31666667,0 +2020,7,12,16,230.575,200.3166667,41.775,0 +2020,7,12,17,229.2,152.025,32.99166667,0 +2020,7,12,18,215.55,108.35,21.075,0 +2020,7,12,19,202.375,65.00833333,7.066666667,0 +2020,7,12,20,217.9,6.3,0.008333333,0 +2020,7,12,21,227.65,0,0,0 +2020,7,12,22,185.45,0,0,0 +2020,7,12,23,125.375,0,0,0 +2020,7,12,24,89.65,0,0,0 +2020,7,13,1,79.2,0,0,0 +2020,7,13,2,120.475,0,0,0 +2020,7,13,3,154.1,0,0,0 +2020,7,13,4,155.925,0,0,0 +2020,7,13,5,196.75,0,0,0 +2020,7,13,6,232.45,0.116666667,0,0 +2020,7,13,7,230.325,71.375,0.275,0 +2020,7,13,8,226.2,152.8583333,11.41666667,0 +2020,7,13,9,226.2,216.375,26.04166667,0 +2020,7,13,10,226.2,251.9166667,41.14166667,0 +2020,7,13,11,227.825,267.725,54.93333333,0 +2020,7,13,12,227.575,277.7916667,66.74166667,0 +2020,7,13,13,226.2,282.2416667,72.79166667,0 +2020,7,13,14,226.2,280.4583333,73.30833333,0 +2020,7,13,15,227.825,268.7833333,69.15,0 +2020,7,13,16,229.2,241.0833333,60.05,0 +2020,7,13,17,227.575,223.2166667,46.675,0 +2020,7,13,18,226.2,168.05,28.35,0 +2020,7,13,19,226.2,95.96666667,8.333333333,0 +2020,7,13,20,226.2,7.991666667,0.033333333,0 +2020,7,13,21,226.2,0,0,0 +2020,7,13,22,226.2,0,0,0 +2020,7,13,23,227.825,0,0,0 +2020,7,13,24,229.2,0,0,0 +2020,7,14,1,229.2,0,0,0 +2020,7,14,2,226.275,0,0,0 +2020,7,14,3,226.725,0,0,0 +2020,7,14,4,226.275,0,0,0 +2020,7,14,5,226.725,0,0,0 +2020,7,14,6,227.575,0.05,0,0 +2020,7,14,7,226.2,71.20833333,0.283333333,0 +2020,7,14,8,226.2,152.35,13.5,0 +2020,7,14,9,226.2,207.3583333,32.025,0 +2020,7,14,10,226.2,248.9833333,47.2,0 +2020,7,14,11,224.9,265.15,57.84166667,0 +2020,7,14,12,226.725,273.2166667,66.60833333,0 +2020,7,14,13,226.275,279.7,70.89166667,0 +2020,7,14,14,228.35,277.3833333,69.15833333,0 +2020,7,14,15,228.95,263.8416667,63.89166667,0 +2020,7,14,16,227.825,248.175,54.16666667,0 +2020,7,14,17,227.575,253.3083333,45.79166667,0 +2020,7,14,18,229.45,190.2916667,28.43333333,0 +2020,7,14,19,227.65,84.85,7.208333333,0 +2020,7,14,20,226.725,8.458333333,0.016666667,0 +2020,7,14,21,229.2,0,0,0 +2020,7,14,22,199.95,0,0,0 +2020,7,14,23,176.825,0,0,0 +2020,7,14,24,181.45,0,0,0 +2020,7,15,1,182.575,0,0,0 +2020,7,15,2,182.825,0,0,0 +2020,7,15,3,208.575,0,0,0 +2020,7,15,4,227.575,0,0,0 +2020,7,15,5,227.825,0,0,0 +2020,7,15,6,229.2,0.025,0,0 +2020,7,15,7,229.2,61.29166667,0.233333333,0 +2020,7,15,8,227.575,141.8333333,11.16666667,0 +2020,7,15,9,226.2,206.525,29.18333333,0 +2020,7,15,10,227.825,254.2833333,48.25833333,0 +2020,7,15,11,227.575,270.8666667,60.84166667,0 +2020,7,15,12,226.2,278.8,68.375,0 +2020,7,15,13,227.825,285.9416667,71.83333333,0 +2020,7,15,14,227.575,286.2333333,69.94166667,0 +2020,7,15,15,224.9,271.8083333,65.29166667,0 +2020,7,15,16,225.1,240.6833333,57.28333333,0 +2020,7,15,17,227.825,203.1,43.21666667,0 +2020,7,15,18,227.575,177.9333333,25.225,0 +2020,7,15,19,229.45,97.55833333,7.483333333,0 +2020,7,15,20,233.825,7.066666667,0.016666667,0 +2020,7,15,21,230.325,0,0,0 +2020,7,15,22,191.1,0,0,0 +2020,7,15,23,150.675,0,0,0 +2020,7,15,24,147.775,0,0,0 +2020,7,16,1,149.75,0,0,0 +2020,7,16,2,148.625,0,0,0 +2020,7,16,3,148.375,0,0,0 +2020,7,16,4,156.425,0,0,0 +2020,7,16,5,201.125,0,0,0 +2020,7,16,6,232.2,0.033333333,0,0 +2020,7,16,7,233.825,68.16666667,0.25,0 +2020,7,16,8,233.575,149.7,12.575,0 +2020,7,16,9,233.825,212.5083333,31.475,0 +2020,7,16,10,233.575,254.575,48.45833333,0 +2020,7,16,11,227.65,268.7333333,61.23333333,0 +2020,7,16,12,222.175,271.65,68.96666667,0 +2020,7,16,13,220.8,271.275,70.625,0 +2020,7,16,14,222.425,264.6,70.1,0 +2020,7,16,15,223.8,256.1916667,67.15,0 +2020,7,16,16,225.1,234.05,58.36666667,0 +2020,7,16,17,227.825,200.1333333,43.85,0 +2020,7,16,18,229.2,158.1166667,26.36666667,0 +2020,7,16,19,227.575,88.55,8.3,0 +2020,7,16,20,227.825,7.816666667,0.033333333,0 +2020,7,16,21,226.275,0,0,0 +2020,7,16,22,225.1,0,0,0 +2020,7,16,23,189.475,0,0,0 +2020,7,16,24,155.475,0,0,0 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/branch.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/branch.csv new file mode 100644 index 00000000..d138fdf4 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/branch.csv @@ -0,0 +1 @@ +UID,From Bus,To Bus,R,X,B,Cont Rating,LTE Rating,STE Rating,Tr Ratio diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/bus.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/bus.csv new file mode 100644 index 00000000..ed119aea --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/bus.csv @@ -0,0 +1,2 @@ +Bus ID,Bus Name,BaseKV,Bus Type,MW Load,MVAR Load,V Mag,V Angle,MW Shunt G,MVAR Shunt B,Area,Zone +CopperSheet,CopperSheet,1000,Ref,1,0,1,0,0,0,CopperSheet,CopperSheet diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_load.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_load.csv new file mode 100644 index 00000000..94ef66ee --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_load.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,CopperSheet +2020,7,10,1,1540.988372 +2020,7,10,2,1466.953241 +2020,7,10,3,1405.962395 +2020,7,10,4,1374.233053 +2020,7,10,5,1379.521277 +2020,7,10,6,1403.847105 +2020,7,10,7,1474.004206 +2020,7,10,8,1578.358486 +2020,7,10,9,1679.89238 +2020,7,10,10,1746.17145 +2020,7,10,11,1825.142256 +2020,7,10,12,1908.69619 +2020,7,10,13,1942.188273 +2020,7,10,14,1934.432212 +2020,7,10,15,1976.032905 +2020,7,10,16,2023.274369 +2020,7,10,17,2044.779812 +2020,7,10,18,1999.301089 +2020,7,10,19,1925.971054 +2020,7,10,20,1852.993568 +2020,7,10,21,1833.603414 +2020,7,10,22,1760.978476 +2020,7,10,23,1628.420336 +2020,7,10,24,1496.567293 +2020,7,11,1,1402.436912 +2020,7,11,2,1328.049233 +2020,7,11,3,1283.628154 +2020,7,11,4,1242.732558 +2020,7,11,5,1230.745918 +2020,7,11,6,1215.938892 +2020,7,11,7,1233.213756 +2020,7,11,8,1377.053439 +2020,7,11,9,1531.822118 +2020,7,11,10,1676.719446 +2020,7,11,11,1825.494805 +2020,7,11,12,1949.591786 +2020,7,11,13,2038.786492 +2020,7,11,14,2130.096487 +2020,7,11,15,2202.721425 +2020,7,11,16,2252.430727 +2020,7,11,17,2282.749876 +2020,7,11,18,2266.180109 +2020,7,11,19,2202.368877 +2020,7,11,20,2106.123206 +2020,7,11,21,2049.362939 +2020,7,11,22,1926.67615 +2020,7,11,23,1777.195695 +2020,7,11,24,1634.061108 +2020,7,12,1,1527.238991 +2020,7,12,2,1447.210539 +2020,7,12,3,1383.751856 +2020,7,12,4,1336.862939 +2020,7,12,5,1300.903018 +2020,7,12,6,1266.35329 +2020,7,12,7,1300.55047 +2020,7,12,8,1420.416873 +2020,7,12,9,1591.402771 +2020,7,12,10,1754.985156 +2020,7,12,11,1939.367887 +2020,7,12,12,2087.790698 +2020,7,12,13,2199.195943 +2020,7,12,14,2285.217714 +2020,7,12,15,2349.381494 +2020,7,12,16,2389.571994 +2020,7,12,17,2410.724889 +2020,7,12,18,2388.514349 +2020,7,12,19,2319.414894 +2020,7,12,20,2208.009649 +2020,7,12,21,2137.5 +2020,7,12,22,2004.589312 +2020,7,12,23,1833.955962 +2020,7,12,24,1682.360218 +2020,7,13,1,1567.076942 +2020,7,13,2,1488.458684 +2020,7,13,3,1418.301583 +2020,7,13,4,1367.534636 +2020,7,13,5,1359.778575 +2020,7,13,6,1375.995794 +2020,7,13,7,1459.902276 +2020,7,13,8,1584.351806 +2020,7,13,9,1727.133845 +2020,7,13,10,1852.288471 +2020,7,13,11,1981.673676 +2020,7,13,12,2105.065562 +2020,7,13,13,2216.118258 +2020,7,13,14,2323.998021 +2020,7,13,15,2413.192726 +2020,7,13,16,2486.170213 +2020,7,13,17,2503.092528 +2020,7,13,18,2478.061603 +2020,7,13,19,2395.212766 +2020,7,13,20,2269.000495 +2020,7,13,21,2194.612815 +2020,7,13,22,2063.464869 +2020,7,13,23,1862.864918 +2020,7,13,24,1684.475507 +2020,7,14,1,1559.673429 +2020,7,14,2,1475.414399 +2020,7,14,3,1398.91143 +2020,7,14,4,1353.432707 +2020,7,14,5,1338.273132 +2020,7,14,6,1349.202128 +2020,7,14,7,1441.569767 +2020,7,14,8,1584.351806 +2020,7,14,9,1730.306779 +2020,7,14,10,1863.570015 +2020,7,14,11,2016.928501 +2020,7,14,12,2155.127412 +2020,7,14,13,2292.621227 +2020,7,14,14,2401.558634 +2020,7,14,15,2483.702375 +2020,7,14,16,2551.391638 +2020,7,14,17,2578.890401 +2020,7,14,18,2554.91712 +2020,7,14,19,2473.125928 +2020,7,14,20,2348.32385 +2020,7,14,21,2277.814201 +2020,7,14,22,2152.307026 +2020,7,14,23,1945.713756 +2020,7,14,24,1749.344384 +2020,7,15,1,1650.278328 +2020,7,15,2,1543.103662 +2020,7,15,3,1460.254824 +2020,7,15,4,1425 +2020,7,15,5,1426.762741 +2020,7,15,6,1451.08857 +2020,7,15,7,1550.507175 +2020,7,15,8,1660.149678 +2020,7,15,9,1843.827313 +2020,7,15,10,1966.161554 +2020,7,15,11,2110.706333 +2020,7,15,12,2236.918605 +2020,7,15,13,2360.663038 +2020,7,15,14,2478.061603 +2020,7,15,15,2570.076695 +2020,7,15,16,2623.311479 +2020,7,15,17,2652.925532 +2020,7,15,18,2621.19619 +2020,7,15,19,2542.225383 +2020,7,15,20,2435.403266 +2020,7,15,21,2361.720683 +2020,7,15,22,2243.264473 +2020,7,15,23,2045.484908 +2020,7,15,24,1867.095497 +2020,7,16,1,1726.428748 +2020,7,16,2,1638.291687 +2020,7,16,3,1563.904008 +2020,7,16,4,1522.303315 +2020,7,16,5,1513.489609 +2020,7,16,6,1526.886442 +2020,7,16,7,1615.023503 +2020,7,16,8,1768.381989 +2020,7,16,9,1912.221672 +2020,7,16,10,2046.190005 +2020,7,16,11,2201.311232 +2020,7,16,12,2347.618753 +2020,7,16,13,2479.471796 +2020,7,16,14,2590.171945 +2020,7,16,15,2674.078427 +2020,7,16,16,2733.306531 +2020,7,16,17,2745.998268 +2020,7,16,18,2714.974023 +2020,7,16,19,2616.260515 +2020,7,16,20,2508.028204 +2020,7,16,21,2447.742454 +2020,7,16,22,2325.408214 +2020,7,16,23,2134.327066 +2020,7,16,24,1942.188273 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_max_p.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_max_p.csv new file mode 100644 index 00000000..13a77e6a --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_max_p.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,HYDRO,PV,RTPV,WIND +2020,7,10,1,76.2,0,0,1498.2 +2020,7,10,2,76.2,0,0,1356.6 +2020,7,10,3,82.2,0,0,1566.3 +2020,7,10,4,155.4,0,0,1521.3 +2020,7,10,5,161.4,0,0,1089.6 +2020,7,10,6,237.6,0,0,1065.1 +2020,7,10,7,232.2,92.3,0.8,960.4 +2020,7,10,8,229.2,168.1,16.7,702.6 +2020,7,10,9,237.6,223.2,34.7,382.6 +2020,7,10,10,232.2,270,51.7,203.4 +2020,7,10,11,235.2,291,62.7,24.7 +2020,7,10,12,232.2,298.8,70.2,0 +2020,7,10,13,226.2,264.5,73.9,0 +2020,7,10,14,229.2,253.2,72.7,3.7 +2020,7,10,15,232.2,227.8,66.8,6.3 +2020,7,10,16,226.2,166.4,56.7,1.2 +2020,7,10,17,229.2,72.4,41.9,0.5 +2020,7,10,18,229.2,124,22.8,0 +2020,7,10,19,226.2,39.7,2.3,0.9 +2020,7,10,20,226.2,0,0,0 +2020,7,10,21,153,0,0,1.3 +2020,7,10,22,76.2,0,0,0.9 +2020,7,10,23,76.2,0,0,0.4 +2020,7,10,24,76.2,0,0,3.9 +2020,7,11,1,76.2,0,0,13.1 +2020,7,11,2,73.8,0,0,26.1 +2020,7,11,3,76.2,0,0,26.7 +2020,7,11,4,79.2,0,0,21 +2020,7,11,5,150,0,0,25 +2020,7,11,6,150,0,0,26.8 +2020,7,11,7,147,96,0.8,9.6 +2020,7,11,8,158.4,170.9,16.2,17.8 +2020,7,11,9,153,227.6,33.9,14.4 +2020,7,11,10,158.4,264.5,50.6,0 +2020,7,11,11,153,276.9,62.2,0.2 +2020,7,11,12,158.4,284.6,69.5,16.2 +2020,7,11,13,153,284.9,72.7,7.1 +2020,7,11,14,158.4,271.9,71.3,3.2 +2020,7,11,15,155.4,244.5,64.4,11.5 +2020,7,11,16,155.4,202.8,52.6,36 +2020,7,11,17,155.4,170.3,38.8,25.9 +2020,7,11,18,155.4,101.1,22.6,29.3 +2020,7,11,19,155.4,28.9,2.1,24.9 +2020,7,11,20,153,0,0,19.2 +2020,7,11,21,79.2,0,0,16.8 +2020,7,11,22,76.2,0,0,11.9 +2020,7,11,23,76.2,0,0,2.2 +2020,7,11,24,76.2,0,0,17.2 +2020,7,12,1,76.2,0,0,18.9 +2020,7,12,2,76.2,0,0,26 +2020,7,12,3,76.2,0,0,36.3 +2020,7,12,4,79.2,0,0,52.2 +2020,7,12,5,155.4,0,0,21.4 +2020,7,12,6,235.2,0,0,16.3 +2020,7,12,7,232.2,92.7,0.8,10.8 +2020,7,12,8,232.2,166.7,16.3,26 +2020,7,12,9,237.6,221.4,34,48 +2020,7,12,10,229.2,256.5,49.3,0.5 +2020,7,12,11,229.2,271.4,60.3,0 +2020,7,12,12,229.2,271.9,67,0.2 +2020,7,12,13,229.2,272.6,71.1,0 +2020,7,12,14,232.2,272.5,66.5,0.7 +2020,7,12,15,232.2,233,63.9,7.6 +2020,7,12,16,229.2,190.9,52.5,11.5 +2020,7,12,17,229.2,154.5,40,8.5 +2020,7,12,18,204,101.1,22.8,17.1 +2020,7,12,19,201,24.9,2.1,94.2 +2020,7,12,20,232.2,0,0,212.5 +2020,7,12,21,223.8,0,0,248.4 +2020,7,12,22,153,0,0,416.7 +2020,7,12,23,102,0,0,808.5 +2020,7,12,24,79.2,0,0,1002 +2020,7,13,1,79.2,0,0,1312.9 +2020,7,13,2,155.4,0,0,1392.9 +2020,7,13,3,153,0,0,1392.1 +2020,7,13,4,158.4,0,0,1391.2 +2020,7,13,5,229.2,0,0,1279.2 +2020,7,13,6,235.2,0,0,1256.9 +2020,7,13,7,226.2,97,0.8,1402.3 +2020,7,13,8,226.2,172.3,16.2,1421.9 +2020,7,13,9,226.2,228.8,34.7,1067 +2020,7,13,10,226.2,259.8,51.9,835.5 +2020,7,13,11,229.2,274.5,63.6,670 +2020,7,13,12,226.2,287.8,69.2,590.1 +2020,7,13,13,226.2,289.1,71.3,576 +2020,7,13,14,226.2,278.5,69.7,662 +2020,7,13,15,229.2,271.1,63.2,755.7 +2020,7,13,16,229.2,253.5,54.2,763.4 +2020,7,13,17,226.2,218.1,42.3,778 +2020,7,13,18,226.2,156.3,23.5,788.1 +2020,7,13,19,226.2,53,2.3,1117.8 +2020,7,13,20,226.2,0,0,1072.1 +2020,7,13,21,226.2,0,0,828.3 +2020,7,13,22,226.2,0,0,701.4 +2020,7,13,23,229.2,0,0,986.6 +2020,7,13,24,229.2,0,0,1101.3 +2020,7,14,1,229.2,0,0,1230.5 +2020,7,14,2,223.8,0,0,1192.6 +2020,7,14,3,229.2,0,0,973.5 +2020,7,14,4,223.8,0,0,668.7 +2020,7,14,5,229.2,0,0,711.8 +2020,7,14,6,226.2,0,0,655.1 +2020,7,14,7,226.2,93.1,0.8,654.5 +2020,7,14,8,226.2,165.3,16.6,602.5 +2020,7,14,9,226.2,221.9,34.5,188.7 +2020,7,14,10,226.2,258.9,49.3,29 +2020,7,14,11,223.8,272,61,3.7 +2020,7,14,12,229.2,284.8,68.2,6.8 +2020,7,14,13,223.8,289.1,71.2,101.3 +2020,7,14,14,232.2,280.9,70.7,159.4 +2020,7,14,15,226.2,266.5,65.5,186.4 +2020,7,14,16,229.2,274.1,60.2,287.2 +2020,7,14,17,226.2,240.2,48,441.3 +2020,7,14,18,232.2,150.1,25.4,533.3 +2020,7,14,19,223.8,41.8,1.9,575.1 +2020,7,14,20,229.2,0,0,577.3 +2020,7,14,21,229.2,0,0,720.7 +2020,7,14,22,175.2,0,0,904.1 +2020,7,14,23,178.2,0,0,1491.7 +2020,7,14,24,184.2,0,0,1992.5 +2020,7,15,1,181.2,0,0,2070.1 +2020,7,15,2,184.2,0,0,1915.9 +2020,7,15,3,229.2,0,0,1866.5 +2020,7,15,4,226.2,0,0,1489.3 +2020,7,15,5,229.2,0,0,1593.3 +2020,7,15,6,229.2,0,0,1597.1 +2020,7,15,7,229.2,94.4,0.8,1654.9 +2020,7,15,8,226.2,168.9,16.3,1380.8 +2020,7,15,9,226.2,226.1,34.5,776.7 +2020,7,15,10,229.2,259.9,51,397.4 +2020,7,15,11,226.2,276,62.6,343.3 +2020,7,15,12,226.2,286.4,68.8,509.9 +2020,7,15,13,229.2,291.6,70.9,640 +2020,7,15,14,226.2,284.7,68.3,743.9 +2020,7,15,15,223.8,273.2,64.2,800 +2020,7,15,16,226.2,253.2,55.5,944 +2020,7,15,17,229.2,212.7,41.9,909.4 +2020,7,15,18,226.2,148.6,23.3,1244.3 +2020,7,15,19,232.2,51.2,2.2,1648.3 +2020,7,15,20,235.2,0,0,1289.5 +2020,7,15,21,226.2,0,0,1691 +2020,7,15,22,161.4,0,0,1601.2 +2020,7,15,23,141.6,0,0,1935.2 +2020,7,15,24,153,0,0,2104.5 +2020,7,16,1,147,0,0,2266.6 +2020,7,16,2,150,0,0,2113.6 +2020,7,16,3,147,0,0,1899.4 +2020,7,16,4,164.4,0,0,1712.9 +2020,7,16,5,232.2,0,0,1456.7 +2020,7,16,6,232.2,0,0,1536.2 +2020,7,16,7,235.2,93.2,0.8,1550.4 +2020,7,16,8,232.2,166.8,16.6,1238.9 +2020,7,16,9,235.2,220.6,34,895.9 +2020,7,16,10,232.2,256.9,49.3,689.1 +2020,7,16,11,223.8,270.2,59.3,593.6 +2020,7,16,12,220.8,280.3,65.3,501.1 +2020,7,16,13,220.8,279,65.8,467.2 +2020,7,16,14,223.8,278.2,66.1,356 +2020,7,16,15,223.8,270.4,62.4,326 +2020,7,16,16,226.2,250,53,405.5 +2020,7,16,17,229.2,213.2,41.8,394 +2020,7,16,18,229.2,151.3,23,331.6 +2020,7,16,19,226.2,50.7,1.9,252.3 +2020,7,16,20,229.2,0,0,227 +2020,7,16,21,223.8,0,0,213.4 +2020,7,16,22,226.2,0,0,288.2 +2020,7,16,23,158.4,0,0,602 +2020,7,16,24,153,0,0,645.7 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_min_p.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_min_p.csv new file mode 100644 index 00000000..0860f4e4 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/forecasts_renewables_min_p.csv @@ -0,0 +1,169 @@ +Year,Month,Day,Period,HYDRO,PV,RTPV,WIND +2020,7,10,1,76.2,0,0,0 +2020,7,10,2,76.2,0,0,0 +2020,7,10,3,82.2,0,0,0 +2020,7,10,4,155.4,0,0,0 +2020,7,10,5,161.4,0,0,0 +2020,7,10,6,237.6,0,0,0 +2020,7,10,7,232.2,92.3,0.8,0 +2020,7,10,8,229.2,168.1,16.7,0 +2020,7,10,9,237.6,223.2,34.7,0 +2020,7,10,10,232.2,270,51.7,0 +2020,7,10,11,235.2,291,62.7,0 +2020,7,10,12,232.2,298.8,70.2,0 +2020,7,10,13,226.2,264.5,73.9,0 +2020,7,10,14,229.2,253.2,72.7,0 +2020,7,10,15,232.2,227.8,66.8,0 +2020,7,10,16,226.2,166.4,56.7,0 +2020,7,10,17,229.2,72.4,41.9,0 +2020,7,10,18,229.2,124,22.8,0 +2020,7,10,19,226.2,39.7,2.3,0 +2020,7,10,20,226.2,0,0,0 +2020,7,10,21,153,0,0,0 +2020,7,10,22,76.2,0,0,0 +2020,7,10,23,76.2,0,0,0 +2020,7,10,24,76.2,0,0,0 +2020,7,11,1,76.2,0,0,0 +2020,7,11,2,73.8,0,0,0 +2020,7,11,3,76.2,0,0,0 +2020,7,11,4,79.2,0,0,0 +2020,7,11,5,150,0,0,0 +2020,7,11,6,150,0,0,0 +2020,7,11,7,147,96,0.8,0 +2020,7,11,8,158.4,170.9,16.2,0 +2020,7,11,9,153,227.6,33.9,0 +2020,7,11,10,158.4,264.5,50.6,0 +2020,7,11,11,153,276.9,62.2,0 +2020,7,11,12,158.4,284.6,69.5,0 +2020,7,11,13,153,284.9,72.7,0 +2020,7,11,14,158.4,271.9,71.3,0 +2020,7,11,15,155.4,244.5,64.4,0 +2020,7,11,16,155.4,202.8,52.6,0 +2020,7,11,17,155.4,170.3,38.8,0 +2020,7,11,18,155.4,101.1,22.6,0 +2020,7,11,19,155.4,28.9,2.1,0 +2020,7,11,20,153,0,0,0 +2020,7,11,21,79.2,0,0,0 +2020,7,11,22,76.2,0,0,0 +2020,7,11,23,76.2,0,0,0 +2020,7,11,24,76.2,0,0,0 +2020,7,12,1,76.2,0,0,0 +2020,7,12,2,76.2,0,0,0 +2020,7,12,3,76.2,0,0,0 +2020,7,12,4,79.2,0,0,0 +2020,7,12,5,155.4,0,0,0 +2020,7,12,6,235.2,0,0,0 +2020,7,12,7,232.2,92.7,0.8,0 +2020,7,12,8,232.2,166.7,16.3,0 +2020,7,12,9,237.6,221.4,34,0 +2020,7,12,10,229.2,256.5,49.3,0 +2020,7,12,11,229.2,271.4,60.3,0 +2020,7,12,12,229.2,271.9,67,0 +2020,7,12,13,229.2,272.6,71.1,0 +2020,7,12,14,232.2,272.5,66.5,0 +2020,7,12,15,232.2,233,63.9,0 +2020,7,12,16,229.2,190.9,52.5,0 +2020,7,12,17,229.2,154.5,40,0 +2020,7,12,18,204,101.1,22.8,0 +2020,7,12,19,201,24.9,2.1,0 +2020,7,12,20,232.2,0,0,0 +2020,7,12,21,223.8,0,0,0 +2020,7,12,22,153,0,0,0 +2020,7,12,23,102,0,0,0 +2020,7,12,24,79.2,0,0,0 +2020,7,13,1,79.2,0,0,0 +2020,7,13,2,155.4,0,0,0 +2020,7,13,3,153,0,0,0 +2020,7,13,4,158.4,0,0,0 +2020,7,13,5,229.2,0,0,0 +2020,7,13,6,235.2,0,0,0 +2020,7,13,7,226.2,97,0.8,0 +2020,7,13,8,226.2,172.3,16.2,0 +2020,7,13,9,226.2,228.8,34.7,0 +2020,7,13,10,226.2,259.8,51.9,0 +2020,7,13,11,229.2,274.5,63.6,0 +2020,7,13,12,226.2,287.8,69.2,0 +2020,7,13,13,226.2,289.1,71.3,0 +2020,7,13,14,226.2,278.5,69.7,0 +2020,7,13,15,229.2,271.1,63.2,0 +2020,7,13,16,229.2,253.5,54.2,0 +2020,7,13,17,226.2,218.1,42.3,0 +2020,7,13,18,226.2,156.3,23.5,0 +2020,7,13,19,226.2,53,2.3,0 +2020,7,13,20,226.2,0,0,0 +2020,7,13,21,226.2,0,0,0 +2020,7,13,22,226.2,0,0,0 +2020,7,13,23,229.2,0,0,0 +2020,7,13,24,229.2,0,0,0 +2020,7,14,1,229.2,0,0,0 +2020,7,14,2,223.8,0,0,0 +2020,7,14,3,229.2,0,0,0 +2020,7,14,4,223.8,0,0,0 +2020,7,14,5,229.2,0,0,0 +2020,7,14,6,226.2,0,0,0 +2020,7,14,7,226.2,93.1,0.8,0 +2020,7,14,8,226.2,165.3,16.6,0 +2020,7,14,9,226.2,221.9,34.5,0 +2020,7,14,10,226.2,258.9,49.3,0 +2020,7,14,11,223.8,272,61,0 +2020,7,14,12,229.2,284.8,68.2,0 +2020,7,14,13,223.8,289.1,71.2,0 +2020,7,14,14,232.2,280.9,70.7,0 +2020,7,14,15,226.2,266.5,65.5,0 +2020,7,14,16,229.2,274.1,60.2,0 +2020,7,14,17,226.2,240.2,48,0 +2020,7,14,18,232.2,150.1,25.4,0 +2020,7,14,19,223.8,41.8,1.9,0 +2020,7,14,20,229.2,0,0,0 +2020,7,14,21,229.2,0,0,0 +2020,7,14,22,175.2,0,0,0 +2020,7,14,23,178.2,0,0,0 +2020,7,14,24,184.2,0,0,0 +2020,7,15,1,181.2,0,0,0 +2020,7,15,2,184.2,0,0,0 +2020,7,15,3,229.2,0,0,0 +2020,7,15,4,226.2,0,0,0 +2020,7,15,5,229.2,0,0,0 +2020,7,15,6,229.2,0,0,0 +2020,7,15,7,229.2,94.4,0.8,0 +2020,7,15,8,226.2,168.9,16.3,0 +2020,7,15,9,226.2,226.1,34.5,0 +2020,7,15,10,229.2,259.9,51,0 +2020,7,15,11,226.2,276,62.6,0 +2020,7,15,12,226.2,286.4,68.8,0 +2020,7,15,13,229.2,291.6,70.9,0 +2020,7,15,14,226.2,284.7,68.3,0 +2020,7,15,15,223.8,273.2,64.2,0 +2020,7,15,16,226.2,253.2,55.5,0 +2020,7,15,17,229.2,212.7,41.9,0 +2020,7,15,18,226.2,148.6,23.3,0 +2020,7,15,19,232.2,51.2,2.2,0 +2020,7,15,20,235.2,0,0,0 +2020,7,15,21,226.2,0,0,0 +2020,7,15,22,161.4,0,0,0 +2020,7,15,23,141.6,0,0,0 +2020,7,15,24,153,0,0,0 +2020,7,16,1,147,0,0,0 +2020,7,16,2,150,0,0,0 +2020,7,16,3,147,0,0,0 +2020,7,16,4,164.4,0,0,0 +2020,7,16,5,232.2,0,0,0 +2020,7,16,6,232.2,0,0,0 +2020,7,16,7,235.2,93.2,0.8,0 +2020,7,16,8,232.2,166.8,16.6,0 +2020,7,16,9,235.2,220.6,34,0 +2020,7,16,10,232.2,256.9,49.3,0 +2020,7,16,11,223.8,270.2,59.3,0 +2020,7,16,12,220.8,280.3,65.3,0 +2020,7,16,13,220.8,279,65.8,0 +2020,7,16,14,223.8,278.2,66.1,0 +2020,7,16,15,223.8,270.4,62.4,0 +2020,7,16,16,226.2,250,53,0 +2020,7,16,17,229.2,213.2,41.8,0 +2020,7,16,18,229.2,151.3,23,0 +2020,7,16,19,226.2,50.7,1.9,0 +2020,7,16,20,229.2,0,0,0 +2020,7,16,21,223.8,0,0,0 +2020,7,16,22,226.2,0,0,0 +2020,7,16,23,158.4,0,0,0 +2020,7,16,24,153,0,0,0 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/gen.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/gen.csv new file mode 100644 index 00000000..555ad6bf --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/gen.csv @@ -0,0 +1,29 @@ +GEN UID,Bus ID,Unit Type,Fuel,MW Inj,MVAR Inj,V Setpoint p.u.,PMax MW,PMin MW,QMax MVAR,QMin MVAR,Min Down Time Hr,Min Up Time Hr,Ramp Rate MW/Min,Start Time Cold Hr,Start Time Warm Hr,Start Time Hot Hr,Start Heat Cold MBTU,Start Heat Warm MBTU,Start Heat Hot MBTU,Non Fuel Start Cost $,Fuel Price $/MMBTU,Output_pct_0,Output_pct_1,Output_pct_2,Output_pct_3,Output_pct_4,HR_avg_0,HR_incr_1,HR_incr_2,HR_incr_3,HR_incr_4 +101_CT_1,CopperSheet,CT,O,0,0,1,20,8,20,-20,1,1,3,,,1,,,51.75,0,1,0.4,0.6,0.8,1,,135722.5,97862.5,98072.5,107135, +101_CT_2,CopperSheet,CT,O,0,0,1,20,8,20,-20,1,1,3,,,1,,,103.49,0,1,0.4,0.6,0.8,1,,146071.25,98900,99105,117487.5, +101_STEAM_3,CopperSheet,STEAM,C,0,0,1,76,30,76,-76,4,8,2,12,10,4,11172.01,10276.95,7144.02,0,1,0.394736842,0.596052632,0.798684211,1,,28052.66667,14191.50323,16970.77922,18072.54906, +101_STEAM_4,CopperSheet,STEAM,C,0,0,1,76,30,76,-76,4,8,2,12,10,4,11383.41,10488.35,7355.42,0,1,0.394736842,0.596052632,0.798684211,1,,30166.66667,14402.61434,17182.46753,18283.66017, +102_CT_1,CopperSheet,CT,O,0,0,1,20,8,20,-20,1,1,3,,,1,,,155.24,0,1,0.4,0.6,0.8,1,,151505,88972.5,94667.5,99582.5, +102_CT_2,CopperSheet,CT,O,0,0,1,20,8,20,-20,1,1,3,,,1,,,206.99,0,1,0.4,0.6,0.8,1,,161853.75,90010,95700,100617.5, +102_STEAM_3,CopperSheet,STEAM,C,0,0,1,76,30,76,-76,4,8,2,12,10,4,11594.81,10699.75,7566.82,0,1,0.394736842,0.596052632,0.798684211,1,,24503.33334,18463.39864,20846.10389,22516.33992, +102_STEAM_4,CopperSheet,STEAM,C,0,0,1,76,30,76,-76,4,8,2,12,10,4,11806.21,10911.15,7778.21,0,1,0.394736842,0.596052632,0.798684211,1,,26617.33334,18674.50976,21057.7922,24630.06542, +107_CC_1,CopperSheet,CC,G,0,0,1,355,170,355,-355,5,8,4.14,,,5,,,28046.68,0,1,0.478873239,0.652676056,0.826197183,1,,28073.52944,23206.64504,26790.74672,30530.14585, +113_CT_1,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,5665.23,0,1,0.4,0.6,0.8,1,,51019.54545,26818.18182,29550.90909,30308.18182, +113_CT_2,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,6053.96,0,1,0.4,0.6,0.8,1,,54906.81818,27207.27273,29939.09091,30697.27273, +113_CT_3,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,6442.68,0,1,0.4,0.6,0.8,1,,58794.09091,27595.45455,30328.18182,31086.36364, +113_CT_4,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,6831.4,0,1,0.4,0.6,0.8,1,,62681.36364,27984.54545,30716.36364,31474.54545, +115_STEAM_1,CopperSheet,STEAM,O,0,0,1,12,5,12,-12,2,4,1,12,4,2,703.76,455.37,393.28,0,1,0.416666667,0.608333333,0.808333333,1,,179457.9999,124504.3483,125050,133643.478, +115_STEAM_2,CopperSheet,STEAM,O,0,0,1,12,5,12,-12,2,4,1,12,4,2,1117.74,869.35,807.25,0,1,0.416666667,0.608333333,0.808333333,1,,189807.9998,134852.1744,135400,143991.3041, +115_STEAM_3,CopperSheet,STEAM,C,0,0,1,155,62,155,-155,8,8,3,60,11,8,22784.8,15722.8,14569.83,0,1,0.4,0.6,0.8,1,,24196.77419,20400,22492.90323,27050.32258, +116_STEAM_1,CopperSheet,STEAM,C,0,0,1,155,62,155,-155,8,8,3,60,11,8,22784.8,15722.8,14569.83,0,1,0.4,0.6,0.8,1,,27985,19685.48387,21473.87097,23875.48387, +118_CC_1,CopperSheet,CC,G,0,0,1,355,170,355,-355,5,8,4.14,,,5,,,28435.4,0,1,0.478873239,0.652676056,0.826197183,1,,28209.52944,22576.9854,27754.87009,32462.07454, +123_STEAM_2,CopperSheet,STEAM,C,0,0,1,155,62,155,-155,8,8,3,60,11,8,22784.8,15722.8,14569.83,0,1,0.4,0.6,0.8,1,,23184.19355,19429.67742,22968.3871,33035.16129, +123_STEAM_3,CopperSheet,STEAM,C,0,0,1,350,140,350,-350,48,24,4,,96,48,,36749.81,21381.74,0,1,0.4,0.6,0.8,1,,25591.92857,19983.57143,21647.28571,23437.85714, +123_CT_1,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,7220.12,0,1,0.4,0.6,0.8,1,,49465,26265.45455,29803.63636,31090, +123_CT_4,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,7608.84,0,1,0.4,0.6,0.8,1,,53352.27273,26654.54545,30191.81818,31479.09091, +123_CT_5,CopperSheet,CT,G,0,0,1,55,22,55,-55,3,3,3.7,,,3,,,7997.57,0,1,0.4,0.6,0.8,1,,57239.09091,27043.63636,30580.90909,31867.27273, +121_NUCLEAR_1,CopperSheet,NUCLEAR,N,0,0,1,400,396,400,-400,48,1000,20,,,48,,,63999.82,0,1,0.99,1,,,,8103.510101,2.5,,, +HYDRO,CopperSheet,HYDRO,H,0,0,1,,,,,,,,,,,,,,0,,,,,,,,,,, +PV,CopperSheet,PV,S,0,0,1,,,,,,,,,,,,,,0,,,,,,,,,,, +RTPV,CopperSheet,RTPV,S,0,0,1,,,,,,,,,,,,,,0,,,,,,,,,,, +WIND,CopperSheet,WIND,W,0,0,1,,,,,,,,,,,,,,0,,,,,,,,,,, diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/initial_status.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/initial_status.csv new file mode 100644 index 00000000..c185ed9f --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/initial_status.csv @@ -0,0 +1,3 @@ +101_CT_1,101_CT_2,101_STEAM_3,101_STEAM_4,102_CT_1,102_CT_2,102_STEAM_3,102_STEAM_4,107_CC_1,113_CT_1,113_CT_2,113_CT_3,113_CT_4,115_STEAM_1,115_STEAM_2,115_STEAM_3,116_STEAM_1,118_CC_1,123_STEAM_2,123_STEAM_3,123_CT_1,123_CT_4,123_CT_5,121_NUCLEAR_1 +-28,-28,168,168,-168,-168,168,168,168,-168,-168,-168,-168,-168,-168,168,168,168,168,168,-168,-168,-168,168 +0,0,30,30,0,0,30,30,170,0,0,0,0,0,0,62,62,170,62,140,0,0,0,396 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/reserves.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/reserves.csv new file mode 100644 index 00000000..7e64bcd2 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/reserves.csv @@ -0,0 +1 @@ +Reserve Product,Requirement (MW) diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/simulation_objects.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/simulation_objects.csv new file mode 100644 index 00000000..40b86b92 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/simulation_objects.csv @@ -0,0 +1,7 @@ +Simulation_Parameters,Description,DAY_AHEAD,REAL_TIME +Periods_per_Step,the number of discrete periods represented in each simulation step,24,1 +Period_Resolution,seconds per period,3600,3600 +Date_From,simulation beginning period,7/10/2020 0:00,7/10/2020 0:00 +Date_To,simulation ending period (must account for lookahed data availability),7/17/2020 0:00,7/17/2020 0:00 +Look_Ahead_Periods_per_Step,the number of look ahead periods included in each optimization step,24,2 +Look_Ahead_Resolution,look-ahead period resolution,3600,300 diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/storage.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/storage.csv new file mode 100644 index 00000000..87ade0ba --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/storage.csv @@ -0,0 +1 @@ +GEN UID,Storage,Max Volume GWh,Initial Volume GWh,Start Energy,Inflow Limit GWh,Rating MVA diff --git a/tests/simulator_tests/test_cases/deterministic_scenario_csv/timeseries_pointers.csv b/tests/simulator_tests/test_cases/deterministic_scenario_csv/timeseries_pointers.csv new file mode 100644 index 00000000..1ff59cb5 --- /dev/null +++ b/tests/simulator_tests/test_cases/deterministic_scenario_csv/timeseries_pointers.csv @@ -0,0 +1,19 @@ +Simulation,Category,Object,Parameter,Data File +DAY_AHEAD,Generator,HYDRO,PMin MW,forecasts_renewables_min_p.csv +DAY_AHEAD,Generator,PV,PMin MW,forecasts_renewables_min_p.csv +DAY_AHEAD,Generator,RTPV,PMin MW,forecasts_renewables_min_p.csv +DAY_AHEAD,Generator,WIND,PMin MW,forecasts_renewables_min_p.csv +DAY_AHEAD,Generator,HYDRO,PMax MW,forecasts_renewables_max_p.csv +DAY_AHEAD,Generator,PV,PMax MW,forecasts_renewables_max_p.csv +DAY_AHEAD,Generator,RTPV,PMax MW,forecasts_renewables_max_p.csv +DAY_AHEAD,Generator,WIND,PMax MW,forecasts_renewables_max_p.csv +DAY_AHEAD,Area,CopperSheet,MW Load,forecasts_load.csv +REAL_TIME,Generator,HYDRO,PMin MW,actuals_renewables_min_p.csv +REAL_TIME,Generator,PV,PMin MW,actuals_renewables_min_p.csv +REAL_TIME,Generator,RTPV,PMin MW,actuals_renewables_min_p.csv +REAL_TIME,Generator,WIND,PMin MW,actuals_renewables_min_p.csv +REAL_TIME,Generator,HYDRO,PMax MW,actuals_renewables_max_p.csv +REAL_TIME,Generator,PV,PMax MW,actuals_renewables_max_p.csv +REAL_TIME,Generator,RTPV,PMax MW,actuals_renewables_max_p.csv +REAL_TIME,Generator,WIND,PMax MW,actuals_renewables_max_p.csv +REAL_TIME,Area,CopperSheet,MW Load,actuals_load.csv diff --git a/tests/simulator_tests/test_cases/simulate_deterministic_csv.txt b/tests/simulator_tests/test_cases/simulate_deterministic_csv.txt new file mode 100644 index 00000000..b7e5c897 --- /dev/null +++ b/tests/simulator_tests/test_cases/simulate_deterministic_csv.txt @@ -0,0 +1,19 @@ +command/exec simulator.py +--data-directory=deterministic_scenario_csv +--input-format=rts-gmlc +--simulate-out-of-sample +--run-sced-with-persistent-forecast-errors +--output-directory=deterministic_simulation_csv_output +--start-date=07-10-2020 +--num-days=7 +--sced-horizon=4 +--ruc-mipgap=0.00 +--reserve-factor=0.0 +--deterministic-ruc-solver=cbc +--deterministic-ruc-solver-options="feas=off DivingG=on" +--sced-solver=cbc +--sced-frequency-minutes=60 +--ruc-horizon=36 +--traceback +--enforce-sced-shutdown-ramprate +--no-startup-shutdown-curves diff --git a/tests/simulator_tests/test_sim_rts_mod.py b/tests/simulator_tests/test_sim_rts_mod.py index 6d215f31..f59b02d8 100644 --- a/tests/simulator_tests/test_sim_rts_mod.py +++ b/tests/simulator_tests/test_sim_rts_mod.py @@ -135,6 +135,12 @@ def _set_names(self): self.simulator_config_filename = 'simulate_deterministic.txt' self.results_dir_name = 'deterministic_simulation_output' self.baseline_dir_name = 'deterministic_simulation_output_baseline' + +class TestSimulatorModRtsGmlcCopperSheet_csv(_SimulatorModRTSGMLC, unittest.TestCase): + def _set_names(self): + self.simulator_config_filename = 'simulate_deterministic_csv.txt' + self.results_dir_name = 'deterministic_simulation_csv_output' + self.baseline_dir_name = 'deterministic_simulation_output_baseline' if __name__ == '__main__': unittest.main()