Skip to content
Discussion options

You must be logged in to vote

It's best to refactor your equations so that the d/dt term is on the left-hand side and then add the rhs to model.rhs. If the d/dt term appears in multiple places then you can reuse the rhs expression. e.g.

da/dt = 2*a
db/dt = da/dt - b

becomes

da/dt = 2*a
db/dt = 2*a - b

If you have a system that can't be rearranged in this way let us know

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@xrfe
Comment options

@valentinsulzer
Comment options

Answer selected by brosaplanella
@xrfe
Comment options

@valentinsulzer
Comment options

@xrfe
Comment options

@brosaplanella
Comment options

brosaplanella Oct 16, 2023
Maintainer Sponsor

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