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

1 次查看(过去 30 天)
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

回答(1 个)

Torsten
Torsten 2017-6-7
No other way than to solve them one after the other.
Best wishes
Torsten.

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by