Flow
Everything that can be an input or output of a process (e.g. a substance, a product, a waste, a service etc.)
Properties
@type
Inherited from Entity.@type
- Type:
string
(external doc) - Proto-Index: 1
@id
Inherited from RefEntity.@id
- Type:
string
(external doc) - Proto-Index: 2
name
Inherited from RefEntity.name
- Type:
string
(external doc) - Proto-Index: 3
description
Inherited from RefEntity.description
- Type:
string
(external doc) - Proto-Index: 4
category
Inherited from RootEntity.category
- Type:
string
(external doc) - Proto-Index: 5
lastChange
Inherited from RootEntity.lastChange
- Type:
dateTime
(external doc) - Proto-Index: 6
tags
Inherited from RootEntity.tags
- Type:
List
ofstring
(external doc) - Proto-Index: 7
version
Inherited from RootEntity.version
- Type:
string
(external doc) - Proto-Index: 8
library
Inherited from RootEntity.library
- Type:
string
(external doc) - Proto-Index: 9
cas
A CAS number of the flow.
- Type:
string
(external doc) - Proto-Index: 10
flowProperties
The flow properties (quantities) in which amounts of the flow can be expressed together with conversion factors between these flow flow properties.
- Type:
List
of FlowPropertyFactor - Proto-Index: 11
flowType
The type of the flow. Note that this type is more a descriptor of how the flow is handled in calculations.
- Type: FlowType
- Proto-Index: 12
formula
A chemical formula of the flow.
- Type:
string
(external doc) - Proto-Index: 13
isInfrastructureFlow
Indicates whether this flow describes an infrastructure product. 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.
- Type:
boolean
(external doc) - Proto-Index: 14
location
The location of the flow. Normally the location of a flow is defined by the process location where the flow is an input or output. However, some data formats define a location as a property of a flow.
synonyms
A list of synonyms but packed into a single field. Best is to use semicolons as separator as commas are sometimes used in names of chemicals.
- Type:
string
(external doc) - Proto-Index: 16
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 Flow:
id: str
cas: str
category: str
description: str
flow_properties: List[FlowPropertyFactor]
flow_type: FlowType
formula: str
is_infrastructure_flow: bool
last_change: str
library: str
location: Ref
name: str
synonyms: str
tags: List[str]
version: str
JSON example
{
"@type": "Flow",
"@id": "4a40cb39-e306-3649-b6da-ca061e384e23",
"name": "electricity, high voltage, at grid",
"category": "electricity/supply mix",
"flowType": "PRODUCT_FLOW",
"location": {
"@type": "Location",
"@id": "28840420-4e3d-3522-a930-8317344a285d",
"name": "Poland"
},
"flowProperties": [
{
"@type": "FlowPropertyFactor",
"isRefFlowProperty": true,
"conversionFactor": 1.0,
"flowProperty": {
"@type": "FlowProperty",
"@id": "f6811440-ee37-11de-8a39-0800200c9a66",
"name": "Energy"
}
}
]
}