Search
71 result(s) for Aggregate
-
OPC-10000-1 – OPC Unified Architecture - Part 1: Overview and Concepts2.1.2 AggregateAggregate function that calculates derived values from Raw data Note 1 to entry: Raw data may be from a historian or buffered real time data. Common Aggregates include averages over
-
OPC-10000-4 – OPC Unified Architecture - Part 4: Services7.22.1 OverviewNotification conforms to the EventFilter , the Notification is sent to the Client . AggregateFilter The Aggregate and its intervals when it will be calculated and a Notification is generated
-
OPC-10000-4 – OPC Unified Architecture - Part 4: Services7.22.4 AggregateFilterAggregateFilter The AggregateFilter defines the Aggregate function that should be used to calculate the values to be returned. See OPC 10000-13 for details on possible Aggregate functions. It specifies ... startTime of the first Aggregate to be calculated. The samplingInterval of the MonitoringParameters (see 7.21 ) defines how the Server should internally sample the underlying data source. The processingInterval specifies
-
OPC-10000-4 – OPC Unified Architecture - Part 4: Services7.38.1 Generalhides other data at the same timestamp. Multi Value 1XXXX Multiple values match the Aggregate criteria (i.e. multiple minimum values at different timestamps within the same interval
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical AccessAggregateConfiguration Object represents the browse entry point for information on how the Server treats Aggregate specific functionality such as handling Uncertain data . This Object is required to be present even ... contains no Aggregate configuration Objects . Aggregates are defined in OPC 10000-13 . AggregateFunctions is an entry point to browse to all Aggregate capabilities supported by the Server for Historical Access
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical Accessaggregating Server where underlying Servers may not support Insert or a particular Aggregate . In such cases the HistoryServerCapabilities Property would indicate the capability is supported, and the Server would return ... default value is False. AggregateFunctions is an entry point to browse to all Aggregate capabilities supported by the Server for Historical Access. All HistoryAggregates supported by the Server should
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical Access6.5.1 Overvieweach operation (see 6.6.3 ). ReadProcessedDetails Read processed This structure selects a set of Aggregate values from the history database by specifying a time domain for one or more Variables
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical Accessread. endTime UtcTime End of period to read. ProcessingInterval Duration Interval between returned Aggregate values. The value 0 indicates that there is no ProcessingInterval defined. aggregateType[] NodeId The NodeId ... used when retrieving the processed history. See OPC 10000-13 for details. AggregateConfiguration Aggregate Configuration Aggregate configuration structure. useServerCapabilitiesDefaults Boolean As described in OPC 10000-4 AggregateFilter Structure . (also
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical Access6.5.4.2 Read processed functionalityRead processed functionality This structure is used to compute Aggregate values, qualities, and timestamps from data in the history database for the specified time domain for one or more HistoricalDataNodes ... time domain is divided into intervals of duration ProcessingInterval . The specified Aggregate Type is calculated for each interval beginning with startTime by using the data within the next ProcessingInterval
-
OPC-10000-11 – OPC Unified Architecture - Part 11: Historical Access6.5.5.2 Read at time functionalityspecified timestamp. The interpolation will follow the same rules as the standard Interpolated Aggregate as outlined in OPC 10000-13 . If the useSimpleBounds flag is True and Interpolation is required
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates3.1.1 ProcessingIntervalProcessingInterval timespan for which derived values are produced based on a specified Aggregate Note 1 to entry: The total time domain specified for ReadProcessed is divided by the ProcessingInterval
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates3.1.3 EffectiveEndTimeEffectiveEndTime time immediately before endTime Note 1 to entry: All Aggregate calculations include the startTime but exclude the endTime . However, it is sometimes necessary to return an Interpolated End Bound
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates3.1.7 bounding valuesvalue was not found and a non-Bad bounding value exists the Aggregate Bits (see 5.3.3 ) are set to 'Interpolated'. When calculating bounding values , the value portion of Raw data ... returned. The status portion is determined by the rules specified by the bound or Aggregate . The Interpolated Bounding Values approach (see 3.1.8 ) is the same as what is used
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates4.1 GeneralGeneral OPC 10000-3 and OPC 10000-5 standards define the representation of Aggregate historical or buffered real time data in the OPC Unified Architecture. This includes the definition
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates4.2.1.2 AggregateConfigurationTypeAggregateConfigurationType The AggregateConfigurationType defines the general characteristics of a Node that defines the Aggregate configuration of any Variable or Property . AggregateConfiguration Object represents the browse entry point for information ... Server treats Aggregate specific functionality such as handling Uncertain data. It is formally defined in Table 2 . Table 2 - AggregateConfigurationType Definition Attribute Value BrowseName AggregateConfigurationType IsAbstract False References NodeClass BrowseName
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates4.2.2.2 AggregateFunctionTypeAggregateFunctionType This ObjectType defines an Aggregate supported by a UA Server . This Object is formally defined in Table 4 . Table 4 - AggregateFunctionType Definition Attribute Value BrowseName AggregateFunctionType IsAbstract False References ... Base NodeClass ) , is mandatory. The Description Attribute provides a localized description of the Aggregate . Table 5 specifies the BrowseName and Description Attributes for the standard Aggregate Objects . The description
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates4.2.2.3 Interpolative Aggregate ObjectInterpolative Aggregate Object The Interpolative Aggregate Object is an instance of AggregateFunctionType and represents the interpolative aggregate function defined in 5.4.3.4 . See Table 8 for details. Table 6 - Interpolative Aggregate
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesExposing Supported Functions and Capabilities Figure 1 outlines a possible representation of Aggregate information in the AddressSpace . In this example, although the Server at the highest level may support Aggregate ... only supports Interpolative, Total and Average, while DataVariable Y supports Average, a vendor defined Aggregate and other (unstated) Aggregates. Figure 1 - Representation of Aggregate Configuration information in the AddressSpace
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregatesperiod to read. endTime End of period to read. processingInterval Interval between returned Aggregate values. aggregateType[] The NodeIds of the AggregateFunction Objects . AggregateFunction Objects indicate the list of Aggregates ... used when retrieving processed history. aggregateConfiguration Aggregate configuration structure. useServerDefaults If True the Server 's default values are used and any values specified for the other parameters are ignored. treatUncertainAsBad
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesAggregateFilter structure overview The AggregateFilter defines the Aggregate function that should be used to calculate the values to be returned. The AggregateFilte r is formally defined ... Table 44 - AggregateFilter structure Name Description AggregateFilter startTime Beginning of period to calculate the Aggregate the first time. aggregateType The NodeIds of the AggregateFunction Objects that indicates the list
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesAggregateFunction is not supported by the Server for the specified Node . Bad_AggregateInvalidInputs The Aggregate value could not be derived due to invalid data inputs, errors attempting to perform data
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.3.3.1 GeneralGeneral These bits are set only when obtaining Aggregate data. They indicate where the data value came from and provide information that affects how the client uses the data value ... value supersedes other data at the same timestamp. Multiple Values Multiple values match the Aggregate criteria (i.e. multiple minimum values or multiple worst quality at different timestamps within the same
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.3.3.2 Partial Information bitcomplete interval and that a client may receive a different value for the Aggregate if it re-fetches the interval with the same parameters. The Partial bit will ... NoData. For those Aggregates with extrapolation, the Partial bit may be set. See the Aggregate specific characteristics for more details. If the start/end time does not result in an even
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.1 Generalstandardize the Aggregates so users can reliably predict the results of an Aggregate computation and understand its meaning. If users require custom functionality in the Aggregates , those Aggregates should ... defined Aggregates . The standard Aggregates shall be as consistent as possible, meaning that each Aggregate's behaviour shall be similar to every other Aggregate's behaviour where input parameters
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.2.1 DescriptionDescription Subclause 5.4.2 deals with Aggregate characteristics and behaviour that are common to all Aggregates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.2.2 Generating intervalsthese three parameters to generate a sequence of time intervals and then calculate an Aggregate for each interval. Subclause 5.4.2.2 specifies, given the three parameters, which time intervals are generated ... timestamp of the start of the interval unless otherwise noted for the particular Aggregate . Table 49 - History Aggregate interval information Start/End Time Interval Resulting intervals Start = End Int = Anything
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.2.3 Data typesData types Table 50 outlines the valid DataType for each Aggregate . Some Aggregates are intended for numeric data types - i.e. integers or real/floating point numbers. Dates, strings, arrays ... Aggregates may return results with a different DataType than those used to calculate the Aggregate . Table 50 also outlines the data type returned for each Aggregate . Table 50 - Standard History
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.2.4 Time calculation issuescome up when calculating Aggregates that include time as part of the calculation. All Aggregate calculations include the startTime but exclude the endTime . However, it is sometimes necessary to return
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.1 GeneralHistoryRead or the CreateMonitoredItems Service , the following rules are used to handle specific Aggregate use cases. If ProcessingInterva l is 0, the Server shall create one Aggregate value ... time. A value with a timestamp equal to endTime will be excluded from that Aggregate , just as it would be excluded from an interval with that ending time
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.2.1 GeneralGeneral StatusCodes for an Aggregate value shall take into account the values used to calculate them. In addition, the configuration parameters PercentDataGood and PercentDataBad allow the client to control ... this calculation is done if supported by the Server . If an Aggregate operates on raw values (e.g. Average) the calculation is done by counting values. If an Aggregate operates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesValues Figure 2 illustrates a data series for Variable with Stepped = False and an Aggregate that uses Simple Bounding Values . The request being processed has a Start Time that falls
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesValues Figure 3 illustrates a data series for Variable with Stepped = True and an Aggregate that uses Interpolated Bounding Values . The request being processed has a Start Time that falls
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.3 DescriptionDescription Subclause 5.4.3.3 deals with Aggregate specific characteristics and behaviour that is specific to a particular Aggregate . Each subclause has a table which formally expresses the Aggregate behaviour (including ... selection. The second part of the table describes how the status associated with the Aggregate calculation is computed. The last part of the table lists what behaviour is expected from
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.4 InterpolativeInterpolative The Interpolative Aggregate defined in Table 52 returns the Interpolated Bounding Value (see 3.1.8 ) for the startTime of each interval. When searching for Good values before or after ... time range which is at least the size of the ProcessingInterval . Table 52 - Interpolative Aggregate summary Interpolated Aggregate Characteristics Type Interpolated Data Type Same as Source Use Bounds Interpolated Timestamp
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.5 AverageAverage The Average Aggregate defined in Table 53 adds up the values of all Good Raw data for each interval, and divides the sum by the number of Good values ... Good values are ignored in the computation, the Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ). This Aggregate is not time based so the PercentGood / PercentBad applies
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.6 TimeAverageTimeAverage The TimeAverage Aggregate defined in Table 54 uses Interpolated Bounding Values (see 3.1.8 ) to find the value of a point at the beginning and end of an interval. Starting ... area. The time resolution used in this calculation is Server specific. Table 54 - TimeAverage Aggregate summary TimeAverage Aggregate Characteristics Type Calculated Data Type Double Use Bounds Interpolated Timestamp StartTime StatusCode
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.7 TimeAverage2TimeAverage2 The TimeAverage2 Aggregate defined in Table 55 uses Simple Bounding Values (see 3.1.9 ) to find the value of a point at the beginning and end of an interval. Starting ... used to calculate the area of sub-interval preceding the Bad value. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ). Table 55 - TimeAverage2 Aggregate summary TimeAverage2
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.8 TotalTotal The Total Aggregate defined in Table 56 performs the following calculation for each interval: Total = TimeAverage x ProcessingInterval (seconds) where: TimeAverage is the result from the TimeAverage Aggregate , using ... resulting units would be normalized to seconds, i.e. [ TimeAverage Units] x seconds. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ). Note that this calculation always uses
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.9 Total2Total2 The Total2 Aggregate defined in Table 57 performs the following calculation for each interval: Total2 = TimeAverage2 x ProcessingInterval of Good data (seconds) where TimeAverage2 is the result from ... TimeAverage2 Aggregate , using the ProcessingInterval supplied to the Total2 call. The interval of Good data is the sum of all sub-intervals where non-Bad data exists
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.10 MinimumMinimum The Minimum Aggregate defined in Table 58 retrieves the minimum Good raw value within the interval, and returns that value with the timestamp at the start of the interval ... available then the status is returned as Bad_NoData . The timestamp of the Aggregate will always be the start of the interval for every ProcessingInterval . Table 58 - Minimum Aggregate summary
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.11 MaximumMaximum The Maximum Aggregate defined in Table 59 retrieves the maximum Good raw value within the interval, and returns that value with the timestamp at the start of the interval ... available then the status is returned as Bad_NoData . The timestamp of the Aggregate will always be the start of the interval for every ProcessingInterval . Table 59 - Maximum Aggregate summary
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.12 MinimumActualTimeMinimumActualTime The MinimumActualTime Aggregate defined in Table 60 retrieves the minimum Good raw value within the interval, and returns that value with the timestamp at which that value occurs. Note ... minimum exists at more than one timestamp, the oldest one is retrieved and the Aggregate Bits are set to MultipleValues. Table 60 - MinimumActualTime Aggregate summary MinimumActualTime Aggregate Characteristics Type Calculated
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.13 MaximumActualTimeMaximumActualTime The MaximumActualTime Aggregate defined in Table 61 is the same as the MinimumActualTime Aggregate , except that the value is the maximum raw value within the interval. Note that ... maximum exists at more than one timestamp, the oldest one is retrieved and the Aggregate Bits are set to MultipleValues. Table 61 - MaximumActualTime Aggregate summary MaximumActualTime Aggregate Characteristics Type Calculated
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.14 RangeRange The Range Aggregate defined in Table 62 finds the difference between the maximum and minimum Good raw values in the interval. If only one Good value exists ... values exist then the status is Uncertain_DataSubNormal. Table 62 - Range Aggregate summary Range Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds None Timestamp StartTime StatusCode Calculations
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.15 Minimum2Minimum2 The Minimum2 Aggregate defined in Table 63 retrieves the minimum Good value for each interval as defined for Minimum except that Simple Bounding Values are included. The Simple Bounding ... Simple Bounding Values (see 3.1.9 ). Any Bad values are ignored in the computation. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.16 Maximum2Maximum2 The Maximum2 Aggregate defined in Table 64 retrieves the maximum Good value for each interval as defined for Maximum except that Simple Bounding Values are included. The Simple Bounding ... Simple Bounding Values (see 3.1.9 ). Any Bad values are ignored in the computation. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.17 MinimumActualTime2MinimumActualTime2 The MinimumActualTime2 Aggregate defined in Table 65 retrieves the minimum Good value for each interval as defined for MinimumActualTime except that Simple Bounding Values are included. The Simple Bounding ... Simple Bounding Values (see 3.1.9 ). Any Bad values are ignored in the computation. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.18 MaximumActualTime2MaximumActualTime2 The MaximumActualTime2 Aggregate defined in Table 66 retrieves the maximum Good value for each interval as defined for MaximumActualTime except that Simple Bounding Values are included. The Simple Bounding ... Simple Bounding Values (see 3.1.9 ). Any Bad values are ignored in the computation. The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.19 Range2Range2 The Range2 Aggregate defined in Table 67 finds the difference between the maximum and minimum values in the interval as returned by the Minimum2 and Maximum2 Aggregates . Note that ... range is always zero or positive. Table 67 - Range2 Aggregate summary Range2 Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds Simple (used in Minimum2 and Maximum2 calculations
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.20 AnnotationCountAnnotationCount The AnnotationCount Aggregate defined in Table 68 returns a count of all Annotations in the interval. The StatusCodes are Good, Calculated. Table 68 - AnnotationCount Aggregate summary AnnotationCount Aggregate Characteristics
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.21 CountCount The Count Aggregate defined in Table 69 retrieves a count of all the raw values within an interval. If one or more raw values are non-Good, they ... included in the count, and the Aggregate StatusCode is determined using the StatusCode Calculation (see 5.4.3 ) for non-time based Aggregates . If no Good data exists for an interval
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.22 DurationInStateZeroDurationInStateZero The DurationInStateZero Aggregate defined in Table 70 returns the time Duration during the interval that the Variable was in the zero state. The Simple Bounding Values for the interval ... values are non-Good, they are not included in the Duration , and the Aggregate StatusCode is determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates . Duration
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.23 DurationInStateNonZeroDurationInStateNonZero The DurationInStateNonZero Aggregate defined in Table 71 returns the time Duration during the interval that the Variable was in the one state. The Simple Bounding Values for the interval ... values are non-Good, they are not included in the Duration , and the Aggregate StatusCode is determined using the StatusCode Calculation (see 5.3 ) for time based Aggregates . Duration
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.24 NumberOfTransitionsNumberOfTransitions The NumberOfTransitions Aggregate defined in Table 72 returns a count of the number of transition the Variable had during the interval. If one or more raw values ... they are not included in the count, and the Aggregate StatusCode is determined using the StatusCode Calculation (see 5.3 ) for non-time based Aggregates . The earliest transition shall be calculated
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.25 StartStart The Start Aggregate defined in Table 73 retrieves the earliest raw value within the interval, and returns that value and status with the timestamp at which that value occurs ... values are in the interval then the StatusCode is Bad_NoData . Table 73 - Start Aggregate summary Start Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds None Timestamp
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.26 EndAggregate defined in Table 74 retrieves the latest raw value within the interval, and returns that value and status with the timestamp at which that value occurs. If no values ... interval then the StatusCode is Bad_NoData . Table 74 - End Aggregate summary End Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds None Timestamp Time of Raw Value
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.27 DeltaDelta The Delta Aggregate defined in Table 75 retrieves the difference between the earliest and latest Good raw values in the interval . The Aggregate is negative if the latest value ... status is Bad_NoData if no Good raw values exist. Table 75 - Delta Aggregate summary Delta Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds None Timestamp StartTime
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.28 StartBoundStartBound The StartBound Aggregate defined in Table 76 returns the value and status at the StartTime for the interval by calculating the Simple Bounding Values for the interval ... Table 76 - StartBound Aggregate summary StartBound Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds Simple Timestamp StartTime StatusCode Calculations Calculation Method Custom The status of the start
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.29 EndBoundEndBound The EndBound Aggregate defined in Table 77 returns the value and status at the EndTime for the interval by calculating the Simple Bounding Values for the interval ... always the start of the interval and Calculated bit is set. Table 77 - EndBound Aggregate summary EndBound Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds Simple Timestamp
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.30 DeltaBoundsDeltaBounds The DeltaBounds Aggregate defined in Table 78 returns the difference between the StartBound and the EndBound Aggregates with the exception that both the start and end shall be Good ... both values are Uncertain the status will be Uncertain_DataSubNormal . Table 78 - DeltaBounds Aggregate summary DeltaBounds Aggregate Characteristics Type Calculated Data Type Same as Source Use Bounds Simple Timestamp StartTime
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.31 DurationGoodDurationGood The DurationGood Aggregate defined in Table 79 divides the interval into regions of Good and non-Good data. Each region starts with a data point in the interval ... that data point is Good the region is Good. The Aggregate is the sum of the duration of all Good regions expressed in milliseconds. The status of the first region
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.32 DurationBadDurationBad The DurationBad Aggregate defined in Table 80 divides the interval into regions of Bad and non-Bad data. Each region starts with a data point in the interval ... that data point is Bad the region is Bad. The Aggregate is the sum of the duration of all Bad regions expressed in milliseconds. The status of the first region
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.33 PercentGoodPercentGood The PercentGood Aggregate defined in Table 81 performs the following calculation: PercentGood = DurationGood / ProcessingInterval x 100 where: DurationGood is the result from the DurationGood Aggregate , calculated using the ProcessingInterval ... interval then the duration of the partial interval is used in the calculation. Each Aggregate is returned with timestamp of the start of the interval. StatusCodes are Good, Calculated. Table
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.34 PercentBadPercentBad The PercentBad Aggregate defined in Table 82 performs the following calculation: PercentBad = DurationBad / ProcessingInterval x 100 where: DurationBad is the result from the DurationBad Aggregate , calculated using the ProcessingInterval ... interval then the duration of the partial interval is used in the calculation. Each Aggregate is returned with timestamp of the start of the interval. StatusCodes are Good, Calculated. Table
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.35 WorstQualityWorstQuality The WorstQuality Aggregate defined in Table 83 returns the worst status of the raw values in the interval where a Bad status is worse than Uncertain, which is worse ... specific reasons for the status. The server shall ignore the TreatUncertainAsBad for this aggregate. If multiple values exist with the worst quality the MultipleValues bit is set. If multiple values
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.36 WorstQuality2WorstQuality2 The WorstQuality2 Aggregate defined in Table 84 returns the worst status of the raw values in the interval where a Bad status is worse than Uncertain, which is worse ... specific reasons for the status. The server shall ignore the TreatUncertainAsBad for this aggregate. The start bound calculated using Simple Bounding Values (see 3.1.9 ) is always included when determining
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.37 StandardDeviationSampleStandardDeviationSample The StandardDeviationSample Aggregate defined in Table 85 uses the formula: where X is each Good raw value in the interval, Avg(X) is the average of the Good ... value of 0 is returned. If any non-Good values were ignored, the Aggregate quality is uncertain/subnormal. All interval Aggregates return timestamp of the start of the interval. Unless otherwise
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.38 VarianceSampleVarianceSample The VarianceSample Aggregate defined in Table 86 retrieves the square of the standard deviation. Its behaviour is the same as the StandardDeviationSample Aggregate . Unless otherwise indicated, qualities are Good ... calculate the variance of a full set of data ( 5.4.3.40 ). Table 86 - VarianceSample Aggregate summary VarianceSample Aggregate Characteristics Type Calculated Data Type Double Use Bounds None Timestamp StartTime StatusCode Calculations
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.39 StandardDeviationPopulationStandardDeviationPopulation The StandardDeviationPopulation Aggregate defined in Table 87 uses the formula: where X is each Good raw value in the interval, Avg(X) is the average of the Good ... value of 0 is returned. If any non-Good values were ignored, the Aggregate quality is uncertain/subnormal. All interval Aggregates return timestamp of the start of the interval. Unless otherwise
-
OPC-10000-13 – OPC Unified Architecture - Part 13: Aggregates5.4.3.40 VariancePopulationVariancePopulation The VariancePopulation Aggregate defined in Table 88 retrieves the square of the standard deviation. Its behaviour is the same as the StandardDeviationPopulation Aggregate . Unless otherwise indicated, qualities are Good ... calculate the variance of a subset of the full population ( 5.4.3.38 ). Table 88 - VariancePopulation Aggregate summary VariancePopulation Aggregate Characteristics Type Calculated Data Type Double Use Bounds None Timestamp StartTime StatusCode
-
OPC-10000-13 – OPC Unified Architecture - Part 13: AggregatesA.1.1 Aggregate Examples CSVA.1.1 Aggregate Examples CSV The Aggregate examples are produced programatically with the resulting output as a CSV file. The CSV file released with this version of the standard