Package Modelica.​Magnetic.​FluxTubes.​Basic
Basic elements of magnetic network models

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
ConstantPermeanceConstant permeance
ConstantReluctanceConstant reluctance
CrossingCrossing of two branches
EddyCurrentFor modelling of eddy current in a conductive magnetic flux tube
ElectroMagneticConverterIdeal electro-magnetic energy conversion
ElectroMagneticConverterWithLeakageInductanceElectro-magnetic energy conversion with a leakage inductance
GroundZero magnetic potential
IdleIdle running branch
LeakageWithCoefficientLeakage reluctance with respect to the reluctance of a useful flux path (not for dynamic simulation of actuators)
ShortShort cut branch

Model Modelica.​Magnetic.​FluxTubes.​Basic.​Ground
Zero magnetic potential

Information

The magnetic potential at the magnetic ground node is zero. Every magnetic network model must contain at least one magnetic ground object.

Connectors

TypeNameDescription
PositiveMagneticPortport 

Model Modelica.​Magnetic.​FluxTubes.​Basic.​ElectroMagneticConverter
Ideal electro-magnetic energy conversion

Information

The electro-magnetic energy conversion is given by Ampere's law and Faraday's law respectively:

    V_m = i * N
    N * dΦ/dt = -v

V_m is the magnetomotive force that is supplied to the connected magnetic circuit, Φ is the magnetic flux through the associated branch of this magnetic circuit. The negative sign of the induced voltage v is due to Lenz's law.

The flux linkage Ψ and the static inductance L_stat = |Ψ/i| are calculated for information only. Note that L_stat is set to |Ψ/eps| if |i| < eps (= 100*Modelica.Constants.eps).

Parameters

TypeNameDefaultDescription
RealN1Number of turns

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port
PositivePinpPositive electrical pin
NegativePinnNegative electrical pin

Model Modelica.​Magnetic.​FluxTubes.​Basic.​ElectroMagneticConverterWithLeakageInductance
Electro-magnetic energy conversion with a leakage inductance

Information

Same as ElectroMagneticConverter with an additional leakage path on the magnetic side (leakage inductance, leakage flux). This model may improve stability especially when the magnetic circuit contains more than one electro-magnetic converter.

Parameters

TypeNameDefaultDescription
RealN Number of turns
LengthL0.01Length in direction of flux
AreaA1e-5Area of cross-section
RelativePermeabilitymu_rel1Constant relative permeability of leakage inductance (> 0 required)
final PermeanceG_mModelica.Constants.mue_0 * mu_rel * A / LMagnetic permeance of leakage inductance

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port
PositivePinpPositive electrical pin
NegativePinnNegative electrical pin

Model Modelica.​Magnetic.​FluxTubes.​Basic.​ConstantReluctance
Constant reluctance

Information

This constant reluctance is provided for test purposes and simple magnetic network models. The reluctance is not calculated from geometry and permeability of a flux tube, but is provided as parameter.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialTwoPorts (Partial component with magnetic potential difference of the two magnetic ports p and n and magnetic flux Phi from p to n).

Parameters

TypeNameDefaultDescription
ReluctanceR_m1Magnetic reluctance

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​ConstantPermeance
Constant permeance

Information

This constant permeance is provided for test purposes and simple magnetic network models. The permeance is not calculated from geometry and permeability of a flux tube, but is provided as parameter.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialTwoPorts (Partial component with magnetic potential difference of the two magnetic ports p and n and magnetic flux Phi from p to n).

Parameters

TypeNameDefaultDescription
PermeanceG_m1Magnetic permeance

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​LeakageWithCoefficient
Leakage reluctance with respect to the reluctance of a useful flux path (not for dynamic simulation of actuators)

Information

Differently from the flux tube elements of package Shapes.Leakage that are calculated from their geometry, this leakage reluctance is calculated with reference to the total reluctance of a useful flux path. Please refer to the Parameters section for an illustration of the resulting magnetic network. Exploiting Kirchhoff's generalized current law, the leakage reluctance is calculated by means of a coupling coefficient c_usefulFlux.

Attention:

This element must not be used for dynamic simulation of electro-magneto-mechanical actuators, where the shape of at least one flux tube element with reluctance force generation in the useful flux path changes with armature motion (e.g., air gap). This change results in a non-zero derivative dG_m/dx of those elements permeance G_m with respect to armature position x, which in turn will lead to a non-zero derivative of the leakage permeance with respect to armature position. This would generate a reluctance force in the leakage element that is not accounted for properly. Shapes.Force.LeakageAroundPoles provides a simple leakage reluctance with force generation.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialLeakage (Base class for leakage flux tubes with position-independent permeance and hence no force generation; mu_r=1).

Parameters

TypeNameDefaultDescription
CouplingCoefficientc_usefulFlux0.7Ratio useful flux/(leakage flux + useful flux) = useful flux/total flux

Inputs

TypeNameDefaultDescription
ReluctanceR_mUsefulTot Total reluctance of useful flux path as reference

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​EddyCurrent
For modelling of eddy current in a conductive magnetic flux tube

Information

Eddy currents are induced in a conductive magnetic flux tube when the flux changes with time. This causes a magnetic voltage drop in addition to the voltage drop that is due to the reluctance of this flux tube. The eddy current component can be thought of as a short-circuited secondary winding of a transformer with only one turn. Its resistance is calculated from the geometry and resistivity of the eddy current path.

Partitioning of a solid conductive cylinder or prism into several hollow cylinders or separate nested prisms and modelling of each of these flux tubes connected in parallel with a series connection of a reluctance element and an eddy current component can model the delayed buildup of the magnetic field in the complete flux tube from the outer to the inner sections. Please refer to [Ka08] for an illustration.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialTwoPorts (Partial component with magnetic potential difference of the two magnetic ports p and n and magnetic flux Phi from p to n) and Modelica.​Electrical.​Analog.​Interfaces.​ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
BooleanuseHeatPortfalse=true, if heatPort is enabled
final TemperatureT273.15Fixed device temperature if useHeatPort = false
BooleanuseConductancefalseUse conductance instead of geometry data and rho
ConductanceG1.020408163e+7Equivalent loss conductance G=A/rho/l
Resistivityrho9.8e-8Resistivity of flux tube material (default: Iron at 20degC)
Lengthl1Average length of eddy current path
AreaA1Cross sectional area of eddy current path
final ResistanceRrho * l / AElectrical resistance of eddy current path

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port
HeatPort_aheatPortConditional heat port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​Idle
Idle running branch

Information

This is a simple idle running branch.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialTwoPorts (Partial component with magnetic potential difference of the two magnetic ports p and n and magnetic flux Phi from p to n).

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​Short
Short cut branch

Information

This is a simple short cut branch.

Extends from Modelica.​Magnetic.​FluxTubes.​Interfaces.​PartialTwoPortsElementary (Partial component with two magnetic ports p and n for textual programming).

Connectors

TypeNameDescription
PositiveMagneticPortport_pPositive magnetic port
NegativeMagneticPortport_nNegative magnetic port

Model Modelica.​Magnetic.​FluxTubes.​Basic.​Crossing
Crossing of two branches

Information

This is a simple crossing of two branches. The ports port_p1 and port_p2 are connected, as well as port_n1 and port_n2.

See also

Idle, Short

Connectors

TypeNameDescription
PositiveMagneticPortport_p1Positive port_p1 connected with port_p2
PositiveMagneticPortport_p2Positive port_p2 connected with port_p1
NegativeMagneticPortport_n1Negative port_n1 connected with port_n2
NegativeMagneticPortport_n2Negative port_n2 connected with port_n1