hubblo-org / cabestan

Gather and normalize ICT inventory data from multiple sources, to enable automation of ICT carbon and environmental impacts (LCA-inspired) assessments.
Apache License 2.0
13 stars 2 forks source link

JSON-LD LCA Format exporter #6

Open da-ekchajzer opened 2 years ago

da-ekchajzer commented 2 years ago

Problem

LCA practitioners, could use Cabestan during the Life cycle inventory phase. Thus, they would need to import the assets gathered by Cabestan in their favorite LCA tools.

We should provide a data exporter for LCA data format which could be used to populate LCA tools.

Solution

In a LCA context, the assets will be considered as flows more precisely as a Product Flow Gathered assets could be transfer to an LCA tools or databases. JSON-LD is one of the main LCA format. Supported by greendelta who are the main developers of OpenLCA. JSON-LD is human-readable.

LCA DATA could be exported :

LCA data format should be linked with their impact. The exporter should provide a way to map the assets with their impacts.

Data format

{
  "@context": "http://greendelta.github.io/olca-schema/context.jsonld",
  "@type": "Flow",
  "@id": "4a40cb39-e306-3649-b6da-ca061e384e23",
  "name": "electricity, high voltage, at grid",
  "category": {
    "@type": "Category",
    "@id": "773bee4a-6f9a-41d9-b8fb-c400fb9960cf",
    "name": "supply mix"
  },
  "flowType": "PRODUCT_FLOW",
  "location": {
    "@type": "Location",
    "@id": "28840420-4e3d-3522-a930-8317344a285d",
    "name": "Poland"
  },
  "flowProperties": [
    {
      "@type": "FlowPropertyFactor",
      "referenceFlowProperty": true,
      "conversionFactor": 1.0,
      "flowProperty": {
        "@type": "FlowProperty",
        "@id": "f6811440-ee37-11de-8a39-0800200c9a66",
        "name": "Energy"
      }
    }
  ]
}

Alternatives

Few services are compatible with JSON-LD for instance SimaPro cannot read JSON-LD format. We should be able to provide a way to export the data in a more common format.

GreenDelat provides a Java converter for :

If we implement one of those format we should be able to provides all the main data format thought such converter.

Additional context