Skip to content
Discussion options

You must be logged in to vote

Looks like a time scaling issue. How are you defining the interpolant? It should be something like this, but for power:

# create interpolant - must be a function of *dimensional* time
timescale = param.evaluate(model.timescale)
current_interpolant = pybamm.Interpolant(drive_cycle[:, 0], drive_cycle[:, 1], timescale * pybamm.t)

You won't need to specify the timescale any more once we remove the non-dimensionalization. But for now you do.

Replies: 2 comments 21 replies

Comment options

You must be logged in to vote
14 replies
@cyasing
Comment options

@YannickNoelStephanKuhn
Comment options

@cyasing
Comment options

@valentinsulzer
Comment options

@cyasing
Comment options

Comment options

You must be logged in to vote
7 replies
@cyasing
Comment options

@cyasing
Comment options

@cyasing
Comment options

@valentinsulzer
Comment options

@cyasing
Comment options

Answer selected by cyasing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants