You are on page 1of 2

KB00793 - How to set up a PI Totalizer point to do a Monthly or Daily Integral/(Time W...

Page 1 of 2

GLOBAL TRAINING SUPPORT VCAMPUS

MY SUPPORT| PRODUCTS| DOWNLOAD CENTER| KNOWLEDGE CENTER| CONTACT US

KB Article # KB00793 Welcome Antonio | Sign Out

Edit Profile
KB00793 - How to set up a PI Totalizer point to do a Monthly or Daily Integral/(Time Weighted
Total) of a rate tag Site Map

Email this Page


Product: PI Server
Give us Feedback
Version(s): All

Platform: Windows

Issue

How do you perform the time integral from a rate tag using the PI Totalizer?

Use case

You have a rate tag measuring a flow rate, and you would like to compute the total flow over the course of one day, or over the
course of one month. How do you set up a PI Totalizer tag to accomplish this?

Solution

To start the process of setting up a PI Totalizer tag:

Open PI System Management Tools and navigate to the Totalizer plugin (Points --> Totalizers).
Create a new totalizer tag.
Configure the attributes of this tag as shown the example below. The screenshots and brief comments below guide you
through this process. We assume that you already have a rate tag and here in the example we use a rate tag called
Rate_Tag:

1. Name and Type Tab


On the "Name &Type" tab under "Totalizer Type" section: Select Summary Calculation and then select Block,
Time Weighted and Total.

2. Sampling Tab

On the "Sampling" tab select "Whenever a new source tag event occurs (Natural)."

3. Results Tab
On the Results tab: under "Write final results" section select "Based on a trigger event." Under Details section
select "When the following expression changes." In the text box for the expression, you can use bom('') for a
monthly total and bod('') for a daily total.

http://techsupport.osisoft.com/techsupport/nontemplates/KB/article.aspx?id=KB00793 8/9/2013
KB00793 - How to set up a PI Totalizer point to do a Monthly or Daily Integral/(Time W... Page 2 of 2

You can configure two tags: One for daily total and another for monthly total. You can then verify that daily total
adds up to the monthly total over a one month period.

Under the "Write interim results" section: Choose "At source time (ramp)" so that the intermediate results get
written to the totalizer tag.

4. Archive Tab

On the Archive tab, you can specify the Typical value, Zero and Span (which are used by client producs showing a
trend or gauge for the tag). You can also adjust the compression and exception parameters. Step can be turned to
off.

5. Options Tab

On the Options tab, the most important parameter is the Conversion Factor.

PI Totalizer assumes the units for the rate tag as units/day (for instance gal/day, l/day and so on). Since your data
source may be reporting the rate in units other than units/day, you would need to apply the correct converstion
factor to convert the rate to units/day so that you get correct result from totalization.

For example if the rate tag is storing flow rate in lb/hr then you must multiply this value by 24 to get the values in
unit of lb/day. In this case the conversion factor needs to be set to 24. Any intended conversion in the units can
also be performed using the conversion factor (for instance: if you need to change the units from lb to kg, or kg to
g).

Now save the tag and check whether you are getting correct totalization. Your totalization tag would get a value
every time the source tag gets a snapshot value if you set excmax = excdevpercent = compmax =
compdevpercent = 0.

Article ID: KB00793 Created: 5/24/2013

Article Type: How-To Last Updated: 5/29/2013

Copyright Email this Page Privacy Policy Contact Us Site Map

http://techsupport.osisoft.com/techsupport/nontemplates/KB/article.aspx?id=KB00793 8/9/2013

You might also like