VariableMassFlowSource

model VariableMassFlowSource
    extends HydraulicsByFluidon.Components.Sources.Base.PartialMassFlowSource(outMassFlow = massFlow);

    Modelica.Blocks.Interfaces.RealInput massFlow "Mass flow rate"
        annotation (Placement(transformation(extent = {
            {-110, -10}, 
            {-90, 10}})));

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Line(points = {
                    {-50, 0}, 
                    {-100, 0}}), 
                Polygon(
                    points = {
                        {59, 59}, 
                        {45, 51}, 
                        {51, 45}, 
                        {59, 59}},
                    lineColor = {0, 0, 0},
                    fillColor = {0, 0, 0},
                    fillPattern = FillPattern.Solid), 
                Line(
                    points = {
                        {-50, -50}, 
                        {50, 50}},
                    color = {0, 0, 0})}),
        Documentation(info = "<html>\n            <p>\n                The component VariableMassFlowSource provides a mass flow according to the input signal\n                at Port massFlow.\n            </p></html>"));
end VariableMassFlowSource;