# Help with Half-Cell Model Simulation for LFP Battery Using Prada2013 in PyBaMM

**URL:** <https://pybamm.discourse.group/t/help-with-half-cell-model-simulation-for-lfp-battery-using-prada2013-in-pybamm/67>\
**Category:** General\
**Created:** [14 December 2024 16:02 UTC](https://pybamm.discourse.group/t/help-with-half-cell-model-simulation-for-lfp-battery-using-prada2013-in-pybamm/67 "2024-12-14T16:02:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jitendraec](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jitendraec](https://pybamm.discourse.group/u/jitendraec)\
**Post date:** [14 December 2024 16:02 UTC](https://pybamm.discourse.group/t/help-with-half-cell-model-simulation-for-lfp-battery-using-prada2013-in-pybamm/67/1 "2024-12-14T16:02:12Z")

</div>

Dear PyBaMM Team,

I am attempting to simulate a half-cell model for an LFP (Lithium Iron Phosphate) battery using the Prada2013 parameter set in PyBaMM. However, I am encountering an error during the process.

Could you please advise on which specific parameter set I should use to avoid this issue? Any guidance on how to correctly configure the model for LFP would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![brosaplanella](https://yyz2.discourse-cdn.com/free1/user_avatar/pybamm.discourse.group/brosaplanella/32/6_2.png) [@brosaplanella](https://pybamm.discourse.group/u/brosaplanella)\
**Post date:** [14 January 2025 13:24 UTC](https://pybamm.discourse.group/t/help-with-half-cell-model-simulation-for-lfp-battery-using-prada2013-in-pybamm/67/2 "2025-01-14T13:24:39Z")

</div>

I believe the error comes from the parameter set, which is for a full cell. To solve it, you would have to update the parameter set so it reflects the lithium counter electrode. You could take them from [Xu2019](https://github.com/pybamm-team/PyBaMM/blob/develop/src/pybamm/input/parameters/lithium_ion/Xu2019.py), so then it is a matter of combining it with the [Prada2013](https://github.com/pybamm-team/PyBaMM/blob/develop/src/pybamm/input/parameters/lithium_ion/Prada2013.py) set.
