summaryrefslogtreecommitdiff
path: root/2276/CH3/EX3.8/chapter3_ex8.sce
blob: c8a1e5e1cb9d82a96b44394ddb1964e5fc55bf02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clc
clear

//input
ra=0.05;//armature resistance of a d.c. shunt generator in ohms
rf=120;//feild resistance of a d.c. shunt generator in ohms
li=98;//load current in amperes
lv=240;//load voltage in volts
ia2=60;//reduced current in armature in amperes

//calculations
//generated e.m.f. remains constant 
if=lv/rf;//feild current in amperes
ia1=li+if;//armature current in amperes
e=lv+(ia1*ra);//generated e.m.f. in volts
V=e-(ia2*ra);//final terminal voltage in amperes

//output
mprintf('for an armature of 60A the terminal p.d. will be %3.0f',V)