% Prenosova impedance (reaktance) pred poruchou
Zekv12A=(Xdc+Xt1+Xv/2+Xt2+Xk)*i

% Prenosova impedance (reaktance) po poruse 1f zemni
% Prevod Hvezdy na trojuhelnik
ZI=Xdc+Xt1+Z11
ZJ=Z31+Xt2+Xk
ZK=Z21+Zekv
Zekv12B=(ZI*ZJ+ZI*ZK+ZJ*ZK)/ZK*i

% Prenosova impedance (reaktance) po vypnuti poruchy
Zekv12C=(Xdc+Xt1+Xv+Xt2+Xk)*i

% Prenosova impedance (reaktance) po poruse 3f
% Prevod Hvezdy na trojuhelnik
ZI=Xdc+Xt1+Z11
ZJ=Z31+Xt2+Xk
ZK=Z21
Zekv12D=(ZI*ZJ+ZI*ZK+ZJ*ZK)/ZK*i

% Vykon turbiny v predporuchovem stavu
% Pt0=P(0)=E*U/Z12*sin(delta(0))
% V predporucovem stavu dle prikladu 4-4 delta je 0.457
Pt0=1.1*1.1*(110000/sqrt(3))*(110000/sqrt(3))/Zekv12A*sin(0.457)

% Maximalni vykon alternatoru
PmaxA=1.1*1.1*(110000/sqrt(3))*(110000/sqrt(3))/Zekv12A

PmaxB=1.1*1.1*(110000/sqrt(3))*(110000/sqrt(3))/Zekv12B

PmaxC=1.1*1.1*(110000/sqrt(3))*(110000/sqrt(3))/Zekv12C

PmaxD=1.1*1.1*(110000/sqrt(3))*(110000/sqrt(3))/Zekv12D

