Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,3 +1,43 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Battery SDU Dataset
|
2 |
+
|
3 |
+
This dataset contains processed battery charge/discharge cycle data in SDU (Shandong University) format.
|
4 |
+
|
5 |
+
## Dataset Structure
|
6 |
+
|
7 |
+
- `processed_primary_use_phase/`: Contains 83 processed battery files from primary use phase
|
8 |
+
- `processed_second_life_phase/`: Contains 86 processed battery files from second life phase
|
9 |
+
|
10 |
+
## File Format
|
11 |
+
|
12 |
+
Each file is a pickle file containing a `BatteryData` object with:
|
13 |
+
- Cell ID in format `SDU_Battery_{ID}`
|
14 |
+
- Cycle data with voltage, current, time, and capacity measurements
|
15 |
+
- Battery metadata and specifications
|
16 |
+
|
17 |
+
## Processing
|
18 |
+
|
19 |
+
The data has been processed using the SDUPreprocessor which:
|
20 |
+
- Calculates charge/discharge capacities from current and time data
|
21 |
+
- Organizes cycle indices sequentially
|
22 |
+
- Applies median filtering for outlier detection
|
23 |
+
- Filters cycles with discharge capacity > 0.1 Ah
|
24 |
+
- Maintains compatibility with BatteryML framework
|
25 |
+
|
26 |
+
## Usage
|
27 |
+
|
28 |
+
```python
|
29 |
+
import pickle
|
30 |
+
from pathlib import Path
|
31 |
+
|
32 |
+
# Load a battery file
|
33 |
+
with open('SDU_Battery_1.pkl', 'rb') as f:
|
34 |
+
battery_data = pickle.load(f)
|
35 |
+
|
36 |
+
# Access cycle data
|
37 |
+
for cycle in battery_data.cycle_data:
|
38 |
+
print(f"Cycle {cycle.cycle_number}: {max(cycle.discharge_capacity_in_Ah):.3f} Ah")
|
39 |
+
```
|
40 |
+
|
41 |
+
## Citation
|
42 |
+
|
43 |
+
If you use this dataset, please cite the original data source and preprocessing methodology.
|