Professional Documents
Culture Documents
QV Curves Matlab Codes: %reactive Power Control Exercie of Series 03 %jafar Fathi %ID:941181007
QV Curves Matlab Codes: %reactive Power Control Exercie of Series 03 %jafar Fathi %ID:941181007
v1=1.0;
b=1.0;
N=0;
A={'0.1' '0.2' '0.3' '0.4' '0.5'};
pd1=i;
N=N+1;
COLORS=hsv(N);
v2=linspace(1.05,0.15,1000);
sintheta=pd1./(b*v1.*v2);
theta=asin(sintheta);
qd1=-v2.^2*b+v1*b.*v2.*cos(theta);
0.7
0.6
V
0.5
0.4
0.3
0.2
0.1
-0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0.25
Q