From_hour

block From_hour "Convert from hour to second"
    extends Modelica.Blocks.Interfaces.PartialConversionBlock(u(unit = "h"), y(unit = "s"));
equation
    y = SI.Conversions.from_hour(u);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-20, 100}, 
                        {-100, 20}},
                    textString = "hour"), 
                Text(
                    extent = {
                        {100, -20}, 
                        {20, -100}},
                    textString = "s")}),
        Documentation(info = "<html>\n<p>\nThis block converts the input signal from hour to second and returns\nthe result as output signal.\n</p>\n</html>"));
end From_hour;