summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.16/Ex6_16.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH6/EX6.16/Ex6_16.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3871/CH6/EX6.16/Ex6_16.sce')
-rw-r--r--3871/CH6/EX6.16/Ex6_16.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3871/CH6/EX6.16/Ex6_16.sce b/3871/CH6/EX6.16/Ex6_16.sce
new file mode 100644
index 000000000..b36d3eec7
--- /dev/null
+++ b/3871/CH6/EX6.16/Ex6_16.sce
@@ -0,0 +1,31 @@
+//===========================================================================
+//chapter 6 example16
+
+clc;clear all;
+
+//variable declaration
+Tp = 1; //numberof turns on primary
+Ts = 200; //numberof turns on secondary
+Is = 5; //secondary current in A
+Zs = 1; // secondary burden in Ω
+f = 50; //frequency in Hz
+a = 0.0011; //cross sectional area of core in m**2
+S = 0.91; //stamping faactor
+KT =200; //turns ratio
+M =80; //ampere turns
+Vs =5; //voltage
+
+//calculations
+Vs = Is*Zs; //secondary voltage in V
+phimax = Vs/(4.44*f*Ts); //flux in the core in mWb
+A = a*S; //net crss sectional area in m**2
+Bmax = phimax/(A); //flux density in the core in T
+Im = M/(Tp); //magnetising current in A
+Ip = sqrt(((KT*Is)^2)+(Im**2)); //primary current in A
+Ir = Ip/(Is); //current ratio
+b = ((180/(%pi))*(Im/(KT*Is))); //phase angle in °(degrees)
+
+//result
+mprintf("flux density in the core = %3.4f T",Bmax);
+mprintf("\ncurrent ratio = %3.2f",Ir);
+mprintf("\nphase angle = %3.2f °",b);