The Calculation Designer is a means of configuring a wide variety of calculations as simple or as complex as they need to be.
Accessing the Calculation Designer is done by either selecting the calculation parameter in the treeview, right clicking and selecting it, or adding the point to the selection window and clicking the Calculation Designer icon.
The calculation designer icon will only be enabled if a single calculated parameter point has been selected in the selection tool.
Select the point to be configured and open the calculation window.
Points which are to be used in the calculation, can be added by dragging them from the treeview and dropping them either in the formula window or in the list of points. If added to the formula window, the point will also be listed in the list of points.
Generic Points, Process Parameters and Calculated Points can be used in calculations.
The point list displays the following information for each point. The calculation that is being worked on will always be at the top of the list.
To add points to the formula:
When a point has been added to the formula window it will be displayed as:
{PPointIdent} – e.g., Point Ident 10 would be displayed as {P10}, Point Ident 255 would be displayed as {P255}.
Users can type in formulas to the formula window.
There are toolbars with various mathematical formulas in them. Using these, will give the user the starting formula.
For example, if we clicked on ‘Max’, the following would be added to the formula window:
The user would then have to put the points within the square brackets.
Click the Save icon to save the changes.
There are a lot of math icons available and a full description of these can be found in the calculation document.
If the reqd (required point) box is checked, this means that the calculation will only ever be performed when new data is received for this point. In the majority of cases a tick is required i.e. you only want to do the calculation when new data is available.
An example of where you would not tick the Reqd box is if you were doing a calculation that included a constant in the equation. This value would only ever be stored once in the database. In this case, there would only ever be one value for this point and new data would never appear therefore it would not have the Reqd box ticked.
The frequency that a calculation is performed is specified by setting calculation interval, e.g., weekly, monthly etc. This means that the calculation is performed only at this interval.
The key point allows the specification of a calculation to be performed whenever there is new data for the key point, specifically regarding a timestamp. For example, with a calculation which says {P1} + {P2) and the key point is set as {P1} then the calculation will be executed for every timestamp that {P1} has a data value regardless of how regular or irregular that is.
To make a point a key point, select the point in the Points window and click on the key point icon in the toolbar.
When a point is selected and the Key Point button is selected, then the Key Point column in the Point List will indicate a ‘Yes’.
Further configuration options are available by clicking on the configuration icon in the toolbar.
The configuration window will open.
The configuration settings need to be set for each individual calculation. The Configuration process is divided into 4 sections. Once changes are applied, click on the Save button to apply them.