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

how to change OpenModelica Solver

how to change OpenModelica Solver

Hello,

is OpenModelica have more then  one solver? and how we can change the deffault solver?

thinks

Re: how to change OpenModelica Solver

The default is:
simulate(modelName, method="dassl")

You can also try some alternative solvers:
"euler" is a fixed-step, explicit euler solver.
"rungekutta" is supposedly fourth-order.
"dassl2" uses the same event system as the euler solver, and the same solver as "dassl". I haven't checked it in-depth, so I'm not sure what it does differently from "dassl".

Re: how to change OpenModelica Solver

thank you very much

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