In [354]: 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: 0.273973

Mean cost: 53.613040

Mean net cost: 40.540943

Max PV stored energy: 143.439802

Cost per service: 0.528043

Mean consumption: 1581822.448815

Mean grid consumption: 832462.477774

Mean SPV: 749359.971042

Mean saving: 13.072097

-

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

Mean arrivals: 101.805479

Mean loss: 0.339726

Mean cost: 53.130915

Mean net cost: 40.140487

Max PV stored energy: 18.983529

Cost per service: 0.523634

Mean consumption: 1575906.874554

Mean grid consumption: 824238.082597

Mean SPV: 751668.791957

Mean saving: 12.990428

-

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

Mean arrivals: 101.805479

Mean loss: 0.449315

Mean cost: 52.616274

Mean net cost: 39.737519

Max PV stored energy: 18.983529

Cost per service: 0.519123

Mean consumption: 1569215.946092

Mean grid consumption: 815570.831211

Mean SPV: 753645.114881

Mean saving: 12.878755

-

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

Mean arrivals: 101.805479

Mean loss: 0.580822

Mean cost: 52.068985

Mean net cost: 39.234212

Max PV stored energy: 18.983529

Cost per service: 0.514390

Mean consumption: 1561578.735074

Mean grid consumption: 806496.679613

Mean SPV: 755082.055461

Mean saving: 12.834773

-

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

Mean arrivals: 101.805479

Mean loss: 0.769863

Mean cost: 51.486002

Mean net cost: 38.692919

Max PV stored energy: 18.983529

Cost per service: 0.509583

Mean consumption: 1553117.843473

Mean grid consumption: 797006.331471

Mean SPV: 756111.512002

Mean saving: 12.793083

-

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

Mean arrivals: 101.805479

Mean loss: 0.958904

Mean cost: 50.888264

Mean net cost: 38.105171

Max PV stored energy: 18.983529

Cost per service: 0.504611

Mean consumption: 1543739.786198

Mean grid consumption: 787344.009051

Mean SPV: 756395.777147

Mean saving: 12.783093

-

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

Mean arrivals: 101.805479

Mean loss: 1.268493

Mean cost: 50.294805

Mean net cost: 37.333955

Max PV stored energy: 18.983529

Cost per service: 0.500262

Mean consumption: 1533853.324831

Mean grid consumption: 777673.349249

Mean SPV: 756179.975583

Mean saving: 12.960850

-

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

Mean arrivals: 101.805479

Mean loss: 1.643836

Mean cost: 49.754262

Mean net cost: 36.792191

Max PV stored energy: 18.983529

Cost per service: 0.496740

Mean consumption: 1524107.990230

Mean grid consumption: 768745.508572

Mean SPV: 755362.481658

Mean saving: 12.962071

-

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

Mean arrivals: 101.805479

Mean loss: 2.052055

Mean cost: 49.273005

Mean net cost: 36.286403

Max PV stored energy: 85.963963

Cost per service: 0.493948

Mean consumption: 1515175.433840

Mean grid consumption: 760709.893620

Mean SPV: 754465.540220

Mean saving: 12.986603

-

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

Mean arrivals: 101.805479

Mean loss: 2.432877

Mean cost: 48.852657

Mean net cost: 36.020426

Max PV stored energy: 85.963963

Cost per service: 0.491611

Mean consumption: 1507376.795061

Mean grid consumption: 753672.246024

Mean SPV: 753704.549036

Mean saving: 12.832232

-

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

Mean arrivals: 101.805479

Mean loss: 2.794521

Mean cost: 48.549924

Mean net cost: 35.698530

Max PV stored energy: 0.000000

Cost per service: 0.490349

Mean consumption: 1501448.463862

Mean grid consumption: 748521.000346

Mean SPV: 752927.463516

Mean saving: 12.851393

-

[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 [355]: