Batch fit dual water tank model
batch_fit_dual_water_tankFit a lithium-ion dual-water-tank model to charge/discharge voltage-capacity data for battery aging mechanism identification. Supports batch processing of files with per-file and summary outputs.
Instructions
Fit all supported files in a directory, or a supplied file list. Writes per-file curves plus batch summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| files | No | ||
| current | No | Current magnitude in A. If omitted, parse C-rate from filename or use 0. | |
| r_upper | No | ||
| direction | No | auto | |
| input_dir | No | ||
| all_sheets | No | ||
| anode_path | No | Anode half-cell OCV file. Defaults to test_cases/25C_0.1C/anode.txt. | |
| max_points | No | ||
| output_dir | No | ||
| generations | No | ||
| voltage_col | No | 1-based column number or Excel letter. | |
| capacity_col | No | 1-based column number or Excel letter. | |
| cathode_path | No | Cathode half-cell OCV file. Defaults to test_cases/25C_0.1C/cathode.txt. | |
| penalty_weight | No | ||
| population_size | No | ||
| resistance_sign | No | How to choose the I*R sign. Auto fits both +I*R and -I*R and keeps the lower full-data RMSE. | auto |
| capacity_lower_factor | No | ||
| capacity_upper_factor | No |