model Ground "Magnetic ground"
Interfaces.PositiveMagneticPort port_p "Complex magnetic port"
annotation (Placement(transformation(extent = {
{-10, 90},
{10, 110}})));
equation
port_p.V_m = Complex(0, 0);
annotation (
Diagram(
coordinateSystem(
preserveAspectRatio = false,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Line(
points = {
{0, 100},
{0, 50}},
color = {255, 128, 0}),
Line(
points = {
{-60, 50},
{60, 50}},
color = {255, 128, 0}),
Line(
points = {
{-40, 30},
{40, 30}},
color = {255, 128, 0}),
Line(
points = {
{-20, 10},
{20, 10}},
color = {255, 128, 0})}),
Icon(
coordinateSystem(
preserveAspectRatio = false,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Line(
points = {
{0, 100},
{0, 50}},
color = {255, 128, 0}),
Line(
points = {
{-60, 50},
{60, 50}},
color = {255, 128, 0}),
Line(
points = {
{-40, 30},
{40, 30}},
color = {255, 128, 0}),
Line(
points = {
{-20, 10},
{20, 10}},
color = {255, 128, 0}),
Text(
extent = {
{-150, -10},
{150, -50}},
textString = "%name",
lineColor = {0, 0, 255})}),
Documentation(info = "<html>\n\n<p>\nGrounding of the complex magnetic potential. Each magnetic circuit has to be grounded at least one point of the circuit.\n</p>\n\n</html>"));
end Ground;