| Name | Description |
|---|---|
| MagneticPort | Magnetic connector |
| PositiveMagneticPort | |
| NegativeMagneticPort | |
| MagneticFluxTube | Component with two magnetic ports p and n and magnetic flux Phi from p to n |
Magnetic.Interfaces.MagneticPort
connector MagneticPort "Magnetic connector" SI.MagneticPotentialDifference V_mag "Magnetic potential at the port"; flow SI.MagneticFlux Phi "Magnetic flux flowing into the port"; end MagneticPort;
Magnetic.Interfaces.PositiveMagneticPort
connector PositiveMagneticPort SI.MagneticPotentialDifference V_mag "Magnetic potential at the port"; flow SI.MagneticFlux Phi "Magnetic flux flowing into the port"; end PositiveMagneticPort;
Magnetic.Interfaces.NegativeMagneticPort
connector NegativeMagneticPort SI.MagneticPotentialDifference V_mag "Magnetic potential at the port"; flow SI.MagneticFlux Phi "Magnetic flux flowing into the port"; end NegativeMagneticPort;
Magnetic.Interfaces.MagneticFluxTube
Partial model of a flux tube component with two magnetic ports: the positive port connector p, and the negative port connector n. It is assumed that the magnetic flux flowing into pin p is identical to the flux flowing out of pin n. This magnetic flux is provided explicitly as flux Phi.
partial model MagneticFluxTube
"Component with two magnetic ports p and n and magnetic flux Phi from p to n"
PositiveMagneticPort p "Positive magnetic port";
NegativeMagneticPort n "Negative magnetic port";
SI.MagneticPotentialDifference V_mag
"Magnetic potential difference between the two ports";
SI.MagneticFlux Phi "Magnetic flux flowing from pin p to pin n";
equation
V_mag = p.V_mag - n.V_mag;
0 = p.Phi + n.Phi;
Phi = p.Phi;
end MagneticFluxTube;