SankeyNode
A node in a [SankeyGraph]
Properties
index
The (matrix) index of the node. This is used as the identifier of this node in the graph. For each linked technosphere flow in the system there can be only one node in the graph.
- Type:
int
(external doc) - Proto-Index: 1
techFlow
The process-product or process-waste flow described by this node.
- Type: TechFlow
- Proto-Index: 2
directResult
The direct contribution of the production (treatment) of the product (waste) flow described by this node to the total result of the system.
- Type:
double
(external doc) - Proto-Index: 3
totalResult
The total result (upstream and direct) related to the production (treatment) of the product (waste) flow described by this node. Note that this product (waste) flow could be an input (output) of several processes in the system and all these instances are aggregated to a single node here. This is different than in the upstream contribution tree where these instances can be unrolled into multiple nodes (see [UpstreamNode]).
- Type:
double
(external doc) - Proto-Index: 4
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 SankeyNode:
direct_result: float
index: int
tech_flow: TechFlow
total_result: float