How to reset the ODE solver states in Simulink at each time step and update the states using ground truth values when a user defined condition is met?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all,
I was wondering how to reset the ODE solver states in Simulink at each time step, and update the states using ground truth values whenever a user defined condition?
Consider a simulink model that involves integrating one or more ODE functions using an ODE solver, such as the 6DOF equations of motion of a rigid-body. The simulink model of interest is meant to simulate the motion of the rigid-body (with initial conditions from a ground-truth dataset at the first time-step), and then simulate the states of the rigid-body in the future time-steps as close to the ground-truth states as the model accuracy allows. It is desired to update (re-initialize) the state of the integrators to ground truth state values whenever the integrated states at the previous time-step do not meet a user-defined threshold.
This can be done simply in MATLAB. However, I'm not sure how this is done in Simulink.
Please let me know how this may be done in Simulink. Thank you in advance.
Regards,
Ben
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!