top of page

ECM or DFN? How to Choose a Battery Model for Pack Design

Writer: About:Energy
About:Energy
6 hours ago
14 min read
ECM vs DFN battery model: a Molicel P45B 21700 cell between a 2RC equivalent circuit diagram and a DFN anode, separator and cathode diagram

About:Energy: Miles Robertson, Amey Gupta, Christian Pilling, Katie Lukow, Albert Liem


Sooner or later, every battery engineer hits the same question: which model do I actually need? Batteries now sit at the heart of decarbonisation across industries, automotive most of all. A good model lets you optimise performance, develop a Battery Management System (BMS) and improve safety, while reducing the cost and time of lab testing.


Each model type suits a different job. Battery models broadly split into two camps: equivalent circuit models (ECM) and physics-based models. The key difference is how each one is built. An ECM is empirical: it fits a simple circuit of resistors and capacitors to measured cell data, so it reproduces what the cell does at its terminals. A physics-based model is physical: it solves the electrochemistry inside the cell, from lithium diffusion in each electrode to ion transport in the electrolyte. That one difference drives the rest: how much test data each model needs for training (parameterisation), how fast it runs, how far it extrapolates and which jobs it suits. In this post we compare a 2-RC equivalent circuit model against the pseudo-2D model, better known as the Doyle-Fuller-Newman (DFN) model, on each of these points and show where each belongs.


Rule of thumb: use the lowest-fidelity model that answers your question.


Battery model fidelity spectrum: 2RC equivalent circuit model, single particle model and DFN model, from lower parameterisation and computational cost to increasing physical insight
The trade-off between model complexity and insight

Meet the two battery models: ECM and DFN

The ECM: an empirical model of the cell's terminal behaviour

An ECM approximates a cell's terminal voltage using a simple electrical circuit analogy. It fits what the cell does at its terminals, as a function of state-of-charge (SoC) and temperature, without describing the physical processes inside the cell.


The circuit has three parts. An open-circuit voltage (OCV) source represents the potential difference between the terminals when no load is connected. A series resistor, R0, lumps together everything inside the cell that causes an instantaneous voltage drop the moment a load is applied. Two resistor-capacitor (RC) pairs then capture the transient response: the way the voltage relaxes over seconds and minutes. The governing equations and the full parameterisation process are described by Dickinson et al. (ECM paper) for About:Energy's Molicel P45B dataset. MathWorks' Simscape Battery example on battery monitoring shows an ECM-based battery model running with BMS blocks in Simulink.


2RC equivalent circuit model diagram: an open-circuit voltage source, series resistor R0 and two resistor-capacitor pairs R1 C1 and R2 C2 giving the terminal voltage V
2RC pair circuit diagram


The DFN: a physical model of the processes inside the cell

A DFN model takes the opposite approach: it resolves the electrochemical processes occurring inside the cell. Lithium transport, concentrations and overpotentials are computed explicitly, from the governing equations set out by Doyle, Fuller and Newman in 1993. These states are exactly what the hardest cell questions turn on: local overpotentials show when a fast charge is approaching the lithium plating limit, and concentration profiles underpin models of degradation mechanisms such as solid electrolyte interphase (SEI) growth and particle cracking. The DFN we use throughout this comparison is our own parameterisation of the Molicel P45B, built from a full teardown and reported alongside the ECM in a companion physics-based modelling paper (Dickinson et al., DFN paper). MathWorks' Simscape Battery example Simulate Battery Using Doyle-Fuller-Newman Model shows the same model type in Simulink.


The DFN is also called the pseudo-2D (P2D) model because it resolves two spatial dimensions: the thickness of the electrodes, and the radius of the spherical particles that make them up.


DFN battery model schematic on charge: lithium ions crossing from the positive electrode through the separator into the negative electrode particles, resolved along x and particle radius r
DFN modelling approach: negative electrode, separator and positive electrode, each resolved through electrode thickness and particle radius


The single particle model (SPM): a middle ground

There is a third option worth knowing about. The Single Particle Model (SPM) uses the same underlying methodology as the DFN, but condenses each electrode down to a single representative particle. That makes it faster to run, at the expense of some accuracy. The saving is in solve time, though, and the cost stays high: an SPM still relies on teardown-derived electrode-level parameters, such as particle radius, solid-state diffusion coefficients and reaction rate constants, so it remains expensive to generate. It needs fewer parameters than the DFN, but every one of them demands the same destructive characterisation work. The same P45B parameter set we publish supports both SPM and DFN forms (Dickinson et al., DFN paper). Our benchmark sticks to the two ends of the spectrum, but the SPM comes up again below.


Both model types can also be extended spatially. An ECM describes a zero-dimensional set of electrical states, but it can be extended, for instance by dividing a cell into multiple parallel ECMs to capture electro-thermal coupling along a temperature gradient, such as the length of a base-cooled cylindrical cell. The DFN, true to its pseudo-2D name, is inherently multi-dimensional: it resolves both particle radius and electrode thickness by default. In this post we keep both models to one instance: one 0D ECM against one DFN node.


Battery model parameterisation: what ECM and DFN need

At the simplest level, parameterising an ECM comes down to two experimental jobs: characterising the OCV-SoC relationship, and pulse testing to fit the resistances and capacitances across the SoC and temperature range. There are multiple approaches, but a common one is the Galvanostatic Intermittent Titration Technique (GITT): pulse the cell at the desired C-rate over a set SoC step, rest it for a long period, and repeat. The rests before each pulse pin down the OCV-SoC curve. R0 is fitted to the instantaneous voltage change the moment current starts to flow, and the transient parameters to the curved overpotential that follows.


Illustrative GITT pulse for ECM parameterisation: a 1.2 A discharge current step then a rest, with the cell voltage dropping instantly, falling through the pulse and relaxing back towards the open-circuit voltage
GITT pulse: current pulse followed by a long relaxation, repeated across the SoC range (Weppner and Huggins, 1977). Illustrative profile.

A DFN costs far more to parameterise, because it needs to know the cell's internal electrochemistry: electrode-level open-circuit potentials, diffusion coefficients, reaction rate constants, particle geometry, porosity and tortuosity. Those numbers come from half-cell testing, full cell teardowns, and/or estimates from the literature. Additionally, characterising a cell for a DFN model destroys it, so the cell you tested can't be used afterwards.


That cost is one reason many teams start from ready-made parameter sets. Both models in this comparison are built on About:Energy's own Molicel P45B parameter sets, characterised in house from cell testing and teardown following the methodology of Dickinson et al. (ECM paper), and delivered as MATLAB/Simulink-ready blocks.


How fast do ECM and DFN battery models run?

ECMs are much cheaper to solve than DFN models, and the reason is the structure of the maths. An ECM is a set of low-order ordinary differential equations, while a DFN is a system of coupled partial differential equations. The parameter count tells the same story:

Parameter count for ECM vs DFN battery models of the Molicel P45B: ECM 4 scalars and 10 vectors, DFN 44 scalars and 12 vectors, both from Dickinson et al.
Parameter count: ECM vs DFN

For comparison, Chen et al.'s widely used 2020 parameter set for the LG M50 lists 35 parameters for its P2D model, although the count depends on how parameters are defined: particle radius, for example, is one parameter, or two if the anode and cathode are counted separately.


DFN models, by contrast, are largely unsuitable for real-time state estimation given current implementations and hardware. They cost too much to solve, and their identified parameters are sensitive in state-estimation contexts, so estimates degrade as operating conditions change. Ali et al. confirmed this when comparing higher- and reduced-order physics-based models. Reduced-order models like the SPM can run inside a BMS. But they struggle when potential gradients in the cell are large, such as at high C-rates, and they still can't match an ECM for speed. Marquis et al. traced this to the end of discharge specifically: the SPM matches the full DFN well everywhere else, but as the OCV curve steepens near full depletion, its electrode-averaged voltage estimate breaks down, accounting for 60-70% of the total error.


ECM vs DFN benchmark: Molicel P45B in Simulink

To put numbers on the speed difference, we ran six profiles through both models: high- and low-current versions of a charge profile, a discharge profile, and a drive cycle adapted from the Worldwide Harmonised Light Vehicle Test Procedure (WLTP), a standardised driving cycle used in vehicle testing that gives us a dynamic load with frequent current steps.


Both models ran on the same workstation with an identical solver configuration, so the comparison isolates model cost. Both are implemented natively in Simulink, and the solver configuration, profiling and repeat runs all use standard MATLAB and Simulink tooling. Swapping between the two fidelity levels changes the model and keeps the workflow.


ECM vs DFN benchmark environment: Lenovo ThinkPad X1 Carbon Gen 12, Intel Core Ultra 7 155H, 32 GB, Windows 11 Pro, MATLAB/Simulink R2024b, Simscape local solver (fixed step, backward Euler), 0.1 s step
Benchmark environment

Solve time comes from the Simulink profiler, quoted as a real-time factor: simulated duration divided by solve time, so a value of 100 means the model runs one hundred times faster than real time. Accuracy is each model's terminal voltage error against temperature-controlled cell tests carried out in our characterisation lab at About:Energy, the same measurements behind our published P45B parameter sets.


ECM vs DFN battery model simulation speed on the Molicel P45B at 25 °C, ten runs per case: the ECM runs 179 to 213 times faster than the DFN model across six profiles
Simulation speed relative to real time for each validation case. Each dot is one of ten repeat runs, the diamonds mark the mean, and the annotation between the clusters gives the mean ECM speed-up over the DFN model.

The ECM is roughly 200 times faster in every case, because its low-order ODEs are cheaper to solve than the DFN's coupled PDEs. If computational speed is vital to your application, the ECM wins. If you're doing research and development over longer timescales, the DFN's cost matters much less.


Fast cell evaluation in The Voltt

That speed is why ECMs power simulation in The Voltt, our battery cell platform. Each model is built from our own temperature-controlled lab tests, so you can run a candidate cell through your duty cycle, ambient temperature and pack configuration, and compare voltage, heat and state of charge in seconds.


If you are evaluating new cells, that puts a lab-backed shortlist in front of you before you order a sample. Elfa used The Voltt to cut cell selection for a new pack from ten weeks of lab testing to one week of simulation.



How accurate are ECM and DFN battery models?

Speed is only half the story, so we compared accuracy across the same six profiles.


ECM vs DFN battery model accuracy on the Molicel P45B at 25 °C, terminal voltage RMSE in mV, ECM then DFN: 5C discharge 21.6 and 23.0 mV, 3C charge 18.5 and 22.1 mV, 1C discharge 34.5 and 31.4 mV, 1C charge 12.4 and 19.7 mV, high-current WLTP 27.5 and 30.4 mV, low-current WLTP 14.0 and 24.7 mV
Terminal voltage RMSE against the measured validation data, Molicel P45B at 25 °C. The two models are closely matched across all six cases, with the ECM slightly lower on average.

The two models are closely matched across all six profiles, and on terminal voltage the ECM is slightly ahead on average. It matches or beats the DFN on five of the six cases, with the DFN marginally better only on the 1C discharge. That case is the hardest for both models, as the sharp voltage knee at the end of discharge drives most of the error. Where the DFN stands out is consistency: its errors stay in a narrow band across every profile.


There is a good reason for this. An ECM is an empirical model: its parameters are fitted directly to match measured terminal voltage, free of any requirement to stay physically meaningful, so with the right characterisation data it has the potential to be the more accurate of the two. The DFN is more constrained. Its parameters are tied to real electrode kinetics and transport properties, so it can't be tuned purely to chase down voltage error the way an ECM can. That constraint is also why its errors stay in a narrower band across every profile, and why it extrapolates better beyond the conditions it was parameterised on.


The two models also report fundamentally different things, and that is the real distinction. The ECM predicts terminal voltage and nothing else. The DFN also resolves internal states that voltage alone can't reveal, most usefully the electrode potentials: track the anode potential through a fast charge and you get a direct warning of when lithium plating becomes a risk, something no ECM can tell you. On voltage prediction alone the ECM has the edge, in accuracy as well as speed. The DFN earns its place when the question is what is happening inside the cell.


Measured, ECM and DFN terminal voltage on the Molicel P45B for the high-current constant current cases, with each model's voltage error in mV beneath: 5C discharge ECM RMSE 21.6 mV and DFN 23.0 mV, 3C charge ECM 18.5 mV and DFN 22.1 mV
Measured and simulated terminal voltage for the high-current constant-current cases, with the signed error of each model shown beneath on a common scale.

Measured, ECM and DFN terminal voltage on the Molicel P45B for the low-current constant current cases, with each model's voltage error in mV beneath: 1C discharge ECM RMSE 34.5 mV and DFN 31.4 mV, 1C charge ECM 12.4 mV and DFN 19.7 mV
Measured and simulated terminal voltage for the low-current constant-current cases, with the signed error of each model shown beneath on a common scale.

Measured, ECM and DFN terminal voltage on the Molicel P45B for the high-current and low-current WLTP duty cycles, with each model's voltage error in mV beneath: High-current WLTP ECM RMSE 27.5 mV and DFN 30.4 mV, low-current WLTP ECM 14.0 mV and DFN 24.7 mV
Measured and simulated terminal voltage for the two WLTP duty cycles, with the signed error of each model shown beneath on a common scale.

That extra visibility is exactly what an ECM cannot offer. The plot below runs the same P45B cell through 1C, 2C and 3C charge profiles: the top panel is terminal voltage, which an ECM predicts just as well, but the bottom panel is the negative electrode potential, a state only the DFN resolves. As it falls towards 0 V, a margin set by testing marks the onset of lithium plating risk and the rapid degradation that follows. That internal state is what sets safe limits for fast charge and heavy regen pulses, and no ECM can give it to you.


DFN battery model of the Molicel P45B on 1C, 2C and 3C charges: terminal voltage rising to the 4.2 V cut-off, and negative electrode potential falling into the lithium plating risk margin below 0.1 V, sooner at higher C-rates
Terminal voltage and negative electrode potential for 1C, 2C and 3C charge profiles on the Molicel P45B, from the DFN model. As the electrode potential enters the shaded margin near 0 V, lithium plating risk rises sharply.

Which battery model should you use for pack design?

In practice, there are multiple factors feeding into the choice of simulation model, based on the scale of what is to be simulated (large packs need more cell models), the level of insight required within the cell, and the means available to collect the required data. The flowchart below walks through them.


Battery model selection flowchart: four questions on internal states, pack scale, real-time need and parameterisation budget, leading to an ECM, an SPM or a DFN model
A quick route to the right model type

Reach for an ECM when time is the constraint. If you're screening cells, many quick lower-fidelity simulations will narrow down a chemistry far faster than a handful of detailed ones. If you're designing a system or its thermal management, you'll be running many joint simulations, and the ECM keeps that loop tight. And if you need a model running online, whether inside a BMS or in software- or hardware-in-the-loop testing, the ECM's low computational cost makes it the practical choice. From there the same Simulink model generates C code for embedded BMS targets and runs on Simulink Real-Time rigs for hardware-in-the-loop work, so the model you validate is the model you deploy.


Reach for a DFN when internal behaviour is the point. Much of battery research, from new electrode materials to heterogeneity within cells, depends on seeing inside the cell, and research timescales are long enough that the extra compute carries less weight. In industry, DFN models earn their place defining fast-charge procedures, where tracking the anode potential to stay clear of the lithium plating limit matters more than terminal-voltage accuracy alone. As computational resources and cloud computing advance, running physics-based models online is also becoming realistic, bringing that internal-state insight with it.


The same split shows up when you lay out the typical activities in a pack design programme. The system-level jobs, where many cells and fast turnaround matter, sit naturally with the ECM. The single-cell questions that hinge on internal states, from plating limits to degradation mechanisms, need the DFN. When those cell models scale up to a full pack, Simscape Battery handles the pack architecture, cooling and balancing around them.


Battery pack design activities split by model: ECM for qualification, thermal design, pack sizing, BMS and HIL, state estimation and balancing; DFN for fast charge, electrode design, degradation, chemistry, cold limits and safety
Typical pack design activities and the model each one calls for

Battery pack design in MATLAB and Simulink with ECM and DFN models

Both models run as Simscape blocks in Simulink, so moving between them is a change of block inside the same pack model. That matters most in detailed pack design, where the hard questions sit between the cells: how a spread in weld and contact resistance shares current and heat across parallel groups, how heat leaves the pack through its baseplate and enclosure, and how the remaining modules carry the load when the BMS isolates one.


Example 8s3p battery pack model in MATLAB Simulink Simscape built by About:Energy: a load profile, three battery modules with a battery model for every cell (ECM or DFN), a thermal network to ambient, contact resistances sampled for manufacturing variation, a switch that isolates one module mid-discharge, and logged outputs for every module
An example 8s3p pack model built by About:Energy in Simulink Simscape, with a battery model for every cell.

In the example above, contact and thermal resistances are sampled to reflect manufacturing variation, and a switch isolates one module mid-discharge to test how the other two respond. With ECM blocks, the whole pack solves fast enough to sweep load profiles, ambient temperatures and manufacturing spreads.


Once that sweep finds the worst case, such as the hottest cell position during a fast charge, rerun it with DFN blocks to check the negative electrode potential against the plating margin. Both are parameterised from the same About:Energy lab data, so the two levels of detail describe the same cell.


Matching the battery model to the question

ECM and DFN models are different tools for different jobs. The ECM is faster to solve, and because it's fitted directly to measured voltage it has the edge on accuracy too, which makes it the workhorse for fast, repeated and real-time simulation. The DFN costs more to build and run: its physically constrained parameters can't chase voltage accuracy the way an ECM's can, but that same physical grounding is what lets it resolve internal states, such as electrode potentials, that an ECM cannot see. Match the model to the question. Whichever way that points, the workflow stays the same: standard MATLAB and Simulink simulation features, running validated cell models from About:Energy.


Summary of ECM vs DFN battery models: ECM empirical, low parameterisation and computational cost, real-time, lowest mean voltage error in this benchmark, terminal voltage only, used for cell selection and BMS; DFN physics-based, high cost, limited real-time, close behind and more consistent, full internal states, used for research, cell design and fast charge
Summary of ECM and DFN models

Key differences between ECM and DFN battery models:

  • Physical basis: the ECM is empirical (an electrical circuit fitted to test data). The DFN is physical (electrochemistry from first principles).

  • Parameterisation cost: low for the ECM, high for the DFN.

  • Computational cost: low for the ECM, high for the DFN.

  • Real-time capability: yes for the ECM, limited for the DFN.

  • Accuracy: the ECM had the lowest mean voltage error in this benchmark, within its fitted range. The DFN was close behind, more consistent and extrapolates better.

  • Physical insight: the ECM gives terminal voltage only. The DFN gives full internal states, including electrode potentials.

  • Typical deployment: the ECM for cell selection and BMS. The DFN for research, cell design and fast charge.


FAQs (Frequently Asked Questions)

How accurate is a 2RC equivalent circuit model against measured cell data?

On the Molicel P45B at 25 °C, our 2RC ECM matched measured terminal voltage with an RMSE of 12.4 to 34.5 mV across six charge, discharge and WLTP profiles, lower than the DFN model on five of the six. The largest error came at the voltage knee at the end of a 1C discharge.


Can an equivalent circuit model predict lithium plating during fast charging?

No. An ECM predicts terminal voltage only. Lithium plating risk depends on the negative electrode potential, an internal state that a DFN battery model resolves. In our P45B fast-charge simulations at 1C, 2C and 3C, that potential fell into the plating-risk margin near 0 V while the terminal voltage gave no warning.


Can a DFN model run in real time on a BMS or HIL rig?

Rarely, with current implementations. In our Simulink benchmark the ECM ran roughly 200 times faster than the DFN model on the same workstation and solver settings, and DFN parameters are sensitive in state estimation. For embedded BMS code and hardware-in-the-loop testing, an ECM is the practical choice.


What test data do you need to parameterise an ECM and a DFN model?

An ECM needs OCV-SoC data and pulse or GITT tests across the SoC and temperature range, all on an intact cell. A DFN needs electrode-level data: half-cell open-circuit potentials, diffusion coefficients, reaction rate constants, particle size, porosity and tortuosity, which come from teardown and destroy the cell.


Is a single particle model (SPM) accurate enough for battery pack simulation?

An SPM solves faster than a DFN and keeps internal states, so it suits pack-level studies that need them. It loses accuracy at high C-rates and near the end of discharge, where Marquis et al. found 60 to 70% of its total error, and it still needs teardown-derived parameters.


Can the same battery model be used for pack design and BMS deployment in Simulink?

Yes, for an ECM. The same Simulink model used in design generates C code for embedded BMS targets and runs on Simulink Real-Time rigs for hardware-in-the-loop testing. A DFN in Simscape Battery fits offline cell studies, such as fast-charge limits, and Simscape Battery builds the pack architecture, cooling and balancing around the cell model.


References

1. Doyle, M., Fuller, T. F., & Newman, J. (1993). Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell. Journal of the Electrochemical Society, 140, 1526-1533.

2. Chen, C.-H., et al. (2020). Development of experimental techniques for parameterization of multi-scale lithium-ion battery models. Journal of The Electrochemical Society, 167, 080534.

3. Ali, H.A.A., et al. (2024). A comparison between physics-based Li-ion battery models. Electrochimica Acta.

4. Marquis, S. G., et al. (2019). An asymptotic derivation of a single particle model with electrolyte. Journal of the Electrochemical Society, 166, A3693-A3706.

5. Dickinson, E., Zor, C., Doyle, D., Pilling, C., Lukow, K., O'Regan, K., Blyth, M., Hales, A., & White, G. (2026). An Industry-Standard Parameterisation of a Lithium-Ion Battery Equivalent Circuit Model for a High-Power Cylindrical Cell: Molicel P45B. SSRN Working Paper.

6. Dickinson, E.J.F., Zor, C., Lukow, K., O'Regan, K., & White, G. (2026). Physics-Based Parameterization of a High-Power Silicon-Graphite Lithium-Ion Battery: Electrochemical Model of the Molicel P45B Cell. Journal of The Electrochemical Society, 173(19), 190507.

7. Weppner, W., & Huggins, R. A. (1977). Determination of the kinetic parameters of mixed-conducting electrodes and application to the system Li3Sb. Journal of the Electrochemical Society, 124(10), 1569-1578.

8. MathWorks. Simulate Battery Using Doyle-Fuller-Newman Model. Simscape Battery documentation.

9. MathWorks. Battery Monitoring. Simscape Battery documentation.

bottom of page