Having run out of ideas again I turn to you.
I'm sure this has to have been answered before though for the life of me I can't find a clear description of it.
Scenario:
You work hard to get a model all set up with initial guesses, etc., and then solve for the 'real' steady state (SS) condition of all parameters in the model. From this solution I want to investigate events effects on the system.
To perform this deviation from SS analysis, it would be expedient to be able to simply load the SS solution .mat file with all the model parameters that is already generated by Dymola. Loading this solution removes any need to first simulate the model to achieve the SS solution before performing the deviations from the SS investigations. I can conceive that a possible step at which this takes place is during the 'Initialization' phase of the simulation.
Given that this would seem to be an important concept, I imagine that this idea would have been considered from a very early stage of Modelica/Dymola development. Manual extraction of each individual parameter does not seem proper given that the size of these models quickly become very large.
Question:
- Is it possible to solve for the state of your model (.mat file) and then load that simulation as the 'initial' values of all variables? (this would override/replace the previous initial guesses in the system)
- If it is possible, how is this achieved? (run some script, some hidden menu option, add some sort of import command in model/simulation?)
I very much appreciate your help. I am using Dymola 2016.