A useful CSV for battery modeling starts with clear conventions: time in seconds, current in amperes, voltage in volts and SOC as a fraction. Keep those conventions consistent across the fitting record, an independent validation record and the open-circuit voltage curve. You can then review the model against the same information that you supplied.
I built VoltSift to connect these files to an online workflow for cell modeling and independent validation. This guide explains how to prepare the three CSV files, check the fields and run an analysis with your own test records.
1. Give each of the three files a separate role
The fitting record supplies the data used to estimate model parameters. The independent validation record supplies another trajectory against which the model is evaluated. The open-circuit voltage curve defines the reference relationship between SOC and open-circuit voltage. Retain the source, cell identifier and test conditions for each file so that you can trace the result back to its inputs.
| File | Contents | Limit per file |
|---|---|---|
| Fitting record | Time, current, voltage, SOC and temperature | 64 MiB |
| Independent validation record | A separate test record with the same five fields | 64 MiB |
| Open-circuit voltage curve | SOC and open-circuit voltage | 8 MiB |
The current standard workflow supports single NMC cells at 25°C and SOC 20%–100%. Each model’s range also depends on its fitting nodes, reference curve and validation coverage. For LFP, multiple temperatures or a battery pack, contact VoltSift support to confirm suitability before preparing a task.
Fitting and validation files each accept 2–500000 data rows, excluding the header. For larger tasks, retain the original records and target conditions and contact support to agree on handling. Keep the original export alongside the prepared CSV so that you can check the field mapping later.
2. Use the five required columns in your battery modeling CSV
Both fitting and validation records require the following five columns. Use the exact names from the template. Express SOC as a fraction: enter 0.8 for 80%. The temp_C field records the test chamber’s set temperature in degrees Celsius.
time_s,current_A,voltage_V,soc,temp_C
18910.1,9.418,3.618617,0.38674,25
18911.1,23.980,3.602032,0.38666,25
18912.1,35.493,3.588145,0.38651,25
18913.1,33.576,3.588814,0.38633,25
These four rows come from the public measured WLTP record of CALB L148N58A cell #60129 at 25 °C, sampled at 1 Hz from 10 Hz data, with positive current for discharge. The soc column starts from the rested open-circuit voltage and follows amp-hour integration; temp_C records the chamber set temperature. Data: Fasolato et al., Mendeley Data, CC BY 4.0.
Time must increase strictly within each file, with no repeated timestamps. When you create the analysis, select discharge_positive or charge_positive to match the signs in the current column. Exported models use positive current for discharge, so keep that convention with the parameters when you use them elsewhere.
Optional columns cover specific tasks. In a fitting record, loss_mask takes 0 or 1 to exclude or include a row in the fit, and row_weight takes a positive weight. In a validation record, drive_mask takes 0 or 1 to mark driving segments. Each optional column defaults to 1 when the entire column is omitted. Fill every included column with finite numbers and add only the supported columns.
3. Check the reference curve and the independent record
The open-circuit voltage file contains exactly two columns, soc,voltage_V, in that order. Its SOC values must increase strictly within 0–1, and the file needs at least two data rows. Record the source of the curve when creating the analysis. That reference remains part of the context in which you interpret the model.
Use an independently collected or separately held test record for validation. A copy of the fitting trajectory remains a duplicate after renaming, and input and computation checks reject repeated files or trajectories. The guide to independent validation explains how to interpret the resulting coverage and error metrics.
Save the files as UTF-8 CSV; a UTF-8 BOM is accepted. Check for duplicate headers, empty cells, NaN and Infinity. If the original export restarts its clock for each test step, first prepare a strictly increasing time sequence that correctly corresponds to the measurements. Then check the resulting file against the template.
4. Upload to VoltSift and review the result
In the workspace, create an analysis and enter the cell capacity, SOC nodes, current convention and basis for using the data. Identify the records as measured or synthetic as appropriate. Upload the three files and submit the task. VoltSift checks the inputs, fits the model and evaluates it against the independent record.
Enter capacity in Ah. Supply 2–12 strictly increasing SOC nodes within 0.2–1. Record the source of the open-circuit voltage curve and your ownership or permission to use the test data. Keep the basis for the initial SOC with your records. Newly fitted models are delivered as candidates; review their initial state and conditions before your engineering validation.
Uploads and format checks before queueing use no analysis credits. One credit is used when the task successfully enters the compute queue. The results page retains coverage, error metrics and review notes. All plans provide full online validation results and a downloadable report. Pro and Advanced also provide validation JSON and candidate models that pass the relevant checks, with C, MATLAB and CSV parameter tables and files for local C99 simulation. See the current plans for details.
If you have cell-test records ready to turn into a model, I recommend trying VoltSift with one set of files. Register and verify your email to receive one free analysis to use within seven days; registration requires no bank card. Read the VoltSift cell modeling introduction for the full workflow, or open the official documentation for downloadable templates and complete field requirements.
Create your free VoltSift account and analyze your own CSV files