summaryrefslogtreecommitdiff
path: root/3159/CH16/EX16.4/Ex16_4.sce
blob: 37b5d3ead0d96356c3b67832337679049fb5a46d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Calculation of hysteresis loss
clc
v = 0.01 // volume in m^3
x = 1e-4 // axis intercept
y = 1e2 // axis intercept
a = 60000 // Hysteresis loop area
f = 50 // frequency in Hz
printf("\n Example 16.4")
e = x*y*a // Energy loss in one loop
E = e*v // energy loss in core in one cycle
P = E*f // Power loss
printf("\n Power loss due to hysteresis is %d W",P)