summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.24/21_24.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH21/EX21.24/21_24.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '608/CH21/EX21.24/21_24.sce')
-rwxr-xr-x608/CH21/EX21.24/21_24.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/608/CH21/EX21.24/21_24.sce b/608/CH21/EX21.24/21_24.sce
new file mode 100755
index 000000000..e4a08d829
--- /dev/null
+++ b/608/CH21/EX21.24/21_24.sce
@@ -0,0 +1,20 @@
+//Problem 21.24: A 320 V shunt motor takes a total current of 80 A and runs at 1000 rev/min. If the iron, friction and windage losses amount to 1.5 kW, the shunt field resistance is 40 ohm and the armature resistance is 0.2 ohm , determine the overall efficiency of the motor.
+
+//initializing the variables:
+I = 80; // in Amperes
+C = 1500; // in Watt
+Rf = 40; // in ohms
+Ra = 0.2; // in ohm
+n = 1000/60; // in Rev/sec
+V = 320; // in Volts
+
+//calculation:
+//Field current, If
+If = V/Rf
+//Armature current Ia
+Ia = I - If
+//Efficiency =((V*I - Ia*Ia*Ra - If*V - C)/(V*I))*100%
+eff = ((V*I - (Ia*Ia*Ra) - (If*V) - C)/(V*I))*100 // in percent
+
+printf("\n\n Result \n\n")
+printf("\n efficiency is %.1f",eff) \ No newline at end of file