TANK

Fluid Reservoir

Hydraulics
Run the live example Free · no sign-up · runs in your browser

The Fluid Reservoir is a tank or supply held at a set gauge pressure. Every hydraulic network needs at least one: it is the network's reference, and its Medium parameter decides the fluid the whole network carries.

An open tank is 0 Pa. A pressurised supply is a reservoir at, say, 20 bar. A wired Ctrl signal overrides the pressure parameter, so a supply can be ramped or switched.

Real-World Analog: Represents an unpressurized vented oil tank, hydraulic sump, or return reservoir that establishes the zero-gauge baseline pressure of the circuit.

Mathematical Model

pP=pset(or uCtrl when wired)p_P = p_{set} \quad (\text{or } u_{Ctrl} \text{ when wired})

Where:

  • p_P is the gauge pressure at port P (Pa)
  • p_set is the pressure parameter (Pa)

Inputs & Outputs

Direction ID Label Type Status
→ In in Ctrl number Optional
→ In p P number Required
→ In H H number Optional

Parameters

Parameters Label Type Default Description
pressure Pressure (gauge) number 0 Pressure relative to ambient; 0 is an open tank
medium Medium select Oil Every reservoir of one network must name the same medium
temperature Temperature number 313.15 Sets density and viscosity of oil and water
custom_density Custom density number 1000 Used when Medium is Custom
custom_viscosity Custom viscosity number 0.001 Used when Medium is Custom
custom_bulk_modulus Custom bulk modulus number 1500000000 Used when Medium is Custom
steady_start Steady start boolean true Start the whole network in its steady state, flows already running, instead of at rest

Usage Examples

Pressurized Supply and Atmospheric Return Tank

In examples/basic-fluidreservoir.json, two FluidReservoir blocks establish boundary potentials: a 20 bar pressurized supply feeds a valve circuit while an open return tank at 0 bar gauge safely receives returned oil.

Single pipe feeding from a reservoir

A 20 bar reservoir feeds a valve through a hydraulic pipe.

Remarks & Best Practices

  • Two reservoirs: a supply and a return tank may sit at different pressures; both are sources to ambient.
  • Same node, different pressures: two reservoirs wired to one node at different pressures have no solution, and the run stops with that message.
  • Gauge pressure: every hydraulic pressure is relative to ambient; an open tank is 0 Pa.
  • Units: pressure in Pa (1 bar = 100 000 Pa), flow in m³/s (1 L/min ≈ 1.667e-5 m³/s).

Related Components