Replies: 2 comments 9 replies
-
From your example I can't tell which model you are using, but my guess would be you are not using a thermal model. You can read more on how to use thermal models here: https://docs.pybamm.org/en/latest/source/examples/notebooks/models/thermal-models.html Sorry, never used Gym before, so can't help you here. |
Beta Was this translation helpful? Give feedback.
3 replies
-
The following code works with current.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hallo everybody
i want to use pybamm with reinforcment learning
To build the pybamm in Gym, the step() function in very useful.
params = pybamm.ParameterValues("Ecker2015") solver = pybamm.CasadiSolver(mode="safe") model = pybamm.lithium_ion.DFN()
sim = pybamm.Simulation(model=model, solver=solver, parameter_values=params)
sims =[]
for i in range(5):
singlestep = sim.step(dt=0.01, inputs={"Initial temperature [K]": 310})
sims.append(singlestep)
sims[3]["Cell temperature [K]"].entries
but the values for Cell Temperature doesnt chang at all.
Where am I doing it wrong?
By the way do you have any ideas about how to put pybamm into Gym?
thank you very much
Beta Was this translation helpful? Give feedback.
All reactions