# Can I create a custom ECM model?

**URL:** <https://pybamm.discourse.group/t/can-i-create-a-custom-ecm-model/21>\
**Category:** Models\
**Created:** [11 November 2024 15:51 UTC](https://pybamm.discourse.group/t/can-i-create-a-custom-ecm-model/21 "2024-11-11T15:51:26Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [11 November 2024 15:51 UTC](https://pybamm.discourse.group/t/can-i-create-a-custom-ecm-model/21/1 "2024-11-11T15:51:26Z")

</div>

This topic has been transferred from [Github discussions](https://github.com/pybamm-team/PyBaMM/discussions/4573).

I know pybamm offers a 1RC and 2RC Thevenin model. However is it possible to use pybamm’s Base Model class to create something simple like a Rint model or higher RC Order in the Thevenin model?

---

<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:** [11 November 2024 15:51 UTC](https://pybamm.discourse.group/t/can-i-create-a-custom-ecm-model/21/2 "2024-11-11T15:51:59Z")

</div>

Yes, you just need to define the ODEs explicitly yourself - see [Creating a simple ODE model — PyBaMM v24.9.0 Manual](https://docs.pybamm.org/en/stable/source/examples/notebooks/creating_models/1-an-ode-model.html)

Another example is

> <https://github.com/pybamm-team/PyBaMM/blob/f05cae2ecda531cde049ccfc69d470cdb845bf98/src/pybamm/models/full_battery_models/lithium_ion/basic_splitOCVR.py#L7>
