- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » simulate() options
simulate() options
simulate() options
HI!,
Does someone know where I can find a more detailed description for the following parameters of the simulate() command?
numberOfIntervals
outputInterval
method
tolerance
fixedStepSize.
I notice a difference only if I change the first one.
Thanks in advance,
Francesco
Re: simulate() options
outputInterval and fixedStepSize do not exist in OpenModelica
numberOfIntervals changes the step size (why it's not called stepSize, I do not know). anyway, step size ~ (stopTime-startTime)/numberOfIntervals
tolerance is used in dassl (it knows how large an error there is from integrating a derivative); I'm unsure if it's used when solving non-linear systems or the like
method = "euler" "rungekutta" "dassl" "dassl2" "inline-euler" or "inline-rungekutta" (default dassl). Newer omc versions give an error if it finds that you select an unsupported solver.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » simulate() options