Skip to content

[v10] refactor: use ImplicitDiscreteSystem to implement affects in callback systems #3452

New issue

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

By clicking “No 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? No Sign in to your account

Open
wants to merge 68 commits into
base: master
Choose a base branch
from

Conversation

vyudu
Copy link
Member

@vyudu vyudu commented Mar 12, 2025

Close #2639 #2612

@vyudu vyudu marked this pull request as draft March 12, 2025 08:01
@vyudu vyudu force-pushed the callback branch 2 times, most recently from 4a6f2f6 to b7997b0 Compare March 20, 2025 21:28
@vyudu vyudu marked this pull request as ready for review April 2, 2025 14:12
@vyudu vyudu changed the title WIP: refactor: use ImplicitDiscreteSystem to implement affects in callback systems refactor: use ImplicitDiscreteSystem to implement affects in callback systems Apr 2, 2025
@vyudu
Copy link
Member Author

vyudu commented Apr 2, 2025

@ChrisRackauckas @AayushSabharwal This is very close, just needs a release for ImplicitDiscreteSolve and getting all the doc blocks working. One of the FMI tests is failing because the reinitialization isn't accurate enough (like 1.008e-8 but the tolerance is 1e-8), but I am unsure if that is related.

@vyudu vyudu changed the title refactor: use ImplicitDiscreteSystem to implement affects in callback systems [v10] refactor: use ImplicitDiscreteSystem to implement affects in callback systems Apr 3, 2025
@vyudu vyudu force-pushed the callback branch 2 times, most recently from dfcd812 to ed947b7 Compare April 23, 2025 00:46
@vyudu
Copy link
Member Author

vyudu commented Apr 23, 2025

@AayushSabharwal I think this is basically ready to merge into the v10 branch. The FMI failure is the thing we discussed where the initialization fails with some error very close to the tolerance; the other test failures seem unrelated

@vyudu
Copy link
Member Author

vyudu commented Apr 25, 2025

@AayushSabharwal

Copy link
Member

@AayushSabharwal AayushSabharwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are significant performance regressions in this PR.

@vyudu vyudu requested a review from AayushSabharwal April 29, 2025 21:32
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SymbolicDiscreteCallback and SymbolicContiniuousCallback have different affect field names
4 participants