Skip to content

Example Collection

Here are some examples on how you can use bw_timex. They come in three flavours, mirroring the folders in the notebooks/ directory of the repository - every page below is generated from the notebook of the same name, so you can run any of them yourself.

Tutorials

Step-by-step walk-throughs that build their own data from scratch, so you can run them anywhere without access to a commercial background database.

  • πŸš—βš‘ Electric Car from Scratch


    Time-explicit LCA of the entire life cycle of an electric car, on background databases the notebook makes up itself.

    View Tutorial

    by @TimoDiepers

  • πŸŒΏπŸ“ˆ Dynamic Characterization


    The dynamic characterization capabilities that come with a TimexLCA.

    View Tutorial

    by @muelleram

  • πŸ“πŸ’» Import foreground system from Excel


    How to import your modelled product system, temporal distributions included, from an Excel file.

    View Tutorial

    by @jakobsarthur & @muelleram

  • πŸ“ˆβš–οΈ Scenario Comparison with compare()


    Automatically fetch scenario databases from premise and compare results using configured runs with compare().

    View Example

    by @TimoDiepers

Case Studies

Complete studies on real data - they expect a Brightway project with ecoinvent and prospective databases built with premise.

  • πŸš—πŸ”‹ Electric Car with premise


    The same electric car, but on ecoinvent and premise data, kept as compact as possible.

    View Case Study

    by @TimoDiepers

  • πŸš—πŸ” Electric Car with premise (in detail)


    The same premise case study, with every modelling step and every additional option of bw_timex spelled out.

    View Case Study

    by @TimoDiepers

  • πŸ“„πŸš— EV Case Study for our paper


    The notebook used to calculate the time-explicit LCAs and create the Figures for our paper on time-explicit LCA.

    View Case Study

    by @TimoDiepers

Advanced

Deep dives into one optional feature each, for when the standard workflow isn't enough.

  • 🌍⏳ Temporal Distributions in the Background


    Let the temporal graph traversal continue into the background system, using traverse_background.

    View Example

    by @TimoDiepers

  • πŸŒπŸ”¬ Background Temporalization with premise


    The same feature, but on real ecoinvent and premise data instead of a dummy system.

    View Example

    by @TimoDiepers

  • πŸŽ²πŸ“¦ Uncertainty with Datapackages


    Run scenarios, sensitivity analyses and Monte Carlo on a solved TimexLCA by handing bw2calc extra datapackages.

    View Example

    by @TimoDiepers

Anything to add? 🧐

Please contact us if you want to share your super cool example - or open a pull request adding your notebook to notebooks/, and it will show up here.