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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | showElevation | true | Show elevation z |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Contact pressure | |
| SI.MassFlowRate | mdot | Mass flow rate through the contact | |
| Elevation | elevation | Overconstrained elevation at connection point |