summaryrefslogtreecommitdiff
path: root/2123/CH5/EX5.21/Exa_5_21.sce
blob: 039f26e01a275c45bd3899f6b742bef6a2cd4730 (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
0//Example No. 5.21
clc;
clear;
close;
format('v',5);

//Given Data : 
V1=230;//V
N1=1500;//rpm
Ra=1;//ohm
Ia=10;//A
T=5;//N-m
//V=K*omega+Ia*Ra
K=V1/(N1*2*%pi/60+Ia*Ra);//V-s/rad or N-m/A
Ia=T/K;//A
alfa1=30;//degree
V=2*V1*sqrt(2)/%pi*cosd(alfa1);//Volt
omega=(V-Ia*Ra)/K;//rad/s
N=omega*60/2/%pi;//rpm
disp(N,"Parrt(a) Speed in rpm : ");
alfa=45;//degree
N=950;//rpm
V=2*V1*sqrt(2)/%pi*cosd(alfa);//Volt
Ia=(V-K*2*%pi/60*N)/Ra;//A
T=K*Ia;//N-m
disp(T,"Part(b) Torque in N-m : ");
//Answer is wrong in the book.