?? chp3ex3.m
字號:
P = 40; % real power, MW
V = 30/sqrt(3)+ j*0; % phase voltage, kV
Zs = j*9; % synchronous impedance
ang = acos(0.4);
theta=ang:-0.01:-ang; % Angle from 0.4 leading to 0.4 lagging pf
P= P*ones(1,length(theta)); % generates P array of same size
Iam = P./(3*abs(V)*cos(theta)); % current magnitude kA
Ia = Iam.*(cos(theta) + j*sin(theta)); % current phasor
E = V + Zs.*Ia; % excitation voltage phasor
Em = abs(E); % excitation voltage magnitude, kV
If = Em*1000/2000; % field current, A
plot(If, Iam), grid
xlabel('If, A'), ylabel('Ia, kA')
text(3.4, 1, 'Leading pf'), text(13, 1, 'Lagging pf')
text(9, .71, 'Upf')
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -