ilcd_lcia
IlcdLcia
Bases: IlcdArchive
Slightly extends the IlcdArchive with a set of functions for loading LCIA factors and adding them as quantities + charaterizations
load_lcia_method(u, version=None, load_all_flows=False)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
u |
|
required | |
version |
|
None
|
|
load_all_flows |
[False] If False, load CFs only for already-loaded flows. If True, load all flows |
False
|
Returns:
Type | Description |
---|---|
|
find_tag(o, tag, ns=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
o |
objectified element |
required | |
tag |
|
required |
Returns:
Type | Description |
---|---|
|
find_tags(o, tag, ns=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
o |
objectified element |
required | |
tag |
|
required |
Returns:
Type | Description |
---|---|
|
render_text_block(el, ns=None)
Created for EcoSpold2. Take all the children of an objectified element and render them as a text block. Implement variable substitution (!!!)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
el |
Element with tags including 'text' and 'variable' |
required | |
ns |
[None] namespace |
None
|
Returns:
Type | Description |
---|---|
|