This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.