Technical FAQs

# How to create a cumulative usage (running total) framework in ION Designer

Goals and Symptoms

Issue
Customer is logging value X every Y minutes
Value X is reset back to 0 after it has been logged.

How can the user keep a running total of that value?

Facts and Changes

Environment
StruxureWare Power Monitoring (SPM) or ION Enterprise (IONE)

Causes and Fixes

Cause

A cumulative usage or totalizer is needed.

Resolution

Use an arithmetic module with the following formula:

S1 + PR1

Where S1 is X
Where PR1 is the previous result from R1.

Set the CalcNow of the arithmetic module to the pulse of quantity X's reset.

e.g.
Assume the following:
Data value X is reset every 15 minutes after logged.
At the end of 15 minutes X = 5
At the end of 30 minutes X = 2
At the end of 45 minutes X = 11
At the end of 60 minutes X = 7

Arithmetic Module's formula would output the following:
At the end of 15 minutes R1 = 5
At the end of 30 minutes R1 = 7
At the end of 45 minutes R1 = 18
At the end of 60 minutes R1 = 25

Legacy KB System (APS) Data: RESL209932 V1.0, Originally authored by MaTh on 12/08/2012, Last Edited by MaTh on 12/08/2012
Related ranges: Power Monitoring 7.0, ION Enterprise V6.0