Skip to content

Commit

Permalink
including the json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay_kumar committed Oct 21, 2019
1 parent 159b71e commit 1c275eb
Show file tree
Hide file tree
Showing 4 changed files with 7,538 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/test/testDataFiles/controllerFbeConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"nx" : [3],
"nu" : [6],
"ne" : [2],
"nv" : [4],
"nd" : [4],
"N" : [24],
"matL" : [5.532557e-01, -5.843040e-02, 8.058430e-01, 0, -5.843040e-02, -1.941570e-01,
0, 0, 0, 1, 0, 0,
3.195341e-01, 6.494176e-01, -1.649418e-01, 0, 6.494176e-01, -1.649418e-01,
5.532557e-01, -5.843040e-02, -1.941570e-01, 0, -5.843040e-02, 8.058430e-01],
"matLhat" : [0, 0, 0, 0, 0, 0,
1.428571e-01, 4.285714e-01, -1.428571e-01, 0, -5.714286e-01, -1.428571e-01,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
"matDiagPrecnd" : [1.673320e+00, 2.160247e+00, 1.673320e+00, 1.414214e+00, 2.160247e+00, 1.673320e+00, 1.183216e+00, 1.673320e+00, 1.673320e+00, 1.183216e+00, 1.673320e+00, 1.673320e+00, 1.183216e+00, 1.527525e+00, 1.183216e+00, 1.000000e+00, 1.527525e+00, 1.183216e+00, 5.291503e-01, 7.483315e-01, 7.483315e-01, 5.291503e-01, 7.483315e-01, 7.483315e-01, 9.660918e-01, 1.247219e+00, 9.660918e-01, 8.164966e-01, 1.247219e+00, 9.660918e-01, 3.162278e-01, 4.472136e-01, 4.472136e-01, 3.162278e-01, 4.472136e-01, 4.472136e-01, 8.366600e-01, 1.080123e+00, 8.366600e-01, 7.071068e-01, 1.080123e+00, 8.366600e-01, 2.160247e-01, 3.055050e-01, 3.055050e-01, 2.160247e-01, 3.055050e-01, 3.055050e-01, 7.483315e-01, 9.660918e-01, 7.483315e-01, 6.324555e-01, 9.660918e-01, 7.483315e-01, 1.595448e-01, 2.256304e-01, 2.256304e-01, 1.595448e-01, 2.256304e-01, 2.256304e-01, 6.831301e-01, 8.819171e-01, 6.831301e-01, 5.773503e-01, 8.819171e-01, 6.831301e-01, 1.240347e-01, 1.754116e-01, 1.754116e-01, 1.240347e-01, 1.754116e-01, 1.754116e-01, 6.324555e-01, 8.164966e-01, 6.324555e-01, 5.345225e-01, 8.164966e-01, 6.324555e-01, 1.000000e-01, 1.414214e-01, 1.414214e-01, 1.000000e-01, 1.414214e-01, 1.414214e-01, 5.916080e-01, 7.637626e-01, 5.916080e-01, 5.000000e-01, 7.637626e-01, 5.916080e-01, 8.284169e-02, 1.171558e-01, 1.171558e-01, 8.284169e-02, 1.171558e-01, 1.171558e-01, 5.577734e-01, 7.200823e-01, 5.577734e-01, 4.714045e-01, 7.200823e-01, 5.577734e-01, 7.008766e-02, 9.911893e-02, 9.911893e-02, 7.008766e-02, 9.911893e-02, 9.911893e-02, 5.291503e-01, 6.831301e-01, 5.291503e-01, 4.472136e-01, 6.831301e-01, 5.291503e-01, 6.030227e-02, 8.528029e-02, 8.528029e-02, 6.030227e-02, 8.528029e-02, 8.528029e-02, 5.045250e-01, 6.513389e-01, 5.045250e-01, 4.264014e-01, 6.513389e-01, 5.045250e-01, 5.260037e-02, 7.438815e-02, 7.438815e-02, 5.260037e-02, 7.438815e-02, 7.438815e-02, 4.830459e-01, 6.236096e-01, 4.830459e-01, 4.082483e-01, 6.236096e-01, 4.830459e-01, 4.640955e-02, 6.563301e-02, 6.563301e-02, 4.640955e-02, 6.563301e-02, 6.563301e-02, 4.640955e-01, 5.991447e-01, 4.640955e-01, 3.922323e-01, 5.991447e-01, 4.640955e-01, 4.134491e-02, 5.847053e-02, 5.847053e-02, 4.134491e-02, 5.847053e-02, 5.847053e-02, 4.472136e-01, 5.773503e-01, 4.472136e-01, 3.779645e-01, 5.773503e-01, 4.472136e-01, 3.713907e-02, 5.252257e-02, 5.252257e-02, 3.713907e-02, 5.252257e-02, 5.252257e-02, 4.320494e-01, 5.577734e-01, 4.320494e-01, 3.651484e-01, 5.577734e-01, 4.320494e-01, 3.360108e-02, 4.751910e-02, 4.751910e-02, 3.360108e-02, 4.751910e-02, 4.751910e-02, 4.183300e-01, 5.400617e-01, 4.183300e-01, 3.535534e-01, 5.400617e-01, 4.183300e-01, 3.059132e-02, 4.326266e-02, 4.326266e-02, 3.059132e-02, 4.326266e-02, 4.326266e-02, 4.058397e-01, 5.239368e-01, 4.058397e-01, 3.429972e-01, 5.239368e-01, 4.058397e-01, 2.800560e-02, 3.960590e-02, 3.960590e-02, 2.800560e-02, 3.960590e-02, 3.960590e-02, 3.944053e-01, 5.091751e-01, 3.944053e-01, 3.333333e-01, 5.091751e-01, 3.944053e-01, 2.576474e-02, 3.643684e-02, 3.643684e-02, 2.576474e-02, 3.643684e-02, 3.643684e-02, 3.838859e-01, 4.955946e-01, 3.838859e-01, 3.244428e-01, 4.955946e-01, 3.838859e-01, 2.380760e-02, 3.366902e-02, 3.366902e-02, 2.380760e-02, 3.366902e-02, 3.366902e-02, 3.741657e-01, 4.830459e-01, 3.741657e-01, 3.162278e-01, 4.830459e-01, 3.741657e-01, 2.208631e-02, 3.123475e-02, 3.123475e-02, 2.208631e-02, 3.123475e-02, 3.123475e-02, 3.651484e-01, 4.714045e-01, 3.651484e-01, 3.086067e-01, 4.714045e-01, 3.651484e-01, 2.056290e-02, 2.908034e-02, 2.908034e-02, 2.056290e-02, 2.908034e-02, 2.908034e-02, 3.567530e-01, 4.605662e-01, 3.567530e-01, 3.015113e-01, 4.605662e-01, 3.567530e-01, 1.920694e-02, 2.716271e-02, 2.716271e-02, 1.920694e-02, 2.716271e-02, 2.716271e-02, 3.489114e-01, 4.504426e-01, 3.489114e-01, 2.948839e-01, 4.504426e-01, 3.489114e-01, 1.799373e-02, 2.544698e-02, 2.544698e-02, 1.799373e-02, 2.544698e-02, 2.544698e-02, 3.415650e-01, 4.409586e-01, 3.415650e-01, 2.886751e-01, 4.409586e-01, 3.415650e-01, 1.690309e-02, 2.390457e-02, 2.390457e-02, 1.690309e-02, 2.390457e-02, 2.390457e-02],
"costW" : [2, 0, 0, 0, 0, 0,
0, 2, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 2, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 2],
"costAlpha1" : [1.237000e-01, 0, 0, 5.410000e-02, 0, 0],
"costAlpha2" : [0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0],
"currentX" : [235, 480, 1550],
"prevDemand" : [1.230860e+01,
1.763732e+01,
5.224101e+00,
7.998018e+01],
"prevUhat" : [2.519617e+00, 7.558852e+00, -2.519617e+00, 0, -1.007847e+01, -2.519617e+00],
"prevV" : [1.319172e+03, 1.329116e+03, 2.466103e+03, 2.152590e+03],
"prevU" : [2.711295e+03, 1.406233e+03, 2.358222e+02, 1.329116e+03, 1.388595e+03, 1.069240e+03],
"stepSize" : [1.000000e-04],
"maxIterations" : [500],
"penaltyStateX" : [1000000],
"penaltySafetyX" : [10000],
"pathToNetwork" : "../test/testDataFiles/network.json",
"pathToScenarioTree" : "../test/testDataFiles/scenarioTree.json",
"pathToForecaster" : "../test/testDataFiles/forecastor.json",
"algorithmName" : "globalFbeAlgorithm",
"lbfgsBufferSize" : [5]
}
65 changes: 65 additions & 0 deletions src/test/testDataFiles/controllerNamaConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"nx" : [3],
"nu" : [6],
"ne" : [2],
"nv" : [4],
"nd" : [4],
"N" : [24],
"matL" : [5.532557e-01, -5.843040e-02, 8.058430e-01, 0, -5.843040e-02, -1.941570e-01,
0, 0, 0, 1, 0, 0,
3.195341e-01, 6.494176e-01, -1.649418e-01, 0, 6.494176e-01, -1.649418e-01,
5.532557e-01, -5.843040e-02, -1.941570e-01, 0, -5.843040e-02, 8.058430e-01],
"matLhat" : [0, 0, 0, 0, 0, 0,
1.428571e-01, 4.285714e-01, -1.428571e-01, 0, -5.714286e-01, -1.428571e-01,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0],
"matDiagPrecnd" : [1.673320e+00, 2.160247e+00, 1.673320e+00, 1.414214e+00, 2.160247e+00, 1.673320e+00, 1.183216e+00, 1.673320e+00, 1.673320e+00, 1.183216e+00, 1.673320e+00, 1.673320e+00, 1.183216e+00, 1.527525e+00, 1.183216e+00, 1.000000e+00, 1.527525e+00, 1.183216e+00, 5.291503e-01, 7.483315e-01, 7.483315e-01, 5.291503e-01, 7.483315e-01, 7.483315e-01, 9.660918e-01, 1.247219e+00, 9.660918e-01, 8.164966e-01, 1.247219e+00, 9.660918e-01, 3.162278e-01, 4.472136e-01, 4.472136e-01, 3.162278e-01, 4.472136e-01, 4.472136e-01, 8.366600e-01, 1.080123e+00, 8.366600e-01, 7.071068e-01, 1.080123e+00, 8.366600e-01, 2.160247e-01, 3.055050e-01, 3.055050e-01, 2.160247e-01, 3.055050e-01, 3.055050e-01, 7.483315e-01, 9.660918e-01, 7.483315e-01, 6.324555e-01, 9.660918e-01, 7.483315e-01, 1.595448e-01, 2.256304e-01, 2.256304e-01, 1.595448e-01, 2.256304e-01, 2.256304e-01, 6.831301e-01, 8.819171e-01, 6.831301e-01, 5.773503e-01, 8.819171e-01, 6.831301e-01, 1.240347e-01, 1.754116e-01, 1.754116e-01, 1.240347e-01, 1.754116e-01, 1.754116e-01, 6.324555e-01, 8.164966e-01, 6.324555e-01, 5.345225e-01, 8.164966e-01, 6.324555e-01, 1.000000e-01, 1.414214e-01, 1.414214e-01, 1.000000e-01, 1.414214e-01, 1.414214e-01, 5.916080e-01, 7.637626e-01, 5.916080e-01, 5.000000e-01, 7.637626e-01, 5.916080e-01, 8.284169e-02, 1.171558e-01, 1.171558e-01, 8.284169e-02, 1.171558e-01, 1.171558e-01, 5.577734e-01, 7.200823e-01, 5.577734e-01, 4.714045e-01, 7.200823e-01, 5.577734e-01, 7.008766e-02, 9.911893e-02, 9.911893e-02, 7.008766e-02, 9.911893e-02, 9.911893e-02, 5.291503e-01, 6.831301e-01, 5.291503e-01, 4.472136e-01, 6.831301e-01, 5.291503e-01, 6.030227e-02, 8.528029e-02, 8.528029e-02, 6.030227e-02, 8.528029e-02, 8.528029e-02, 5.045250e-01, 6.513389e-01, 5.045250e-01, 4.264014e-01, 6.513389e-01, 5.045250e-01, 5.260037e-02, 7.438815e-02, 7.438815e-02, 5.260037e-02, 7.438815e-02, 7.438815e-02, 4.830459e-01, 6.236096e-01, 4.830459e-01, 4.082483e-01, 6.236096e-01, 4.830459e-01, 4.640955e-02, 6.563301e-02, 6.563301e-02, 4.640955e-02, 6.563301e-02, 6.563301e-02, 4.640955e-01, 5.991447e-01, 4.640955e-01, 3.922323e-01, 5.991447e-01, 4.640955e-01, 4.134491e-02, 5.847053e-02, 5.847053e-02, 4.134491e-02, 5.847053e-02, 5.847053e-02, 4.472136e-01, 5.773503e-01, 4.472136e-01, 3.779645e-01, 5.773503e-01, 4.472136e-01, 3.713907e-02, 5.252257e-02, 5.252257e-02, 3.713907e-02, 5.252257e-02, 5.252257e-02, 4.320494e-01, 5.577734e-01, 4.320494e-01, 3.651484e-01, 5.577734e-01, 4.320494e-01, 3.360108e-02, 4.751910e-02, 4.751910e-02, 3.360108e-02, 4.751910e-02, 4.751910e-02, 4.183300e-01, 5.400617e-01, 4.183300e-01, 3.535534e-01, 5.400617e-01, 4.183300e-01, 3.059132e-02, 4.326266e-02, 4.326266e-02, 3.059132e-02, 4.326266e-02, 4.326266e-02, 4.058397e-01, 5.239368e-01, 4.058397e-01, 3.429972e-01, 5.239368e-01, 4.058397e-01, 2.800560e-02, 3.960590e-02, 3.960590e-02, 2.800560e-02, 3.960590e-02, 3.960590e-02, 3.944053e-01, 5.091751e-01, 3.944053e-01, 3.333333e-01, 5.091751e-01, 3.944053e-01, 2.576474e-02, 3.643684e-02, 3.643684e-02, 2.576474e-02, 3.643684e-02, 3.643684e-02, 3.838859e-01, 4.955946e-01, 3.838859e-01, 3.244428e-01, 4.955946e-01, 3.838859e-01, 2.380760e-02, 3.366902e-02, 3.366902e-02, 2.380760e-02, 3.366902e-02, 3.366902e-02, 3.741657e-01, 4.830459e-01, 3.741657e-01, 3.162278e-01, 4.830459e-01, 3.741657e-01, 2.208631e-02, 3.123475e-02, 3.123475e-02, 2.208631e-02, 3.123475e-02, 3.123475e-02, 3.651484e-01, 4.714045e-01, 3.651484e-01, 3.086067e-01, 4.714045e-01, 3.651484e-01, 2.056290e-02, 2.908034e-02, 2.908034e-02, 2.056290e-02, 2.908034e-02, 2.908034e-02, 3.567530e-01, 4.605662e-01, 3.567530e-01, 3.015113e-01, 4.605662e-01, 3.567530e-01, 1.920694e-02, 2.716271e-02, 2.716271e-02, 1.920694e-02, 2.716271e-02, 2.716271e-02, 3.489114e-01, 4.504426e-01, 3.489114e-01, 2.948839e-01, 4.504426e-01, 3.489114e-01, 1.799373e-02, 2.544698e-02, 2.544698e-02, 1.799373e-02, 2.544698e-02, 2.544698e-02, 3.415650e-01, 4.409586e-01, 3.415650e-01, 2.886751e-01, 4.409586e-01, 3.415650e-01, 1.690309e-02, 2.390457e-02, 2.390457e-02, 1.690309e-02, 2.390457e-02, 2.390457e-02],
"costW" : [2, 0, 0, 0, 0, 0,
0, 2, 0, 0, 0, 0,
0, 0, 2, 0, 0, 0,
0, 0, 0, 2, 0, 0,
0, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 2],
"costAlpha1" : [1.237000e-01, 0, 0, 5.410000e-02, 0, 0],
"costAlpha2" : [0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 4.820953e-02, 4.297609e-02, 4.220123e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 3.895046e-02, 4.297609e-02, 3.409610e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0,
0, 0, 2.644914e-02, 3.099685e-02, 2.315281e-02, 0],
"currentX" : [235, 480, 1550],
"prevDemand" : [1.230860e+01,
1.763732e+01,
5.224101e+00,
7.998018e+01],
"prevUhat" : [2.519617e+00, 7.558852e+00, -2.519617e+00, 0, -1.007847e+01, -2.519617e+00],
"prevV" : [1.319172e+03, 1.329116e+03, 2.466103e+03, 2.152590e+03],
"prevU" : [2.711295e+03, 1.406233e+03, 2.358222e+02, 1.329116e+03, 1.388595e+03, 1.069240e+03],
"stepSize" : [1.000000e-04],
"maxIterations" : [500],
"penaltyStateX" : [1000000],
"penaltySafetyX" : [10000],
"pathToNetwork" : "../test/testDataFiles/network.json",
"pathToScenarioTree" : "../test/testDataFiles/scenarioTree.json",
"pathToForecaster" : "../test/testDataFiles/forecastor.json",
"algorithmName" : "namaAlgorithm",
"lbfgsBufferSize" : [5]
}
Loading

0 comments on commit 1c275eb

Please sign in to comment.