Water Pressure Sensor - MapleSim Help

Water Pressure Sensor

Pressure sensor of Water

 Description The Water Pressure Sensor component monitors pressure. This component assumes an ideal situation; no energy is lost between the ports.
 Equations Monitor definitions: $p=\mathrm{port_a.p}$ Port's variable definitions: $\mathrm{port_a.p}=\mathrm{port_b.p}$ $\mathrm{port_a.mflow}+\mathrm{port_b.mflow}=0$ $\mathrm{port_a.hflow}=\mathrm{inStream}\left(\mathrm{port_b.hflow}\right)$ $\mathrm{port_b.hflow}=\mathrm{inStream}\left(\mathrm{port_a.hflow}\right)$ $\mathrm{port_a.rho}=\mathrm{inStream}\left(\mathrm{port_b.rho}\right)$ $\mathrm{port_b.rho}=\mathrm{inStream}\left(\mathrm{port_a.rho}\right)$ $\mathrm{port_a.T}=\mathrm{inStream}\left(\mathrm{port_b.T}\right)$ $\mathrm{port_b.T}=\mathrm{inStream}\left(\mathrm{port_a.T}\right)$

Variables

 Symbol Units Description Modelica ID $p$ $\mathrm{Pa}$ Pressure p

Connections

 Name Units Condition Description Modelica ID $\mathrm{port__a}$  Water Port $\mathrm{port_a}$ $\mathrm{port__b}$  Water Port $\mathrm{port_b}$ $p$  Monitor port of Pressure $\mathrm{p}$

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{WaterSettings1}$ $-$ Specify a component of Water simulation settings Settings $\mathrm{Pascal}$ $-$ Select unit of Pressure output P_UnitType