Skip to content

1.1.0

Compare
Choose a tag to compare
@matthieu-str matthieu-str released this 09 Oct 20:43
· 186 commits to master since this release

What is new?

  • The function change_direct_carbon_emissions_by_factor (in modify_inventory.py) changes all direct carbon emissions by a factor.
  • The function add_carbon_dioxide_flow (in modify_inventory.py) adds a fossil carbon dioxide flow to an LCI dataset.

What has changed?

  • Major update: the mescal package has been restructured from functional programming to object-oriented programming. The classes ESM (in esm.py), Database (in database.py) and Dataset (in database.py) have been created to perform operations on the ESM database, the LCI databases and the LCI datasets respectively. All functions from v1.0.3 are still available but have been reorganized in the classes.