bw_simapro_csv.blocks.generic_biosphere

Classes

GenericBiosphere

Parse a generic biosphere block.

GenericUncertainBiosphere

Parse a generic biosphere block with uncertainty.

Module Contents

class bw_simapro_csv.blocks.generic_biosphere.GenericBiosphere(block: List[tuple], header: dict, category: str)[source]

Bases: bw_simapro_csv.blocks.base.SimaProCSVBlock

Parse a generic biosphere block.

Applies to all of the following:

  • Non material emissions

  • Airborne emissions

  • Waterborne emissions

  • Raw materials

  • Final waste flows

  • Emissions to soil

  • Social issues

  • Economic issues

Has the form:

``` Category label Flow label, flow unit, CAS number, comment

```

In the generic biosphere flow definitions, each line has the form:

  1. flow label

  2. flow unit

  3. flow CAS number

  4. comment

category[source]
parsed = [][source]
class bw_simapro_csv.blocks.generic_biosphere.GenericUncertainBiosphere(block: List[list], header: dict, category: str)[source]

Bases: GenericBiosphere

Parse a generic biosphere block with uncertainty.

Applies to all of the following:

  • Economic issues

  • Emissions to air

  • Emissions to soil

  • Emissions to water

  • Final waste flows

  • Non material emissions

  • Resources

  • Social issues

Note and enjoy how these category labels are slightly different than GenericBiosphere.

Has the form:

``` Category label Data line

```

Each data line has the form:

  1. name

  2. subcategory

  3. unit

  4. value or formula

  5. uncertainty type

  6. uncert. param.

  7. uncert. param.

  8. uncert. param.

  9. comment

In previous versions, the index of units and values could be switched. This doesn’t appear to be the case anymore.

category[source]
has_formula = True[source]
parsed = [][source]