How to get time-domain simulation of a nonlinear state-space model?

20 vues (au cours des 30 derniers jours)
Manish Kumar
Manish Kumar le 17 Nov 2025
Commenté : Sam Chak le 20 Nov 2025
I am simulating a nonlinear system in state-space form using MATLAB ODE solvers (e.g., ode23tb). First I starts with initial condition near by equilibrium points then I am correctly getting steady-state equilibrium points after some time I want to pertub the system and see the dynamic respone.
To study the system dynamics, I apply a perturbation (for example +10 or +15 pu) to one of the states. For a stable operating point, the perturbed response behaves as expected.
However, for an unstable operating point, the ODE solver does not show the expected unstable behaviour. The simulation-
  • shows only a single spike at the beginning and then nothing,instead of showing the natural unstable response (growing oscillations).
I would like to clearly observe how the system becomes unstable, but the ODE solver is not producing this behaviour.
How can I correctly apply a state perturbation so that the solver shows the full unstable trajectory?
Any explanation or example of how to simulate unstable nonlinear systems in MATLAB would be greatly appreciated.
  5 commentaires
William Rose
William Rose le 17 Nov 2025
@Sam Chak, that is a very interesting example.
Sam Chak
Sam Chak le 20 Nov 2025
@William Rose, Thanks you. It is to encourage and guide the OP to describe his issue with the solver.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by