Analytics library

The analytics-lib palette provides the pre-defined algorithms for a variety of common calculations. You can modify them or use them as examples when creating your own algorithms. To use an algorithms drag it to a Wire Sheet and supply at least a data source. The Algorithm Library chapter of the Niagara Analytics Framework Reference documents these pre-defined formulas.
Figure 11.   analytics-lib palette
Image

The analytics-lib palette consists of three folders:

  • The Algorithm folder contains two sets of pre-defined algorithms: one set that supports English and the other that supports Metric units of measure. Each set contains instances of all algorithms including those that do not require specific units.
  • The TagDictionary folder contains a tag dictionary named Analytics with pre-configured tag and tag group definitions. Those tag and tag group definitions provide algorithms, which you assign to applicable points in the station.
  • The Definition folder contains English and Metric configurations. A definition is a set of properties that associates specific processing information with each tag, and consequently with each object (point) to which the tag is assigned. You can remove, modify, and add new definitions. Often the best course of action is to copy an existing definition, rename it with a unique name, then modify it to meet your needs.