summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.18/21_18.sce
blob: d88fa62c60fbddd08a6e245a8c0aaf6cd271cda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Problem 21.18: The shaft torque of a diesel motor driving a 100 V d.c. shunt-wound generator is 25 Nm. The armature current of the generator is 16 A at this value of torque. If the shunt field regulator is adjusted so that the flux is reduced by 15%, the torque increases to 35 Nm. Determine the armature current at this new value of torque.

//initializing the variables:
T1 = 25; // in Nm
T2 = 35; // in Nm
Ia1 = 16; // in Amperes
V = 100; // in Volts
x = 0.15;

//calculation:
//the shaft torque T of a generator is proportional to (phi*Ia), where Phi is the flux and Ia is the armature current. Thus, T = k*Phi*Ia, where k is a constant.
//The torque at flux phi1 and armature current Ia1 is T1 = k*Phi1*Ia1.
//similarly T2 = k*Phi2*Ia2
Phi2 = (1 - x)*Phi1
Ia2 = T2*Ia1*Phi1/(Phi2*T1)

printf("\n\n Result \n\n")
printf("\n armature current at the new value of torque is %.2f A ",Ia2)