How to transfer output data from one simulation to another as its initial condition
Afficher commentaires plus anciens
I have two Simulations A and B in seperate files. I would want A to run from seconds 0-100 and produce output X. B should be running from seconds 100-200 and uses X as its initial conditions at time 100. Is there any way to achieve this sort of behaviour ?
Thanks in advance for any help!
5 commentaires
Fangjun Jiang
le 6 Sep 2019
Initial condictions of what, states? is X all the states of system A?
Nikolas Haimerl
le 6 Sep 2019
Torsten
le 6 Sep 2019
I don't understand the problem.
Why don't you just call the 2nd solver with the result of the 1st solver ?
Nikolas Haimerl
le 6 Sep 2019
Fangjun Jiang
le 6 Sep 2019
"then start B at 100 take X as initial condition"?
X is taken for its value to assign to some states in system B?
or, X is feeded into system B as the inputs of system B?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Model, Block, and Port Callbacks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!