For analysis of magnetic networks, only magnetic potential differences and magnetic flux are variables of interest. For that reason, a magnetic potential sensor is not provided.
Name | Description |
---|---|
MagneticPotentialDifferenceSensor | Sensor to measure magnetic potential difference |
MagneticFluxSensor | Sensor to measure magnetic flux |
Type | Name | Description |
---|---|---|
PositiveMagneticPort | port_p | Positive magnetic port |
NegativeMagneticPort | port_n | Negative magnetic port |
output RealOutput | V_m | Magnetic potential difference between ports p and n as output signal |
model MagneticPotentialDifferenceSensor "Sensor to measure magnetic potential difference" extends Modelica.Icons.RotationalSensor; extends Modelica.Magnetic.FluxTubes.Interfaces.PartialTwoPortsElementary;Modelica.Blocks.Interfaces.RealOutput V_m "Magnetic potential difference between ports p and n as output signal"; SI.MagneticFlux Phi "Magnetic flux from port_p to port_n"; equation V_m = port_p.V_m - port_n.V_m; Phi = port_p.Phi; Phi = 0; 0 = port_p.Phi + port_n.Phi;end MagneticPotentialDifferenceSensor;
Type | Name | Description |
---|---|---|
PositiveMagneticPort | port_p | Positive magnetic port |
NegativeMagneticPort | port_n | Negative magnetic port |
output RealOutput | Phi | Magnetic flux from port p to port n as output signal |
model MagneticFluxSensor "Sensor to measure magnetic flux" extends Modelica.Magnetic.FluxTubes.Interfaces.PartialTwoPortsElementary; extends Modelica.Icons.RotationalSensor;Modelica.Blocks.Interfaces.RealOutput Phi "Magnetic flux from port p to port n as output signal"; equation port_p.V_m = port_n.V_m; Phi = port_p.Phi; 0 = port_p.Phi + port_n.Phi;end MagneticFluxSensor;