Solutions
...
Litmus Companion Solutions for...
Litmus Production Record Digit...

How are Digital Twin mesasges processed by Litmus Production Record Database

3min

Litmus Edge Digital Twin allows users to create a hierarchical data model, which is very similar to how Litmus Production Record Database stores production event data based on an ISA88 inspired hierarchy. Therefore, it is possible to store data published by Litmus Edge Digital Twin inside Litmus Production Record Database.

When sending message objects published by Digital Twin to Litmus Production Record Database, users will not have to define a Production Record configuration or Tag configuration, as the Database will take this directly from the message received from Digital Twin which is in JSON.

Note: Using Digital Twin does not replace other use cases or the use of solutions like Litmus Production Record Data Model Configurator or Litmus Production Record Tag Configurator. As Litmus Digital Twin can not satisfy all use cases, especially if data are to be send based on event triggers. Currently, Litmus Edge Digital Twin is well suited for uses cases which do not rely on triggers but where data are send at a set frequency slower then the raw tags themselves such as:

  • Energy Monitoring
  • Periodic Asset Performance Monitoring

Litmus Production Record Database is able to automatically identify, if a model in accordance with the Digital Twin exist or not and will create any missing setup. This also does include anything added later.

By default every Item in the JSON message received is created either as Level or Item.

If looking at a Digital Twin Model, every Node (orange Item) will become a Level in Litmus Production Record Database in accordance to the position in the Digital Twin.

In this example both "properties" and "telemetry" will be Sub Level 1 Levels.

Document image


With regards to the Items under a node (green items) it will depend on the payload they actually hold.

In this example below, the Items such as "Asset", "Country" or "Manufacturer" will become Items, as they do not have any further breakdown. While items such as "energyRateDescription" or "season" will become Levels under the "properties" level, so Level 2, and then they will have both two Items called "value" and "timestamp".

Document image


Litmus Production Record Databases will also create in addition to a Production Record configuration a Tag configuration for any entry which uses the original DeviceHub message as payload or at least uses "datatype", "deviceName", "tagName", "success", "timestamp" and "value" from the original DeviceHub message. In this example, Litmus Production Record will also create a Tag called "SE_8xEU_powermeter" for a device "EnergyMonitoring" and will store the data in the tag related tables as well.

Document image


This makes it possible to send tag data to Litmus Production Record Database, which can also be used for other models if Internal Event Monitoring is used.