Is "the function" TagTot() ? I'm assuming it is, to my knowledge it's the only one that requires a conversion factor. The time weighted TagTot() (by default it is time weighted) performs a time integral. It's mainly used to calculate the total of a unit of rate.

To give a simple example, consider a data point with units m3/s.

Performing TagTot('data point', 'StartTime', 'EndTime') will return the number of m3 in the time range [StartTime,EndTime]. The PI Data Archive assumes the units are m3/day not m3/s.

Let's say the area under the 'data point' curve is a perfect rectangle in the time span t ([StartTime,EndTime]).

The time integral would be:

Y m3/s * t day... where t is in day (this is what the PI DA assumes).

So you need to use a conversion factor:

60s/min * 60min/hour * 24hour/day = 86 400 s/day

Y m3/s * t day * 86 400 s/day = 86 400Y m3

Of course, if the area under the curve isn't a perfect rectangle, than Y is replaced by a time integral.

Is "the function" TagTot() ? I'm assuming it is, to my knowledge it's the only one that requires a conversion factor. The time weighted TagTot() (by default it is time weighted) performs a time integral. It's mainly used to calculate the total of a unit of rate.

To give a simple example, consider a data point with units m3/s.

Performing TagTot('data point', 'StartTime', 'EndTime') will return the number of m3 in the time range [StartTime,EndTime]. The PI Data Archive assumes the units are m3/day not m3/s.

Let's say the area under the 'data point' curve is a perfect rectangle in the time span t ([StartTime,EndTime]).

The time integral would be:

Y m3/s * t day... where

t is in day(this is what the PI DA assumes).So you need to use a conversion factor:

60s/min * 60min/hour * 24hour/day = 86 400 s/day

Y m3/s * t day * 86 400 s/day = 86 400Y m3

Of course, if the area under the curve isn't a perfect rectangle, than Y is replaced by a time integral.

You can some information here: