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

Simulation flags in omshell

Simulation flags in omshell

Hello i would like to ask how can I put simulation flags and other things to omshell simulation ?

like simulate(Segway.simulation,cflags="-g",measureTime=true,method="dassl")

but I would like to use things from omedit like number of processors, options of dassl method and so on.. is thete a documentation for this? because i cant find any..

Thanks in advance.

Re: Simulation flags in omshell

simulate(..., simflags="...")

See https://openmodelica.org/doc/OpenModeli … flags.html for options (or pass -?). Number of processors you set through omc -n 2 (else, it uses the number of physical cores by default).

There are 0 guests and 0 other users also viewing this topic