summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.13/EX26_13.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1418/CH26/EX26.13/EX26_13.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1418/CH26/EX26.13/EX26_13.sce')
-rw-r--r--1418/CH26/EX26.13/EX26_13.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/1418/CH26/EX26.13/EX26_13.sce b/1418/CH26/EX26.13/EX26_13.sce
new file mode 100644
index 000000000..3850f26d6
--- /dev/null
+++ b/1418/CH26/EX26.13/EX26_13.sce
@@ -0,0 +1,27 @@
+//EXAMPLE 26.13
+//4-POLE DC GENERATOR
+
+clc;
+funcprot(0);
+
+//Variable Initialisation
+N=900;.................//Speed of the generator in rpm
+P=4;....................//Number of poles
+V=220;..................//Terminal voltage in Volts
+E=240;..................//Induced voltage at rated speed in Volts
+Ra=0.2;...............//Armature resistance in Ohms
+Phi=10*10^-3;..........//Air gap flux per pole in Mili Webers
+T=8;.................//Armature turns per coil
+Aw=2;.................//Number of parallel paths for wave winding
+
+if E>V then printf("The machine is working as a generator as induced voltage is greater than terminal voltage \n");
+ else printf("The machine is working as a generator as induced voltage is less than terminal voltage \n");
+end
+
+Ia=(E-V)/Ra;..........................//Armature current in Amperes
+Z=E*Aw*600/(Phi*N*P);.................//Number of conductors
+disp(Z,"Number of conductors:");
+C=T*2;........................//Conductors per coil
+Co=Z/C;........................//Total number of armature coils
+
+disp(Co,"Total number of armature coils:");