Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Module description

The gateway receives measured values from the AP (south protocol). The station is responsible for the cyclical renewal of the measured values.

...

It is the reception of the first message for a measured value that triggers the non-renewal monitoring functionality.


Configuration

A number of parameters must be configured in the module. The configuration is transmitted by PowerConf. 

...

Parameters

Description

Default value

Value range

Cyclic period

Period when cycling is expected.

0=cyclic check is disabled

30 seconds

[0..3600]


The module does not need the list of measured values, it only monitors the ones it receives. When a measured value is received for the first time the module triggers the monitoring of its non renewal. Only measured values with a TOC of "cyclic" are monitored.

Format

Code Block
languagejs
{
   "plugin_stack":{
      "name":"measured_values_cycling_check",
      "cyclic_period" :30
   }
}

Pivot model interaction

This module is designed to work on values measured in pivot format. The other types of information are not affected by this module. Outside the detection period of the non-renewal fault, the measured values pass through the module without modification.

Input

The module uses the identification (attribute "PIVOTTM.GTIM.Identifier") of the data to obtain the context of the measured value in the module to :

  • Update the date of reception of the measured value,
  • Know which measured value to read again in order to send the non-renewal message at the end of the timer.

The module uses the data PIVOTTM.GTIM.Cause.stVal (at "cyclic") to determine if the measured value is configured as cyclic. If it is, the module performs the monitoring processing, otherwise the message is ignored.

Output

In case of non-renewal detection, the last measured value received by the module is re-read and the following values are overwritten :

  • PIVOTTM.GTIM.MvTyp.q.DetailQuality.oldData = True
  • PIVOTTM.GTIM.MvTyp.q.Validity = "questionable"
  • PIVOTTM.GTIM.MvTyp.q.Source = "substituted"
  • PIVOTTM.GTIM.MvTyp.t.SecondSinceEpoch = timestamp of non-renewal detection
  • PIVOTTM.GTIM.MvTyp.t.TimeQuality.clockFailure = if the time source is unreliable (optional)
  • PIVOTTM.GTIM.MvTyp.t.TimeQuality.clockNotSynchronized = if not synchronized (optional)
  • PIVOTTM.GTIM.TmOrg = "substituted" 
  • PIVOTTM.GTIM.TmValidity = Quality of the timestamp of the gateway
  • PIVOTTM.GTIM.Cause.stVal = "3" (Spontaneous)