summaryrefslogtreecommitdiff
path: root/3760/CH4/EX4.77/Ex4_77.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH4/EX4.77/Ex4_77.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 '3760/CH4/EX4.77/Ex4_77.sce')
-rw-r--r--3760/CH4/EX4.77/Ex4_77.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3760/CH4/EX4.77/Ex4_77.sce b/3760/CH4/EX4.77/Ex4_77.sce
new file mode 100644
index 000000000..6978ed6bb
--- /dev/null
+++ b/3760/CH4/EX4.77/Ex4_77.sce
@@ -0,0 +1,24 @@
+clc;
+// Hopkinson's method gave following result for two identical dc shunt machines
+v=230; // line voltage
+il=30; // line current excluding both field currents
+ia=230; // motor armature current
+ifl1=4; ifl2=5; // field currents
+ra=0.025; // armature current
+// from fig 4.85
+ig=ia-il; // generator armature current
+la1=ig^2*ra; // armature circuit losses in generator
+la2=ia^2*ra; // armature circuit losses in motor
+pd=v*il; // power drawn from supply (excluding field loss)
+wo=pd-la1-la2; // no load rotational losses for both machines
+pg=v*ig; // generator outputk
+tl=(wo/2)+v*ifl2+la1; // total losses for generator
+ng=(1-(tl/(tl+pg)))*100;
+pi=v*(ia+ifl1); // input power for motor
+tl=(wo/2)+v*ifl1+la2; // total losses for motor
+nm=(1-(tl/pi))*100;
+printf('Motor efficiency is %f percent\n',nm);
+printf('Generator efficiency is %f percent\n',ng);
+// If both machine are assumed to have same efficiency then
+n=sqrt(ig/ia)*100;
+printf('Efficiency of machine is %d percent',n);