Solving DAEs problem with different initial conditions at different times of simulation using ode15s

1 visualización (últimos 30 días)
I have a set of DAEs that I solved it using ode15s. Now, I want to solve the same problem but the initial conditions are changed at a specific time of the simulation (let's say, at t=50% of simulation time given to the solver). In other words, I have two different ICs for two different times of simulation. I don't want to solve the problem separately for each ICs. Does anybody know how to do so? This can be done by using Simulink's clock, but I am not using Simulink for this problem. Thanks in advance

Respuestas (1)

Torsten
Torsten el 7 de Jun. de 2017
No other way than to solve them one after the other.
Best wishes
Torsten.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by