In [370]: 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: 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: 17 , TMAX: 0

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: 17 , TMAX: 60

Mean arrivals: 101.805479

Mean loss: 0.115068

Mean cost: 55.690782

Mean net cost: 41.490951

Max PV stored energy: 143.439802

Cost per service: 0.547650

Mean consumption: 1606948.292758

Mean grid consumption: 877410.913621

Mean SPV: 729537.379137

Mean saving: 14.199831

-

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

Mean arrivals: 101.805479

Mean loss: 0.076712

Mean cost: 55.815835

Mean net cost: 41.618384

Max PV stored energy: 143.439802

Cost per service: 0.548673

Mean consumption: 1608510.419823

Mean grid consumption: 878884.074058

Mean SPV: 729626.345765

Mean saving: 14.197451

-

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

Mean arrivals: 101.805479

Mean loss: 0.071233

Mean cost: 55.827585

Mean net cost: 41.514214

Max PV stored energy: 143.439802

Cost per service: 0.548759

Mean consumption: 1608535.269830

Mean grid consumption: 878806.420579

Mean SPV: 729728.849251

Mean saving: 14.313372

-

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

Mean arrivals: 101.805479

Mean loss: 0.073973

Mean cost: 55.835855

Mean net cost: 41.521919

Max PV stored energy: 143.439802

Cost per service: 0.548855

Mean consumption: 1608343.894699

Mean grid consumption: 878616.169484

Mean SPV: 729727.725215

Mean saving: 14.313937

-

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

Mean arrivals: 101.805479

Mean loss: 0.071233

Mean cost: 55.852149

Mean net cost: 41.654132

Max PV stored energy: 143.439802

Cost per service: 0.549000

Mean consumption: 1608444.914176

Mean grid consumption: 878829.012308

Mean SPV: 729615.901868

Mean saving: 14.198017

-

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

Mean arrivals: 101.805479

Mean loss: 0.123288

Mean cost: 55.779821

Mean net cost: 41.582375

Max PV stored energy: 143.439802

Cost per service: 0.548570

Mean consumption: 1607191.395367

Mean grid consumption: 877350.440023

Mean SPV: 729840.955344

Mean saving: 14.197446

-

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

Mean arrivals: 101.805479

Mean loss: 0.101370

Mean cost: 55.773808

Mean net cost: 41.552612

Max PV stored energy: 143.439802

Cost per service: 0.548393

Mean consumption: 1607395.896891

Mean grid consumption: 876954.181014

Mean SPV: 730441.715877

Mean saving: 14.221196

-

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

Mean arrivals: 101.805479

Mean loss: 0.106849

Mean cost: 55.746511

Mean net cost: 41.531311

Max PV stored energy: 143.439802

Cost per service: 0.548154

Mean consumption: 1607102.247493

Mean grid consumption: 876477.232700

Mean SPV: 730625.014793

Mean saving: 14.215200

-

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

Mean arrivals: 101.805479

Mean loss: 0.131507

Mean cost: 55.640515

Mean net cost: 41.472972

Max PV stored energy: 143.439802

Cost per service: 0.547244

Mean consumption: 1606367.017932

Mean grid consumption: 875263.230268

Mean SPV: 731103.787664

Mean saving: 14.167543

-

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

Mean arrivals: 101.805479

Mean loss: 0.126027

Mean cost: 55.631770

Mean net cost: 41.410423

Max PV stored energy: 143.439802

Cost per service: 0.547129

Mean consumption: 1606565.274970

Mean grid consumption: 875254.598352

Mean SPV: 731310.676618

Mean saving: 14.221347

-




[0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600]


[0, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600]





In [371]: 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.041096

Mean cost: 55.906969

Mean net cost: 41.680595

Max PV stored energy: 143.439802

Cost per service: 0.549377

Mean consumption: 1608809.693182

Mean grid consumption: 878712.917317

Mean SPV: 730096.775865

Mean saving: 14.226374

-

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

Mean arrivals: 101.805479

Mean loss: 0.046575

Mean cost: 55.886971

Mean net cost: 41.662434

Max PV stored energy: 143.439802

Cost per service: 0.549210

Mean consumption: 1608622.933147

Mean grid consumption: 878450.799134

Mean SPV: 730172.134012

Mean saving: 14.224537

-

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

Mean arrivals: 101.805479

Mean loss: 0.054795

Mean cost: 55.870060

Mean net cost: 41.645943

Max PV stored energy: 143.439802

Cost per service: 0.549088

Mean consumption: 1608406.786452

Mean grid consumption: 878212.521176

Mean SPV: 730194.265275

Mean saving: 14.224118

-

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

Mean arrivals: 101.805479

Mean loss: 0.063014

Mean cost: 55.845558

Mean net cost: 41.622639

Max PV stored energy: 143.439802

Cost per service: 0.548891

Mean consumption: 1608093.471116

Mean grid consumption: 877845.012271

Mean SPV: 730248.458845

Mean saving: 14.222919

-

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

Mean arrivals: 101.805479

Mean loss: 0.079452

Mean cost: 55.808576

Mean net cost: 41.588244

Max PV stored energy: 143.439802

Cost per service: 0.548616

Mean consumption: 1607705.140442

Mean grid consumption: 877326.389415

Mean SPV: 730378.751027

Mean saving: 14.220332

-

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

Mean arrivals: 101.805479

Mean loss: 0.082192

Mean cost: 55.786124

Mean net cost: 41.568045

Max PV stored energy: 143.439802

Cost per service: 0.548411

Mean consumption: 1607484.701500

Mean grid consumption: 877000.244605

Mean SPV: 730484.456895

Mean saving: 14.218078

-

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

Mean arrivals: 101.805479

Mean loss: 0.090411

Mean cost: 55.781262

Mean net cost: 41.563183

Max PV stored energy: 143.439802

Cost per service: 0.548407

Mean consumption: 1607405.260111

Mean grid consumption: 876920.803216

Mean SPV: 730484.456895

Mean saving: 14.218078

-

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

Mean arrivals: 101.805479

Mean loss: 0.106849

Mean cost: 55.746511

Mean net cost: 41.531311

Max PV stored energy: 143.439802

Cost per service: 0.548154

Mean consumption: 1607102.247493

Mean grid consumption: 876477.232700

Mean SPV: 730625.014793

Mean saving: 14.215200

-

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

Mean arrivals: 101.805479

Mean loss: 0.131507

Mean cost: 55.674129

Mean net cost: 41.502216

Max PV stored energy: 143.439802

Cost per service: 0.547575

Mean consumption: 1606348.419261

Mean grid consumption: 875424.653799

Mean SPV: 730923.765462

Mean saving: 14.171913

-

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

Mean arrivals: 101.805479

Mean loss: 0.156164

Mean cost: 55.614424

Mean net cost: 41.444900

Max PV stored energy: 143.439802

Cost per service: 0.547121

Mean consumption: 1605578.064686

Mean grid consumption: 874542.584685

Mean SPV: 731035.480001

Mean saving: 14.169524

-

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

Mean arrivals: 101.805479

Mean loss: 0.175342

Mean cost: 55.601907

Mean net cost: 41.431665

Max PV stored energy: 143.439802

Cost per service: 0.547101

Mean consumption: 1605294.756648

Mean grid consumption: 874308.301800

Mean SPV: 730986.454848

Mean saving: 14.170242

-




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