model MagneticFluxSensor "Sensor to measure magnetic flux"
extends FluxTubes.Interfaces.RelativeSensor;
equation
y = Phi;
V_m = Complex(0);
annotation (
defaultComponentName = "magFluxSensor",
Icon(
coordinateSystem(
preserveAspectRatio = false,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Line(points = {
{0, -100},
{0, -70}}),
Line(points = {
{-70, 0},
{-90, 0}}),
Line(points = {
{70, 0},
{90, 0}}),
Text(
extent = {
{-29, -11},
{30, -70}},
textString = "Phi"),
Line(points = {
{0, -90},
{0, -70}})}),
Diagram(coordinateSystem(preserveAspectRatio = false)),
Documentation(info = "<html>\n<p>\nThis sensor can be used to measure the complex magnetic flux <code>Phi</code> of a quasi static magnetic system.\n</p>\n</html>"));
end MagneticFluxSensor;