The valve inherits its replaceable Medium package and fluid interfaces from Modelica.Fluid.Interfaces.PartialTwoPortTransport.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
m_flow_nominal | Medium.MassFlowRate | kg/s | 0.05 | Reference flow used with dp_nominal to define forward conductance |
dp_nominal | Medium.AbsolutePressure | Pa | 3e4 | Reference pressure difference used to scale forward conductance |
dp_smooth | Modelica.Units.SI.Pressure | Pa | 10 | Width of the smooth transition from closed to forward-conducting operation |
| Name | Direction | Interface | Unit | Description |
|---|---|---|---|---|
port_a | Inlet | FluidPort_a | Pa; kg/s; J/kg | Upstream fluid connection; forward flow is from port_a to port_b |
No signal input or opening command is required. The pressure difference across the fluid ports determines the flow. Use positive m_flow_nominal, dp_nominal, and dp_smooth.
ValveCheck is a passive, idealized non-return valve for system-level fluid models. It permits forward flow when the inlet pressure exceeds the outlet pressure and blocks flow when the pressure difference is zero or negative. There is no reverse leakage, fluid storage, actuator dynamics, or opening hysteresis.
The forward characteristic is linear away from zero pressure difference, with a quadratic transition near closure. The transition gives a continuous first derivative at both ends and suppresses state events associated with switching between the flow-law branches. The default inherited setting allowFlowReversal = false is consistent with the one-way characteristic.
The valve transports stream enthalpy without adding heat or shaft work. Composition and trace-substance transport are supplied by the inherited two-port transport equations. This is a conductance model, not a compressible-orifice model with choking or density-dependent flow.
The pressure difference is dp = port_a.p - port_b.p. The effective forward pressure difference and mass flow are:
dp_forward = 0 for dp <= 0 dp_forward = dp^2/(2*dp_smooth) for 0 < dp < dp_smooth dp_forward = dp - dp_smooth/2 for dp >= dp_smooth m_flow = (m_flow_nominal/dp_nominal)*dp_forward port_a.m_flow + port_b.m_flow = 0 port_a.h_outflow = inStream(port_b.h_outflow) port_b.h_outflow = inStream(port_a.h_outflow)
The piecewise expression is wrapped in smooth(1, noEvent(...)). The smoothing introduces a pressure offset of dp_smooth/2 in the linear branch; consequently m_flow_nominal is a conductance reference, not the exact flow at dp = dp_nominal. There is no finite pressure threshold: any positive dp produces positive flow.
See Modelica.Fluid.Interfaces.PartialTwoPortTransport for inherited connector conventions, mass conservation, and species transport.
No signal output connectors are declared. The outlet and diagnostic variables are available for connection or result inspection.
| Name | Direction | Interface | Unit | Description |
|---|---|---|---|---|
port_b | Outlet | FluidPort_b | Pa; kg/s; J/kg | Downstream fluid connection |
m_flow | Monitored variable | Medium.MassFlowRate | kg/s | Inherited mass flow, equal to port_a.m_flow and nonnegative for positive parameter values |
dp | Monitored variable | Medium.Pressure | Pa | Inherited inlet-to-outlet pressure difference |
dp_forward | Monitored variable | Modelica.Units.SI.Pressure | Pa | Smoothed, nonnegative pressure difference used in the forward flow law |