Package Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis
Icon for packages containing runnable examples

Information

This icon indicates a package that contains executable examples.

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples).

Package Contents

NameDescription
ComponentsComponents to be used in examples
HysteresisModelComparisonComparison of the different hysteresis models
InductorWithHysteresis 
SinglePhaseTransformerWithHysteresis1 
SinglePhaseTransformerWithHysteresis2 
ThreePhaseTransformerWithRectifier3 Phase transformer (including hysteresis effect) with rectifier

Model Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis.​HysteresisModelComparison
Comparison of the different hysteresis models

Information

Use the following simulation settings:

This example compares the behavior of three different hysteresis models due to the exact same input magnetic field strength. The three different models are:

  1. Model=GenericHystTellinenSoft, Tellinen hysteresis model, the upper and lower branch of the limiting hysteresis loop is roughly approximated with simple hyperbolic tangent functions (Fig1. c)
  2. Model=GenericHystTellinenTable, Tellinen hysteresis model, the upper and lower branch of the limiting hysteresis loop can be defined with almost arbitrary table data (Fig1. d)
  3. Model=GenericHystPreisachEverett,Preisach hysteresis model, the hysteresis shape is defined by the Everett function (Fig1. e)

Compared to the complex Preisach hysteresis model the Tellinen model is very simple and thus computationally more effective and stable. It is sufficient for many applications. But the Tellinen model has inherently a problem with small periodic input field variations at locations where the outer hysteresis loop has large slopes. In such a case, the simulated minor loops settle to the center of the hysteresis envelope curve, whereas the minor loops of the Preisach model stay constant ('property of equal vertical chords', [Ma03]). The input signal of the example (Fig. 1 a) corresponds to that case and Fig. 1 b-e shows the behavior of the different models.

Fig. 1: Simulated magnetic flux densities B of different hysteresis models (b) due to an applied mangetic field strength shown in (a). Corresponding B(H) loops of the hysteresis models GenericHystTellinenSoft (c), GenericHystTellinenTable (d) and GenericHystPreisachEverett (e).

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis.​InductorWithHysteresis
Icon for runnable examples

Information

This is a simple model of an inductor with a ferromagnetic core. The used GenericHystTellinenEverett model considers the ferromagnetic hysteresis, eddy currents and remanence of the core material. For example you can simulate the model for 0.02s and plot Core.B vs. Core.H to visualize the resulting hysteresis loops.

Fig. 1: Results Core.B(t) and Core.B(H) of the magnetic Core.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis.​SinglePhaseTransformerWithHysteresis1
Icon for runnable examples

Information

This simple model of an single phase transformer shows the inrush currents due to the remanence of the core material (M330-50A). For an accurate modelling of the core material the GenericHystTellinenTable hysteresis flux tube element is used. The initial magnetization MagRel of the Core component is set to 80%. Simulation settings:

Then plot the flux density of the Core Core.B over the magnetic field strength Core.H and additionally the time course of the primary and secondary current and e.g. the power consumption of the iron core Core.LossPower (see the following figures).

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis.​SinglePhaseTransformerWithHysteresis2
Icon for runnable examples

Information

A simple model of an single phase transformer (similar to SinglePhaseTransformerWithHysteresis1 but with separate transformer model: Transformer1PhaseWithHysteresis). Use the simulation settings:

The figure shows the magnetic hysteresis in the transformer core. In (a) the consideration of the eddy currents is switched off, in (b) it is enabled.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Magnetic.​FluxTubes.​Examples.​Hysteresis.​ThreePhaseTransformerWithRectifier
3 Phase transformer (including hysteresis effect) with rectifier

Information

This is a model of a three-phase transformer and rectifier unit using the Transformer3PhaseYyWithHysteresis model. Use the following simulation settings:

An example simulation shows the transformer inrush currents due to an initially magnetized transformer core.

Fig. 1: Transformer inrush currents due to initial magnetization of the magnetic core; (a) transformer primary currents; (b) transformer secondary currents; (c) flux densities of the transformer legs; (d) B(H) hysteresis loops of transformer leg one.; (e) instantaneous static hysteresis, eddy current and copper losses of the transformer; (f) approximated average static hysteresis, eddy current and copper losses of the transformer

Extends from Modelica.​Icons.​Example (Icon for runnable examples).