AnsweredAssumed Answered

TagTot producing unexpected results

Question asked by viul on Nov 12, 2019
Latest reply on Nov 20, 2019 by viul

I'm trying to totalize the Power used by heating elements. I have a current reading for the 3 phases, and calculate the total like this:

 

'Amp Phase 1'*.400*Sqr(3) // saved in attribute Analysis1_tot_kw / tag in Historian

if '*' = 't' then 0 else TagTot('Analysis1_tot_kw', 't', '*')*24

 

and write the results to pi tags. I have to say I'm new to totalizing, so I'm not sure if I'm using it correctly. I backfilled for 4 days, and the result looks like this:

 

 

 

The most recent result looks perfectly fine, but the one before is not making any sense.

 

Did I use the TagTot function incorrectly, or the backfilling?

 

TiA and Best Regards,

Viktor

Outcomes