Metadata-Version: 2.4
Name: lightimpact
Version: 0.1.2
Summary: A Python library for calculating Energy Reduction Values (ERVs) of lightweight automotive components in ICVs and EVs
Author: Suzana Ostojic
Author-email: Suzana Ostojic <suzana.ostojic@inab.rwth-aachen.de>
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/lightimpact/
Project-URL: Source, https://github.com/suzanaostojic/LightImpact-MM4R
Project-URL: Issue Tracker, https://github.com/suzanaostojic/LightImpact-MM4R/issues
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Dynamic: author
Dynamic: license-file
Dynamic: requires-python

# LightImpact
[![PyPI version](https://badge.fury.io/py/lightimpact.svg?v=0.1.2)](https://pypi.org/project/lightimpact/0.1.2/)

**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
```bash
git clone https://github.com/suzanaostojic/LightImpact-MM4R.git
cd LightImpact-MM4R
pip install -e .
```

## Example Usage
```python
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)
```

## 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](mailto:suzana.ostojic@inab.rwth-aachen.de)
GitHub: [github.com/suzanaostojic/LightImpact-MM4R](https://github.com/suzanaostojic/LightImpact-MM4R)  
PyPI: [pypi.org/project/lightimpact](https://pypi.org/project/lightimpact)
