Skip to main content

Calculate Delta Stock

Delta Stock is the Volume change of the tank product in a specified interval.

The formula used is:

DeltaStock = TankVolume – PrevTankVolume

Where:

TankVolume = Current Product Volume in the Tank at the current time.

PrevTankVolume = TankVolume at the start time.

StartTime of the Interval for the calculation​

The StartTime of the interval is the EndTime of the most recent Transfer that involves the tank in the last 7 days. If there are UP/DOWN status alarms in the Consistency Status tag, the StartTime is equal to the timestamp relative to the alarm status.

Note: If the selected CalcMode is Mass, then the TankVolume is previously calculated as TankVolume = MeasuredMass / Density.