summaryrefslogtreecommitdiff
path: root/2441/CH5/EX5.24/Ex5_24.sce
blob: ac0085ca407b44b14446bfedb192f4b621cc5a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//Example 5.24
clc;clear;close;
format('v',6);
Z=3+%i*9;//%///impedence
Z=Z/100;//p.u.///Impedence
I=1;//p.u.
IZ=Z;//p.u.
disp("Part(a)");
//2*I^2-2*cos(del)=[abs(IZ)]^2
cos_del=acosd((2*I^2-[abs(IZ)]^2)/2);//degree
disp(cos_del,"Phase angle between two station(degree)");
angle_abc=87.277;///degree
theta=180-angle_abc-atand(imag(IZ)/real(IZ));//degree
Preal=I^2*cosd(theta);//p.u.
disp(Preal,"Real power transfer(p.u.)");
Preactive=I^2*sind(theta);//p.u.
disp(Preactive,"Reactive power transfer(p.u.)");
disp("Part(b)");
//1.05^2+1^2-2*1.05*cos(del)=[abs(IZ)]^2
cos_del=acosd((1.05^2+1^2-[abs(IZ)]^2)/2/1.05);//degree
disp(cos_del,"Phase angle between two station(degree)");
angle_dbc=60.53;///degree
theta=atand(imag(IZ)/real(IZ))-angle_dbc//degree
Preal=I^2*cosd(theta);//p.u.
disp(Preal,"Real power transfer(p.u.)");
Preactive=I^2*sind(theta);//p.u.
disp(Preactive,"Reactive power transfer(p.u.)");
//Answer in the textbook is not accurate.