summaryrefslogtreecommitdiff
path: root/431/CH2/EX2.17/EX2_17.sce
blob: 58ef5a9e9ee602c7cc72956d59198d3a59a32ffa (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
//calculate resistance
//Chapter 
//Example 2.17
//page 123
clear;
clc; 
disp("Example 2.17")
V=240;            //supply voltage in volts
N=800;            //speed in rpm
Ia=2;              //armeture current in amperes
Ra=0.4;            //armature resistance in ohms
Rf=160;            //field resistance in ohms
Il1=30;            //line current in amperes
E=V-(Ia*Ra);       //induced emf in volts
disp("At no-load")
printf("E=%fV",E)
If=V/Rf;             //field current in amperes
printf("\nIf=%fA",If)
K1=E/(If*N);
printf("\nK1=%f",K1)
disp("At a load of 30A")
Ia1=(Il1-If);
E1=V-(Ia1*Ra);
N1=950;               //speed in rpm
If1=E1/(K1*N1);
printf("If1=%fA\n",If1);
Rr=V/If1;
R=(Rr-Rf);
printf("\nExtra resistance required in the field circuit,R=%fohms",R)