bw_simapro_csv.blocks.process

Attributes

BLOCK_MAPPING

Classes

Process

A life cycle inventory process, with inputs, products, and elementary exchanges

Module Contents

class bw_simapro_csv.blocks.process.Process(block: list[list], header: dict)[source]

Bases: bw_simapro_csv.blocks.base.SimaProCSVBlock

A life cycle inventory process, with inputs, products, and elementary exchanges

Used for only testing; overridden in all real subclasses.

check_waste_production_model_consistency()[source]

Check to make sure that our understanding of SimaPro waste treatment aligns with the data.

pull_metadata_pair(block: list[list], header: dict)[source]
resolve_local_parameters(global_params: dict, substitutes: dict) None[source]

Resolve any formulae in input or output amounts, and convert raw data to parsed.

Takes in parameter renames and amounts from project and database input parameters.

supplement_biosphere_edges(blocks: list[bw_simapro_csv.blocks.base.SimaProCSVBlock]) None[source]

Add comments and CAS numbers from the metadata blocks

blocks[source]
header[source]
index = 0[source]
parsed[source]
bw_simapro_csv.blocks.process.BLOCK_MAPPING[source]