Skip to content

This dashboard attempts to combine the motivation behind Global Sensitivity Analysis of Life Cycle Assessment, with necessary computations and visualization of the results -all in one place.

License

Notifications You must be signed in to change notification settings

ecological-systems-design/gsa-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project generated with PyScaffold

Global Sensitivity Analysis of Life Cycle Assessment Dashboard

About this app

This dashboard attempts to combine the motivation behind Global Sensitivity Analysis of Life Cycle Assessment, with necessary computations and visualization of the results - all in one place.

The dashboard has been implemented with Dash - framework for building data apps that was written on top of Plotly.js and React.js. Non enterprise version of Dash has the MIT license.

Note that the app is not well tested, but it does work on the example Brightway project "Uncertainties Chaerhan" that you can import using dev/import_chaerhan.py

Presentation video

Video submitted for the Depart de Sentier visualization contest.

Visualizations

Monte Carlo simulations

Global sensitivity analysis

How to run this app

  1. Clone the repository.
  2. Open terminal inside the root folder.
  3. Create and activate new virtual environment. For example, with conda:
$ conda create -y -n gsa-dashboard python=3.10
$ conda activate gsa-dashboard
  1. Install the packages:
$ conda install -y -c conda-forge -c cmutel brightway25
$ conda install -y -c conda-forge intel-openmp=2021.4
$ conda install -y -c anaconda scikit-learn
$ conda install -y -c plotly plotly=5.13.0
$ conda install -y -c conda-forge dash dash-bootstrap-components celery
$ pip install "dash[diskcache]"
  1. Run the app:
$ python gsa_dash/app.py
  1. View the app by opening http://127.0.0.1:8050 in a browser.
  2. Stop the program with CTRL+C or CTRL+Z commands.

8. If you run it again, and see the message Port 8050 is in use by another program, then find the PID of the process and kill it (very elegant, I know):

$ lsof -i tcp:8050
$ kill -9 <PID>

Note

This project has been set up using PyScaffold 4.4. For details and usage information on PyScaffold see https://pyscaffold.org/.

About

This dashboard attempts to combine the motivation behind Global Sensitivity Analysis of Life Cycle Assessment, with necessary computations and visualization of the results -all in one place.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published