exchange
ExchangeImplementation
Bases: BasicImplementation
, ExchangeInterface
This provides access to detailed exchange values and computes the exchange relation. Creates no additional requirements on the archive.
exchange_relation(process, ref_flow, exch_flow, direction, termination=None, **kwargs)
This certainly should be tested for quantity-based and ecoinvent-style (exhaustive) allocation
Parameters:
Name | Type | Description | Default |
---|---|---|---|
process |
|
required | |
ref_flow |
|
required | |
exch_flow |
|
required | |
direction |
can be None; however, if the process has mixed directions this will raise an error |
required | |
termination |
|
None
|
Returns:
Type | Description |
---|---|
|
MixedDirections
Bases: Exception
When exchange_relation is called without a direction but the process has mixed directions