pub struct MeasurementValueQuality<'a>(pub &'a Object);Expand description
Measurement quality flags. Bits 0-10 are defined for substation automation in draft IEC 61850 part 7-3. Bits 11-15 are reserved for future expansion by that document. Bits 16-31 are reserved for EMS applications.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> MeasurementValueQuality<'a>
impl<'a> MeasurementValueQuality<'a>
Sourcepub fn bad_reference(&self) -> Option<bool>
pub fn bad_reference(&self) -> Option<bool>
Measurement value may be incorrect due to a reference being out of calibration.
Sourcepub fn estimator_replaced(&self) -> Option<bool>
pub fn estimator_replaced(&self) -> Option<bool>
Value has been replaced by State Estimator. estimatorReplaced is not an IEC61850 quality bit but has been put in this class for convenience.
Sourcepub fn failure(&self) -> Option<bool>
pub fn failure(&self) -> Option<bool>
This identifier indicates that a supervision function has detected an internal or external failure, e.g. communication failure.
Sourcepub fn old_data(&self) -> Option<bool>
pub fn old_data(&self) -> Option<bool>
Measurement value is old and possibly invalid, as it has not been successfully updated during a specified time interval.
Sourcepub fn operator_blocked(&self) -> Option<bool>
pub fn operator_blocked(&self) -> Option<bool>
Measurement value is blocked and hence unavailable for transmission.
Sourcepub fn oscillatory(&self) -> Option<bool>
pub fn oscillatory(&self) -> Option<bool>
To prevent some overload of the communication it is sensible to detect and suppress oscillating (fast changing) binary inputs. If a signal changes in a defined time (tosc) twice in the same direction (from 0 to 1 or from 1 to 0) then oscillation is detected and the detail quality identifier “oscillatory” is set. If it is detected a configured numbers of transient changes could be passed by. In this time the validity status “questionable” is set. If after this defined numbers of changes the signal is still in the oscillating state the value shall be set either to the opposite state of the previous stable value or to a defined default value. In this case the validity status “questionable” is reset and “invalid” is set as long as the signal is oscillating. If it is configured such that no transient changes should be passed by then the validity status “invalid” is set immediately in addition to the detail quality identifier “oscillatory” (used for status information only).
Sourcepub fn out_of_range(&self) -> Option<bool>
pub fn out_of_range(&self) -> Option<bool>
Measurement value is beyond a predefined range of value.
Sourcepub fn over_flow(&self) -> Option<bool>
pub fn over_flow(&self) -> Option<bool>
Measurement value is beyond the capability of being represented properly. For example, a counter value overflows from maximum count back to a value of zero.
Sourcepub fn source(&self) -> Option<EnumValueId>
pub fn source(&self) -> Option<EnumValueId>
Source gives information related to the origin of a value. The value may be acquired from the process, defaulted or substituted.
Sourcepub fn suspect(&self) -> Option<bool>
pub fn suspect(&self) -> Option<bool>
A correlation function has detected that the value is not consitent with other values. Typically set by a network State Estimator.
Sourcepub fn validity(&self) -> Option<EnumValueId>
pub fn validity(&self) -> Option<EnumValueId>
Validity of the measurement value.
Sourcepub fn measurement_value(&self) -> Option<TypedRef<MeasurementValue<'static>>>
pub fn measurement_value(&self) -> Option<TypedRef<MeasurementValue<'static>>>
A MeasurementValue has a MeasurementValueQuality associated with it.
Sourcepub fn measurement_value_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<MeasurementValue<'d>>
pub fn measurement_value_in<'d>( &self, dataset: &'d Dataset, ) -> Option<MeasurementValue<'d>>
Resolve MeasurementValue through dataset.