summaryrefslogtreecommitdiff
path: root/1319/CH5/EX5.9/5_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1319/CH5/EX5.9/5_9.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 '1319/CH5/EX5.9/5_9.sce')
-rw-r--r--1319/CH5/EX5.9/5_9.sce44
1 files changed, 44 insertions, 0 deletions
diff --git a/1319/CH5/EX5.9/5_9.sce b/1319/CH5/EX5.9/5_9.sce
new file mode 100644
index 000000000..b4d14fb83
--- /dev/null
+++ b/1319/CH5/EX5.9/5_9.sce
@@ -0,0 +1,44 @@
+// Regulation at full load p.f 0.8 lag
+
+clc;
+clear;
+
+Pi=500*(10^3);// Power Input
+Meff=97/100;// Max Efficiency
+pf1=1;
+
+E1=3300;
+E2=500;
+
+Po=Pi*pf1*3/4;
+
+// Iron loss = Copper loss at maximum efficiency
+
+x=poly([0 1],'x','c');
+
+Pin=Po+(2*x);
+
+xx=(Pin*Meff)-Po;
+
+x=roots(xx); // Iron Loss = Copper Loss
+
+I2=Po/E2;
+
+R=x/(I2^2);
+
+I2fl=Pi/E2;
+
+Rfl=E2/I2fl;
+
+// Per unit values
+Rpu=R*100/Rfl;
+Zpu=10;
+Xpu=sqrt((Zpu^2)-(Rpu^2));
+
+pf2=0.8; // Lagging
+
+ang=acosd(pf2);// Positive Angle as it is lagging
+
+perreg=(Rpu*cosd(ang))+(Xpu*sind(ang));
+
+printf('The regulation at full load, p.f 0.8 lag = %f percent\n',perreg)