Modelica_Magnetic.Sensors

Sensors to measure variables in magnetic networks

Information


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.

Package Content

NameDescription
Modelica_Magnetic.Sensors.MagneticPotentialDifferenceSensor MagneticPotentialDifferenceSensor Sensor to measure magnetic potential difference
Modelica_Magnetic.Sensors.MagneticFluxSensor MagneticFluxSensor Sensor to measure magnetic flux


Modelica_Magnetic.Sensors.MagneticPotentialDifferenceSensor Modelica_Magnetic.Sensors.MagneticPotentialDifferenceSensor

Sensor to measure magnetic potential difference

Modelica_Magnetic.Sensors.MagneticPotentialDifferenceSensor

Connectors

TypeNameDescription
output RealOutputV_magMagnetic potential difference between ports p and n as output signal
PositiveMagneticPortp 
NegativeMagneticPortn 

Modelica definition

model MagneticPotentialDifferenceSensor 
  "Sensor to measure magnetic potential difference" 
  extends Modelica.Icons.RotationalSensor;
  
  Modelica.Blocks.Interfaces.RealOutput V_mag(
      redeclare type SignalType = SI.MagneticPotentialDifference) 
    "Magnetic potential difference between ports p and n as output signal";
  
  Interfaces.PositiveMagneticPort p;
  Interfaces.NegativeMagneticPort n;
equation 
  p.Phi = 0;
  n.Phi = 0;
  V_mag = p.V_mag - n.V_mag;
end MagneticPotentialDifferenceSensor;

Modelica_Magnetic.Sensors.MagneticFluxSensor Modelica_Magnetic.Sensors.MagneticFluxSensor

Sensor to measure magnetic flux

Modelica_Magnetic.Sensors.MagneticFluxSensor

Connectors

TypeNameDescription
output RealOutputPhiMagnetic flux from port p to port n as output signal
PositiveMagneticPortp 
NegativeMagneticPortn 

Modelica definition

model MagneticFluxSensor "Sensor to measure magnetic flux" 
  extends Modelica.Icons.RotationalSensor;
  
  Modelica.Blocks.Interfaces.RealOutput Phi(
      redeclare type SignalType = SI.MagneticFlux) 
    "Magnetic flux from port p to port n as output signal";
  Interfaces.PositiveMagneticPort p;
  Interfaces.NegativeMagneticPort n;
equation 
  p.V_mag = n.V_mag;
  Phi = p.Phi;
  0 = p.Phi + n.Phi;
end MagneticFluxSensor;

HTML-documentation generated by Dymola Thu Oct 11 17:08:26 2007.