-
Notifications
You must be signed in to change notification settings - Fork 164
/
Toroid.mo
33 lines (29 loc) · 1.93 KB
/
Toroid.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
within Modelica.Magnetic.FluxTubes.Shapes.FixedShape;
model Toroid
"Toroid with circular cross section; fixed shape; linear or non-linear material characteristics"
extends BaseClasses.FixedShape;
extends Modelica.Magnetic.FluxTubes.Icons.Toroid;
import Modelica.Constants.pi;
parameter SI.Radius r=0.1 "Radius of toroid (middle)"
annotation (Dialog(group="Fixed geometry", groupImage=
"modelica://Modelica/Resources/Images/Magnetic/FluxTubes/Shapes/Toroid.png"));
parameter SI.Radius d=0.01 "Diameter of cylindrical core"
annotation (Dialog(group="Fixed geometry"));
parameter SI.Angle alpha=pi/2 "Angle of toroid section"
annotation (Dialog(group="Fixed geometry"));
equation
A = d^2*pi/4 "Area at arithmetic mean radius for calculation of average flux density";
G_m = mu_0*mu_r*A/(r*alpha);
annotation (defaultComponentName="cylinder", Documentation(info="<html>
<p>
Please refer to the enclosing sub-package <a href=\"modelica://Modelica.Magnetic.FluxTubes.Shapes.FixedShape\">FixedShape</a> for a description of all elements of this package and to <a href=\"modelica://Modelica.Magnetic.FluxTubes.UsersGuide.Literature\">[Ro41]</a> for derivation and/or coefficients of the equation for permeance G_m.
</p>
<p>
For toroidal flux tubes with a circumferential magnetic flux, the flux density is a function of the radius.
For that reason, the characteristic <code>mu_r(B)</code> is evaluated for the flux density at the flux tube's mean radius.
</p>
<p>
For those flux tube sections of a magnetic device that have a nonlinear material characteristic <code>mu_r(B)</code> and a large aspect ratio of outer to inner radius <code>r_o/r_i</code>, the section can be split up in a series connection of several hollow cylindrical flux tubes with radial flux. This allows for more realistic modelling of the dependence of flux density on the radius compared to modelling with just one flux tube element.
</p>
</html>"));
end Toroid;