SpeedSensor

model SpeedSensor "Ideal sensor to measure the absolute velocity"
    extends Translational.Interfaces.PartialAbsoluteSensor;

    Modelica.Blocks.Interfaces.RealOutput v(unit = "m/s") "Absolute velocity of flange as output signal"
        annotation (Placement(transformation(extent = {
            {100, -10}, 
            {120, 10}})));
equation
    v = der(flange.s);

    annotation (
        Documentation(info = "<html>\n<p>\nMeasures the <em>absolute velocity v</em> of a flange in an ideal way and provides the result as\noutput signals (to be further processed with blocks of the\nModelica.Blocks library).\n</p>\n\n</html>"),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {80, -28}, 
                        {111, -61}},
                    textString = "v")}));
end SpeedSensor;