To_rpm

block To_rpm "Convert from radian per second to revolutions per minute"
    extends Modelica.Blocks.Interfaces.PartialConversionBlock(u(unit = "rad/s"), y(unit = "rev/min"));
equation
    y = SI.Conversions.to_rpm(u);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {26, 82}, 
                        {-98, 50}},
                    textString = "rad/s"), 
                Text(
                    extent = {
                        {100, -42}, 
                        {-62, -74}},
                    textString = "rev/min")}),
        Documentation(info = "<html>\n<p>\nThis block converts the input signal from radian per second to revolutions per minute and returns\nthe result as output signal.\n</p>\n</html>"));
end To_rpm;