Calculates volume changed since the last interval from a Flow Rate or Tank Level sensor.

Flowrate Sensor:

Volume = Average() * [delta T]

On a flowrate sensor, Volume() is equal to the average flowrate over the past interval times the length of the time interval.

Tank Level:

Volume = (Close() - Previous(Close(),1)) * [Tank Area(Close())]

Tank volume changes are based on a backwards difference calculation.


The resulting units will correlate with the input units. The following tables give some examples:

Flowrate Input

Output

 

Tank Level Input

Output

GPM

Gallons

Ft

ft^3

CFS

ft^3

m

m^3

L/s

Liters



Warning:

Volume must be run directly on sensor data of flowrate or tank water level. Do not apply additional functions inside of the Volume() function (e.g. Volume(Close())), as these do not pass all the required information.

Parameter

Description

Input Data*

Defines the time series data fed into the function. This must point to a Sensor() measuring Flowrate or Tank Level sensor.

*Input data is optional in most cases. If Info360 detects that the first input is time series data, it will be applied to the function. Otherwise, the current active sensor's data will be used, which is often the case in Reference Charts.

Example Usage as an Expression:

Sum(Volume(),24): For hourly flowrate data, this outputs the cumulative flow volume over a 24 hour window.

Sum(Volume(),24): For hourly tank level data, this outputs the net volume that has entered or left the tank over the previous 24 hours.

Volume(Sensor('13090.Flow Rate')) - Calculate the Volume for a specified sensor.

TotalVolume('13090.Flow Rate') - Error; Volume requires a sensor feed, not a string. Info360 will interpret this as "Volume()".

Examples Reference Chart:

The following Chart shows the flowrate from a pump station with several functions applied to view the volumes that are delivered. The Volume() function shows the volume delivered each timestep, which is per hour in this case. Note that the results will change as the interval is switched (e.g. daily and 15 minute intervals will report very different volumes).

TotalVolume() cumulates the volume that has passed through the pump over time, while Sum(Volume(),24) yields the volume that was delivered over just the previous 24 hours.


The following example shows how Volume() on a Tank Level can be broken down using the Change function. Change(1) returns the change in tank level from the previous value. Next we multiply by 1104.47 ft^2 which is the tank area (the diameter is 37.5 ft).

 


For information on setting up custom equations and syntax, please refer to Analytical Functions.