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:40] – [Calculations] 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. | ||
* **Delta Calculator** \\ Calculates the delta between the value of two input tags. | * **Delta Calculator** \\ Calculates the delta between the value of two input tags. | ||
+ | |||
+ | * **Delta with Offset Calculator** \\ Calculates the delta between the value of two input tags, then applies an offset. | ||
+ | |||
+ | * **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. | * **Gas Velocity Calculator** \\ Calculates gas velocity using flow rate and pressure. | ||
+ | * **Normalized Deviation Calculation** \\ Calculates the normalized deviation of a process value. | ||
+ | * **Ratio Calculator** \\ Calculates the ratio and between two input tags. | ||
+ | * **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, | ||
+ | |||
+ | * **Time Based Delta Calculator** \\ Monitors the rate of change of a process tag over a time period. | ||
+ | |||
+ | * **Turbine Status** \\ A turbine has three basic power-production states: 1. Power; 2. No Wind; 3. No Power. | ||
+ | |||
+ | * **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). | ||
+ | |||
+ | * **Unit Converter** \\ Convert process value from one unit to another. | ||
==== Sensor Quality Checks ==== | ==== Sensor Quality Checks ==== | ||
Line 37: | Line 56: | ||
* **Frozen Signal Detection** \\ Script tag that periodically ensures that newer values are being received for a tag. | * **Frozen Signal Detection** \\ Script tag that periodically ensures that newer values are being received for a tag. | ||
+ | |||
Line 44: | Line 64: | ||
* **Fleeting Excursion Monitor** \\ Script tag template for monitoring sensors such as acoustic sand probes that can generate fleeting excursions. | * **Fleeting Excursion Monitor** \\ Script tag template for monitoring sensors such as acoustic sand probes that can generate fleeting excursions. | ||
+ | |||
+ | * **Hi/Lo Limit Monitor** \\ Performs a Hi/Lo limit monitor check. | ||
* **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.// | * **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.// | ||
+ | |||
+ | * **Limit Monitor 1 Precondition** \\ Limit monitor that will only trigger or reset an excursion event if a precondition tag value check is met. | ||
+ | |||
+ | * **Limit Monitor 2 Precondition** \\ Limit monitor that will only trigger or reset an excursion event if two precondition tag value checks are met. | ||
+ | |||
+ | * **Limit Monitor 3 Precondition** \\ Limit monitor that will only trigger or reset an excursion event if three precondition tag value checks are met. | ||
+ | |||
+ | * **Logic Gate Alert** \\ An alert that can be used to summarise the status of multiple alerts using an AND or OR operator. | ||
* **Time Based Delta Monitor** \\ Monitors the rate of change of a process tag over a time period. | * **Time Based Delta Monitor** \\ Monitors the rate of change of a process tag over a time period. | ||
+ | * **Value Change Monitor** \\ Monitors a tag and emits an event every time the value of the tag changes. | ||
+ | |||
+ | |||
+ | ==== 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]/ | ||
data_core/script_tags.1575646834.txt.gz · Last modified: 2019/12/06 15:40 by su