dynamic_characterization
This is a package for the dynamic characterization of Life Cycle Inventories with temporal information. It includes a collection of dynamic characterization functions for various environmental flows. We also provide a simple interface to apply these functions to an existing dynamic LCI (coming from, e.g., bw_temporalis, bw_timex or optimex.
The following dynamic characterization functions are currently included:
| module | impact category | metric | covered emissions | source |
|---|---|---|---|---|
ipcc_ar6 |
climate change | radiative forcing, GWP | 247 GHGs | radiative efficiencies & lifetimes from IPCC AR6 Ch.7 |
prospective |
climate change | prospective radiative forcing, pGWP, pGTP | CO2, CH4, N2O | Watanabe et al. (2026) |
original_temporalis_functions |
climate change | radiative forcing | CO2, CH4 | bw_temporalis |
Installation
$ pip install dynamic-characterization
The same thing with uv is uv add dynamic-characterization, and with conda conda install -c conda-forge -c diepers dynamic_characterization. See the installation guide for the details.
Quick start
You bring a dynamic inventory - a DataFrame of date, amount, flow, activity, one row per emission at one point in time - and say which metric you want:
from dynamic_characterization import characterize
from dynamic_characterization.ipcc_ar6 import characterize_co2, characterize_ch4
df_characterized = characterize(
dynamic_inventory_df,
metric="radiative_forcing", # or GWP, pGWP, pGTP, prospective_radiative_forcing
characterization_functions={1: characterize_co2, 3: characterize_ch4},
time_horizon=100,
)
Each function turns one row of the inventory into the characterized time series it causes, so the result carries a value per point in time rather than a single score.
If you work with Brightway, pass an impact assessment method as base_lcia_method instead of the function dictionary, and the flows it characterizes are matched to our functions automatically, by name or CAS number.
Documentation
The full documentation is at dynamic-characterization.readthedocs.io:
- Usage - the workflow in full, and every metric you can ask for
- Prospective characterization - scenario-based characterization factors: choosing an IAM-SSP-RCP scenario, the IPCC fallback for unsupported GHGs, and scenario-dependent radiative efficiency and CO2 impulse response
- Examples - the demo notebooks, rendered
- API reference - including how to write your own characterization function
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the BSD 3-Clause license, dynamic_characterization is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Support
If you have any questions or need help, do not hesitate to contact Timo Diepers (timo.diepers@ltt.rwth-aachen.de)
Metadata
Release files for dynamic-characterization 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dynamic_characterization-2.0.0.tar.gz | 327.7 kB | Without provenance | Details for dynamic_characterization-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dynamic_characterization-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for dynamic_characterization-2.0.0-py3-none-any.whl |
Total release size: 702.8 kB
Release files / dynamic_characterization-2.0.0.tar.gz
| Download URL | dynamic_characterization-2.0.0.tar.gz |
|---|---|
| Size | 327.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97774f63a7b1f6c1f3df0f402bf4dc82e7927663b6f481e310e7edcaaeb9ea9f
|
|
BLAKE2b-256 checksum How to use checksums |
26978119a08816a4cefac49dfbdef5e4cab21ddcb63128bcea43901be56a6299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / dynamic_characterization-2.0.0-py3-none-any.whl
| Download URL | dynamic_characterization-2.0.0-py3-none-any.whl |
|---|---|
| Size | 375.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
062dd4428d7f7ce256c3df26bea02003b66f3ef15414a4f7a2b4f077793f60a3
|
|
BLAKE2b-256 checksum How to use checksums |
526ca21fc9f429f2fea46a062f389528cbdcd0ce8017cbcf15029380bd19bf72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for dynamic-characterization 2.0.0
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.