data_core:script_tags
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
data_core:script_tags [2019/12/06 15:03] – [Script Tags] su | data_core:script_tags [2024/01/25 11:49] (current) – su | ||
---|---|---|---|
Line 7: | Line 7: | ||
* C# | * C# | ||
* FLEE (Fast Lightweight Expression Evaluation) - [[https:// | * FLEE (Fast Lightweight Expression Evaluation) - [[https:// | ||
- | * Javascript | ||
===== Script Tag Templates ===== | ===== Script Tag Templates ===== | ||
- | Script Tag Templates are pre-configured to perform | + | A number of pre-configured |
- | The following templates exist: | ||
==== Calculations ==== | ==== Calculations ==== | ||
+ | * **Accumulator Calculator** \\ Calculates the accumulated result of a monitored process tag for a given period (e.g. a day). | ||
+ | |||
+ | * **Aggregation Calculator** \\ Periodically calculate an aggregation of a process tag. | ||
* **Average Calculator** \\ Periodically calculates the average value of a process tag. | * **Average Calculator** \\ Periodically calculates the average value of a process tag. | ||
Line 23: | Line 25: | ||
* **Delta Calculator** \\ Calculates the delta between the value of two input tags. | * **Delta Calculator** \\ Calculates the delta between the value of two input tags. | ||
- | * **GasVelocityCalculator** \\ Calculates | + | * **Delta with Offset Calculator** \\ Calculates |
+ | * **Energy Based Availability Calculator** \\ Energy-Based Availability (EBA) is the ratio of actual to expected energy production. | ||
+ | * **Gas Velocity Calculator** \\ Calculates gas velocity using flow rate and pressure. | ||
+ | * **Normalized Deviation Calculation** \\ Calculates the normalized deviation of a process value. | ||
- | ==== Sensor Quality Checks ==== | + | * **Ratio Calculator** \\ Calculates the ratio and between two input tags. |
- | * **Bad Data Detection** \\ Data quality check that raises alert if monitored tag returns NaN or has a ' | + | * **Time Based Availability Calculator** \\ Time-Based Availability (TBA) is an energy expression denoting the ratio of a time-period (e.g. a day) when power is available. It does not discriminate the cause of downtime (e.g. a deliberate stop for maintenance, |
- | * **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. | + | * **Time Based Delta Calculator** \\ Monitors |
- | * **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). | + | * **Turbine Status** \\ A turbine has three basic power-production states: 1. Power; 2. No Wind; 3. No Power. |
- | * **Frozen Signal Detection** \\ Script tag that periodically ensures that newer values are being received for a tag. | + | * **Turbulence Intensity Calculator** \\ Turbulence Intensity (TI) is a measurement of wind speed turbulence. It is the ratio of wind speed StdDev to Mean. |
+ | * **Turbulence Intensity Forecast Calculator** \\ Turbulence Intensity Forecast (TI) is an measurement of wind speed turbulence derived from forecasted Wind and Gust Speed (rather than observed wind speed variance). | ||
- | ==== Process Data Alerts ==== | + | * **Unit Converter** \\ Convert process value from one unit to another. |
- | * **Equipment Running Status Monitor** \\ Monitors the running status of a piece of equipment and triggers and resets events when the status changes. | + | ==== Sensor Quality Checks ==== |
- | * **Fleeting Excursion Monitor** \\ Script tag template for monitoring sensors such as acoustic sand probes | + | * **Bad Data Detection** \\ Data quality check that raises alert if monitored tag returns NaN or has a ' |
- | * **Limit Monitor** \\Script tag that periodically monitors a process tag value against | + | * **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. |
- | * **Time Based Delta Monitor** \\ Monitors the rate of change of a process tag over a time period. | + | |
+ | * **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. | ||
- | == Frozen Data Detection == | + | * **Hi/Lo Limit Monitor** \\ Performs |
- | "Monitor | + | |
- | Alerts if no new value is received for 24hr period. | + | * **Limit Monitor** \\ Script tag that periodically monitors |
- | " | + | |
- | Bad Data Detection | + | |
- | Script tag template | + | |
- | Flatline Detection | + | * **Limit Monitor 1 Precondition** \\ Limit monitor |
- | " | + | |
- | Alert if value doesn' | + | * **Limit Monitor 2 Precondition** \\ Limit monitor that will only trigger or reset an excursion event if two precondition tag value checks |
- | " | + | |
- | Channel Deviation | + | |
- | Script tag template that checks | + | |
+ | * **Limit Monitor 3 Precondition** \\ Limit monitor that will only trigger or reset an excursion event if three precondition tag value checks are met. | ||
- | ===== Types of Script Tag ===== | + | * **Logic Gate Alert** \\ An alert that can be used to summarise the status |
- | ==== Ad Hoc Script Tag ==== | + | * **Time Based Delta Monitor** \\ Monitors the rate of change of a process tag over a time period. |
- | Ad-hoc script tags can perform bespoke calcutations | + | * **Value Change Monitor** \\ Monitors a tag and emits an event every time the value of the tag changes. |
- | ==== Template Tag ==== | ||
+ | ==== Troubleshooting ==== | ||
+ | The Data Core Admin UI shows information related to the processing of an individual Script Tag via the " | ||
+ | {{ : | ||
+ | The Data Core API also exposes information related to all Script Tags for a data source. | ||
+ | * [DataCoreAdminUrl]/ | ||
- | ===== 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.1575644608.txt.gz · Last modified: 2019/12/06 15:03 by su