summaryrefslogtreecommitdiff
path: root/2252/CH19/EX19.7/Ex19_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2252/CH19/EX19.7/Ex19_7.sce')
-rwxr-xr-x2252/CH19/EX19.7/Ex19_7.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2252/CH19/EX19.7/Ex19_7.sce b/2252/CH19/EX19.7/Ex19_7.sce
new file mode 100755
index 000000000..3ab09f805
--- /dev/null
+++ b/2252/CH19/EX19.7/Ex19_7.sce
@@ -0,0 +1,27 @@
+
+//working as motor
+V1=110//applied voltage to motor
+Rsh=45//shunt field resistance
+Ish1=V1/Rsh//shunt field current
+Il=230
+Ia1=Il-Ish1
+Ra=.03//armature resistance
+Eb1=V1-Ia1*Ra
+N1=450//speed in rpm
+V2=210//changed value of applied voltage
+Ish2=V2/Rsh
+Il=85//current drawn by the motor from the main
+Ia2=Il-Ish2
+Eb2=V2-Ia2*Ra
+//back emf is directly proportional to shunt field current and speed
+N2=(Eb2/Eb1)*(Ish1/Ish2)*N1
+mprintf("Speed of the motor=%d rpm\n",N2)
+//working as generator
+V=200//terminal voltage across the load
+Ish3=V/Rsh
+Il=140//load current on the generator
+Ia3=Il+Ish3
+Eg=V+Ia3*Ra
+N3=(Eg/Eb1)*(Ish1/Ish3)*N1
+mprintf("Speed at which generator would have to run=%d rpm",N3)
+//answers vary from the textbook due to round off error