model PressureSensor "Absolute pressure sensor"
extends Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.AbsoluteSensor(y(unit = "Pa", displayUnit = "bar") "Absolute pressure as output signal");
equation
y = flowPort.p;
annotation (
Documentation(info = "<html>\n<p>The PressureSensor measures the absolute pressure.</p>\n<p>Thermodynamic equations are defined by Partials.AbsoluteSensor.</p>\n</html>"),
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Text(
extent = {
{-30, -20},
{30, -60}},
textString = "p")}));
end PressureSensor;