summaryrefslogtreecommitdiff
path: root/978/CH8/EX8.3/Example8_3.sce
blob: 234ff4705f7db4a336e9497b31598f9353e67c0e (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
34
35
36
37
38
39
40
41
//chapter-8,Example8_3,pg 258

//assume no iron loss and magnetizing current=1% of 10A, i.e 0.01A

Xs=1.884//reactance of secondary

Rs=0.5//resistance of secondary

Xm=20//reactance of meter

Rm=0.4//reactance of meter

B=atan((Xs+Xm)/(Rs+Rm))

B=B*(180/%pi)//conversion into degree

Im=0.01//magnetizing current

//nominal ratio (n2/n1)=10/1

n2=10

n1=1

R=n2+((Im*sin(B))/n1)//actual impedance

R1=0.0097//practical impedance

perer=(R1/R)*100//percentage error

theta=((Im*cos(B))/n2)//phase angle

theta=theta*(%pi/180)//conversion into radian

printf("percentage error\n")

printf("perer=%.4f \n",perer)

printf("phase angle\n")

printf("theta=%.6f rad",theta)