diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1319/CH5/EX5.6 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.6')
-rw-r--r-- | 1319/CH5/EX5.6/5_6.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/1319/CH5/EX5.6/5_6.sce b/1319/CH5/EX5.6/5_6.sce new file mode 100644 index 000000000..252c38319 --- /dev/null +++ b/1319/CH5/EX5.6/5_6.sce @@ -0,0 +1,31 @@ +// Regulation at laggiing leading and unity power factors
+
+clc;
+clear;
+
+ol=0.01;// Ohmic loss is 1% of the output
+
+// Output = V*I; Ohmic loss =(I^2)*R
+
+//(I*R)/V = 0.01
+
+rd=0.05; // Reactance drop is 5% of the output voltage
+
+// Power Factors
+pf1=0.8;// lag
+pf2=1; // unity
+pf3=0.8;// lead
+
+deff('y=angle(x)','y=acosd(x)');// Function to find out the angle
+
+// Angles
+t1=angle(pf1);// Positive sign as it is lagging
+t2=angle(pf2);
+t3=-angle(pf3); // Minus sign as it is leading
+
+deff('a=vr(b)','a=((ol*cosd(b))+(rd*sind(b)))*100');// Function to find out voltage regulation
+
+printf('The voltage regulation percentages is as follows \n')
+printf('a) For 0.8 p.f lag = %f percent \n',vr(t1))
+printf('b) For unity p.f = %f percent \n',vr(t2))
+printf('c) For 0.8 p.f lead = %f percent \n',vr(t3))
|