blob: fc62142a7396148d6dbec648570997d6fd1745ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clc
clear
//input
v=240;//supply voltage in volts
f=50;//supply frequency in hertz
t1=500;//number of primary turns
i0=0.35;//no load current in amperes
p=44;//power loss in watts
l=0.4;//magnetic length of the core in meters
ur=2000;//relative permeability of core
u0=1.257*(10^-6);//absolute permeability
//calculations
cosp=p/(v*i0);//no load power factor
im=i0*sin(acos(cosp));//magnetizing current in amperes
b=(u0*ur*im*t1)/l;//flux density in tesla
//output
mprintf('the flux density produced in the core will be %3.3f T',b)
|