ElectroMagneticConverter

Electromagnetic energy conversion

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The electromagnetic energy conversion is given by Ampere's law and Faraday's law respectively:

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

converter signs

Vm is the magnetic potential difference applied to the magnetic circuit due to the current i through the coil (Ampere's law). There exists a left-hand assignment between the current i (fingers) and the magnetic potential difference Vm (thumb).
Note: There exists a right-hand assignment between the current through the coil i (fingers) and the magnetomotive force mmf. The mmf has the opposite direction compared with Vm. It is not used in Modelica.

For the complete magnetic circuit the sum of all magnetic potential differences counted with the correct sign in a reference direction is equal to zero: sum(Vm) = 0.
The magnetic flux Φ in each passive component is related to the magnetic potential difference Vm by the equivalent of Ohms' law: Vm = Rm * Φ
Note: The magnetic resistance Rm depends on geometry and material properties. For ferromagnetic materials Rm is not constant due to saturation.

Therefore the sign (actual direction) of Φ (magnetic flux through the converter) depends on the associated branch of the magnetic circuit.
v is the induced voltage in the coil due to the derivative of magnetic flux Φ (Faraday's law).
Note: The negative sign of the induced voltage v is due to Lenz's law.

Note: The image shows a right-handed coil. If a left-handed coil has to be modeled instead of a right-handed coil, the parameter N (Number of turns) can be set to a negative value.

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 (1)

N

Value: 1

Type: Real

Description: Number of turns

Connectors (4)

port_p

Type: PositiveMagneticPort

Description: Positive magnetic port

port_n

Type: NegativeMagneticPort

Description: Negative magnetic port

pin_p

Type: PositivePin

Description: Positive electric pin

pin_n

Type: NegativePin

Description: Negative electric pin

Components (6)

j

Type: Complex

v

Type: ComplexVoltage

Description: Voltage

i

Type: ComplexCurrent

Description: Current

V_m

Type: ComplexMagneticPotentialDifference

Description: Magnetic potential difference

Phi

Type: ComplexMagneticFlux

Description: Magnetic flux coupled into magnetic circuit

Psi

Type: ComplexMagneticFlux

Description: Flux linkage for information only

Used in Examples (5)

LinearInductor

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples

Linear inductor with ferromagnetic core

NonLinearInductor

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples

Non linear inductor with ferromagnetic core

QuadraticCoreAirgap

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ToroidalCoreAirgap

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ToroidalCoreQuadraticCrossSection

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap