summaryrefslogtreecommitdiff
path: root/2123/CH5/EX5.19/Exa_5_19.sce
blob: 7c8f7dafc041267757a6e28313dc664caf2e5abf (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
//Example No. 5.19
clc;
clear;
close;
format('v',7);

//Given Data : 
V=230;//V
f=50;//Hz
Rf=200;//ohm
Ra=0.25//ohm
Kv=1.1;//V/A-rad/s
Kt=1.1;//N-m/A^2
alfa_a=45;//degree
Ia=50;//A
alfa_f=0;
Vf=2*V*sqrt(2)/%pi*cosd(alfa_f);//V
Va=2*V*sqrt(2)/%pi*cosd(alfa_a);//V
If=Vf/Rf;//A
T=Kt*Ia*If;//N-m
Eb=Va-Ia*Ra-2;//V
omega=Eb/Kv/If;//rad/s
Eg=-Eb;//V
Va=Eg+Ia*Ra+2;//V
alfa=acosd(Va/2/V/sqrt(2)*%pi);//degree
disp(alfa,"Fringe angle to converter in degree : ");
P=abs(Va)*Ia;//W(power fed back to source)
disp(P,"Power fed back to source in Watts : ");
//Answer wrong in the book.