Process

Properties

@type

Inherited from Entity.@type

@id

Inherited from RefEntity.@id

name

Inherited from RefEntity.name

description

Inherited from RefEntity.description

category

Inherited from RootEntity.category

lastChange

Inherited from RootEntity.lastChange

tags

Inherited from RootEntity.tags

version

Inherited from RootEntity.version

library

Inherited from RootEntity.library

allocationFactors

defaultAllocationMethod

exchanges

The inputs and outputs of the process.

  • Type: List of Exchange
  • Proto-Index: 12

lastInternalId

This field holds the last internal ID that was used in an exchange (which may have been deleted, so it can be larger than the largest internal ID of the exchanges of the process.) The internal ID of an exchange is used to identify exchanges within a process (for updates, data exchanges (see process links), etc.). When you add an exchange to a process, you should increment this field in the process and set the resulting value as the internal ID of that exchange. The sequence of internal IDs should start with 1.

location

The location of the process.

parameters

processDocumentation

processType

dqSystem

A reference to a data quality system (DQSystem) with which the overall quality of the process can be assessed.

exchangeDqSystem

A reference to a data quality system (DQSystem) with which the quality of individual inputs and outputs (Exchange) of the process can be assessed.

socialDqSystem

A reference to a data quality system (DQSystem) with which the quality of individual social aspects of the process can be assessed.

dqEntry

A data quality entry like (1;3;2;5;1). The entry is a vector of data quality values that need to match the overall data quality system of the process (the system that is stored in the dqSystem property). In such a system the data quality indicators have fixed positions and the respective values in the dqEntry vector map to these positions.

isInfrastructureProcess

Indicates whether this process describes an infrastructure process. This field is part of the openLCA schema because of backward compatibility with EcoSpold 1. It does not really have a meaning in openLCA and should not be used anymore.

socialAspects

A set of social aspects related to this process.

Python class stub

The snippet below shows the names of the properties of the corresponding Python class of the olca-schema package. Note that this is not the full class definition but just shows the names of the class and its properties.

@dataclass class Process: id: str allocation_factors: List[AllocationFactor] category: str default_allocation_method: AllocationType description: str dq_entry: str dq_system: Ref exchange_dq_system: Ref exchanges: List[Exchange] is_infrastructure_process: bool last_change: str last_internal_id: int library: str location: Ref name: str parameters: List[Parameter] process_documentation: ProcessDocumentation process_type: ProcessType social_aspects: List[SocialAspect] social_dq_system: Ref tags: List[str] version: str

JSON example

{ "@type": "Process", "@id": "59963026-9b57-4666-a732-59fa9ebd9223", "name": "Steel production", "description": "", "processType": "UNIT_PROCESS", "location": { "@type": "Location", "@id": "5f02f088-9301-3d7b-a1ac-972c11bf3e7d", "name": "Germany" }, "processDocumentation": { "copyright": false, "creationDate": "2015-02-11T13:58:48.789+01:00" }, "exchanges": [ { "@type": "Exchange", "internalId": 1, "amount": 1.0, "isAvoidedProduct": false, "isInput": false, "isQuantitativeReference": true, "flow": { "@type": "Flow", "@id": "54290a29-8baa-495c-84b3-db212c75f7b7", "name": "Steel" }, "unit": { "@type": "Unit", "@id": "20aadc24-a391-41cf-b340-3e4529f44bde", "name": "kg" }, "flowProperty": { "@type": "FlowProperty", "@id": "93a60a56-a3c8-11da-a746-0800200b9a66", "name": "Mass" } } ] }