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
Now that we switched to using dimensional variables, if you have an InputParameter in the bounds of a variable you can't discretise it. We should skip the bounds in this case IMO, otherwise, you would need to re-discretize each time you changed the input.
Code to reproduce this:
importpybammmodel=pybamm.lithium_ion.SPM()
param=pybamm.ParameterValues("Chen2020")
param["Maximum concentration in positive electrode [mol.m-3]"] ="[input]"sim=pybamm.Simulation(model, parameter_values=param)
sim.solve([0, 3600], inputs= {"Maximum concentration in positive electrode [mol.m-3]": 65000})
The text was updated successfully, but these errors were encountered:
Now that we switched to using dimensional variables, if you have an
InputParameter
in the bounds of a variable you can't discretise it. We should skip the bounds in this case IMO, otherwise, you would need to re-discretize each time you changed the input.Code to reproduce this:
The text was updated successfully, but these errors were encountered: