% parameters

master5

% SAMPLE TIME %

Tsample = 1e-6;
Tmeasure = 5e-5;
Tcontrol = 5e-5     *2;
Tscope = Tsample    *1000;

% Power.Ts =      Tsample         *2;
% Measur.Ts =     Power.Ts        *2;
% Control.Ts =    Measur.Ts       *4;

% Delay1 = round(20e-3 / Power.Ts * 2/3);
% Delay2 = round(20e-3 / Power.Ts * 4/3);

% Power.NbrSamp = Power.Ts / Tsample;
% Measur.NbrSamp = Measur.Ts / Tsample;
% Control.NbrSamp = Control.Ts / Tsample;

% Constant parameters
f = 50;
L_filt = 10e-3  /2  *2;
C_filt = 4.7e-6 /2  /2;



% za model novo4
En = 0;
En0 = 0;

Kcp = 8.8;
Kcp0 = 8.8;
Tci = 0.001;
Tci0 = 0.001;
Tcr = 0.0005        *100;
Tcr0 = 0.0005        *100;

Kvp = 2.4;
Kvp0 = 2.4;
Tvi = 0.05;
Tvi0 = 0.05;
Tvr = 0.05;
Tvr0 = 0.05;
