Skip to content

Releases: brightway-lca/bw_timex

v0.2.6

25 Sep 12:04
Compare
Choose a tag to compare
  • Fixed rounding in dynamic_lcia to avoid duplicate entries in dynamic inventory

v0.2.5

25 Sep 11:31
Compare
Choose a tag to compare
  • Added rounding to 3 decimal places for interpolation weights

v0.2.4

24 Sep 12:55
Compare
Choose a tag to compare
  • Added support for passing Node objects to bw_timex.utils.get_exchange and bw_timex.utils.add_temporal_distribution_to_exchange.

v0.2.3

22 Sep 16:08
Compare
Choose a tag to compare
  • Modified the date rounding behavior: Instead of always rounding off the dates in the timeline (using the resolution specified in temporal_grouping), we now round to the nearest year/month/day/hour (depending on temporal_grouping).
  • Fixed interface to dynamic_characterization (see https://github.com/brightway-lca/dynamic_characterization/releases/tag/v1.0.0) and pinned version to >=1.0.0.

v0.2.2

18 Sep 07:15
Compare
Choose a tag to compare
  • Added optional starting_datetime argument to TimexLCA.build_timeline explicitly. Before, it was buried in *args, which were passed to the underlying graph traversal (#93)
  • Allow multiple calls of build_timeline using the same TimexLCA object, e.g., using different starting_datetime (#94)
  • Fixed unintuitive rounding down of timestamps in dynamic characterization. 2024-12-31 would have been rounded to 2024, whereas 2025 makes more sense here. Now we round to the nearest year (21fa55b)

v0.2.1

16 Sep 08:24
Compare
Choose a tag to compare
  • Added labels and units to the yaxis in TimexLCA.plot_dynamic_characterized_inventory()
  • Fixed functions for creating labelled matrix representations

v0.2.0

13 Sep 07:26
Compare
Choose a tag to compare
  • Added utility function utils.add_temporal_distribution_to_exchange() for easier temporalization of existing models
  • Added more clarifying docstrings, created a "Getting Started" section in the docs as well as a getting_started.ipynb. Also overhauled existing example notebooks.
  • Changed naming of the different score attributes to be more clear and turned them into a @property:
    • TimexLCA.base_score := TimexLCA.static_lca.score (no time-explicit information)
    • TimexLCA.static_score := TimexLCA.lca.score (time-explicit LCI w/ static characterization)
    • TimexLCA.dynamic_score := TimexLCA.characterized_inventory["amount"].sum() (time-explicit LCI w/ dynamic characterization, summed overall score)
  • Fixed amounts for negative production amounts #83

v0.1.9

09 Aug 11:01
Compare
Choose a tag to compare
  • Allow absolute temporal distributions (#81)

v0.1.8

17 Jul 10:21
f01c5b0
Compare
Choose a tag to compare

v0.1.7

11 Jul 16:01
Compare
Choose a tag to compare
  • Fixed some dependencies