summaryrefslogtreecommitdiff
path: root/1418/CH27/EX27.22
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1418/CH27/EX27.22
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/CH27/EX27.22')
-rw-r--r--1418/CH27/EX27.22/EX27_22.jpgbin0 -> 77734 bytes
-rw-r--r--1418/CH27/EX27.22/EX27_22.sce26
2 files changed, 26 insertions, 0 deletions
diff --git a/1418/CH27/EX27.22/EX27_22.jpg b/1418/CH27/EX27.22/EX27_22.jpg
new file mode 100644
index 000000000..3f194ec22
--- /dev/null
+++ b/1418/CH27/EX27.22/EX27_22.jpg
Binary files differ
diff --git a/1418/CH27/EX27.22/EX27_22.sce b/1418/CH27/EX27.22/EX27_22.sce
new file mode 100644
index 000000000..d1d285f86
--- /dev/null
+++ b/1418/CH27/EX27.22/EX27_22.sce
@@ -0,0 +1,26 @@
+//EXAMPLE 27.22
+//SHUNT GENERATORS
+
+clc;
+funcprot(0);
+
+//Variable Initialisation
+ocV1=250;....//Open circuit voltage of first generator in Volts
+Ra1=0.24;......//Armature resistance of first generator in Volts in Ohms
+Rf1=100;........//Field resistance of first generator in Ohms
+ocV2=248;......//Open circuit voltage of second generator in Volts
+Ra2=0.12;......//Armature resistance of second generator in Volts in Ohms
+Rf2=100;......//Field resistance of second generator in Ohms
+lb=40;.....//Load on bus bars in Amperes
+Ri=0.172;.....//Internal resistance in Ohms
+
+V=ocV2-(ocV1-ocV2);.......//Terminal voltage in Volts
+I=((ocV1-ocV2)/(Ra1-Ra2))-(V/Rf1);......//Current in Amperes
+r=round(I*10)/10;......//Rounding of decimal places
+Ib=lb-(2*r);.......//Battery current in Amperes
+Vib=Ib*Ri;.........//Internal voltage drop in a battery in Volts
+emf=V+Vib;......//emf of the battery in Volts
+r1=round(emf);
+disp(r1,"emf of the battery in Volts:");
+
+