Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Insight

TOTAL

  • Last UpdatedMar 03, 2025
  • 1 minute read

The TOTAL() function produces a stream of results calculating the time-weighted total for a stream.

When using TOTAL() in a query, if no resolution is specified then the behavior is the same as integral retrieval mode with no resolution specified; the duration between the start and end times is divided into 100 equal cycles, and the total is calculated for each cycle.

Syntax

Format

Stream = TOTAL( Stream, TimeInterval )

Arguments

Stream - A time-ordered vector of values

TimeInterval - The time interval over which value totals are calculated

Description

Calculates the time-weighted total for a stream over the specified time interval. The start/end times are rounded to the start/end times of the interval.

Example

The following expression returns the total volume flowing through a pump over a 1 hour interval.

TOTAL( Pump101.Flow, hour )

In This Topic
TitleResults for “How to create a CRG?”Also Available in