Skip to main content

📦 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.

Metadata

Release files for deala 1.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deala 1.3.5
File Size Uploaded Provenance Actions
deala-1.3.5.tar.gz 20.5 MB Without provenance Details for deala-1.3.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deala 1.3.5
File Interpreter ABI Platform Actions
deala-1.3.5-py3-none-any.whl Python 3 none any Details for deala-1.3.5-py3-none-any.whl

Total release size: 41.3 MB

Release files / deala-1.3.5.tar.gz

Download URL deala-1.3.5.tar.gz
Size 20.5 MB
Tags Source
SHA-256 checksum
How to use checksums
41c706344b6450b6dbac7690958b019a5b04f279a1dec5d7ff515b47c9f8aec7
BLAKE2b-256 checksum
How to use checksums
e7254e8250e158832c93ea59326c9fadb7ac0eeb59a6c88e5cc4214397ab92dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / deala-1.3.5-py3-none-any.whl

Download URL deala-1.3.5-py3-none-any.whl
Size 20.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
77ad4f09268573664813d9910c4297714515b2617b4d689331d27bf664d4b086
BLAKE2b-256 checksum
How to use checksums
331999983ff6ef126327103512b6980da9f04dbbc18d05e91206e304b4af5df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Security for deala 1.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page