The Statistical folder in the control block palette contains blocks that perform statistical functions on multiple inputs producing a single output (with the exception of the Statistics block, which provides multiple location and spread statistic outputs). Statistical blocks perform statistics on input. The number of inputs to a Statistical block depends on the number of inputs supported by the type of statistic. The Logic View allows you to add multiple connections to the output of the block.
Type |
Description |
Inputs (Float) 1 |
Outputs (Float)1 |
---|---|---|---|
AVG |
Average (Mean Value) |
I1 I2 |
Present Value |
MAX |
Maximum |
I1 I2 |
Present Value |
MIN |
Minimum |
I1 I2 |
Present Value |
Statistics |
Provides descriptive statistics, both the location and spread, for the input data set. Location statistics (average or median) reduce the entire input data set into a single value representing the center or most likely value of the data set. The spread statistics (Minimum Value, Maximum Value, and Standard Deviation) measure dispersion about the location statistic. See Table 2 for information on the inputs, outputs, and properties of the Statistics block. |
Name |
Data Type |
Exposed for Connection by Default |
Description |
Default Value |
---|---|---|---|---|
Inputs 2 |
||||
I1 |
Float |
Yes |
Provides input to the block. |
0.0 |
I2 |
Float |
Yes |
Provides input to the block. |
0.0 |
Minimum Trim Count |
Float |
No 3 |
Indicates the minimum number of reliable inputs to be trimmed from each end of a sorted list of reliable inputs. This value ensures that at least some inputs are trimmed even when the Trim Percent would not normally trim that many. If this input exceeds the number of reliable inputs divided by 2, the input is unreliable and the Reliability of the block is set to Inputs Out Of Range. |
0 |
Trimming |
Boolean |
No3 |
Trims the block’s values as follows: False: No trimming takes place. True: Specified high and low values are trimmed based on the Trim Percent and Minimum Trim Count. |
True |
Trim Percent |
Float |
No3 |
Indicates the percentage of reliable inputs to be trimmed from each end of the sorted list of reliable inputs. The number of inputs trimmed for both bottom and top of list are always the same. If the calculated number of inputs to be trimmed is less than 1, then only the Minimum Trim Count number of inputs are trimmed. If this input exceeds 50%, the input is unreliable and the Reliability of the block is set to Inputs Out Of Range. |
15.0% Range: 0-50% |
Outputs 4 |
||||
Average 5 |
Float |
Yes |
Indicates the average (arithmetic mean) of the remaining reliable inputs. |
0.0 |
Maximum Value |
Float |
Yes |
Indicates the maximum value of the remaining inputs. |
0.0 |
Median |
Float |
Yes |
Indicates the median value as follows:
|
0.0 |
Minimum Value |
Float |
Yes |
Indicates the minimum value of the remaining inputs. |
0.0 |
Standard Deviation |
Float |
Yes |
Indicates the standard deviation of remaining inputs. |
1.0 |
Properties |
||||
Interval |
Float |
N/A3 |
Equals the time between scheduled executions of the block. |
600 seconds Range: 1-32,767 |
Use Default if Not Reliable |
Boolean |
N/A3 |
Use to specify the behavior when the block goes unreliable. If True, the Outputs are set to their Default Values (user configurable) and their Reliability is set to Reliable. If False, the Outputs maintain the last reliable values and their Reliability is set to the Reliability of the block. |
False |