This example shows a classical problem of fluid transportation: to determine flow rates, pressures, and fluid volumes in a system built of three constant head tanks. The tanks are located at different elevations and connected with pipelines combined together in a common node located at 50 meters with respect to the reference plane. The simulation time is set to 50 seconds, which is enough for system variables to settle down and reach near steady-state values.
The pipelines are simulated with the Segmented Pipe LP block, which accounts for hydraulic losses, fluid inertia, and the head due to different node elevations.
The plots below show the flow rate into and volume of water in each tank. Simulation results show that the pipelines account for fluid inertia, hydraulic losses, and head due to elevation.