Skip to content

Commit

Permalink
added scenarios and figures
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkell committed Aug 21, 2019
1 parent c07a547 commit 9b0456d
Show file tree
Hide file tree
Showing 152 changed files with 11,179 additions and 2,666 deletions.
10,860 changes: 8,281 additions & 2,579 deletions notebooks/validation-optimisation/3.0-ajmk-Over-Years.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions notebooks/validation-optimisation/data/results/error_metrics.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Technology,MAE,MASE,RMSE,SD
CCGT,6.42,0.592,7.941,5.266
Coal,9.303,0.397,10.791,10.831
Nuclear,3.055,1.519,3.161,1.375
Solar,0.592,0.428,0.969,1.226
Wind,1.357,0.244,1.579,4.563
CCGT,6.82,0.63,8.31,4.86
Coal,9.43,0.4,10.91,10.61
Nuclear,3.11,1.55,3.2,1.31
Solar,0.52,0.38,0.85,1.33
Wind,1.37,0.25,1.55,4.48
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,33 @@ Actual,Wind,2015.0,9.432664809132039
Actual,Wind,2016.0,8.69196377813219
Actual,Wind,2017.0,13.006487881684048
Actual,Wind,2018.0,16.303181681436847
Predicted,CCGT,2013.0,27.655799420307485
Predicted,CCGT,2014.0,26.25955763130997
Predicted,CCGT,2015.0,28.39097433073792
Predicted,CCGT,2016.0,33.40537920964626
Predicted,CCGT,2017.0,35.723966463252594
Predicted,CCGT,2018.0,39.622108196336
Predicted,Coal,2013.0,42.29581174003045
Predicted,Coal,2014.0,41.30012077928318
Predicted,Coal,2015.0,36.652340446350046
Predicted,Coal,2016.0,28.373520555546534
Predicted,Coal,2017.0,20.066661135405976
Predicted,Coal,2018.0,17.053892491961886
Predicted,Nuclear,2013.0,25.314417590123316
Predicted,Nuclear,2014.0,26.26509405893479
Predicted,Nuclear,2015.0,27.331566755778304
Predicted,Nuclear,2016.0,29.08578835173584
Predicted,Nuclear,2017.0,26.916594789755386
Predicted,Nuclear,2018.0,25.593536829309564
Predicted,CCGT,2013.0,27.709230906661535
Predicted,CCGT,2014.0,26.212085336822014
Predicted,CCGT,2015.0,28.078953209542007
Predicted,CCGT,2016.0,33.025482838386985
Predicted,CCGT,2017.0,35.11057787484771
Predicted,CCGT,2018.0,38.56814599452921
Predicted,Coal,2013.0,42.23509923670264
Predicted,Coal,2014.0,41.183001525290614
Predicted,Coal,2015.0,36.73339094799392
Predicted,Coal,2016.0,28.262274193709928
Predicted,Coal,2017.0,20.190577313051147
Predicted,Coal,2018.0,17.723201400037972
Predicted,Nuclear,2013.0,25.321035163943865
Predicted,Nuclear,2014.0,26.216404054495527
Predicted,Nuclear,2015.0,27.26163041025544
Predicted,Nuclear,2016.0,28.971715819136506
Predicted,Nuclear,2017.0,27.219175086731937
Predicted,Nuclear,2018.0,25.837958078548564
Predicted,Solar,2013.0,0.0
Predicted,Solar,2014.0,0.0
Predicted,Solar,2015.0,0.0
Predicted,Solar,2016.0,0.0
Predicted,Solar,2017.0,2.4214504736800406
Predicted,Solar,2018.0,2.3263847391213486
Predicted,Wind,2013.0,4.56740467424862
Predicted,Wind,2014.0,6.0367791855985855
Predicted,Wind,2015.0,7.469453512744477
Predicted,Wind,2016.0,8.512774971784522
Predicted,Wind,2017.0,14.777585529317657
Predicted,Wind,2018.0,15.40407365997489
Predicted,Solar,2017.0,2.6420277082561365
Predicted,Solar,2018.0,2.555762619139001
Predicted,Wind,2013.0,4.567364227187227
Predicted,Wind,2014.0,6.250112073673816
Predicted,Wind,2015.0,7.774355723805244
Predicted,Wind,2016.0,9.131416629368395
Predicted,Wind,2017.0,14.738113720894097
Predicted,Wind,2018.0,15.3148228568473
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion run/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@


if __name__ == "__main__":
world = World(2018, log_level="info")
world = World(2018, log_level="info", market_time_splices=8)
for i in range(20):
world.step()
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
,contributed_CCGT,contributed_Coal,contributed_Onshore,contributed_Offshore,contributed_PV,contributed_Nuclear,contributed_Recip_gas,contributed_Biomass,total_CCGT,total_Coal,total_Onshore,total_Offshore,total_PV,total_Nuclear,total_Recip_gas,Carbon_tax,total_genco_wealth,Electricity_cost,Carbon_emitted
0,263057.04000000027,300245.8199999989,12574.927903999946,12490.430519999998,0.0,163428.8815487999,1955.5200000000004,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,10603279333.210169,62.946771198577075,1231.6914958563575
1,151816.32,290440.339999999,12663.542544999953,12497.15424,0.0,163428.8815487999,0.0,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,8273589246.85481,55.409731338509005,962.0981377953204
2,274005.3600000003,291422.309999999,11658.160728000057,12340.267439999989,0.0,163428.8815487999,1955.5200000000004,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,11334840517.267567,62.515618640675235,1235.334254089379
3,287718.4800000002,297610.37999999896,12562.865177999985,12522.928499999996,0.0,163428.8815487999,3259.1999999999953,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,16500584665.971397,63.24411120383249,1301.9391907112374
4,73082.87999999995,222715.22000000012,12519.60240199995,12497.15424,0.0,150520.3940799999,0.0,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,4954945913.0572405,46.85720068566069,645.3245428775599
5,280782.0000000002,310882.37999999884,12663.542544999955,12497.15424,0.0,163428.8815487999,1955.5200000000004,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,11078407968.54132,63.293242400553574,1306.206263367238
6,93126.9599999999,212599.27000000008,15401.362597999996,14368.869794999993,0.0,142697.31404879992,0.0,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,-6057507473.656986,46.96284399939177,663.44131467946
7,148227.84000000005,197654.84000000014,18636.226753000014,16175.309234999995,0.0,153198.35975919993,0.0,0,31272.0,17737.0,4783.0,2949.0,0.0,9238.0,672.0,23.619999999999997,-24271551359.09625,50.39347239191736,741.9491298663196
8,231107.7600000002,288514.3199999991,12475.02255999995,12490.430519999998,0.0,163428.8815487999,1839.1200000000006,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-25887986469.54673,58.1821344865983,1159.3818566193563
9,142654.3199999999,270731.4199999993,12562.933174999958,12497.15424,0.0,163428.8815487999,0.0,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-33200065909.18551,51.440543869530295,899.4740619251612
10,309577.6800000003,202247.10999999955,11565.538920000063,12340.267439999989,0.0,163428.8815487999,4151.599999999994,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-38468343374.85212,61.93940218934588,1139.8741815597768
11,283592.16000000015,269317.3199999994,12463.055669999989,12522.928499999996,0.0,163428.8815487999,2985.6599999999953,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-39310196927.222244,61.387733810402544,1229.3862230133561
12,44421.119999999944,229524.23000000013,12402.713618999958,12497.15424,0.0,147886.6557447999,0.0,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-54883313269.81663,39.784581531795276,602.3347813735396
13,252430.56000000008,303582.77999999886,12562.933174999962,12497.15424,0.0,163428.8815487999,1839.1200000000006,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-57535310409.41052,55.899584490146914,1236.515958526437
14,79486.55999999994,198582.30000000016,15267.529176,14368.869794999993,0.0,141798.02472079993,0.0,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-81416090555.00542,41.58520943310227,604.4738638553995
15,121899.59999999996,196736.07000000007,18485.849011000006,16175.309234999995,0.0,153198.35975919993,0.0,0,31272.0,17737.0,4745.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-108546214380.56065,45.464362112245,686.4526611258598
16,222395.04000000018,259033.8899999997,17720.05311999992,12490.430519999998,0.0,163428.8815487999,1769.2800000000004,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-113579807330.83601,54.58468452293962,1076.7324200782218
17,123756.47999999984,250025.51999999967,17844.92509999993,12497.15424,0.0,163428.8815487999,0.0,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-121496787135.5472,48.834576246637816,815.4374420769598
18,227156.40000000026,255100.48000000007,16428.18384000008,12340.267439999989,0.0,163067.6915727999,1778.9800000000005,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-126454186435.0805,51.489305949093136,1079.4647454710416
19,246242.16000000003,268460.96,17703.05483999987,12522.928499999996,0.0,163428.8815487999,2392.019999999996,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-130182228620.24466,54.55959954968812,1151.4027170220822
20,81395.27999999993,164004.00000000012,17647.403611999933,12497.15424,0.0,145970.13750479993,0.0,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-146300454632.65137,40.89559501272863,531.1906159919997
21,264294.00000000023,247800.87999999998,17844.925099999935,12497.15424,0.0,163428.8815487999,1868.2200000000007,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-153945249427.74768,57.01605787237508,1143.5482738302426
22,56578.319999999934,196781.88999999998,21723.256894000027,14368.869794999993,0.0,137446.79119359993,0.0,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-180360418650.74368,37.57591593615559,553.9527053822198
23,98333.9999999999,190968.28000000017,26274.706704999975,16175.309234999995,0.0,147759.87069199994,0.0,0,31272.0,17737.0,6740.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-210763780726.15094,41.6011249256936,625.7442580554394
24,271024.5600000001,156764.44000000003,17680.61679999991,12490.430519999998,0.0,163428.8815487999,8582.559999999987,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-216897818884.0173,51.351735932674366,977.1638274871202
25,145977.12000000002,183886.72,17805.21087499993,12497.15424,0.0,163428.8815487999,1105.8000000000002,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-226675215165.354,46.222055678402945,749.9752084345596
26,289307.5200000002,137845.52000000014,16391.62260000007,12340.267439999989,0.0,163428.8815487999,8582.559999999987,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-237972054558.7501,51.76043057987411,974.8820224369592
27,250418.15999999997,214203.76000000018,17663.656349999885,12522.928499999996,0.0,163428.8815487999,8431.239999999987,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-245480867461.36392,50.324744296343944,1062.7907764564834
28,133046.63999999996,77562.99000000008,17601.758127999925,12497.15424,0.0,144470.09342079994,0.0,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-263509420718.7535,39.48432576125595,476.3588239600205
29,240457.68000000025,224119.84000000008,17805.210874999928,12497.15424,0.0,163428.8815487999,6834.619999999993,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-275389173924.71545,49.44036573817224,1060.1075277363232
30,95451.83999999991,134098.55000000002,21545.266841000033,14368.869794999993,0.0,135917.26221359993,0.0,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-305124950318.714,36.17388651477635,494.4297626728992
31,146928.23999999976,99748.56000000003,26189.60744099999,16175.309234999995,0.0,145094.4360935999,0.0,0,31272.0,17737.0,6725.0,2949.0,0.0,9238.0,632.0,23.619999999999997,-339162224839.6789,39.47091610246438,557.7806196868784
32,387357.84000000026,82081.00000000007,33336.835839999985,12490.430519999998,3631.030415999996,163428.8815487999,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-361160453473.27734,47.55301103161994,969.4917944380016
33,315102.7200000011,79556.16000000008,33571.758199999924,12497.15424,3593.892239999994,163428.8815487999,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-375013105847.30743,47.20624215839903,817.1799779116818
34,326932.3200000001,138229.46,30906.434880000077,12340.267439999989,1909.5212159999985,163428.8815487999,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-389045058166.7971,46.10357151483623,972.1175501850813
35,405892.08000000083,90471.59000000001,33304.85687999999,12522.928499999996,3669.716015999992,163428.8815487999,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-404498673912.2022,49.79840469435877,1027.803437782822
36,238189.68000000034,102852.47000000003,33223.2652329999,12497.15424,3593.8922399999938,137306.73793759992,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-426273243591.3719,37.370026632214106,713.0298462530607
37,385228.56000000075,126128.23999999993,33571.75819999992,12497.15424,3593.8922399999933,163428.8815487999,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-449539324090.447,46.71609145196144,1063.4562792795211
38,236020.80000000034,105976.13000000008,38135.19818099991,14237.604399999995,5185.804679999987,126607.40630159996,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-483120106266.9557,37.24084119255363,715.5971485297416
39,309016.8000000009,70720.8,48701.95138099992,16175.309234999995,8570.407824,130854.70557039994,0.0,0,63024.0,17737.0,12320.0,2949.0,3568.0,9238.0,632.0,23.619999999999997,-529709980545.912,37.83328832255058,785.1103556784013
40,307701.6000000004,174943.9200000002,34540.95814400003,12490.430519999998,3690.8004639999954,163428.8815487999,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-541167439610.4787,48.72568729707509,1015.0037612001605
41,299900.6400000013,80077.56,34784.36586999993,12497.15424,3653.050959999993,163428.8815487999,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-557925866934.5852,47.446263400521076,787.4832064288801
42,348531.84000000084,94742.33000000009,32022.771408000157,12340.267439999989,1940.953663999998,163428.8815487999,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-574647690434.425,48.82972142850567,918.9274808773413
43,341581.9200000007,194706.56000000006,34507.82410800003,12522.928499999996,3730.122863999991,163428.8815487999,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-586686109985.504,48.22078319295229,1127.8791261708823
44,93349.19999999985,110452.27000000003,34387.19384099992,12497.15424,3653.0509599999928,134881.60524159993,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-608165228586.2638,39.0950995931803,435.9618503734596
45,385930.0800000009,93015.39000000004,34784.36586999993,12497.15424,3653.0509599999923,163428.8815487999,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-635624674373.8002,50.695489236510376,990.9924176152207
46,304538.40000000095,38861.67999999998,38920.43209599993,14069.206639999995,5271.167719999985,126607.40630159996,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-673339282037.6514,39.85032437470506,704.9288270286402
47,34293.59999999999,173901.91000000018,49507.578284999916,16175.309234999995,8711.484495999997,127463.94253039995,0.0,0,63024.0,17737.0,12778.0,2949.0,3600.0,9238.0,92.0,23.619999999999997,-712604946524.8474,36.14316919823312,457.6603821701794
Loading

0 comments on commit 9b0456d

Please sign in to comment.