CalculationSetup
Properties
target
The calculation target. This can be a reference to a process or product system.
- Type: Ref
- Proto-Index: 1
impactMethod
The impact assessment method that should be used for the calculation.
- Type: Ref of ImpactMethod
- Proto-Index: 2
nwSet
A reference to a normalization and weighting set.
parameters
A list of parameter redefinitions that should be applied in the calculation.
- Type: Listof ParameterRedef
- Proto-Index: 4
allocation
The allocation method that should be applied.
- Type: AllocationType
- Proto-Index: 5
withCosts
Defines if cost results should be also calculated.
- Type: boolean(external doc)
- Proto-Index: 6
withRegionalization
Defines if regionalization should be applied.
- Type: boolean(external doc)
- Proto-Index: 7
amount
The amount of the reference flow of the calculation target for to which the result should be scaled.
- Type: double(external doc)
- Proto-Index: 8
unit
The unit of the target amount.
flowProperty
The flow property of the target amount.
- Type: Ref of FlowProperty
- Proto-Index: 10
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 CalculationSetup:
  allocation: AllocationType
  amount: float
  flow_property: Ref
  impact_method: Ref
  nw_set: Ref
  parameters: List[ParameterRedef]
  target: Ref
  unit: Ref
  with_costs: bool
  with_regionalization: bool