Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACK for CGMES and NC #46

Open
Sveino opened this issue Jun 7, 2023 · 0 comments
Open

ACK for CGMES and NC #46

Sveino opened this issue Jun 7, 2023 · 0 comments

Comments

@Sveino
Copy link
Collaborator

Sveino commented Jun 7, 2023

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"]

 		}	
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant