diff --git a/examples/results/testperiods_segmentation.csv b/examples/results/testperiods_segmentation.csv index 9d3a834..bbe4937 100644 --- a/examples/results/testperiods_segmentation.csv +++ b/examples/results/testperiods_segmentation.csv @@ -1,241 +1,241 @@ ,Segment Step,Segment Duration,GHI,Load,T,Wind -0,0,4,0.0,403.31070830819016,1.025025168465811,2.2267766945893706 -0,1,2,0.0,424.39335066951395,1.122830292060599,3.340165041884055 -0,2,1,0.0,495.1187115575324,1.171732853857992,3.340165041884055 -0,3,2,11.182789850010714,541.6657655742491,1.5629533482371485,3.340165041884055 -0,4,4,74.55193233340476,547.6976314865256,2.2720404942993624,2.2267766945893706 -0,5,2,80.94209796198233,544.4529035902766,3.0300302021589736,1.1133883472946853 -0,6,1,19.17049688573265,536.2185978240874,1.7585635954267225,2.2267766945893706 -0,7,1,0.0,536.1585102653291,0.6827072358840496,1.1133883472946853 -0,8,3,0.0,550.7043201522206,-0.3279457079287635,2.5979061436875988 -0,9,2,0.0,504.6009896282758,-1.517908044998689,3.340165041884055 -0,10,1,0.0,468.89280579687244,-1.8602259775804484,3.340165041884055 -0,11,1,0.0,434.5458361225407,-2.1536413483648134,3.340165041884055 -1,0,6,2.1300552095258505,355.0453813891941,14.701441617803722,1.6700825209420276 -1,1,1,154.42900269062417,420.70721044429393,15.255670651507522,1.1133883472946853 -1,2,1,319.5082814288776,451.17622185931646,15.842501393076247,1.1133883472946853 -1,3,1,489.9126981909456,474.69356573520906,17.60299361778244,2.2267766945893706 -1,4,1,625.1712039958371,487.8712282671113,18.581044853730326,2.2267766945893706 -1,5,2,720.4911746221189,502.65276626268223,19.31458328069124,1.1133883472946853 -1,6,3,699.0131179260666,502.78834844009765,21.678207100898625,3.340165041884055 -1,7,1,500.56297423857495,486.3413067412652,22.00422417954792,2.2267766945893706 -1,8,1,337.61375070984724,475.33141816592683,21.710808808763556,3.340165041884055 -1,9,1,162.94922352872757,470.3210406770789,21.515198561573975,2.2267766945893706 -1,10,4,4.2601104190517,457.8517178812173,18.72775253912251,1.6700825209420276 -1,11,2,0.0,406.83854098666797,16.233721887455403,3.340165041884055 -2,0,1,0.0,409.3275523307768,1.6607584718319366,5.566941736473424 -2,1,1,0.0,396.57974689581187,1.6607584718319366,4.453553389178741 -2,2,2,0.0,386.3278859190202,1.7585635954267245,6.68033008376811 -2,3,5,3.8340993771465297,378.7494588209897,1.6216364223940174,5.344264067014489 -2,4,1,54.31640784290918,425.2230211343208,1.3673431010475703,5.566941736473424 -2,5,3,94.07743842072506,464.6820549431401,1.530351640372217,4.453553389178741 -2,6,2,78.81204275245648,471.47888164349524,1.8074661572241153,3.340165041884055 -2,7,3,11.360294450804536,474.0326026224058,1.9541738426163007,3.340165041884055 -2,8,1,0.0,510.22842005471296,1.9541738426163007,4.453553389178741 -2,9,2,0.0,497.6146561163294,2.0519789662110868,3.340165041884055 -2,10,2,0.0,477.37901710559714,2.0030764044136937,2.783470868236713 -2,11,1,0.0,450.5060145273449,1.8563687190215106,2.2267766945893706 -3,0,6,0.0,377.16068231123927,1.628156763967005,7.608153706513681 -3,1,1,0.0,457.4623043102237,1.2695379774527822,7.793718431062794 -3,2,2,80.9420979619823,507.43665994587195,1.7096610336293294,9.463800952004823 -3,3,2,208.2128967311519,524.510769208961,3.3234455729433376,7.793718431062794 -3,4,3,232.886036241493,528.1976798416806,4.888327550459951,8.907106778357482 -3,5,2,113.42543990725154,509.301685087392,4.937230112257346,6.123635910120767 -3,6,2,2.13005520952585,493.9932254420579,4.594912179675586,7.237024257415452 -3,7,2,0.0,516.67627676033,5.035035235852134,5.010247562826083 -3,8,1,0.0,496.944448734046,5.475158292028679,6.68033008376811 -3,9,1,0.0,473.09893450747916,5.768573662813045,4.453553389178741 -3,10,1,0.0,446.5032591080168,5.572963415623471,6.68033008376811 -3,11,1,0.0,416.575035621198,5.377353168433893,2.2267766945893706 -4,0,2,0.0,373.96602742254896,10.952245213336832,3.896859215531398 -4,1,4,10.916532948819986,368.7337881453884,10.023096539186342,1.3917354341183565 -4,2,1,87.33226359055986,440.57770200966104,9.876388853794161,2.2267766945893706 -4,3,2,157.09157170253147,486.63481132037026,9.729681168401976,2.2267766945893706 -4,4,1,214.07054855734802,498.28024125486377,10.463219595362888,1.1133883472946853 -4,5,2,246.0213767002357,523.1495550518893,10.463219595362888,2.2267766945893706 -4,6,3,233.24104544308062,528.2454417525205,10.104600808848664,3.340165041884055 -4,7,2,152.29894748109828,505.83047341064054,9.680778606604582,2.2267766945893706 -4,8,1,82.00712556674523,491.41177178887193,9.974193977388946,3.340165041884055 -4,9,2,18.637983083351195,486.6301891772449,9.974193977388946,2.2267766945893706 -4,10,3,0.0,448.54161376143645,10.267609348173313,2.2267766945893706 -4,11,1,0.0,405.33404109707584,10.267609348173309,2.2267766945893706 -5,0,3,0.0,340.96332411424527,8.507117123467122,3.711294490982284 -5,1,2,0.0,341.39626267347387,8.507117123467122,5.010247562826083 -5,2,3,4.970128822226984,356.9296654436324,7.855082966168532,3.340165041884055 -5,3,2,72.42187712387891,407.5156814830157,7.5779684493166295,3.340165041884055 -5,4,2,222.05825559306996,454.10433458661333,8.556019685264515,3.340165041884055 -5,5,2,238.56618346689527,443.7438537998061,10.854440089742042,4.453553389178741 -5,6,1,208.74541053353335,412.13780096180756,10.071999100983735,4.453553389178741 -5,7,1,92.65740161437449,416.2514872124021,10.854440089742042,4.453553389178741 -5,8,1,0.0,425.2091548055684,9.974193977388946,2.2267766945893706 -5,9,3,0.0,454.333129480605,8.278905168412614,3.340165041884055 -5,10,3,0.0,427.23056166794413,7.170447101005016,3.340165041884055 -5,11,1,0.0,395.07293588434544,6.453209527976566,3.340165041884055 -6,0,6,0.3550092015876417,344.3066571854569,-0.556157662983269,2.9690355927858265 -6,1,1,123.54320215249933,361.08649156256524,-0.6865644944429874,2.2267766945893706 -6,2,1,286.4924256812269,385.80096426925724,1.6607584718319366,1.1133883472946853 -6,3,1,472.8722565147387,418.3453073820784,4.008081438106856,2.2267766945893706 -6,4,1,608.1307623196302,447.8390516288347,6.061989033597412,3.340165041884055 -6,5,2,713.0359813887785,474.0118030454242,6.013086471800019,3.340165041884055 -6,6,1,735.9340748911814,477.97989259255945,8.115896629087967,1.1133883472946853 -6,7,1,594.2854034577124,464.34001806246613,8.213701752682757,2.2267766945893706 -6,8,1,433.4662351385105,441.44203834666087,7.724676134708813,2.2267766945893706 -6,9,2,205.01781391686313,438.22273206150993,8.26260431448015,2.338115529318839 -6,10,5,13.41934782001286,432.58975511363406,5.1230598470874416,2.627596499615457 -6,11,2,0.0,393.76718719321866,4.105886561701644,3.4515038766135233 -7,0,5,3.1950828142887753,328.1178378641832,15.060060404317946,0.6680330083768111 -7,1,1,143.7787266429949,319.72314454659613,16.233721887455403,0.0 -7,2,1,312.0530881955371,327.3403973751959,18.28762948294596,0.0 -7,3,1,483.5225325623681,341.41012900222626,19.070070471704266,1.1133883472946853 -7,4,1,637.9515352529921,363.9106065223482,20.145926831246943,1.1133883472946853 -7,5,1,764.6898202197804,386.1614896218087,21.22178319078961,2.2267766945893706 -7,6,4,845.0,410.5327699372014,22.982275415495803,3.0618179550603837 -7,7,1,750.8444613578624,406.092068645311,24.54715739301242,4.453553389178741 -7,8,1,606.0007071101045,406.8038750641633,25.036183010986356,2.2267766945893706 -7,9,2,340.80883352413605,398.38006238575963,24.644962516607205,2.2267766945893706 -7,10,1,126.73828496678813,406.7345433197777,24.93837788739157,1.1133883472946853 -7,11,5,1.4910386466680952,395.08218013034667,21.30002728966544,1.3360660167536222 -8,0,7,6.542312429257969,360.32648302397405,7.990147184466095,2.22677669458937 -8,1,1,205.55032771924456,389.4709270941621,8.898337617846273,2.2267766945893706 -8,2,1,338.6787783146102,407.6127459855299,10.169804224578526,2.2267766945893706 -8,3,1,419.6208762765925,426.7621869464175,12.321516943663873,2.2267766945893706 -8,4,2,437.7263455575623,444.92480528060196,13.397373303206543,3.340165041884055 -8,5,2,317.9107400217332,441.62461199387565,14.962255280723152,4.453553389178741 -8,6,1,390.86513094799363,418.17891103455503,15.255670651507522,3.340165041884055 -8,7,1,313.11811580029996,409.5170591926797,15.940306516671036,4.453553389178741 -8,8,1,156.55905790014998,406.43410552598476,15.4512808986971,4.453553389178741 -8,9,2,5.857651826196087,409.9838932836843,13.49517842680133,3.340165041884055 -8,10,3,0.0,412.66780399000896,11.408669123445842,2.2267766945893706 -8,11,2,0.0,370.6404124492569,10.561024718957679,1.1133883472946853 -9,0,1,0.0,468.17637723489463,-3.6207182022866387,1.1133883472946853 -9,1,5,0.0,454.94602249273544,-2.9165213124041616,3.5628427113429924 -9,2,1,0.0,532.0263354422332,-2.838277213528331,5.566941736473424 -9,3,3,14.555377265093313,590.1325398747846,-2.577463550608895,5.566941736473424 -9,4,1,121.41314694297346,602.8649382330809,-1.8602259775804484,5.566941736473424 -9,5,2,269.4519840050201,598.5802334918377,-1.420102921403901,5.566941736473424 -9,6,2,162.41670972634608,582.5830780929659,0.046973932517926184,4.453553389178741 -9,7,1,27.690717723836052,572.5669452080833,-0.8821747416325635,3.340165041884055 -9,8,2,0.0,577.8107397172779,-1.17559011241693,5.566941736473424 -9,9,2,0.0,581.8712716741135,-1.517908044998689,4.453553389178741 -9,10,3,0.0,530.4840882349275,-2.4470567191491766,4.082423940080513 -9,11,1,0.0,478.9366713895714,-3.131692584312696,2.2267766945893706 -10,0,2,0.0,415.9002061964129,2.9322250785641857,4.119536884990335 -10,1,2,0.0,407.51105939020215,3.0789327639563666,5.789619405932362 -10,2,1,0.0,413.41350592386664,3.1278353257537614,7.125685422685984 -10,3,1,0.0,429.7064770237176,3.2256404493485498,5.566941736473424 -10,4,1,0.0,477.6101230543807,3.2256404493485498,4.453553389178741 -10,5,2,59.109032064342344,508.23628658098784,3.4212506965381255,4.453553389178741 -10,6,2,135.79101960727297,517.5128803392014,3.861373752714675,5.010247562826083 -10,7,1,166.14430634301632,531.4300819977725,4.3993019324860105,6.68033008376811 -10,8,4,136.05727650846367,531.5514126762272,4.521558336979494,5.566941736473424 -10,9,3,17.0404416762068,513.4300081580911,5.312149752704032,5.195812287375197 -10,10,3,0.0,502.68512111362435,5.54036170775854,4.453553389178741 -10,11,2,0.0,460.8433847494609,5.181742921244317,6.179305327485502 -11,0,6,3.017578213494955,332.22982940610984,10.071999100983735,0.927823622745571 -11,1,1,100.11259484771499,401.0354700270803,10.658829842552466,2.2267766945893706 -11,2,1,192.76999646208947,438.9553380238029,12.125906696474292,2.2267766945893706 -11,3,2,315.78068481220737,471.79549678729154,14.76664503353358,4.453553389178741 -11,4,1,403.64546220514865,490.6860990412671,16.820552629024135,5.566941736473424 -11,5,3,423.88098669564425,504.2782115934379,17.17917141553836,4.453553389178741 -11,6,2,322.70336424316633,490.491970036239,18.48323973013554,5.566941736473424 -11,7,1,201.29021730019286,479.13542243710157,17.994214112161597,4.453553389178741 -11,8,1,109.69784329058129,472.0404691654512,17.309578246998075,2.2267766945893706 -11,9,1,25.560662514310206,468.06082426050267,16.918357752618927,3.340165041884055 -11,10,3,0.0,444.54502113252636,15.907704808806114,2.2267766945893706 -11,11,2,0.0,395.0036040896479,15.549086022291885,2.783470868236713 -12,0,2,0.0,408.7058772500623,-0.8332721798351705,3.7855203808019295 -12,1,3,0.0,402.1832963332879,-1.273395236011719,2.672132033507244 -12,2,1,0.0,423.82714105474446,-1.1755901124169288,1.1133883472946853 -12,3,1,9.585248442866325,467.6494556354433,-0.8821747416325635,1.1133883472946853 -12,4,1,90.52734640484866,496.1263336270525,-0.197538876469045,1.1133883472946853 -12,5,1,179.9896652049344,510.561212649136,0.6827072358840496,1.1133883472946853 -12,6,2,281.6998014597937,524.2773521886146,1.5140507864397512,1.1133883472946853 -12,7,1,337.61375070984724,542.6849429512706,3.1278353257537614,2.2267766945893706 -12,8,3,307.4379685748977,532.4962509116762,4.105886561701644,3.340165041884055 -12,9,1,102.24265005724082,510.73685318228655,1.6607584718319366,3.340165041884055 -12,10,5,13.419347820012856,505.0368554810888,0.3501698156617696,2.0040990251304334 -12,11,3,0.0,477.62553013104946,1.0413260223982745,3.2288262071545866 -13,0,1,0.0,459.620834181784,5.475158292028679,6.68033008376811 -13,1,3,0.0,441.9812855604894,5.801175370677975,8.164847880161023 -13,2,1,0.0,450.7232541473761,5.475158292028679,6.68033008376811 -13,3,1,0.0,464.0904236418047,5.475158292028679,8.907106778357482 -13,4,1,0.0,520.387838621804,5.572963415623471,8.907106778357482 -13,5,3,22.365579700021428,575.9518773829466,5.214344629109246,7.422588981964566 -13,6,4,89.19606189889498,604.0574450968461,5.768573662813045,7.5153713442391235 -13,7,2,46.328700807187246,590.708764099451,6.306501842584383,6.68033008376811 -13,8,4,0.0,586.0658451023749,6.037537752698716,5.010247562826083 -13,9,1,0.0,562.5877893172681,5.768573662813045,3.340165041884055 -13,10,2,0.0,536.6253443060218,5.3284506066364985,5.010247562826083 -13,11,1,0.0,489.6230115561139,5.181742921244317,3.340165041884055 -14,0,1,0.0,379.0295593057795,14.962255280723156,1.1133883472946853 -14,1,4,2.3963121107165812,366.20664434689854,14.179814291964847,2.783470868236713 -14,2,1,76.6819875429306,390.2150883136447,12.712737438043021,3.340165041884055 -14,3,1,165.07927873825338,440.4806375071469,12.61493231444823,3.340165041884055 -14,4,1,254.54159753833912,478.1462889400827,12.712737438043021,3.340165041884055 -14,5,1,338.6787783146102,507.0021806554977,13.103957932422176,2.2267766945893706 -14,6,2,429.7386385218403,512.930048875728,13.544080988598724,2.2267766945893706 -14,7,3,468.2571368940994,534.5222799507184,15.842501393076251,2.9690355927858274 -14,8,2,367.43452364320916,523.5886563847653,14.913352718925761,2.2267766945893706 -14,9,2,203.95278631210022,501.01191390556977,14.76664503353358,2.2267766945893706 -14,10,4,10.650276047629253,474.2301982012368,12.541578471752139,2.505123781413042 -14,11,2,0.0,418.6919663555657,11.636881078500354,1.1133883472946853 -15,0,4,0.0,326.672501114787,-4.45206175284234,3.3123303332016873 -15,1,1,0.0,320.3378863623109,-4.403159191044946,4.342214554449272 -15,2,3,0.0,315.7542845751911,-4.240150651720299,3.340165041884055 -15,3,1,3.1950828142887757,338.53517066931187,-3.7185233258814265,3.340165041884055 -15,4,1,29.820772933361905,354.63863490726,-3.6207182022866387,4.453553389178741 -15,5,4,59.37528896553308,381.29093123298094,-3.2784002697048793,4.453553389178741 -15,6,1,28.75574532859898,372.57708050734885,-3.131692584312696,3.340165041884055 -15,7,1,2.13005520952585,368.8192973655569,-3.033887460717907,4.453553389178741 -15,8,1,0.0,373.4968822599818,-3.131692584312696,3.340165041884055 -15,9,1,0.0,390.19197779926526,-2.740472089933543,4.453553389178741 -15,10,4,0.0,385.3919066906045,-2.1536413483648125,3.3958344592487895 -15,11,2,0.0,370.8414746186613,-1.2244926742143227,4.3978839718140055 -16,0,2,0.0,334.37295211714843,10.267609348173313,2.2267766945893706 -16,1,4,7.455193233340476,317.1659568932593,9.949742696490251,1.1133883472946853 -16,2,1,115.02298131439592,315.50777154973855,10.463219595362888,1.1133883472946853 -16,3,1,206.61535532400745,326.7210333157323,11.245660584121199,2.2267766945893706 -16,4,1,292.8825913098044,345.50994892406845,12.028101572879507,1.1133883472946853 -16,5,3,578.6649985878561,386.3171009687063,14.473229662749214,2.2267766945893706 -16,6,1,707.1783295625823,398.69667757986775,15.4512808986971,2.2267766945893706 -16,7,2,609.1957899243932,383.81114181678294,15.451280898697094,1.6700825209420276 -16,8,2,325.3659332550736,370.1574010082491,14.76664503353358,2.2267766945893706 -16,9,1,201.29021730019286,376.73698798794953,15.549086022291885,2.2267766945893706 -16,10,1,72.42187712387891,379.3346191420742,15.353475775102309,1.1133883472946853 -16,11,5,0.0,375.17378721272354,12.38020001782074,0.9797817456193229 -17,0,5,0.0,391.10253528577226,6.51189260213344,1.3360660167536222 -17,1,1,0.0,422.05686929386417,7.33345564032966,0.0 -17,2,1,0.0,476.68569915862247,6.942235145950506,1.1133883472946853 -17,3,2,30.353286735743364,518.1253111336653,7.480163325721843,1.1133883472946853 -17,4,2,75.08444613578622,519.2415530132009,8.01809150549318,0.0 -17,5,1,244.9563490954728,534.7348974276242,8.996142741441064,1.1133883472946853 -17,6,3,144.8437542477578,530.0249577325691,9.2569564043605,1.1133883472946853 -17,7,2,10.65027604762925,515.2226201935578,7.724676134708815,2.2267766945893706 -17,8,3,0.0,541.1180444145868,7.36605734819459,1.855647245491142 -17,9,1,0.0,509.9187380752929,6.942235145950506,1.1133883472946853 -17,10,2,0.0,473.1543999231124,6.893332584153115,0.5566941736473426 -17,11,1,0.0,432.8633845779237,5.768573662813045,2.2267766945893706 -18,0,4,0.0,333.95696134896366,0.19368161791010827,7.181354840050718 -18,1,2,0.0,337.4975048707243,2.0030764044136937,9.575139786734292 -18,2,2,0.0,372.8636519220775,2.541004584185031,10.020495125652166 -18,3,1,3.1950828142887757,418.46086035647016,3.4212506965381255,10.020495125652166 -18,4,2,41.53607658575408,443.8432293235711,4.448204494283403,10.020495125652166 -18,5,1,66.03171149530137,467.8528289267221,5.083937797649527,11.133883472946849 -18,6,1,66.03171149530137,469.0499578581449,5.670768539218257,10.020495125652166 -18,7,1,53.25138023814627,462.9626264547677,6.061989033597412,11.133883472946849 -18,8,6,5.147633423020806,462.42337922416846,6.697722336963537,8.907106778357482 -18,9,1,0.0,445.31537436222106,7.040040269545297,7.793718431062794 -18,10,2,0.0,425.17448888306376,7.33345564032966,7.070016005321249 -18,11,1,0.0,390.0117151229894,7.33345564032966,5.344264067014488 -19,0,1,0.0,434.76769778507355,-2.5448618427439658,1.1133883472946853 -19,1,1,0.0,421.9505605050994,-2.642666966338755,2.2267766945893706 -19,2,1,0.0,413.0113814844343,-2.642666966338755,1.1133883472946853 -19,3,1,0.0,407.16440041671484,-2.740472089933543,2.2267766945893706 -19,4,3,0.0,396.27468695889365,-2.7078703820686125,0.7422588981964569 -19,5,2,3.727596616670238,405.9464719418516,-2.838277213528331,2.2267766945893706 -19,6,1,39.406021376228246,435.7984304695968,-2.642666966338755,1.1133883472946853 -19,7,3,76.68198754293061,471.0990974451079,-2.447056719149178,3.340165041884055 -19,8,4,34.080883352413615,469.02222512517244,-1.6646157303908722,2.2267766945893706 -19,9,1,0.0,499.02902461747163,-2.0558362247700246,2.2267766945893706 -19,10,4,0.0,498.34957304956134,-2.178092629263511,1.1133883472946853 -19,11,2,0.0,474.90849423336596,-2.495959280946572,2.2267766945893706 +0,0,5,0.0,404.4478422264285,1.2257142857142844,2.770714285714286 +0,1,1,0.0,428.446427275,0.9821428571428533,2.428571428571429 +0,2,1,0.5,480.8105826642857,0.9250000000000007,2.4642857142857144 +0,3,2,16.428571428571427,531.9872423642857,1.0053571428571424,2.3928571428571432 +0,4,2,84.85714285714286,545.1278661535714,1.3964285714285716,2.1428571428571432 +0,5,3,117.17857142857143,553.900503929762,2.516666666666668,2.4880952380952377 +0,6,1,74.60714285714285,544.440075075,2.942857142857141,2.1785714285714293 +0,7,5,5.585714285714286,543.4303091728572,2.042142857142857,2.0928571428571434 +0,8,1,0.0,516.2156228857143,1.607142857142856,2.178571428571429 +0,9,1,0.0,496.61558685714283,1.4749999999999992,2.035714285714286 +0,10,1,0.0,474.03422055,1.350000000000002,2.2285714285714286 +0,11,1,0.0,442.6763611964286,1.3392857142857124,2.4000000000000004 +1,0,6,13.136363636363638,362.5586496037879,15.030303030303031,1.6568181818181817 +1,1,1,213.04545454545448,427.7655189636364,15.909090909090908,1.5 +1,2,1,351.81818181818176,464.7346528500001,17.12727272727273,1.727272727272727 +1,3,1,486.31818181818187,488.56957590909093,18.14545454545455,2.0454545454545454 +1,4,1,614.6818181818181,497.31117044090905,19.336363636363636,2.1363636363636362 +1,5,4,700.2272727272727,514.5747078204546,21.204545454545457,2.4318181818181817 +1,6,2,503.75000000000006,498.6705262909091,22.220454545454544,2.3863636363636362 +1,7,1,326.2272727272728,484.36069868636366,21.854545454545452,2.0909090909090917 +1,8,1,207.63636363636365,470.31120631363643,21.3,2.0454545454545454 +1,9,1,76.54545454545455,475.59488400454546,20.36818181818182,2.0000000000000004 +1,10,3,1.590909090909091,453.2235399772727,18.01060606060606,1.7166666666666666 +1,11,2,0.0,407.2199426363636,16.470454545454547,1.85 +2,0,1,0.0,394.829899582353,1.7411764705882353,6.070588235294117 +2,1,5,0.2823529411764706,373.67623786117645,1.2129411764705893,6.008235294117648 +2,2,2,6.764705882352942,380.34356087941177,0.8382352941176477,5.176470588235294 +2,3,1,26.999999999999996,407.8807768764706,0.8294117647058825,5.764705882352941 +2,4,1,68.47058823529412,428.1544906117647,0.964705882352942,4.999999999999999 +2,5,1,113.70588235294117,443.01708907058827,1.2470588235294138,5.058823529411765 +2,6,3,134.3921568627451,456.8994756784314,1.792156862745096,5.11764705882353 +2,7,1,79.0,446.39653674705886,1.9764705882352933,4.705882352941176 +2,8,2,22.294117647058822,443.74177753529415,1.8264705882352934,4.411764705882353 +2,9,3,1.5490196078431373,469.85587146274514,1.549019607843138,4.315686274509805 +2,10,3,0.0,443.8694942019607,1.2705882352941196,3.8352941176470585 +2,11,1,0.0,411.4998959235294,0.9470588235294115,3.6941176470588237 +3,0,3,0.0,390.74642908888893,-0.24074074074074153,6.0 +3,1,3,0.0,393.94280819999994,-0.5481481481481484,7.270370370370369 +3,2,1,0.0,444.8286601111111,-0.8111111111111107,6.777777777777776 +3,3,1,41.77777777777778,476.8941882666667,-0.6999999999999985,7.000000000000001 +3,4,1,139.00000000000003,493.9359860222222,0.1444444444444443,7.666666666666666 +3,5,1,227.1111111111111,501.2717679444445,0.8666666666666657,6.8888888888888875 +3,6,4,296.36111111111114,514.9503753166666,2.8166666666666678,7.361111111111112 +3,7,1,211.99999999999997,503.38374634444455,4.133333333333334,6.8888888888888875 +3,8,1,104.44444444444446,497.4106957555556,4.077777777777778,7.000000000000001 +3,9,5,5.666666666666667,495.3007589088889,3.104444444444442,5.999999999999999 +3,10,2,0.0,456.82146163888893,2.4666666666666663,5.627777777777777 +3,11,1,0.0,423.7150006888889,2.2222222222222237,5.0777777777777775 +4,0,5,0.07368421052631578,371.2242301589474,8.224736842105266,2.458421052631579 +4,1,1,12.657894736842104,397.375617031579,7.592105263157897,2.1315789473684217 +4,2,1,52.1578947368421,453.0085403736843,7.607894736842104,2.3684210526315796 +4,3,2,143.63157894736838,497.1390359592105,8.296052631578943,2.6828947368421057 +4,4,2,262.0394736842105,515.2213165592105,9.652631578947366,3.0921052631578947 +4,5,3,302.81578947368416,529.2473156666666,10.578070175438599,3.166666666666667 +4,6,2,225.4736842105263,512.4409940381579,10.921052631578947,3.31578947368421 +4,7,1,131.28947368421055,496.8732187342105,10.734210526315787,2.847368421052633 +4,8,1,55.8421052631579,494.875660868421,10.326315789473687,2.6210526315789475 +4,9,3,4.8771929824561395,491.7035027149123,9.19298245614035,2.214035087719298 +4,10,2,0.0,453.9034221184211,8.427631578947372,1.9749999999999996 +4,11,1,0.0,409.0808830447368,8.115789473684211,2.0105263157894737 +5,0,7,1.4642857142857142,380.02130075357144,7.593571428571429,3.2342857142857135 +5,1,1,43.44999999999999,394.1917167900001,7.655000000000001,3.655 +5,2,1,86.95000000000002,411.9003792,7.965000000000003,3.5300000000000002 +5,3,1,123.24999999999999,427.643810185,8.174999999999999,3.43 +5,4,1,173.45,441.41245852000003,8.574999999999998,3.76 +5,5,3,194.3,445.715631775,9.525,4.0150000000000015 +5,6,1,144.15,431.20001463500006,9.910000000000002,3.7299999999999995 +5,7,1,102.05000000000001,425.7405664550001,9.989999999999998,3.4299999999999993 +5,8,1,36.14999999999999,422.58501050499996,9.760000000000002,2.9799999999999995 +5,9,4,1.9250000000000003,433.32604286625,8.90375,3.23375 +5,10,2,0.0,412.14058415249997,8.28,3.5475000000000003 +5,11,1,0.0,390.88607662499993,7.879999999999999,3.630000000000001 +6,0,6,0.8333333333333334,376.213656255,-0.13833333333333256,3.3516666666666666 +6,1,1,64.3,394.10861569,-0.559999999999999,3.5000000000000004 +6,2,1,183.6,411.19910426999996,0.2600000000000001,3.2 +6,3,1,324.7,431.88628494999995,1.9999999999999991,3.8999999999999995 +6,4,1,458.09999999999997,450.29510129000005,3.129999999999999,4.4 +6,5,4,570.7,468.8530907775,5.632500000000001,3.9000000000000004 +6,6,1,421.59999999999997,454.70392002,6.530000000000001,3.3 +6,7,1,295.5,451.20690637,6.530000000000001,3.4999999999999996 +6,8,1,186.5,444.9427825,6.349999999999999,3.4800000000000004 +6,9,1,60.900000000000006,446.74434396000004,5.450000000000001,3.079999999999999 +6,10,3,1.2333333333333332,455.73393054999997,3.636666666666666,2.686666666666667 +6,11,3,0.0,425.9281401666667,1.8299999999999983,3.143333333333333 +7,0,6,14.01851851851852,341.0587089333334,16.194444444444443,2.0407407407407407 +7,1,1,201.55555555555551,347.9073271888889,17.100000000000005,1.7777777777777777 +7,2,1,363.88888888888886,365.89487068888883,18.3,1.888888888888889 +7,3,1,536.5555555555555,392.48140216666667,19.544444444444444,1.9999999999999996 +7,4,1,657.1111111111111,413.4424561222222,20.544444444444444,2.6666666666666665 +7,5,4,727.8611111111112,429.09778952222223,23.011111111111113,2.694444444444444 +7,6,1,604.1111111111112,413.53483602222224,24.16666666666666,2.777777777777778 +7,7,2,427.1666666666667,403.70454118333333,24.127777777777776,2.111111111111111 +7,8,1,221.0,401.1763427666667,23.13333333333333,2.333333333333333 +7,9,1,82.22222222222223,402.3420650111111,22.333333333333336,2.333333333333333 +7,10,3,1.703703703703704,388.85782972962966,19.837037037037046,1.677777777777778 +7,11,2,0.0,364.79141556666667,17.849999999999998,2.0333333333333337 +8,0,6,4.159090909090908,349.57310038863636,9.915151515151518,2.465909090909091 +8,1,1,84.86363636363637,349.03187054090915,10.118181818181823,2.318181818181818 +8,2,1,170.40909090909088,362.4606902272727,10.859090909090906,2.8181818181818183 +8,3,1,256.0454545454545,386.2626238,11.877272727272732,3.0 +8,4,1,351.90909090909093,407.66759779090916,12.627272727272727,3.4090909090909096 +8,5,3,440.969696969697,428.82689041363636,14.365151515151517,3.6666666666666665 +8,6,2,349.5681818181818,415.38808339318183,15.413636363636362,3.477272727272727 +8,7,1,262.95454545454544,403.43763235000006,15.540909090909096,3.227272727272728 +8,8,1,173.5909090909091,399.0993026045455,15.386363636363642,3.0 +8,9,1,82.00000000000001,402.5807401818182,14.609090909090906,2.727272727272727 +8,10,3,8.348484848484848,409.27775050757583,12.772727272727277,1.9257575757575758 +8,11,3,0.0,383.33903955,10.98484848484848,2.1424242424242426 +9,0,5,0.0,434.12293216545453,-2.111818181818182,3.249090909090909 +9,1,1,0.0,455.14034204545453,-2.463636363636362,3.681818181818181 +9,2,1,0.0,513.6023523818183,-2.4636363636363643,3.772727272727273 +9,3,2,10.863636363636362,570.5357790045454,-2.440909090909091,3.7045454545454546 +9,4,1,78.9090909090909,581.5632544727272,-2.063636363636365,4.000000000000001 +9,5,4,157.8068181818182,590.7026545136364,-0.951136363636364,4.46590909090909 +9,6,1,87.5909090909091,582.2650124,-0.6,4.2727272727272725 +9,7,2,17.136363636363637,575.0900021363636,-0.9090909090909093,4.272727272727273 +9,8,3,0.0,586.1437856969696,-1.6787878787878763,4.33030303030303 +9,9,2,0.0,543.3372827772727,-2.0568181818181825,4.204545454545454 +9,10,1,0.0,510.01088013636365,-2.2090909090909077,4.15909090909091 +9,11,1,0.0,474.97977574545456,-2.290909090909092,4.140909090909091 +10,0,5,0.0,392.41514071565217,4.341739130434781,3.5069565217391294 +10,1,1,1.1304347826086956,413.634405726087,4.104347826086955,3.5652173913043477 +10,2,1,9.434782608695652,458.6540701173913,4.017391304347828,4.000000000000002 +10,3,1,30.608695652173914,493.62939919130434,4.126086956521739,4.347826086956522 +10,4,2,90.0217391304348,513.5160567434783,4.5478260869565235,4.521739130434784 +10,5,3,178.66666666666666,530.8584609000001,5.459420289855072,4.985507246376812 +10,6,2,147.76086956521738,524.7116570847826,5.923913043478265,5.58695652173913 +10,7,2,52.80434782608696,508.9188855086956,5.697826086956522,5.519565217391304 +10,8,3,3.1159420289855073,514.1628381999999,5.233333333333335,5.398550724637681 +10,9,2,0.0,480.05641012173913,4.817391304347825,4.965217391304348 +10,10,1,0.0,455.5093361782608,4.647826086956524,5.0086956521739125 +10,11,1,0.0,428.81944038695656,4.660869565217393,4.85217391304348 +11,0,6,3.513333333333332,364.335293552,13.082,2.553333333333334 +11,1,1,108.88000000000001,430.787892852,13.104000000000001,2.92 +11,2,1,201.56000000000003,466.90180493200006,13.787999999999997,3.400000000000001 +11,3,1,326.28,488.21204475599995,14.832000000000003,3.9600000000000004 +11,4,1,416.08,498.2342754840001,15.684,3.959999999999999 +11,5,4,468.57,515.408135663,17.417,4.6 +11,6,1,392.59999999999997,504.088753128,18.064,4.16 +11,7,1,305.35999999999996,495.16454701600003,17.936000000000003,3.7600000000000002 +11,8,2,153.21999999999997,486.410483284,16.868000000000002,3.2600000000000007 +11,9,3,10.506666666666662,468.22987085333335,15.084,2.444 +11,10,2,0.0,432.946091844,13.914000000000007,2.39 +11,11,1,0.0,393.734155492,13.472,2.4480000000000004 +12,0,6,0.13157894736842107,407.8238016412281,-0.9342105263157904,2.993859649122807 +12,1,1,13.368421052631579,467.9105033526316,-1.6210526315789475,2.315789473684211 +12,2,1,66.89473684210525,500.52515340526315,-1.3999999999999992,2.6315789473684212 +12,3,1,160.78947368421058,515.9875205263157,-0.6789473684210527,2.8421052631578947 +12,4,1,251.21052631578948,521.9365561,0.23157894736842016,2.8421052631578947 +12,5,4,368.36842105263156,536.3175825710526,2.55,3.4605263157894735 +12,6,1,303.6842105263158,531.8821579631579,3.8789473684210476,3.526315789473684 +12,7,1,203.47368421052633,524.5023753421052,3.7052631578947355,3.473684210526316 +12,8,1,96.42105263157896,513.9601050578948,3.4789473684210535,3.168421052631579 +12,9,3,5.614035087719298,522.1908090385964,1.8491228070175452,2.8912280701754387 +12,10,2,0.0,498.3484499605263,0.8394736842105288,3.0 +12,11,2,0.0,456.8040816368421,0.7000000000000007,3.405263157894736 +13,0,1,0.0,459.80281015714286,3.0571428571428587,6.142857142857142 +13,1,3,0.0,443.1656758142857,3.3761904761904757,6.952380952380951 +13,2,2,0.0,458.25973015,3.5071428571428567,5.785714285714286 +13,3,1,0.0,525.0078649857143,3.614285714285715,5.428571428571428 +13,4,2,6.857142857142857,582.1579307142856,3.75,5.785714285714286 +13,5,3,68.00000000000001,600.8420056619046,4.41904761904762,6.19047619047619 +13,6,3,79.57142857142858,605.773430747619,5.014285714285717,5.333333333333333 +13,7,1,33.42857142857143,591.9426918142857,5.014285714285714,4.285714285714286 +13,8,2,0.5,588.5287544785714,4.7357142857142875,5.142857142857143 +13,9,2,0.0,600.0176953714287,4.585714285714287,6.2142857142857135 +13,10,2,0.0,558.1012381857144,4.407142857142857,6.285714285714285 +13,11,2,0.0,508.4323051,4.121428571428572,5.857142857142858 +14,0,5,0.7210526315789473,365.0590437173684,10.30684210526316,1.6752631578947368 +14,1,1,43.44736842105263,387.5258737736843,9.992105263157898,1.947368421052631 +14,2,1,119.18421052631575,439.4490813315789,10.449999999999998,1.7105263157894728 +14,3,1,224.7894736842105,476.9876964078947,11.244736842105258,1.763157894736842 +14,4,2,337.657894736842,501.51577287763155,12.489473684210523,2.2315789473684213 +14,5,4,476.6381578947369,522.1859032894737,14.615789473684208,2.4144736842105265 +14,6,2,352.9210526315789,508.770504131579,15.228947368421053,2.2894736842105265 +14,7,1,231.97368421052641,493.33986826578956,15.023684210526312,2.134210526315789 +14,8,1,136.0,488.14670134736843,14.589473684210532,2.0026315789473688 +14,9,3,18.21929824561403,476.134921522807,13.012280701754388,1.6043859649122805 +14,10,2,0.0,437.5427492894737,11.660526315789477,1.7868421052631578 +14,11,1,0.0,401.74921106052636,11.284210526315785,1.8131578947368425 +15,0,3,0.0,362.76438655833334,-2.2749999999999995,2.4500000000000006 +15,1,3,0.0,361.9463133666667,-2.6750000000000003,2.891666666666667 +15,2,3,8.333333333333334,346.39861075833335,-2.7333333333333343,2.75 +15,3,1,48.75,350.61326412500006,-2.650000000000001,3.25 +15,4,1,100.00000000000001,356.80132742499995,-2.250000000000001,4.0 +15,5,1,165.25,364.685282875,-1.8250000000000006,4.0 +15,6,3,117.33333333333331,359.85005412500004,-1.4333333333333325,4.166666666666666 +15,7,1,65.49999999999999,356.81032592500003,-1.1499999999999986,4.25 +15,8,2,7.749999999999999,361.82617627499997,-1.3374999999999997,3.625 +15,9,2,0.0,361.2188522125,-1.6750000000000007,3.1375 +15,10,3,0.0,369.721765175,-1.5999999999999996,3.8499999999999996 +15,11,1,0.0,374.57222062499994,-1.7000000000000002,4.45 +16,0,6,8.173913043478263,336.2213566753623,11.375362318840581,1.8898550724637682 +16,1,1,126.69565217391306,335.26861438695653,11.278260869565216,1.7826086956521738 +16,2,1,232.60869565217394,348.46460602173914,12.347826086956523,2.0608695652173914 +16,3,1,331.391304347826,371.368705826087,13.391304347826088,2.260869565217391 +16,4,2,481.7826086956522,393.17286063695656,15.117391304347827,2.226086956521739 +16,5,3,594.4347826086956,408.9415485188406,17.320289855072463,2.768115942028986 +16,6,1,508.0434782608695,392.0796492,18.121739130434783,2.3739130434782614 +16,7,1,395.34782608695645,385.06018933478254,18.256521739130438,2.565217391304348 +16,8,1,274.60869565217394,381.50193931739125,18.078260869565213,2.3434782608695652 +16,9,1,151.34782608695656,386.03024058695655,17.604347826086958,2.1043478260869564 +16,10,1,46.69565217391304,389.2546106391304,16.460869565217394,1.5826086956521743 +16,11,5,0.3826086956521739,374.8914222304348,13.71391304347826,1.9869565217391305 +17,0,5,0.0,384.63736829636366,5.476363636363637,1.5090909090909093 +17,1,1,2.272727272727273,415.3652204181818,5.436363636363637,1.0909090909090908 +17,2,1,6.727272727272728,468.4344893545455,5.490909090909091,1.0909090909090908 +17,3,2,51.13636363636364,511.92719500909095,5.881818181818183,1.090909090909091 +17,4,2,131.81818181818178,527.8636352681818,7.099999999999999,1.0454545454545454 +17,5,3,165.0909090909091,536.7222242575757,8.175757575757576,1.727272727272727 +17,6,2,98.5,523.0285836954546,8.268181818181818,1.6363636363636362 +17,7,1,23.636363636363637,486.94384010000005,7.872727272727275,1.6363636363636362 +17,8,3,2.3939393939393945,524.4128208666666,7.1545454545454525,1.572727272727273 +17,9,1,0.0,499.0274602818182,6.518181818181818,1.690909090909091 +17,10,2,0.0,466.9259499227273,6.2772727272727264,1.5863636363636364 +17,11,1,0.0,428.41027602727274,5.945454545454546,1.9090909090909092 +18,0,4,0.0,346.949842525,4.058333333333334,6.499999999999998 +18,1,2,0.0,342.6878619166667,4.750000000000003,7.8166666666666655 +18,2,2,0.0,354.3453396833333,5.000000000000001,8.5 +18,3,1,3.6666666666666665,385.5855732,5.333333333333333,9.0 +18,4,1,28.333333333333336,406.6298200666667,5.533333333333335,9.666666666666666 +18,5,4,57.00000000000001,435.2716771166667,5.766666666666668,9.666666666666666 +18,6,1,28.999999999999996,429.8636241333333,6.4333333333333345,8.333333333333332 +18,7,2,1.5,428.09054221666673,6.916666666666667,9.0 +18,8,3,0.0,447.90118550000005,7.366666666666669,8.966666666666667 +18,9,1,0.0,427.4765475333333,7.666666666666669,8.833333333333334 +18,10,2,0.0,412.41377258333335,7.549999999999999,7.25 +18,11,1,0.0,385.19359653333333,7.633333333333335,6.2333333333333325 +19,0,1,0.0,404.3903472133333,-1.6533333333333327,2.1333333333333333 +19,1,6,0.0,384.4503720411111,-1.9122222222222218,1.6033333333333333 +19,2,1,0.13333333333333333,399.32833612666667,-1.9533333333333327,1.733333333333333 +19,3,1,17.666666666666668,423.72765826000006,-1.9666666666666681,1.7333333333333332 +19,4,1,68.93333333333332,444.01306286000005,-1.8400000000000007,1.7999999999999996 +19,5,4,123.10000000000002,465.30352010999997,-1.0016666666666665,2.1999999999999997 +19,6,1,63.4,453.30137853333326,-0.806666666666667,2.1333333333333333 +19,7,2,8.566666666666666,451.27795213666667,-1.05,2.2333333333333334 +19,8,3,0.0,473.0424051244445,-1.782222222222222,1.9244444444444444 +19,9,1,0.0,448.29724524666665,-2.1466666666666665,1.5466666666666666 +19,10,2,0.0,437.7526137566667,-2.2466666666666684,2.0833333333333335 +19,11,1,0.0,411.46307604666674,-2.193333333333335,2.3866666666666667 diff --git a/test/test_segmentation.py b/test/test_segmentation.py index 011f3ca..e7c2521 100644 --- a/test/test_segmentation.py +++ b/test/test_segmentation.py @@ -32,6 +32,7 @@ def test_segmentation(): noTypicalPeriods=20, hoursPerPeriod=24, clusterMethod="hierarchical", + representationMethod="meanRepresentation", segmentation=True, noSegments=12, )