model FrequencySensor "Frequency sensor"
import Modelica.Constants.pi;
extends FluxTubes.Interfaces.AbsoluteSensor;
Modelica.Blocks.Interfaces.RealOutput y annotation (Placement(transformation(extent = {
{100, -10},
{120, 10}})));
equation
2 * pi * y = omega;
annotation (
Icon(graphics = {
Text(
extent = {
{-29, -11},
{30, -70}},
textString = "f")}),
Documentation(info = "<html>\n<p>\nThis sensor can be used to measure the frequency of the reference system.\nThe integral of the angular frequency of the quasi static magnetic system is equal to the reference angle.\n</p>\n</html>"));
end FrequencySensor;