- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » 90 vs 90.0002 degree angle
90 vs 90.0002 degree angle
90 vs 90.0002 degree angle
Hello,
i hope im in the right section here.
The Problem i have with OpenModelica is, that if i put 90 deg as a parameter unit for til in the Class "GasConvection", it will convert it in radiant like shown below.
til (displayUnit = "deg") = 1.5708
When i open the Class "GasConvection" again, it shows 90.0002 and will not accept it, since only 0, 90 and 180 degrees are implemented.
What can i do to make OpenModelica accept 90 degree?
Regards,
Andre
Re: 90 vs 90.0002 degree angle
There is no GasConvection class in the standard library; what library are you using?
- sjoelund.se
- 1700 Posts
Re: 90 vs 90.0002 degree angle
https://trac.openmodelica.org/OpenModelica/ticket/5856
The workaround is to input it using radians instead (Modelica.Constants.pi / 2 for example), until there is a new nightly build (where I output full precision scientific format). I'll let Adeel (the OMEdit maintainer) fix this properly when he is back.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » 90 vs 90.0002 degree angle