Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hybrid Discrete/Continuous #534

Open
teubert opened this issue May 23, 2023 · 0 comments
Open

Hybrid Discrete/Continuous #534

teubert opened this issue May 23, 2023 · 0 comments

Comments

@teubert
Copy link
Collaborator

teubert commented May 23, 2023

Implement way of handling hybrid discrete/continuous models (where some states are continuous and others are discrete) that would support integration methods on discrete part.

For now we're requiring users to do this manually in their implementation. If we continue with that solution we should provide an example (e.g., they implement dx on the discrete parts and use utils.next_state functions in their next_state, adding on the discrete state afterwards).

Idea from:
"I was browsing the centrifugal pump model and it looks like it is considered a discrete model because of the QLeak state but all the other hidden states are continuous. I'm curious if you have any thoughts on how these integration methods could be utilized in a hybrid model, or if it should just be left up to the person writing their model including the integration method in their next state function."

Originally posted by @MikeAndSpencer in #529 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant