Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Inline simulation method within the model

Inline simulation method within the model

I noticed that one can insert simulation setup as annotation within the model, e.g.

  annotation(experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-05, Interval = 0.0025));

The annotation can be automatically generated by OMEditor.

Is it possible to specify the integration method?

I have tried the attribute Method and Integration.Method but there is no success.

Edited by: Atiyah78 - Oct-13-18 13:56:17

Re: Inline simulation method within the model

Yes, read more about it here https://openmodelica.org/doc/OpenModeli … annotation

Adeel.

Re: Inline simulation method within the model

Thanks .. I have used the OpenModelica flags within OMEditor!

There are 0 guests and 0 other users also viewing this topic
You are here: