ecoinvent
Ecoinvent2Base
Bases: DataSource
origins
property
Generates a list of semantic origins the DataSource knows how to instantiate
Returns:
Type | Description |
---|---|
|
interfaces(ref)
Generates a list of interfaces known for the given reference. the reference must be in the list of origins.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ref |
|
required |
Returns:
Type | Description |
---|---|
|
make_resources(ref)
Generates an exhaustive sequence of LcResource objects for a given reference.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ref |
|
required |
Returns:
Type | Description |
---|---|
|
EcoinventConfig
Bases: DataCollection
Ecoinvent Configurator This DataCollection generates LcResource objects for ecoinvent archives. The only required input is the root folder containing the ecoinvent data. Within this folder should be subfolders named after the major and minor version of the database (e.g. "3.3"). Within the subfolders should be the archives.
Archives must be named according to ecoinvent's various conventions: #1#2_#3_ecoSpold02#4 where #1 is one of ('current_Version_' or 'ecoinvent ') #2 is the major and minor version ('2.2', '3.01', '3.1', '3.2', etc) #3 is the system model ('apos', 'cutoff', 'consequential', or 'consequential_longterm') #4 is either omitted (in the case of an expanded directory) or an archive extension ('.zip' or '.7z')
Within the archives, either compressed or expanded, the datasets are assumed to be in a subfolder called 'datasets'
The class does not currently support loading undefined data collections, but this could be added in the future.