You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i create a half-cell DFN model and I try to include the particle distribution for the positive electrode, it wouldn't take any charge procedure. It only discharges, but the charge always fails.
When i do exactly the same but without including the particle distribution everything works fine.
Steps to Reproduce
import pybamm
Create the model using the particle size distribution option as well as the half cell configuration.
Ok, i have seen that the error is general for all the particle distribution implementations. No DFN + particle distribution works when it has to do a charge process. I imagine that is a well-known issue and there are probably people working on that.
PyBaMM Version
23.5
Python Version
3.9.18
Describe the bug
Hello,
When i create a half-cell DFN model and I try to include the particle distribution for the positive electrode, it wouldn't take any charge procedure. It only discharges, but the charge always fails.
When i do exactly the same but without including the particle distribution everything works fine.
Steps to Reproduce
import pybamm
Create the model using the particle size distribution option as well as the half cell configuration.
options = {"particle size": "distribution","working electrode": "positive" }
MPDFN_model = pybamm.lithium_ion.DFN(options=options)
Import half cell NMC parameters
param_nmc = pybamm.ParameterValues("Xu2019")
Create size distribution for the positive particles
param_nmc_MP=pybamm.get_size_distribution_parameters(param_nmc, electrode="positive")
Load a simple experiment
experiment = pybamm.Experiment(["Discharge at C/25 until 3.5 V", "Charge at C/25 until 4.2 V"])
Load everything (regardless of the solver used the result and error is the same)
MP_sim_pOCV = pybamm.Simulation(MPDFN_model, parameter_values=param_nmc_MP, solver=pybamm.CasadiSolver(atol=1e-3, rtol=1e-3, mode="safe"), experiment=experiment)
Simulate. The error always arise in the next step.
MP_sol_pOCV = MP_sim_pOCV.solve()
The error always gives a problem when charging, when i just discharge is ok.
Relevant log output
The text was updated successfully, but these errors were encountered: