%% Rychlost vozu, pod kterou dojdek deaktivaci rekuperace

w_deak_rek=5;

%%E - jizda

v_Ejiz_max=50; %km/hod

%%Krivka P EM max - discharge
Pem_nom_P4=40.5; %kW
Pem_nom_P0=13.5; %kW

Pem1_P4=0;
Pem2_P4=0.3;
Pem3_P4=0.6;
Pem4_P4=0.8;
Pem5_P4=1;

Pem1_P0=0;
Pem2_P0=0.3;
Pem3_P0=0.6;
Pem4_P0=0.8;
Pem5_P0=1;

SOC1_D=1;
SOC2_D=0.8;
SOC3_D=0.7;
SOC4_D=0.5;
SOC5_D=0.35;
SOC6_D=0.15;
SOC7_D=0;
%%Krivka P G max - charge
Pg_nom_P4=-40.5; %kW
Pg_nom_P0=-13.5; %kW

Pg1_P4=0;
Pg2_P4=0.3;
Pg3_P4=0.6;
Pg4_P4=0.8;
Pg5_P4=1;

Pg1_P0=1;
Pg2_P0=1;
Pg3_P0=1;
Pg4_P0=1;
Pg5_P0=1;

SOC1_CH=1;
SOC2_CH=0.8;
SOC3_CH=0.7;
SOC4_CH=0.5;
SOC5_CH=0.35;
SOC6_CH=0.15;
SOC7_CH=0;