summaryrefslogtreecommitdiff
path: root/3890/CH5/EX5.2/Ex5_2.sce
blob: 2c41de33770ca25080c2661e6e4c64a06a53c9b2 (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
//Electric machines and power systems by Syed A Nasar
//Publisher:TataMcgraw Hill
//Year: 2002 ; Edition - 7 
//Example 5.2
//Scilab Version : 6.0.0    ; OS : Windows

clc;
clear;

Q=2500;          //power in KVA
v=6600;          //3phase voltage in v
pf=0.8;                 //power factor
Xs=10.4;                //syncronous reactance  in ohm
ra=0.071;             //armature resistance in ohm

th=acosd(pf);
vt=v/(3^(1/2));
Ia=Q*10^3/((3^(1/2))*v);
t=cosd(th)+%i*sind(th);
Iad=Ia*t;
v1=Iad*Xs;
v0=vt+%i*v1;
Reg=(abs(v0)-vt)/vt*100;

printf('The regulation is %f ',Reg)