Skip to content

olca_ps_interpreter

OlcaProductSystemInterpreter

Bases: object

A convenience layer for interacting with an OpenLCA product system object

__init__(ps_json, parameter_set=None)

Parameters:

Name Type Description Default
ps_json

supply the json object corresponding to the named product system

required

get_target_flow(context, exchange_id)

ps links specify anchor_flow, which must be used to build our model because bg engine expects it

Parameters:

Name Type Description Default
context
required
exchange_id
required

Returns:

Type Description