In [357]: runfile('/home/daniela/Documents/politecnico/research_activity/research_topics/Battery_Switching_Stations/BSS-main_Dany/main.py', wdir='/home/daniela/Documents/politecnico/research_activity/research_topics/Battery_Switching_Stations/BSS-main_Dany')

Reloaded modules: sim, config, components.socket, components.battery, components.ev, components.bss, components.pv_surplus_handler, data_manager, statistics_GC, plot

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 0 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 0.024658

Mean cost: 55.997661

Mean net cost: 41.637631

Max PV stored energy: 143.439802

Cost per service: 0.550179

Mean consumption: 1609649.748941

Mean grid consumption: 880176.058732

Mean SPV: 729473.690209

Mean saving: 14.360030

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 10 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 1.438356

Mean cost: 49.117192

Mean net cost: 35.434141

Max PV stored energy: 91.324353

Cost per service: 0.489375

Mean consumption: 1576484.456665

Mean grid consumption: 819543.046656

Mean SPV: 756941.410009

Mean saving: 13.683051

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 11 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 1.797260

Mean cost: 48.520894

Mean net cost: 34.851349

Max PV stored energy: 91.324353

Cost per service: 0.485169

Mean consumption: 1572114.945020

Mean grid consumption: 815287.604942

Mean SPV: 756827.340078

Mean saving: 13.669545

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 12 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 2.112329

Mean cost: 47.959653

Mean net cost: 34.351567

Max PV stored energy: 91.324353

Cost per service: 0.481073

Mean consumption: 1568068.010931

Mean grid consumption: 811508.822074

Mean SPV: 756559.188857

Mean saving: 13.608086

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 13 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 2.569863

Mean cost: 47.296280

Mean net cost: 33.709322

Max PV stored energy: 91.324353

Cost per service: 0.476606

Mean consumption: 1562260.542392

Mean grid consumption: 805961.387234

Mean SPV: 756299.155158

Mean saving: 13.586958

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 14 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 3.046575

Mean cost: 46.537307

Mean net cost: 32.958207

Max PV stored energy: 91.324353

Cost per service: 0.471221

Mean consumption: 1554407.488467

Mean grid consumption: 798328.389898

Mean SPV: 756079.098569

Mean saving: 13.579100

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 15 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 3.671233

Mean cost: 45.556755

Mean net cost: 31.991650

Max PV stored energy: 91.324353

Cost per service: 0.464229

Mean consumption: 1542656.261658

Mean grid consumption: 786697.668363

Mean SPV: 755958.593296

Mean saving: 13.565105

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 16 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 4.608219

Mean cost: 44.316249

Mean net cost: 30.760181

Max PV stored energy: 91.324353

Cost per service: 0.455941

Mean consumption: 1525409.995052

Mean grid consumption: 769688.726364

Mean SPV: 755721.268688

Mean saving: 13.556068

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 17 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 5.909589

Mean cost: 42.704014

Mean net cost: 29.157017

Max PV stored energy: 91.324353

Cost per service: 0.445316

Mean consumption: 1501250.381678

Mean grid consumption: 745575.173113

Mean SPV: 755675.208564

Mean saving: 13.546997

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 18 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 7.769863

Mean cost: 40.685044

Mean net cost: 27.165056

Max PV stored energy: 91.324353

Cost per service: 0.432656

Mean consumption: 1469325.672540

Mean grid consumption: 713553.882340

Mean SPV: 755771.790200

Mean saving: 13.519988

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 19 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 10.372603

Mean cost: 38.351438

Mean net cost: 24.917487

Max PV stored energy: 91.324353

Cost per service: 0.419449

Mean consumption: 1431008.790170

Mean grid consumption: 675326.193307

Mean SPV: 755682.596863

Mean saving: 13.433952

-

PV: 500 , NBSS: 20 , BTH: 18000.0 , WMAX: 15 , F: 20 , TMAX: 480

Mean arrivals: 101.805479

Mean loss: 13.983562

Mean cost: 35.821273

Mean net cost: 22.524143

Max PV stored energy: 91.324353

Cost per service: 0.407885

Mean consumption: 1388629.441877

Mean grid consumption: 632998.639718

Mean SPV: 755630.802159

Mean saving: 13.297130

-

[0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

[0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

In [358]: