Skip to content

ACK for CGMES and NC #46

@Sveino

Description

@Sveino

In the CGM process there is no ACK (Acknowledgement) for the exchange using CGMES. QoCDC do introduce validation report. This validation report and ACK for CGMES and NC is something that must be standardized. It has validity and usage outside the CGM process.

The CGM validation can be found in: Quality of CGMES datasets and calculations v3.3

ESMP uses IEC 62325-451-1: Acknowledgement business process and contextual model for CIM European market.

The Norwegian AutoFos project is using CGMES 2.5 IOP as based and extended it: https://github.com/digin-energi/Grunnprofil/issues/283

IEC 61968-100 is have a ACK error handling looking like

W3C SHACL https://www.w3.org/TR/shacl/#severity

https://swagger.io/docs/specification/describing-responses/

https://www.w3.org/TR/EARL10-Guide/

https://github.com/w3c/data-shapes/blob/gh-pages/data-shapes-test-suite/reports/pyshacl-earl.ttl

Interoperability:
image

Problem Details for HTTP APIs
image

Q: Should we refer to Acknowledgement or PayloadStatus?
The RFC referes to "application/problem+json" - but we would like to use this as part of testing/certification so that it included acknowledgement e.g. I have imported 12 cim:GeneratingUnit without any issue.

PayloadStatus/Acknowledge
TopStatus: OK | Info | Warning | Error | Feital
LegalStatus: [

{
    "@context": {
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        "dcterms": "http://purl.org/dc/terms/",
        "dcat": "http://www.w3.org/ns/dcat#",
        "prov": "http://www.w3.org/ns/prov#",
		"foaf": "http://xmlns.com/foaf/0.1/",
		"cim": "http://ucaiug.org/ns/CIM#",
		"cdm": "http://ucaiug.org/ns/CDM#",
        "xsd": "http://www.w3.org/2001/XMLSchema#"
    },
    "@id": "urn:uuid:c1888008-380e-463b-b7f4-e1910eec707e",
    "dcterms:title": "20230520T2230Z_APG_CGM-RA-ACK",

    "dcterms:conformsTo": [
        {
            "@id": "http://cim-profile.ucaig.com/ns/PayloadStatus/1.0",
			"dcterms:title": "Payload Status - Acknoledge",
			"dcat:keyword": "ACK"
        }
    ],
    "dcterms:references": [
        {
            "@id": "urn:uuid:83523b72-c63d-4e48-8c42-ebc76e10a99d",
			"dcterms:title": "20230520T2230Z_APG_CGM-RA"			
        }
    ] 
 
    "@graph": [
        {
            "@id": "urn:uuid:b1ae9ff8-ee0a-4c4c-b235-a7427381957f",
            "@type": "cdm:PayloadStatus",
			"cdm:type": "https://example.com/probs/out-of-credit",
			"dcterms:title": "You do not have enough credit.",
			"detail": "Your current balance is 30, but that costs 50.",
			"instance": "/account/12345/msgs/abc",
			"balance": 30,
			"accounts": ["/account/12345",
						 "/account/67890"]

 		}	
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions