Total Volume Function

Total Volume gives a running total of the computed volume that passes through a given point.

When the flow reverses and flow rate measurements are negative, Total Volume will subtract from its cumulative volume.

Syntax

totalvolume(TimeSeries)

Parameter Description
TimeSeries This must be an input node with a Flow Rate or Tank Level sensor.
Important: Total Volume must be run directly on sensor data (flow rate or tank level). Do not apply additional functions inside the totalvolume() function as these do not pass all the required information.

Example expression

totalvolume(@input_node): Calculates the Total Volume for the time series data specified in the input node.

Example chart

See the example chart included in the Volume Function page which includes a Total Volume function.