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
Event support in integrator class #3682
Milestone
Comments
jaeandersson
added a commit
that referenced
this issue
May 6, 2024
Only in signature, not yet implemented
jaeandersson
added a commit
that referenced
this issue
May 6, 2024
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
New signature can be generated using a Switch instance
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rx -> adj_x in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rp -> adj_quad in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rx0 -> adj_xf in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
uqf -> adj_u in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rqf -> adj_p in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rxf -> adj_x0 in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
adj_p -> adj_p0 to avoid name conflict
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
x_prev -> ode in IntegratorMemory
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
x_prev -> x in sparsity propagation
jaeandersson
added a commit
that referenced
this issue
May 8, 2024
rz -> adj_alg in bquad_sp_forward
jaeandersson
added a commit
that referenced
this issue
May 9, 2024
Input/output signature event transition functions
jaeandersson
added a commit
that referenced
this issue
May 10, 2024
Helper function to create event transition functions
jaeandersson
added a commit
that referenced
this issue
May 10, 2024
The event handling can cause the stopping time to decrease to a smaller value than the internal time reached by Sundials variable step size solver. When this happens, simply do not enforce the stopping time
jaeandersson
added a commit
that referenced
this issue
May 10, 2024
jaeandersson
added a commit
that referenced
this issue
May 10, 2024
jaeandersson
added a commit
that referenced
this issue
May 12, 2024
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
Ensures that e.g. zero crossing functions that are linear in t will converge in first iteration
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
Falls back to bisection when linear prediction fails. Also, code cleanup
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
Does not seem to work - fails for bouncing ball example
jaeandersson
added a commit
that referenced
this issue
May 13, 2024
jaeandersson
added a commit
that referenced
this issue
May 16, 2024
Old implementations failed to continue after events for breaking chain example
jaeandersson
added a commit
that referenced
this issue
May 19, 2024
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
Will simplify the main integration algorithm a lot and also allow for other rootfinding algoriths
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
Moving it to the generalized Integrator::advance
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
advance now proceeds to intergrate until next output time or next event, whatever comes first
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
Maximum number of events during the whole interval is the more natural option, which also corresponds to the amount of memory that needs to be allocated
jaeandersson
added a commit
that referenced
this issue
May 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the improving support for Modelica (#3670, #3671) and FMI (e.g. #3160), it becomes natural to model hybrid systems, i.e. systems with events dynamics. In order to simulate such systems in CasADi, the integrator class needs to be generalized.
Implementation steps:
The text was updated successfully, but these errors were encountered: