Skip to main content

DEALA can be used for the economic assessment in Life Cycle Costing or Life Cycle Sustainability Assessment studies within Brightway2

Project description

📦 DEALA --- Differentiated Economic Assessment in a Life cycle-oriented Analysis

DEALA is a Python package developed to perform comprehensive and differentiated economic assessments within Life Cycle (Sustainability) Assessment (LC(S)A) or Life Cycle Costing (LCC).
It integrates economic data, provides three predefined economic life cycle impact assessment methods, and extends existing LCA frameworks such as Brightway2 with economic databases and characterization models.


📚 Further Information

Detailed information about the DEALA method can be found in the following scientific publication:

👉 https://doi.org/10.1111/jiec.13584

Popien, J.-L., Barke, A., Ginster, R., Striecks, T., Thies, C., & Spengler, T. S. (2024).
DEALA --- A novel economic life cycle impact assessment method for differentiated economic assessments in the context of life cycle sustainability assessments.
Journal of Industrial Ecology. https://doi.org/10.1111/jiec.13584

📘 Doctoral Thesis (German only)

Additional background, theoretical derivations, and detailed data structures can be found in the dissertation:

👉 https://link.springer.com/book/9783658500016\ (German language)


🚀 Key Features

  1. Three economic LCIA methods
    DEALA-Cost, DEALA-Profit, and DEALA-Invest.

  2. Integrated marketsphere database
    Contains economic flows enabling economic impact calculations directly.

  3. Support for Life Cycle Sustainability Assessments (LCSA)
    Unified environmental, social, and economic assessment.

  4. Case studies & example notebooks

    • pan_production.ipynb -- main worked example\
    • regioinvent.ipynb -- regionalized modeling with Regiopremise + efficient database generation\
    • calculation_results.ipynb -- computing results & verifying correct setup
  5. Example data and templates
    Useful datasets to support typical DEALA workflows.

  6. Regionalized and time-dependent assessments
    Including scenario-specific and temporally resolved economic parameters.


🏁 Getting Started

🔧 Installation Options

DEALA can be installed using pip or the recommended uv-based setup.


✔ Option A --- Install via pip

pip install deala

✔ Option B --- Recommended installation using uv (Astral)

1️⃣ Install uv

👉 https://docs.astral.sh/uv/getting-started/installation/


2️⃣ Additional steps for macOS

  1. Install Homebrew
    👉 https://brew.sh/

  2. Install required packages:

brew install swig suite-sparse pkg-config
  1. Set compiler flag:
export CFLAGS="$CFLAGS -Wno-int-conversion"

3️⃣ Create an empty project directory

mkdir deala_env
cd deala_env
code .

4️⃣ Initialize the project using uv

uv init --python 3.11.8

5️⃣ Add DEALA to the environment

uv add deala

6️⃣ (Optional) Add Regiopremise for regionalized inventories

uv add "regioinvent @ git+https://github.com/matthieu-str/Regiopremise"

🧪 Example: Loading DEALA & Importing Databases

import deala as de
from deala import deala_io

deala_io_instance = deala_io()

1. Setup DEALA

Loads the marketsphere database and the DEALA LCIA methods.

deala_io_instance.deala_setup(overwrite=True)

2. Import DEALA activities

Uses predefined datasets (labor, construction, materials, etc.) and generates scenario-dependent databases.

deala_io_instance.import_DEALA_activities_fast(
    base_year,
    dict_scenarios,
    directory_deala,
    price_calculation=price_calculation_method,
    method_calc_r=method_calculation_real_prices,
    modus=None
)

Import PPP-based regionalized material prices:

deala_io_instance.import_PPP_DEALA_activities(FP_material_regionalized)

3. Create default DEALA activities

Creates activities with unknown ex-ante prices (investment-dependent, cost-based, etc.).

deala_io_instance.create_default_DEALA_activities_fast(
    "DEALA_activities_",
    dict_scenarios,
    overwrite=False
)

📄 License

BSD 3-Clause License


🙋 Support

For questions, suggestions, or contributions, please open an issue on GitHub or contact the development team.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deala-1.3.5.tar.gz (20.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deala-1.3.5-py3-none-any.whl (20.9 MB view details)

Uploaded Python 3

File details

Details for the file deala-1.3.5.tar.gz.

File metadata

  • Download URL: deala-1.3.5.tar.gz
  • Upload date:
  • Size: 20.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for deala-1.3.5.tar.gz
Algorithm Hash digest
SHA256 41c706344b6450b6dbac7690958b019a5b04f279a1dec5d7ff515b47c9f8aec7
MD5 6bdc69567291cf8822b2f36cea815994
BLAKE2b-256 e7254e8250e158832c93ea59326c9fadb7ac0eeb59a6c88e5cc4214397ab92dc

See more details on using hashes here.

File details

Details for the file deala-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: deala-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 20.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for deala-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77ad4f09268573664813d9910c4297714515b2617b4d689331d27bf664d4b086
MD5 a28156049f85fa83836e448bae6471c9
BLAKE2b-256 331999983ff6ef126327103512b6980da9f04dbbc18d05e91206e304b4af5df6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page