Versions Compared

Key

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

Module description

The Fugitive data are transient status points that are transmitted by the PA station only on 0=>1 controlwith value = 1.

The fugitives data are acquired from the PA like normal status point. The fugitives data transient status points are acquired from the PA station like any normal status point. When a fugitive transient status point is received (value 1), it is normally transmitted forwarded to the north service.

A new datapoint is then generated by the module with a value of 0 and is transmitted in the same way forwarded to the centers north service with a modified timestamp (+1ms). 

However, on CG GI response they must systematically always be sent to 0.


Configuration

The module needs the list of status point of the site configured as fugitive.

Fomat

The status points are declared in the "Exchanged data". A property "datapoints.pivot_subtypes" allows to define the nature of a status points. If it is declared as "transient", the plugin must perform the processing associated with this type.

The "datapoints.pivot_id" property corresponds to the identifier of the status point. 

The plugin is configured with "Exchanged data".

Pivot model interaction

Input

following attributes are read from the Exchanged data configuration:

  • pivot_subtypes has "transient" in the list.

Filtering rules

R1 : Only status points configured as transient in subtypes are processed by the plugin, ie pivot_subtypes has "transient" in the list.

R2 : When creating a new datapoint, add 1 ms to the timestamp of the received transient status point.

Data processing

Input

This filter plugin expects readings to be a pivot model status point datapoints.

The module uses the identification (Attribute "PIVOTTSPIVOT.GTIS.Identifier") of the data to determine if it is a fugitive identify the transient status point to process.

Output

For each value 0=>1 If the value "1" is received from the APstation, the module transmits the value to the center. If the status point is fugitivetransient, a new datapoint is copied created with :

  • its value is to 0
  • its timestamp is incremented (+1ms)Timestamp incremented by 1ms.

The generated new data generated in the format takes the form are:

  • For a simple point data type :
    • PIVOTTSPIVOT.GTIS.SpsTyp.stVal = False
    • PIVOTTSPIVOT.GTIS.SpsTyp.t.SecondSinceEpoch (incremented timestamp)
    • PIVOT.GTIS.SpsTyp.t.FractionOfSecond (incremented timestamp)
    • PIVOTTSPIVOT.GTIS.SpsTyp.q.Source = "substituted"
    • PIVOTTSPIVOT.GTIS.TmOrg.stVal = "substituted"
  • For a double point data type :
    • PIVOTTSPIVOT.GTIS.DpsTyp.stVal = "off"
    • PIVOTTSPIVOT.GTIS.DpsTyp.t.SecondSinceEpoch (incremented timestamp)
    • PIVOT.GTIS.DpsTyp.t.FractionOfSecond (incremented timestamp)
    • PIVOTPIVOTTS.GTIS.DpsTyp.q.Source = "substituted"
    • PIVOTTSPIVOT.GTIS.TmOrg.stVal = "substituted"