This topic has been transferred from Github discussions .
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?
Yes, you just need to define the ODEs explicitly yourself - see Creating a simple ODE model — PyBaMM v24.9.0 Manual
Another example is
#
# Equivalent Circuit Model with split OCV
#
import pybamm
class SplitOCVR(pybamm.BaseModel):
"""Basic Equivalent Circuit Model that uses two OCV functions
for each electrode. This model is easily parameterizable with minimal parameters.
This class differs from the :class: pybamm.equivalent_circuit.Thevenin() due
to dual OCV functions to make up the voltage from each electrode.
Parameters
----------
name: str, optional
The name of the model.
"""