0

Documentation/Examples for Aggregates

We are trying to validate aggregation methods for a statistical tool we are building. Is there any documentation and/or example math available to validate the TimeAverage2 aggregate function?

Thanks!

1 reply

null
    • smason
    • 2 mths ago
    • Reported - view

    Hi edwardscaden4 ,

    Here is the technical document from OPC describing the behavior:

    https://reference.opcfoundation.org/Core/Part13/v104/docs/5.4.3.7#_Ref389486697.

    Essentially it is a time-weighted average. If you're trying to find an hourly average and the value is 10 for fifteen minutes in the interval, then 20 for the remaining 45 minutes, the calculation would be 10(0.25)+20(0.75) = 17.5.

    Hope this helps.

Content aside

print this pagePrint this page
  • 2 mths agoLast active
  • 1Replies
  • 24Views
  • 2 Following