data_core:script_tags
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
data_core:script_tags [2019/12/04 17:07] – created su | data_core:script_tags [2019/12/06 15:41] – [Script Tag Templates] su | ||
---|---|---|---|
Line 3: | Line 3: | ||
Script Tags provide a highly configurable way to define calculation and event raising tags. | Script Tags provide a highly configurable way to define calculation and event raising tags. | ||
- | ===== Types of Script | + | Script |
- | ==== Ad Hoc Script Tag ==== | + | * C# |
+ | * FLEE (Fast Lightweight Expression Evaluation) - [[https:// | ||
+ | * Javascript | ||
- | Ad-hoc script tags can perform bespoke calcutations and actions. Use either c# or FLEE script to define. | ||
- | ==== Template | + | ===== Script |
+ | A number of pre-configured script tags exist to perform the following funcitons: | ||
+ | ==== Calculations ==== | ||
+ | |||
+ | |||
+ | * **Average Calculator** \\ Periodically calculates the average value of a process tag. | ||
+ | |||
+ | * **Delta Calculator** \\ Calculates the delta between the value of two input tags. | ||
+ | |||
+ | * **Gas Velocity Calculator** \\ Calculates gas velocity using flow rate and pressure. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Sensor Quality Checks ==== | ||
+ | |||
+ | * **Bad Data Detection** \\ Data quality check that raises alert if monitored tag returns NaN or has a ' | ||
+ | |||
+ | * **Channel Deviation Detection** \\ Checks for deviation in output from a sensor with two data channels. An alert indicates that one or both of the channels is unreliable. The method is to regularly compare Channel A and Channel B and check if difference is within acceptable instrument error tolerance. Default configuration is to check 24hr average difference 4 times per day. | ||
+ | |||
+ | * **Flatline Detection** \\ Script tag that checks for flatlining data (i.e. process tags where the tag may be updating regularly, but the sensor value is not changing). | ||
+ | |||
+ | * **Frozen Signal Detection** \\ Script tag that periodically ensures that newer values are being received for a tag. | ||
+ | |||
+ | |||
+ | ==== Process Data Alerts ==== | ||
+ | |||
+ | * **Equipment Running Status Monitor** \\ Monitors the running status of a piece of equipment and triggers and resets events when the status changes. | ||
+ | |||
+ | * **Fleeting Excursion Monitor** \\ Script tag template for monitoring sensors such as acoustic sand probes that can generate fleeting excursions. | ||
+ | |||
+ | * **Limit Monitor** \\ Script tag that periodically monitors a process tag value against a limit using MIN/MAX aggregated data. \\ //Use the FleetingExcursionMonitor template if you require a high degree of accuracy.// | ||
+ | |||
+ | * **Time Based Delta Monitor** \\ Monitors the rate of change of a process tag over a time period. | ||
- | ===== Configuration ===== | ||
- | A user interface exists on App Store Connect to administer script tags. However, for operations of scale (where many tags are required) or security (where access to app store connect server is restricted) it may be necessary to prepare configuration files for upload. | ||
data_core/script_tags.txt · Last modified: 2024/01/25 11:49 by su