diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH6/EX6.21/Ex6_21.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3871/CH6/EX6.21/Ex6_21.sce')
-rw-r--r-- | 3871/CH6/EX6.21/Ex6_21.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3871/CH6/EX6.21/Ex6_21.sce b/3871/CH6/EX6.21/Ex6_21.sce new file mode 100644 index 000000000..a2ab474e8 --- /dev/null +++ b/3871/CH6/EX6.21/Ex6_21.sce @@ -0,0 +1,28 @@ +//============================================================================
+//Chapter 6 Example 21
+
+
+clc;
+clear all;
+
+//variable declaration
+R = 25; //rate burden in VA
+Is = 5; //current in A
+r = 6; //Rs/Es ratio of resistance to reactance
+IL = 0.2; //iron loss in W
+Im = 1.5; //magnetising compnent of current in A
+
+
+//calculations
+KT = 100/5; //turn ratio
+Es = R/Is; // Secondary rated voltage in V
+Zs = Es/Is; //total secondary impedance in Ω
+theta = (atan(1/r))*180/%pi; //angle in °
+Zs1 = (Zs*cos(theta*%pi/180))+(Zs*sin(theta*%pi/180))*%i;
+Ie = KT*0.04; //energy component of exciting current on primary side
+r = (((Im*sin(theta*%pi/180))+(Ie*cos(theta*%pi/180)))/((KT*Is)+(Ie*cos(theta*%pi/180))+(Im*sin(theta*%pi/180))))*100; //percentage ratio error in %
+beta = (180/%pi)*(((Im*cos(theta*%pi/180))-(Ie*sin(theta*%pi/180)))/(KT*Is)); //phase angle erro in °
+
+//result
+mprintf("percentage ratio error = -%3.1f percentage",r);
+mprintf("\nphase angle error = %3.4f °",beta);
|