connectorContact

Water flow connector

Information

Contact is a basic water flow connector, which consists of water pressure, mass flow rate, and elevation at the connector (positive if water is flowing into connector and negative if flowing out).

Variables
  • p – Pressure (potential variable, equated across connections)
  • mdot – Mass flow rate (flow variable, summed to zero across connections)
  • elevation.z – Elevation (overconstrained variable, propagated via spanning tree). Each component provides an equation relating its connector elevations, enabling automatic propagation of absolute elevation through the system. Source components (e.g., Reservoir) set the absolute reference elevation. Uses the overconstrained connector mechanism (Modelica Spec 9.4) to support arbitrary topologies including parallel pipes and loops.

Parameters

TypeNameDefaultDescription
BooleanshowElevationtrueShow elevation z

Components

TypeNameDefaultDescription
SI.PressurepContact pressure
SI.MassFlowRatemdotMass flow rate through the contact
ElevationelevationOverconstrained elevation at connection point