Skip to content

Real Time Data Market Document

The Real Time Data (RTD) Market Document contains near-real time (NRT) data that is received from a data source in AIIDA. The RTD Market Document is sent as JSON document over MQTT from AIIDA to EDDIE. The XSD file for this document can be found here.

xml

<marketDocument>
    <!-- The UUID of the Real Time Data Market Document -->
    <mrid>bff481d5-edd8-4602-9c54-838b386ab4dd</mrid>
    <!-- UTC timestamp when the Market Document was created -->
    <createdDateTime>2025-07-01T09:44:00.00032307Z</createdDateTime>
    <!-- The values of an AIIDA Record -->
    <timeSeries>
        <!-- The version of the Time Series, currrently always 1.0 -->
        <version>1.0</version>
        <registeredResourceMRID>
            <!-- The UUID of the data source which provided the data -->
            <value>5eef407d-d14f-49d4-b61a-769a20caa540</value>
            <!-- The coding is based on the country the data source is located at -->
            <codingScheme>NAT</codingScheme>
        </registeredResourceMRID>
        <!-- UTC timestamp of the AIIDA Record -->
        <dateAndOrTimeDateTime>2025-07-01T07:43:59.073747585Z</dateAndOrTimeDateTime>
        <!-- Equivalents with an AIIDA Record Value -->
        <quantities>
            <!-- The quantity value of the AIIDA record -->
            <quantity>25</quantity>
            <!-- The type of the quantity -->
            <type>0</type>
            <!-- The quality of the quantity -->
            <quality>AS_PROVIDED</quality>
        </quantities>
        <!-- Equivalents with an AIIDA Record Value -->
        <quantities>
            <!-- The quantity value of the AIIDA record -->
            <quantity>1750</quantity>
            <!-- The type of the quantity -->
            <type>2</type>
            <!-- The quality of the quantity -->
            <quality>AS_PROVIDED</quality>
        </quantities>
    </timeSeries>
</marketDocument>

Time Series

Time Series in the RTD Market Document represent the values of an AIIDA Record, called quantities in the CIM. Quantities have a type that indicates what the quantity represents as well as its unit. Quantities also provide a quality field that indicates the quality of the quantity.

Type

Currently, the following types are supported:

EnumValueEnumNameDescriptionUnit
0TotalActiveEnergyConsumed_import_kWhCumulative amount of electrical energy consumed from the gridkWh
1TotalActiveEnergyProduced_export_kWhCumulative amount of electrical energy exported back to the gridkWh
2InstantaneousActivePowerConsumption_import_kWReal-time power currently being consumed from the gridkW
3InstantaneousActivePowerGeneration_export_kWReal-time power currently being generated and exported to the gridkW
4InstantaneousVoltage_V_on_phaseL1Real-time voltage level on phase L1V
5InstantaneousVoltage_V_on_phaseL2Real-time voltage level on phase L2V
6InstantaneousVoltage_V_on_phaseL3Real-time voltage level on phase L3V
7InstantaneousCurrent_A_on_phaseL1Real-time current flowing on phase L1A
8InstantaneousCurrent_A_on_phaseL2Real-time current flowing on phase L2A
9InstantaneousCurrent_A_on_phaseL3Real-time current flowing on phase L3A
10PowerFactorRatio of real power to apparent power, indicating efficiency of power usage-

Quality

Currently, the following qualities are supported:

EnumValueEnumNameDescription
A01ADJUSTEDThe value has been adjusted
A02NOT_AVAILABLEThe value is not available
A03ESTIMATEDThe value is estimated
A04AS_PROVIDEDThe value is provided as is, without modifications
A05INCOMPLETEThe value is incomplete
A06CALCULATEDThe value has been calculated

Complete JSON Example

json
{
  "messageDocumentHeader.creationDateTime": "2025-07-01T09:44:00.00040249Z",
  "messageDocumentHeader.metaInformation.connectionId": "3",
  "messageDocumentHeader.metaInformation.dataNeedId": "5dc71d7e-e8cd-4403-a3a8-d3c095c97a84",
  "messageDocumentHeader.metaInformation.documentType": "near-real-time-market-document",
  "messageDocumentHeader.metaInformation.permissionId": "150cfd97-64bb-402b-838f-57f8605713b7",
  "messageDocumentHeader.metaInformation.finalCustomerId": "008cf1d6-e118-45a8-bc17-a331dfc57e77",
  "messageDocumentHeader.metaInformation.asset": "CONNECTION-AGREEMENT-POINT",
  "messageDocumentHeader.metaInformation.dataSourceId": "5eef407d-d14f-49d4-b61a-769a20caa540",
  "messageDocumentHeader.metaInformation.regionConnector": "aiida",
  "messageDocumentHeader.metaInformation.regionCountry": "AT",
  "marketDocument": {
    "mrid": "bff481d5-edd8-4602-9c54-838b386ab4dd",
    "createdDateTime": "2025-07-01T09:44:00.00032307Z",
    "timeSeries": [
      {
        "version": "1.0",
        "registeredResourceMRID": {
          "value": "5eef407d-d14f-49d4-b61a-769a20caa540",
          "codingScheme": "NAT"
        },
        "dateAndOrTimeDateTime": "2025-07-01T07:43:59.073747585Z",
        "quantities": [
          {
            "quantity": 25,
            "type": "0",
            "quality": "AS_PROVIDED"
          },
          {
            "quantity": 1750,
            "type": "2",
            "quality": "AS_PROVIDED"
          }
        ]
      }
    ]
  }
}