PermanentMagnet

model PermanentMagnet "Permanent magnet represented by magnetic potential difference"
    extends Modelica.Magnetic.FundamentalWave.Sources.ConstantMagneticPotentialDifference;
    extends Modelica.Electrical.Machines.Losses.InductionMachines.PermanentMagnetLosses;

    annotation (
        defaultComponentName = "pm",
        Documentation(info = "<html>\n<p>\nSimple model of a permanent magnet, containing:\n</p>\n<ul>\n<li><a href=\"modelica://Modelica.Magnetic.FundamentalWave.Sources.ConstantMagneticPotentialDifference\">constant magnetomotive force</a></li>\n<li><a href=\"modelica://Modelica.Electrical.Machines.Losses.InductionMachines.PermanentMagnetLosses\">loss model</a></li>\n</ul>\n<p>\nThe permanent magnet is modeled by a magnetic potential difference. The internal reluctance of the permanent magnet is not taken into account. The internal reluctance needs to be modeled outside the permanent magnet model, e.g., by the total machine reluctance considered in the air gap model.\n</p>\n</html>"));
end PermanentMagnet;