Defining the data source

Tags and tag groups identify the data sources that feed an algorithm’s calculations. Tags and tag groups replace the ORDs that in standard wire sheets (not algorithm wire sheets link blocks. A Data Source Block defines the tag that supplies the data for processing and charting.
Prerequisites: You are connected to a station.
A single algorithm can run against data collected from an entire building. For example, assume your building has 100 air handling units and an algorithm to monitor their performance. When you add 50 more units, and tag each unit appropriately, without any additional effort on your part the original algorithm applies to all 150 units.
Perform the following steps:
  1. To open the Algorithm Manager, expand the AnalyticService and double-click Algorithms.
    The Algorithm Manager opens.
  2. Do one of the following:
    1. To start with a pre-configured algorithm from the library, open the analytics-lib palette, expand the Algorithm node and version (English or Metric), and drag an algorithm to the Algorithm Manager.
    2. To build an algorithm from scratch, click the New button, click the OK button in the New window, in the subsequent window configure the Name and any other desired properties, then click the OK button.
  3. Right click the algorithm in the Algorithm Manager view and select Views > AX Wire Sheet, or double click the wire sheet icon (Image) for the algorithm in the Views column.
    The Wire Sheet for the new algorithm opens. A new algorithm contains a single result block.
  4. For a new algorithm, open the analytics palette, drag a DataSourceBlock to the algorithm’s Wire Sheet, and click OK. To open the data source property sheet, double-click the block and, if necessary, expand the window to see all properties.
    You do not need to name a Data Source Block but it may provide context to other users when reviewing the algorithm.
  5. Go to the Property Sheet of the algorithm and click the Facets property (double-chevron icon in the field editor) and assign the appropriate unit of measure to use for output values.
    No unit conversion from a Data Source Block occurs unless the algorithm defines its unit of measure. If algorithms are chained together, the next algorithm in the chain defaults to the previous algorithm’s units. If no units are defined in the previous algorithm, the next algorithm defaults to the units defined in its Data Source Block.
  6. Configure any other properties and click Save.