From 89557bbd1f7a3518a02182dad536f2850ce47be9 Mon Sep 17 00:00:00 2001 From: Richard Wong Date: Mon, 15 Jan 2024 11:26:27 +0900 Subject: [PATCH] Doc: included README reminder to update data path --- README.md | 7 +++++++ python/battery_profile.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4ed7d7..928d7b3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,13 @@ an implementation of a custom profile simulator. Refer to `simulation_with_custom_profile.ipynb` for the usage of the custom profile. The custom profile is implemented in `battery_profile.py`. +### Data + +Note that the battery data is not included due to its confidential nature. + +Download the file to a location on your computer and update line 20 of +`python/battery_profile.py` + ### BLAST-Lite Battery Lifetime Analysis and Simulation Toolsuite (BLAST) provides a library of battery lifetime and degradation models for various commercial lithium-ion batteries from recent years. Degradation models are indentified from publically available lab-based aging data using NREL's battery life model identification toolkit. The battery life models predicted the expected lifetime of batteries used in mobile or stationary applications as functions of their temperature and use (state-of-charge, depth-of-discharge, and charge/discharge rates). Model implementation is in both Python and MATLAB programming languages. The MATLAB code also provides example applications (stationary storage and EV), climate data, and simple thermal management options. For more information on battery health diagnostics, prediction, and optimization, see [NREL's Battery Lifespan](https://www.nrel.gov/transportation/battery-lifespan.html) webpage. diff --git a/python/battery_profile.py b/python/battery_profile.py index e0693c8..20b94c6 100644 --- a/python/battery_profile.py +++ b/python/battery_profile.py @@ -17,7 +17,7 @@ class BatProfile: def __init__(self): # process dataframe # file_path = "/home/richard/Projects/06_research/battery_degradation_study/battery-anomaly-detection/ISS_data/EP_Battery.Thing_HMD8310.csv" - file_path = "/home/richard/Projects/06_research/battery_degradation_study/BLAST-Lite/data/EP_Battery.Thing_HMD8310.csv" + file_path = "path/EP_Battery.Thing_HMD8310.csv" fields = ['PACK1_CRIDATA_SOC', 'time'] df = pd.read_csv(file_path, skipinitialspace=True, usecols=fields) df['time'] = pd.to_datetime(df['time'])