model VolumeFlowSensor "Volume flow sensor"
extends Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.FlowSensor(y(unit = "m3/s") "Volume flow as output signal");
equation
y = V_flow;
annotation (
Documentation(info = "<html>\n<p>The VolumeFlowSensor measures the volume flow rate.</p>\n<p>Thermodynamic equations are defined by Partials.FlowSensor.</p>\n</html>"),
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{-30, -20},
{30, -60}},
textString = "V")}));
end VolumeFlowSensor;