I am new to using PI and have been working in AF to learn analysis, can someone help me write a calculation for finding the change in tank level over the past hour?
Hi Jennifer, thanks for reaching out!
If the tank level is recorded in an attribute called att1, the expression could be similar to:
TagVal('att1') - TagVal('att1', '*-1h')
This would be (current value) - (value 1 hour ago).
I hope this helps. Please let me know if you would like any clarification or if you were looking for something different.
Retrieving data ...