I’d like to initialize an FMU model using Dymola since JModelica apparently fails in solving the non linear equations system, I know that I can import the results using the init=ResultDymolaTextual() syntax but I don’t know how to set all the variables in the model equal to the one in the init object. Do I have to use the
x_res = init['x']
syntax for every variable of the model or is there a function to initialize all of them at once?
Thank you very much!
- FMI Library
- Log in