Skip to main content
emobility.academy
Student hacksEasyLow risk 1–2 hoursFor students

Find and Use Public Battery Datasets for Your Project

Find well-known public battery test datasets, load them into Python or a spreadsheet and use them for capacity-fade, state-of-health or modelling projects. You get real measured data without needing a cycling lab of your own.

Go to the steps
Find and Use Public Battery Datasets for Your Project: Students working in the DIYguru computer lab
Representative photo from DIYguru's EV lab.

Why this happens

Battery ageing takes months of controlled cycling, which few students can run. Universities and research labs have published cycling and ageing data for exactly this reason, and using it lets you work on estimation and prediction methods with data that has proper test conditions behind it.

What you need

Tools

  • Laptop with Python (pandas, NumPy, Matplotlib) or spreadsheet software
  • Archive extraction tool

Materials

  • One or more public battery datasets with their documentation
  • A notebook for recording test conditions

Before you start

  • Download datasets only from the publishing institution or a recognised data repository, and never run executable files that come with an archive.
  • Results from lab cells do not justify opening, testing or modifying a vehicle battery pack.

Step by step

  1. 1

    Pick datasets that match your question

    Decide what you want to study: capacity fade over cycles, internal resistance growth, temperature effects or drive-cycle behaviour. Commonly cited public sources include the NASA prognostics battery data, the University of Maryland CALCE battery data, the Oxford battery degradation data and large fast-charging cycle-life datasets published by university groups. Search for these by name through your college library or search engine and download only from the publishing institution.

  2. 2

    Read the documentation before the data

    Each dataset comes with notes on cell chemistry, format, nominal capacity, temperature, charge and discharge protocols and file structure. Write these down in a table. Without them you cannot interpret the numbers, and mixing cells tested at different temperatures or rates is a common source of misleading conclusions in student reports.

  3. 3

    Check the licence and citation request

    Most datasets ask you to cite a specific paper or data record. Note the required citation and any licence terms in your project folder now, so your report credits the source properly. Some datasets are free for research and teaching only, which matters if you later want to use your work commercially.

  4. 4

    Load and inspect the files

    Many datasets come as MAT, CSV or HDF5 files. Use pandas or SciPy to load one cell first. Print the column names, plot voltage, current and temperature against time for a single cycle, and confirm the plots look like a normal charge and discharge. Fix unit conversions now, such as milliamp-hours versus amp-hours or seconds versus hours.

  5. 5

    Extract per-cycle features

    For each cycle compute discharge capacity by integrating current over time, plus features such as average temperature, end-of-charge voltage and an internal resistance estimate if the data includes pulses. Store one row per cycle in a tidy table. Plot capacity against cycle number for each cell; this capacity-fade curve is the backbone of most state-of-health projects.

  6. 6

    Split data honestly for modelling

    If you train a model, split by cell rather than by cycle, so the test cells are completely unseen during training. Splitting cycles of the same cell between training and testing gives flattering results that do not hold up. Report the split clearly, along with simple baselines such as a straight-line fit, so readers can judge whether the model adds value.

  7. 7

    Document limits and conclusions

    Lab cells are cycled under controlled conditions that differ from an Indian scooter in summer traffic. State the chemistry, temperature and protocol limits of your conclusions, and avoid claiming your model will predict a real vehicle's battery life. Keep your processing script, the cleaned table and the citation together so the work can be checked.

How to tell it worked

You have a clean per-cycle table, capacity-fade plots for several cells, a documented test-condition summary and correct citations ready for your report.

Stop and call a technician if

  • A dataset's source cannot be traced to a university, lab or recognised repository; do not use it in a report.
  • Your project plan changes to cycling cells yourself; that needs a supervised lab with proper cyclers, enclosures and fire safety, not a home bench.

Questions

Can I use these datasets in my final-year project?

Generally yes, provided you follow the licence and cite the source as requested. Check the dataset's terms and your college's rules on external data.

Why do capacity curves sometimes jump upwards?

Rest periods, temperature changes or test interruptions can cause temporary capacity recovery. Note these in your analysis rather than smoothing them away without explanation.

Related EV hacks

All 100 EV hacks