A Python library for calculating Energy Reduction Values (ERVs) of lightweight automotive components in ICVs and EVs
Project description
LightImpact
LightImpact is an open-source Python library for calculating the Energy Reduction Value (ERV) of lightweight automotive components applied in both internal combustion vehicles (ICVs) and electric vehicles (EVs), based on WLTP driving cycle data. Developed for life cycle assessment (LCA) modeling in the MM4R research project at RWTH Aachen University.
Features
- Physics-based mechanical work calculation
- WLTP-compliant ERV computation
- Compatible with both ICVs and EVs
- Customizable input parameters
- Suitable for integration into LCA workflows
Installation
Make sure you have Python installed. Then, you can install LightImpact as follows:
Either globally on your system:
pip3 install lightimpact
Or, if you prefer to install it in a virtual environment:
python3 -m venv lightimpact-env
# On MacOS/Linux
source lightimpact-env/bin/activate
# On Windows
lightimpact-env\Scripts\activate
pip install lightimpact
Example Usage
After installation, you can use LightImpact in your Python scripts. Here's a simple example of how to run a case with custom parameters:
from lightimpact.core import run_lightimpact_case
custom_params = {
"m_vehicle": 1800,
"cw": 0.28,
"A_frontal": 2.3,
"ds": 25.0,
"c_fuel_WLTP": 9.5
}
run_lightimpact_case("WLTP_data/Time-Speed-Profile_WLTP_Class3b.csv", custom_params)
Running this code will calculate the total mechanical work, the differential efficiency factor, and ERV for both EV and ICV. It will output the results to the console.
License
Licensed under the MIT License (c) 2025 Suzana Ostojic
About
LightImpact was developed for use within the MM4R research project at the RWTH Aachen University.
Contact: suzana.ostojic@inab.rwth-aachen.de
GitHub: github.com/suzanaostojic/LightImpact-MM4R
PyPI: pypi.org/project/lightimpact
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lightimpact-0.1.3.tar.gz.
File metadata
- Download URL: lightimpact-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34eed201d1a9efb7d8c8e26c1b024654ba7b9c3e56261adb07c8616cd2b4a633
|
|
| MD5 |
47345abf1a678baabcc561ef7fadb0aa
|
|
| BLAKE2b-256 |
75750362b60ffdd918370d11732b3dcdfd1ff15ac64089b929cff08c93a6aa04
|
File details
Details for the file lightimpact-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lightimpact-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d3deba6d54932947b0dd1756fe8ba1289a9f41834f5945a6d9c3fa8f22ab4c
|
|
| MD5 |
61d1a0c2c8e363ad373cb7f8d6c664e4
|
|
| BLAKE2b-256 |
e5d2bb61c09afd30398a807f7895fc12d49fb554dd133d004ce40be4f28eded6
|