summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.12/EX26_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1418/CH26/EX26.12/EX26_12.sce')
-rw-r--r--1418/CH26/EX26.12/EX26_12.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1418/CH26/EX26.12/EX26_12.sce b/1418/CH26/EX26.12/EX26_12.sce
new file mode 100644
index 000000000..1746aaef2
--- /dev/null
+++ b/1418/CH26/EX26.12/EX26_12.sce
@@ -0,0 +1,20 @@
+//EXAMPLE 26.12
+//SEPARATELY EXCITED GENERATOR
+
+clc;
+funcprot(0);
+
+//Variable Initialisation
+N=1000;.................//Speed of the generator in rpm
+V=125;..................//Terminal voltage in Volts
+I=200;..................//Load current at 1000 rpm in Amperes
+N1=800;.................//Speed of the generator dropped in rpm
+Ra=0.04;...............//Armature resistance in Ohms
+Vb=1*2;................//Brush drop in Volts
+
+R=V/I;.................//Load resistance in Ohms
+Eg1=V+(I*Ra)+Vb;...........//Generated EMF at 1000 rpm in Volts
+Eg2=Eg1*(N1/N);............//Generated EMF at 800 rpm in Volts
+I1=(Eg2-Vb)/(R+Ra);.........//Load current at 800 rpm in Amperes
+y=round(I1*10)/10;..........//Rounding of decimal places
+disp(y,"Load current at 800 rpm in Amperes:");