Many engineering problems require the results of one simulation to influence the inputs into a second simulation; in effect, a preliminary simulation is used to calibrate a second simulation. This could be done manually, but it makes more sense to automate the process wherever possible. With a little knowledge...
Handling trajectory files and utilising simulation results within Dymola