summaryrefslogtreecommitdiff
path: root/3813/CH3/EX3.5/Ex3_5.sce
blob: 5f224292b5370d6a390fe6697a838922af07919b (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
29
30
31
32
33
//Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill 
//Edition:Second 
//Ex3_5
clc;
clear;
f=50;//Frequency in Hz
Rd=2.5;//Resistance in ohm
Lc=0.005;//Inductance in mH
Vs=220;//Supply voltage in V
pf=1;//Powerfactor
pf1=0.866;//Powerfactor
Xc=2*%pi*f*Lc;
Z=Rd+((2*Xc)/%pi);
Vdia=0.9*Vs*pf;
Id=Vdia/Z;
disp(Id,"The average value of load current in A is:")
Vd=Id*Rd;
Vdc=Vdia-Vd;
a=(1-((Vdc*2)/Vdia));
b=acos(a);
u=(b*180)/%pi;
disp(u,"The overlap angle u in deg is:")
Vdia1=0.9*Vs*pf1;
Id1=Vdia1/Z;
Vd1=Id1*Rd;
Vdc1=Vdia1-Vd1;
V=pf1-((Vdc1*2)/Vs);
c=acos(V);
d=(c*180)/%pi;
u1=d-30;
disp(u1,"The overlap angle u1 in deg is:")
//Result vary due to error in calculation of overlap angle in the textbook