summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.12/21_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '608/CH21/EX21.12/21_12.sce')
-rwxr-xr-x608/CH21/EX21.12/21_12.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/608/CH21/EX21.12/21_12.sce b/608/CH21/EX21.12/21_12.sce
new file mode 100755
index 000000000..c68b19350
--- /dev/null
+++ b/608/CH21/EX21.12/21_12.sce
@@ -0,0 +1,22 @@
+//Problem 21.12: A 10 kW shunt generator having an armature circuit resistance of 0.75 ohm and a field resistance of 125 ohms , generates a terminal voltage of 250 V at full load. Determine the efficiency of the generator at full load, assuming the iron, friction and windage losses amount to 600 W.
+
+//initializing the variables:
+Ps = 10000; // in Watt
+Pl = 600; // in Watt
+Ra = 0.75; // in ohms
+Rf = 125; // in ohms
+V = 250; // in Volts
+
+//calculation:
+//Output power Ps = V*I
+//from which, load current I
+I = Ps/V
+//Field current, If
+If = V/Rf
+//Armature current
+Ia = If + I
+//Efficiency,
+eff = Ps*100/((V*I) + (Ia*Ia*Ra) + (If*V) + (Pl)) // in Percent
+
+printf("\n\n Result \n\n")
+printf("\n Efficiency is %.2f percent ",eff) \ No newline at end of file