As the initial states of a model ar set in the ModelInitialize function, which is called before initialEquations, it is not possible to influence a model by changing the parameters via FMI, as this would invalidate the initial state.
A possible fix would be to set the initial states again after the initialEquations have been executed.
As the initial states of a model ar set in the ModelInitialize function, which is called before initialEquations, it is not possible to influence a model by changing the parameters via FMI, as this would invalidate the initial state.
A possible fix would be to set the initial states again after the initialEquations have been executed.