Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ITAJUB
2016
ANEXOS
%Lista de Exercicios - EEL703 - Lucas Gomes de
Almeida - 24509
%Junho de 2016
%% Questo 2
% LETRA A)
P2 = 300; %MW
fp2 = 0.92; %indutivo
%% QUESTO 1
clc
clear all
%Dados do circuito de Sequencia Positiva
f = 60; %Hz
V = 345; %kV, V de linha
R = 0.08; %Ohm/km
L = 1.336*(10^-3); %H/km
G = 3.75*(10^-8); %Siemens/km
C = 8.6*(10^-9); %F/km
l = 400; %km
%Clculo de X e B
X = L*2*pi*f;
B = C*2*pi*f;
%Clculo de Z e Y
Z = R + 1i*X; %Ohm/km
Y = G + 1i*B; %Ohm/km
% Impedncia Natural da LT
Zo = sqrt(L/C); %ohms
% a - Impedncia Caracterstica
Zc = sqrt(Z/Y); %ohms
Zc_mod = abs(Zc); %ohms
Zc_deg = rad2deg(angle(Zc)); %deve estar entre
-10 e 0 graus;
% b - O coeficiente de propagao gama
gama = sqrt(Z*Y); %km^-1
alfa = real(gama); %Npers/m
beta = imag(gama); %rad/km
% c- A velocidade de propagacao v
v = 1/(sqrt(L*C)); %Km/s
% d - O comprimento de onda lambda
lambda = (v/f); %km
% e - A potncia caracterstica complexa
Sc = (V^2)/(conj(Zc)); % V tenso de linha em
kV e Sc potncia trifsica em MVA.
Sc_mod = abs(Sc); %MVA
Sc_deg = rad2deg(angle(Sc)); %graus
Sc_real = real(Sc); %MW
Sc_imag = imag(Sc); %MVar
%Plotando as respostas
fprintf('\nQUESTO NMERO 1');
fprintf('\n\n a) Mdulo de Zc = %.5f
[omhs]',Zc_mod);
fprintf('\n O ngulo de Zc %.5f
[graus]',Zc_deg);
fprintf('\n\n b) alfa = %.5e [Np/km]',alfa);
fprintf('\n beta = %.5f [rad/km]\n',beta);
fprintf('\n c) v = %.5f [km/s]',v);
fprintf('\n\n d) lambda = %.5f [Km]',lambda);
fprintf('\n\n e) Sc_mod = %.5f [MVA]',Sc_mod);
fprintf('\n Sc_deg = %.5f [graus]',Sc_deg);
fprintf('\n Sc_real = %.5f [MW]',Sc_real);
%Clculos
%Transformando a carga em impedncia constante
S2_mod = P2/fp2; %MW
Q2 = S2_mod*sin(acos(fp2)); %MVar
S2 = P2 + 1i*Q2; %MVA
Z2 = V^2/conj(S2); %ohms
%Clculo de v2 e i2
v2 = 1.0*V/(sqrt (3)); %kV, tenso de fase, na
referncia
i2 = v2/Z2; %kA
%Constantes do quadripolo da LT ( terminal
receptor na referncia)
A = cosh(gama*l);
D = A;
B = Zc*sinh(gama*l);
C = (1/Zc)*sinh(gama*l);
%Equaes do quadripolo, para x = l)
v1 = A*v2 + B*i2; %kV
i1 = C*v2 + D*i2; %kA
%Mostrando os resultados
v1_mod = abs(v1);
v1_deg = rad2deg(angle(v1));
i1_mod = abs(i1);
i1_deg = rad2deg(angle(i1));
%Mostrando os resultados
fprintf('\n\nQUESTO 2');
fprintf('\n\n a)O Mdulo de v1 = %.5f
[kV]',v1_mod);
fprintf('\n O ngulo de v1 %.5f
[graus]',v1_deg);
fprintf('\n O Mdulo de i1 = %.5f
[kA]',i1_mod);
fprintf('\n O ngulo de i1 %.5f
[graus]',i1_deg);
% LETRA B)
i2 = 0; % Em vazio
%v2 = igual ao anterior;
%Equaes do quadripolo,para x = l)
v1 = A*v2 + B*i2; %kV
i1 = C*v2 + D*i2; %kA
%Mostrando os resultados
v1_mod = abs(v1);
v1_deg = rad2deg(angle(v1));
i1_mod = abs(i1);
i1_deg = rad2deg(angle(i1));
%Mostrando os resultados
fprintf('\n\n b) Mdulo de v1 = %.5f
[kV]',v1_mod);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
%% Questo nmero 3
fprintf('\n\nQUESTO 4');
fprintf('\n\n a) Mdulo de
[kV]',v1_mod);
fprintf('\n O ngulo de v1
[graus]',v1_deg);
fprintf('\n Mdulo de i1 =
fprintf('\n O ngulo de i1
[graus]\n',i1_deg);
=
=
=
=
abs(v1);
rad2deg(angle(v1));
abs(i1);
rad2deg(angle(i1));
v1_mod
v1_deg
i1_mod
i1_deg
=
=
=
=
abs(v1);
rad2deg(angle(v1));
abs(i1);
rad2deg(angle(i1));
v1 = %.5f
%.5f
%.5f [kA]',i1_mod);
%.5f
% LETRA B)
Kv2 = 1; % em vazio
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
v1_mod
v1_deg
i1_mod
i1_deg
=
=
=
=
abs(v1);
rad2deg(angle(v1));
abs(i1);
rad2deg(angle(i1));
fprintf('\n\n b) Mdulo de
[kV]',v1_mod);
fprintf('\n O ngulo de v1
[graus]',v1_deg);
fprintf('\n Mdulo de i1 =
fprintf('\n O ngulo de i1
[graus]\n',i1_deg);
v1 = %.5f
%.5f
%.5f [kA]',i1_mod);
%.5f
% LETRA B)
%% Questo 5
i2 = 0; % Em vazio
%v2 = igual ao anterior
v1 = (cosh(gama*(0-l)))*v2 -Zc*(sinh(gama*(0l)))*i2;
i1 = (cosh(gama*(0-l)))*i2 (1/Zc)*(sinh(gama*(0-l)))*v2;
v1_mod
v1_deg
i1_mod
i1_deg
=
=
=
=
abs(v1);
rad2deg(angle(v1));
abs(i1);
rad2deg(angle(i1));
fprintf('\n\n b) Mdulo de
[kV]',v1_mod);
fprintf('\n O ngulo de v1
[graus]',v1_deg);
fprintf('\n Mdulo de i1 =
fprintf('\n O ngulo de i1
[graus]\n',i1_deg);
v1 = %.5f
%.5f
%.5f [kA]',i1_mod);
%.5f
%% Questo 4
%Deve-se utilizar a 3 condio: v1 e Z2
conhecidas
%Clculo de v1
v1 = 1.10*V/(sqrt (3)); %kV, tenso de fase, na
referncia
% LETRA A)
%Z2 nao se altera
Kv2 = (Z2 - Zc)/(Z2+Zc);
teta = Kv2*exp(-2*gama*l);
% Constante A
A_real = real(A);
A_imag = imag(A);
A_mod = abs(A);
A_deg = rad2deg(angle(A));
%Constante B
B_real = real(B);
B_imag = imag(B);
B_mod = abs(B);
B_deg = rad2deg(angle(B));
%Constante C
C_real = real(C);
C_imag = imag(C);
C_mod = abs(C);
C_deg = rad2deg(angle(C));
%Constante D
D_real = real(D);
D_imag = imag(D);
D_mod = abs(D);
D_deg = rad2deg(angle(D));
%Mostrando os resultados
fprintf('\n\nQUESTO 5');
fprintf('\n\n A = %.5f |_ %.5f
[admensional]',A_mod, A_deg);
fprintf('\n A = %.5f + %.5fi
[admensional]',A_real, A_imag);
fprintf('\n\n B = %.5f |_ %.5f [ohms]',B_mod,
B_deg);
fprintf('\n B = %.5f + %.5fi [ohms]',B_real,
B_imag);
Vbase = V; %[kv]
Sbase = 100; %[MVA]
Zbase = (Vbase^2)/Sbase;
Ybase = 1/Zbase;
%Calculo da impendancia em p.u.
Zlinha_pu = Zlinha/Zbase;
Zlinha_pu_real = real(Zlinha_pu);
Zlinha_pu_imag = imag(Zlinha_pu);
Zlinha_pu_mod = abs(Zlinha_pu);
Zlinha_pu_deg = rad2deg(angle(Zlinha_pu));
%Calculo do parametro Shunt em p.u.
Ylinha_sobre2_pu = Ylinha_sobre2/Ybase;
Ylinha_sobre2_pu_real = real(Ylinha_sobre2_pu);
Ylinha_sobre2_pu_imag = imag(Ylinha_sobre2_pu);
Ylinha_sobre2_pu_mod = abs(Ylinha_sobre2_pu);
Ylinha_sobre2_pu_deg =
rad2deg(angle(Ylinha_sobre2_pu));
%Mostrando os resultados
fprintf('\n\n\n Zbase = %.6f [ohms] ',Zbase);
fprintf('\n Ybase = %.6f [Siemens] ',Ybase);
fprintf('\n\n Zlinha_pu = %.6f |_ %.6f [pu]
',Zlinha_pu_mod, Zlinha_pu_deg);
fprintf('\n Zlinha_pu = %.6f + %.6fi [pu]
',Zlinha_pu_real, Zlinha_pu_imag);
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
real(A);
imag(A);
real(B);
imag(B);
real(C);
imag(C);
real(D);
imag(D);
abs(A);
rad2deg(angle(A));
abs(B);
rad2deg(angle(B));
abs(C);
rad2deg(angle(C));
abs(D);
rad2deg(angle(D));
%Mostrando os resultados
fprintf('\n\n\nQUESTO 5 utilizando o pi
equivalente');
fprintf('\n\n A = %.5f |_ %.5f
[admensional]',A_mod, A_deg);
fprintf('\n A = %.5f + %.5fi
[admensional]',A_real, A_imag);
fprintf('\n\n B = %.5f |_ %.5f [ohms]',B_mod,
B_deg);
fprintf('\n B = %.5f + %.5fi [ohms]',B_real,
B_imag);
fprintf('\n\n C = %.5f |_ %.5f [mhos]',C_mod,
C_deg);
fprintf('\n C = %.5f + %.5fi [mhos]',C_real,
C_imag);
fprintf('\n\n D = %.5f |_ %.5f
[admensional]',D_mod, D_deg);
fprintf('\n D = %.5f + %.5fi
[admensional]',D_real, D_imag);
%% Questo 7
v1 = 1.05*V/(sqrt (3)); %kV, tenso de fase,
na referncia
v1_deg = 0;
%Modelagem da carga:
S2_mod = 300; %MVA
fp2 = 0.92; %indutivo
%Clculos
%Transformando a carga em impedncia constante
P2 = S2_mod*fp2; %MW
Q2 = S2_mod*sin(acos(fp2)); %MVar
S2 = P2 + 1i*Q2;%MVA
Z2 = V^2/conj(S2);%em ohms
%Utilizando parmetros distribudos, vem:
=
=
=
=
abs(v2);
rad2deg(angle(v2));
abs(i2);
rad2deg(angle(i2));
fprintf('\n\n ib = %.6f
ib_deg);
fprintf('\n\n ic = %.6f
ic_deg);
fprintf('\n\n i2 = %.6f
i2_deg);
fprintf('\n\n v2 = %.6f
v2_deg);
fprintf('\n\n ngulo de
[graus]',delta);
|_ %.6f [kA]',ib_mod,
|_ %.6f [kA]',ic_mod,
|_ %.6f [kA]',i2_mod,
|_ %.6f [kV]',v2_mod,
potncia, delta = %.6f
%% Questo 9
%Fluxos de potncia (TRIFSICO)
%Se entrarmos com tenso de fase, obteremos
potncia por fase, ento tem
%que multiplicar por 3. Se entrarmos com tenso
de linha, j obteremos
%potncia trifsica.
v1 = 1.05*V/(sqrt (3)); %kV, tenso de fase, na
referncia
v2_mod = abs(v2); %v2 j calculado
anteriormente
%Terminal TRANSMISSOR
P1 = 3*((A_mod*v1^2/B_mod)*cos(deg2rad(B_deg A_deg))- v1*v2_mod/B_mod*cos(deg2rad(B_deg +
delta)));
ib = i1 - ia;
ib_mod = abs(ib);
ib_deg = rad2deg(angle(ib));
ic = Ylinha_sobre2*(v1 - Zlinha*ib);
ic_mod = abs(ic);
ic_deg = rad2deg(angle(ic));
S2 = 3*v2*conj(i2);
P2_2 = (abs(S2))*fp2;
Q2_2 = (abs(S2))*sin(acos(fp2));
i2 = ib - ic;
i2_mod = abs(i2);
i2_deg = rad2deg(angle(i2));
S1 = 3*v1*conj(i1);
P1_2 = (abs(S1))*cos(angle(S1));
Q1_2 = (abs(S1))*sin(angle(S1));
v2 = i2*Z2;
v2_mod = abs(v2);
v2_deg = rad2deg(angle(v2));
%Mostrando os resultados
fprintf('\n\n\nQUESTO 8');
fprintf('\n\n Yth = %.6f |_ %.6f
[Siemens]',Yth_mod, Yth_deg);
fprintf('\n\n i1 = %.6f |_ %.6f [kA]',i1_mod,
i1_deg);
fprintf('\n\n ia = %.6f |_ %.6f [kA]',ia_mod,
ia_deg);
%Mostrando os resultados
fprintf('\n\n\nQUESTO 9');
fprintf('\n\n P1 = %.6f [MW]',P1);
fprintf('\n\n P1_2 = %.6f [MW]',P1_2);
fprintf('\n\n P2 = %.6f [MW]',P2);
fprintf('\n\n P2_2 = %.6f [MW]',P2_2);
fprintf('\n\n Q1 = %.6f [MVar]',Q1);
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
%% Questo 10
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
v1 = 1.05*V/sqrt(3);
v2 = 1*V/sqrt(3); % o objetivo, manter 1 pu
no terminal receptor
figure(2);
pplot (x,vs,is);
figure(1);
pplot (x,vs,is);
%Caso B o 11.1
l = 3*lambda/4;
%Caso A do 11.2
l = lambda/2;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(3);
pplot (x,vs,is);
%Caso 2 do 11.2
l = lambda;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(4);
pplot (x,vs,is);
% Para LT em curto, temos:
% Caso A do 11.1
Z2 = 0;
% em curto Z2 zero
Kv2 = (Z2 - Zc)/(Z2+Zc);
l = lambda/4;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(5);
pplot (x,vs,is);
%Caso B do 11.1 para LT em curto
l = 3*lambda/4;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(6);
pplot (x,vs,is);
%Caso A do 11.2 para LT em curto
l = lambda/2;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(7);
pplot (x,vs,is);
%Caso B do 11.2 para LT em curto
l = lambda;
teta = Kv2*exp(-2*gama*l);
i1 = (1/Zc)*((1-teta)/(1+teta))*v1;
x = linspace(0,(l),1000);
v2 = abs((cosh(gama*x)*v1 Zc*sinh(gama*x)*i1));
i2 = abs((-(1/Zc)*sinh(gama*x)*v1 +
cosh(gama*x)*i1));
vs = v2/(500/sqrt(3));
is = i2/(100/(500*sqrt(3)));
figure(8);
pplot (x,vs,is);
%% Questo 12
% LETRA A)
SP2 = 300; %MW
fp2 = 0.92; %indutivo
%Clculos
%Transformando a carga em impedncia constante
S2_mod = P2/fp2; %MW
Q2 = S2_mod*sin(acos(fp2)); %MVar
S2 = P2 + 1i*Q2; %MVA
Z2 = V^2/conj(S2); %ohms
%Clculo de v2 e i2
v2 = 1.0*V/(sqrt (3)); %kV, tenso de fase, na
referncia
i2 = v2/Z2; %kA
x = linspace(0,(l),1000);
%Equaes 20 e 21 com o terminal transmissor na
referncia
v1 = abs((cosh(gama*(x-l))*v2 Zc*sinh(gama*(x-l))*i2));
i1 = abs((-(1/Zc)*sinh(gama*(x-l))*v2 +
cosh(gama*(x-l))*i2));
vs = v1/(500/sqrt(3));
is = i1/(100/(500*sqrt(3)));
figure(9);
pplot (x,vs,is);
% LETRA B)
%LT em vazio
i2 = 0;
v2 = 1.0*V/(sqrt (3));
x = linspace(0,(l),1000);
%Equaes 20 e 21 com o terminal transmissor na
referncia
v1 = abs((cosh(gama*(x-l))*v2 Zc*sinh(gama*(x-l))*i2));
i1 = abs((-(1/Zc)*sinh(gama*(x-l))*v2 +
cosh(gama*(x-l))*i2));
vs = v1/(500/sqrt(3));
is = i1/(100/(500*sqrt(3)));
figure(10);
pplot (x,vs,is);
QUESTES 11 E 12