- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » GUI : unable to use . when...
GUI : unable to use . when configurating the simulation
GUI : unable to use . when configurating the simulation
With the latest version of OpenModelica (OMEdit v1.11.0 64-bit),
we are not able to define some parameters of the simulation with .
For example, when we want to specify the sotp time of the simulation, it's impossible to set this time equal to 1.5 but only equal to 1 or 2
It's exactly the same thing for the interval
Re: GUI : unable to use . when configurating the simulation
https://trac.openmodelica.org/OpenModelica/newticket
I assume you use a locale that uses comma instead of dots for the decimal separator? Might be that OMEdit puts some wrong characters in there...
- sjoelund.se
- 1700 Posts
Re: GUI : unable to use . when configurating the simulation
Is because you might be using different locale. Change your language to English in "Tools->Options->General->Language".
I am guessing your decimal separator is comma instead of dot. However, I found out that OM fails to simulate the class if comma separator is used.
Adeel.
- adeas
- 454 Posts
Re: GUI : unable to use . when configurating the simulation
OMEdit can handle locale aware decimal separator. But using 1,5 fails with OpenModelica API since it is not locale aware.
I will change OMEdit to always send dot as decimal separator to omc.
Adeel.
- adeas
- 454 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » GUI : unable to use . when...