# General

**URL:** https://pybamm.discourse.group/c/general/4.md?page=2

[Latest](https://pybamm.discourse.group/latest.md) · [Categories](https://pybamm.discourse.group/categories.md) · [Tags](https://pybamm.discourse.group/tags.md)

**Page:** 3

---

## [Initial conditions meet the termination criteria - skip\_ok option](https://pybamm.discourse.group/t/initial-conditions-meet-the-termination-criteria-skip-ok-option/253)

<div class="topic-metadata">

**Author:** [@fiju1012](https://pybamm.discourse.group/u/fiju1012)\
**Replies:** 0\
**Last updated:** [20 March 2025 22:33 UTC](https://pybamm.discourse.group/t/initial-conditions-meet-the-termination-criteria-skip-ok-option/253 "2025-03-20T22:33:18Z")

</div>

Hello, I recently came across references to the skip\_okoption in PyBaMM, which allows steps in an experiment to be skipped if the initial conditions already meet the termination criteria. However, I can no longer find t…

---

## [Breaking issue with Jupyter notebook \`!pip install pybamm\`](https://pybamm.discourse.group/t/breaking-issue-with-jupyter-notebook-pip-install-pybamm/245)

<div class="topic-metadata">

**Author:** [@wengandrew](https://pybamm.discourse.group/u/wengandrew)\
**Replies:** 1\
**Last updated:** [19 March 2025 16:16 UTC](https://pybamm.discourse.group/t/breaking-issue-with-jupyter-notebook-pip-install-pybamm/245 "2025-03-19T16:16:07Z")

</div>

Something broke with !pip install pybamm over the past week. I’m hosting a Jupyter Notebook to demo pybamm with a live course I’m currently running. Students have reported no issues with running the notebook until a few…

---

## [Liionpack: How to simulate a pack of cells with different capacities using the ECM model?](https://pybamm.discourse.group/t/liionpack-how-to-simulate-a-pack-of-cells-with-different-capacities-using-the-ecm-model/243)

<div class="topic-metadata">

**Author:** [@matthias-wueest](https://pybamm.discourse.group/u/matthias-wueest)\
**Replies:** 0\
**Last updated:** [19 March 2025 08:12 UTC](https://pybamm.discourse.group/t/liionpack-how-to-simulate-a-pack-of-cells-with-different-capacities-using-the-ecm-model/243 "2025-03-19T08:12:23Z")

</div>

Dear PyBaMM team, To simulate anomalies on pack level, we have been using liionpack with the PyBaMM ECM cell model due to its simplicity and interpretability. While our simulations work well for cases such as varying i…

---

## [Phase-field modeling](https://pybamm.discourse.group/t/phase-field-modeling/237)

<div class="topic-metadata">

**Author:** [@tanguy](https://pybamm.discourse.group/u/tanguy)\
**Replies:** 0\
**Last updated:** [17 March 2025 14:59 UTC](https://pybamm.discourse.group/t/phase-field-modeling/237 "2025-03-17T14:59:53Z")

</div>

Hello everyone, Do you have some references, tutorials or examples about the phase-field modeling in pybamm to take care about the hysterisis? I sawthis article " Extending the Doyle-Fuller-Newman model for Phase-Separ…

---

## [Question about the axes orientation in the newer pybamm version](https://pybamm.discourse.group/t/question-about-the-axes-orientation-in-the-newer-pybamm-version/231)

<div class="topic-metadata">

**Author:** [@appana.3](https://pybamm.discourse.group/u/appana.3)\
**Replies:** 2\
**Last updated:** [13 March 2025 15:53 UTC](https://pybamm.discourse.group/t/question-about-the-axes-orientation-in-the-newer-pybamm-version/231 "2025-03-13T15:53:34Z")

</div>

Hi, in the older pybamm version (24.1), electrode height corresponded to the Z-axis while electrode width corresponded to the Y-axis. Did it get flipped in the newer version (v25.1)? I am using the same codes and I see …

---

## [Error while running thermal x-lumped model with specific settings](https://pybamm.discourse.group/t/error-while-running-thermal-x-lumped-model-with-specific-settings/208)

<div class="topic-metadata">

**Author:** [@appana.3](https://pybamm.discourse.group/u/appana.3)\
**Replies:** 4\
**Last updated:** [13 March 2025 13:17 UTC](https://pybamm.discourse.group/t/error-while-running-thermal-x-lumped-model-with-specific-settings/208 "2025-03-13T13:17:46Z")

</div>

Hello, I am using a custom data set to simulate thermal 1C discharge. Below is the MWE. I was able to run this simulation with default var\_pts. But when I change the default, I get the following error: How can I resolve …

---

## [How to configure The Thevenin model as a second-order model](https://pybamm.discourse.group/t/how-to-configure-the-thevenin-model-as-a-second-order-model/225)

<div class="topic-metadata">

**Author:** [@juran](https://pybamm.discourse.group/u/juran)\
**Replies:** 4\
**Last updated:** [11 March 2025 14:40 UTC](https://pybamm.discourse.group/t/how-to-configure-the-thevenin-model-as-a-second-order-model/225 "2025-03-11T14:40:34Z")

</div>

I noticed in the official documentation that the “number of rc elements” parameter of the Thevenin Model seems to indicate that this model can be configured as a second-order model. However, I’m unsure how to set multip…

---

## [URGENT: SPMe model parameters during charging and discharging](https://pybamm.discourse.group/t/urgent-spme-model-parameters-during-charging-and-discharging/215)

<div class="topic-metadata">

**Author:** [@jitendraec](https://pybamm.discourse.group/u/jitendraec)\
**Replies:** 1\
**Last updated:** [6 March 2025 15:14 UTC](https://pybamm.discourse.group/t/urgent-spme-model-parameters-during-charging-and-discharging/215 "2025-03-06T15:14:17Z")

</div>

I am developing an SPMe model for a 72Ah LFP battery and have conducted experiments such as C/10 CC charging and discharging. However, I am facing an issue where the model voltage does not match the experimental (true) v…

---

## [如何实现youtube先进案例](https://pybamm.discourse.group/t/youtube/176)

<div class="topic-metadata">

**Author:** [@Santiago\_peace](https://pybamm.discourse.group/u/Santiago_peace)\
**Replies:** 3\
**Last updated:** [26 February 2025 18:18 UTC](https://pybamm.discourse.group/t/youtube/176 "2025-02-26T18:18:55Z")

</div>

尊敬的开发者: 您好！ 我想实现youtube的先进案例，我该如何做？具体是https://www.youtube.com/watch?v=WkkbrgP7Sss&t=1780s中的第一个案例演示

---

## [Thermal DFN Model Implementation Error](https://pybamm.discourse.group/t/thermal-dfn-model-implementation-error/200)

<div class="topic-metadata">

**Author:** [@Maguixx](https://pybamm.discourse.group/u/Maguixx)\
**Replies:** 0\
**Last updated:** [24 February 2025 15:02 UTC](https://pybamm.discourse.group/t/thermal-dfn-model-implementation-error/200 "2025-02-24T15:02:57Z")

</div>

Problem\` Description I’m trying to implement a thermal model within the DFN base model by extending the standard DFN model to include temperature dynamics instead of using a constant temperature. The model implementatio…

---

## [I cannot simulate the voltage plateau during relaxation caused by Li plating](https://pybamm.discourse.group/t/i-cannot-simulate-the-voltage-plateau-during-relaxation-caused-by-li-plating/160)

<div class="topic-metadata">

**Author:** [@travis\_wu](https://pybamm.discourse.group/u/travis_wu)\
**Replies:** 2\
**Last updated:** [21 February 2025 02:10 UTC](https://pybamm.discourse.group/t/i-cannot-simulate-the-voltage-plateau-during-relaxation-caused-by-li-plating/160 "2025-02-21T02:10:08Z")

</div>

In many studies, voltage-time plots obtained from P2D model simulations after CCCV charging show the occurrence of a voltage plateau during the relaxation phase, and a characteristic peak can be observed after taking the…

---

## [Resource for porosity change submodel](https://pybamm.discourse.group/t/resource-for-porosity-change-submodel/173)

<div class="topic-metadata">

**Author:** [@algo-eng](https://pybamm.discourse.group/u/algo-eng)\
**Replies:** 1\
**Last updated:** [18 February 2025 12:24 UTC](https://pybamm.discourse.group/t/resource-for-porosity-change-submodel/173 "2025-02-18T12:24:56Z")

</div>

Research papers for porosity change submodel How PyBaMM is calculating the initial porosity for positive and negative electrode when using SEI porosity change submodel?

---

## [Questions on checking sensitivities](https://pybamm.discourse.group/t/questions-on-checking-sensitivities/103)

<div class="topic-metadata">

**Author:** [@Azure-Dreamer](https://pybamm.discourse.group/u/Azure-Dreamer)\
**Replies:** 3\
**Last updated:** [17 February 2025 12:24 UTC](https://pybamm.discourse.group/t/questions-on-checking-sensitivities/103 "2025-02-17T12:24:09Z")

</div>

I tried to look at the sensitivity of voltage to parameters (e.g., the diffusion coefficient of the negative electrode). The code is as follows: import pybamm import numpy as np experiment = pybamm.Experiment(\["Dischar…

---

## [Python 3.13 supports](https://pybamm.discourse.group/t/python-3-13-supports/78)

<div class="topic-metadata">

**Author:** [@chuckliu1979](https://pybamm.discourse.group/u/chuckliu1979)\
**Replies:** 1\
**Last updated:** [7 February 2025 14:53 UTC](https://pybamm.discourse.group/t/python-3-13-supports/78 "2025-02-07T14:53:51Z")

</div>

Any plan for python 3.13 support ?

---

## [Mesh problem in X-lumped thermal model](https://pybamm.discourse.group/t/mesh-problem-in-x-lumped-thermal-model/73)

<div class="topic-metadata">

**Author:** [@ALMA](https://pybamm.discourse.group/u/ALMA)\
**Replies:** 1\
**Last updated:** [7 February 2025 14:51 UTC](https://pybamm.discourse.group/t/mesh-problem-in-x-lumped-thermal-model/73 "2025-02-07T14:51:17Z")

</div>

I am trying to run the x-lumped thermal model coupled with DFN. I dont know but I am getting one mess problem. var\_pts = { “x\_n”: 4, # negative electrode “x\_s”: 4, # separator “x\_p”: 4, # positive electrode “r\_n”…

---

## [How to change a parameter inside the function graphite\_cracking\_rate\_Ai2020](https://pybamm.discourse.group/t/how-to-change-a-parameter-inside-the-function-graphite-cracking-rate-ai2020/71)

<div class="topic-metadata">

**Author:** [@AkilaJ](https://pybamm.discourse.group/u/AkilaJ)\
**Replies:** 1\
**Last updated:** [7 February 2025 14:50 UTC](https://pybamm.discourse.group/t/how-to-change-a-parameter-inside-the-function-graphite-cracking-rate-ai2020/71 "2025-02-07T14:50:30Z")

</div>

Hi Everyone, I am using the degradation models with the OKane2022 parameter set, and for my analysis, I need to change the k\_cr =Paris’ law cracking rate to different rates for example 1x,10x, and 30x. The value is ins…

---

## [Which parameter set to use for Lg18650 Mh1 cell (cylindrical)?](https://pybamm.discourse.group/t/which-parameter-set-to-use-for-lg18650-mh1-cell-cylindrical/134)

<div class="topic-metadata">

**Author:** [@shubh](https://pybamm.discourse.group/u/shubh)\
**Replies:** 4\
**Last updated:** [5 February 2025 14:36 UTC](https://pybamm.discourse.group/t/which-parameter-set-to-use-for-lg18650-mh1-cell-cylindrical/134 "2025-02-05T14:36:22Z")

</div>

Hii guys, i am working with Lg18650 Mh1 cell. I want to simulate cell degradation for 1600 cycles and then match with my experimental result. Which parameter set will be compatible to use for my simulation?

---

## [Custom termination event with discharge capacity](https://pybamm.discourse.group/t/custom-termination-event-with-discharge-capacity/135)

<div class="topic-metadata">

**Author:** [@Thiyaga](https://pybamm.discourse.group/u/Thiyaga)\
**Replies:** 3\
**Last updated:** [4 February 2025 16:33 UTC](https://pybamm.discourse.group/t/custom-termination-event-with-discharge-capacity/135 "2025-02-04T16:33:11Z")

</div>

Hi, I am doing a discharge event with a drive cycle current profile. Trying to terminate the event when the discharge capacity is closer to zero as voltage fluctuates. how to do that. thanks for your time. regards

---

## [Why the impedance of EIS is differ from actual resistance value](https://pybamm.discourse.group/t/why-the-impedance-of-eis-is-differ-from-actual-resistance-value/143)

<div class="topic-metadata">

**Author:** [@AkilaJ](https://pybamm.discourse.group/u/AkilaJ)\
**Replies:** 0\
**Last updated:** [3 February 2025 23:54 UTC](https://pybamm.discourse.group/t/why-the-impedance-of-eis-is-differ-from-actual-resistance-value/143 "2025-02-03T23:54:48Z")

</div>

Hi, I am trying to obtain EIS from both time domain and pybamm-eis methods, however, the EIS curve is far different from the actual values of resistance 0.025 ohm in the datasheet of LGM50 cell. Any comment from the Py…

---

## [Multiple termination for experiments](https://pybamm.discourse.group/t/multiple-termination-for-experiments/140)

<div class="topic-metadata">

**Author:** [@algo-eng](https://pybamm.discourse.group/u/algo-eng)\
**Replies:** 0\
**Last updated:** [31 January 2025 17:10 UTC](https://pybamm.discourse.group/t/multiple-termination-for-experiments/140 "2025-01-31T17:10:09Z")

</div>

Need multiple termination if someone wants to do pulse test and next cccv type cycling aging, then voltage termination required for pulse test because in aging capacity will decrease but we cannot change number of pulses…

---

## [Simulating Capacity Regeneration](https://pybamm.discourse.group/t/simulating-capacity-regeneration/138)

<div class="topic-metadata">

**Author:** [@rapha80](https://pybamm.discourse.group/u/rapha80)\
**Replies:** 0\
**Last updated:** [31 January 2025 09:44 UTC](https://pybamm.discourse.group/t/simulating-capacity-regeneration/138 "2025-01-31T09:44:57Z")

</div>

Hello im a newbie on Pybamm and on battery modelling and I’m interested in simulating capacity regeneration to develop a kalman filter for estimating the capacity and I want it to be robust against abrupt jumps caused by…

---

## [Parameter sets for LG 18650 MH1 cell](https://pybamm.discourse.group/t/parameter-sets-for-lg-18650-mh1-cell/101)

<div class="topic-metadata">

**Author:** [@shubh](https://pybamm.discourse.group/u/shubh)\
**Replies:** 1\
**Last updated:** [27 January 2025 09:34 UTC](https://pybamm.discourse.group/t/parameter-sets-for-lg-18650-mh1-cell/101 "2025-01-27T09:34:10Z")

</div>

Does anyone have parameter sets for LG 18650 MH1 cell? I am currently working with aging of this cell, so it will be helpful. Thanks

---

## [Help with Half-Cell Model Simulation for LFP Battery Using Prada2013 in PyBaMM](https://pybamm.discourse.group/t/help-with-half-cell-model-simulation-for-lfp-battery-using-prada2013-in-pybamm/67)

<div class="topic-metadata">

**Author:** [@jitendraec](https://pybamm.discourse.group/u/jitendraec)\
**Replies:** 1\
**Last updated:** [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 "2025-01-14T13:24:39Z")

</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…

---

## [Porosity Change Sub - models not running with composite electrode](https://pybamm.discourse.group/t/porosity-change-sub-models-not-running-with-composite-electrode/66)

<div class="topic-metadata">

**Author:** [@SagarPal](https://pybamm.discourse.group/u/SagarPal)\
**Replies:** 1\
**Last updated:** [14 January 2025 13:22 UTC](https://pybamm.discourse.group/t/porosity-change-sub-models-not-running-with-composite-electrode/66 "2025-01-14T13:22:12Z")

</div>

Does Chen 2020 composite parameters set run on SEI and lithium plating porosity change submodels?

---

## [Degradation of Lg 18650 MH1 cell](https://pybamm.discourse.group/t/degradation-of-lg-18650-mh1-cell/99)

<div class="topic-metadata">

**Author:** [@shubh](https://pybamm.discourse.group/u/shubh)\
**Replies:** 2\
**Last updated:** [14 January 2025 13:20 UTC](https://pybamm.discourse.group/t/degradation-of-lg-18650-mh1-cell/99 "2025-01-14T13:20:57Z")

</div>

Hii all i am trying to simulate the aging of Lg 18650 MH1 cell and matching my simulation plot with experimental data/plot, but not getting the desired plot. Experimental plot Pybamm code import pybamm import num…

---

## [Trying to run Aging simulation for 1800 cycles, but taking lot of time to solve](https://pybamm.discourse.group/t/trying-to-run-aging-simulation-for-1800-cycles-but-taking-lot-of-time-to-solve/94)

<div class="topic-metadata">

**Author:** [@shubh](https://pybamm.discourse.group/u/shubh)\
**Replies:** 1\
**Last updated:** [8 January 2025 19:26 UTC](https://pybamm.discourse.group/t/trying-to-run-aging-simulation-for-1800-cycles-but-taking-lot-of-time-to-solve/94 "2025-01-08T19:26:48Z")

</div>

Hi, I am currently simulating cell aging using Pybamm. I want to run aging for 1800 cycles. But it is almost impossible on my laptop to run these many cycles. What should I change in my code to run these many cycles? im…

---

## [Assistance Required in Minimizing Error Between Experimental and SPMe Model Charging Profile](https://pybamm.discourse.group/t/assistance-required-in-minimizing-error-between-experimental-and-spme-model-charging-profile/81)

<div class="topic-metadata">

**Author:** [@jitendraec](https://pybamm.discourse.group/u/jitendraec)\
**Replies:** 2\
**Last updated:** [6 January 2025 11:08 UTC](https://pybamm.discourse.group/t/assistance-required-in-minimizing-error-between-experimental-and-spme-model-charging-profile/81 "2025-01-06T11:08:39Z")

</div>

Dear PyBaMM Team, I am currently working on comparing experimental charging profiles with the simulation results from the Single Particle Model (SPMe) in PyBaMM. Despite my efforts, I am encountering discrepancies betwe…

[Previous page](https://pybamm.discourse.group/c/general/4.md?page=1)
