I have a model in Dymola. I want to validate a linearized vesrion of the model (using Dymola's linearization tools) by simulating it and comparing to the output of the Dymola model, using the same inputs.
I know that Dymola can load initial values for states and parameters from the dsfinal.txt file by selecting "Continue" in Simulation.
Is there any user friendly way to extract the final values of states, inputs and outputs (same ones as in the linearized model, I have a list of names) from dsfinal.txt?
One could do it manually by inspection, but it gets unpracticable quickly depending on model size and patience.
Thanks in advance.
There are two useful constructs:
exportInitial has some additional inputs use document("exportInital"); to get a better description.