Skip to content

Simple Tank

fullflow.SimpleTank

Isothermal liquid tank with optional hydrostatic head calculation.

SimpleTank represents a tank whose pressure is prescribed and whose thermodynamic state is assumed constant. The component does not solve any conservation equations and is typically used as a simple fluid source, sink, or storage volume in steady-state analyses.

When a liquid height is provided, the hydrostatic head pressure is computed from the liquid density and gravitational acceleration.

Parameters

Name Type Description
namestr

Component name

networkNetwork

Network that owns this component

pressureState

Tank pressure

temperatureState, optional

Tank temperature

liquid_heightState, optional

Liquid column height above the outlet reference elevation

gravitational_accelerationState or float, optional

Gravitational acceleration. Defaults to standard gravity.

head_pressureState, optional

Hydrostatic pressure generated by the liquid column

internal_energyState, optional

Liquid specific internal energy

densityState, optional

Liquid density

mass_flow_outState, optional

Tank discharge mass flow rate