How lca-activitybrowser/activity-browser works
Activity Browser is a desktop life-cycle-assessment workbench built on Brightway. The principal workflow is to manage a project and its inventory, configure reference flows and impact methods, run LCA calculations, then inspect results. The README also highlights scenario and parameter modeling, graph exploration, contribution and Sankey analysis, Monte Carlo and sensitivity analysis, and plugins. The graph preserves these documented capabilities; several implementation paths are unsampled, so their connections are shown only where the README supports them.
Main entry points: main.py Desktop interface · project_manager.py Project management · inventory.py Activity inventory · LCA_setup.py Calculation setup
Components 17
Workspace and inventory
- Desktop interface
activity_browser/layouts/main.py - Project management
activity_browser/layouts/tabs/project_manager.py - Activity inventory
activity_browser/ui/tables/inventory.py - Modeling tools
activity_browser/actions/parameter/parameter_new.py - Scenario superstructures
activity_browser/bwutils/superstructure/manager.py
LCA workflow
- Calculation setup
activity_browser/layouts/tabs/LCA_setup.py - LCA calculations
activity_browser/bwutils/calculations.py - LCA results
activity_browser/layouts/tabs/LCA_results_tabs.py
Analysis and exploration
- Contribution analysis
activity_browser/mod/bw2analyzer/contribution.py - Sankey diagrams
activity_browser/ui/figures.py - Monte Carlo
activity_browser/bwutils/montecarlo.py - Sensitivity analysis
activity_browser/bwutils/sensitivity_analysis.py - Graph explorer
activity_browser/actions/activity/activity_graph.py
Extensions
- Plugin support
activity_browser/controllers/plugin.py
Brightway data layer
- Brightway data access
activity_browser/mod/bw2data/backends/proxies.py - Database import and export
activity_browser/bwutils/importers.py
Other components
- LCA practitioner
Connections 16
- LCA practitioner → Desktop interface: uses
- Desktop interface → Project management: manages projects
- Project management → Activity inventory: models inventory
- Activity inventory → Brightway data access: models in Brightway
- LCA practitioner → Modeling tools: models with parameters
- LCA practitioner → Scenario superstructures: models scenarios
- LCA practitioner → Calculation setup: configures LCA
- Calculation setup → LCA calculations: runs calculations
- LCA calculations → LCA results: produces results
- LCA practitioner → Contribution analysis: analyzes contributions
- LCA practitioner → Sankey diagrams: explores Sankey
- LCA practitioner → Monte Carlo: runs Monte Carlo
- LCA practitioner → Sensitivity analysis: runs sensitivity
- LCA practitioner → Graph explorer: explores graphs
- LCA practitioner → Plugin support: extends with plugins
- LCA practitioner → Database import and export: exchanges databases