microsoft / BatteryML
- суббота, 2 сентября 2023 г. в 00:00:12
The performance degradation of lithium batteries is a complex electrochemical process, involving factors such as the growth of solid electrolyte interface, lithium precipitation, loss of active materials, etc. Furthermore, this inevitable performance degradation can have a significant impact on critical commercial scenarios, such as causing 'range anxiety' for electric vehicle users and affecting the power stability of energy storage systems. Therefore, effectively analyzing and predicting the performance degradation of lithium batteries to provide guidance for early prevention and intervention has become a crucial research topic.
To this end, we open source the BatteryML tool to facilitate the research and development of machine learning on battery degradation. We hope BatteryML can empower both battery researchers and data scientists to gain deeper insights from battery degradation data and build more powerful models for accurate predictions and early interventions.
pip install -r requirements.txt
To begin, download the raw data and execute the preprocessing scripts as per the provided instruction.
To get started, simply configure the data, features, models, etc. in the config file. Once you've set everything up, run the following code:
from scripts.pipeline import Pipeline
pipeline = Pipeline(config_path=`path/to/your/config`,
device='cuda',
metric='RMSE',
workspace='workspaces'
train_loss , test_loss = pipeline.train()
Note: Replace path/to/your/config
with the actual config_path.
Besides, we have prepared an example baseline.
By leveraging BatteryML, researchers can gain valuable insights into the latest advancements in battery prediction and materials science, enabling them to conduct experiments efficiently and effectively. We invite you to join us in our journey to accelerate battery research and innovation by contributing to and utilizing BatteryML for your research endeavors.