- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » RollingWheelSetDriving Example...
RollingWheelSetDriving Example produces an error
RollingWheelSetDriving Example produces an error
The RollingWheelSetDriving Example included in Modelica-Mechanics-Multibody-Examples-Elementary compiles, but in runtime generates a zero division error:
ERROR: Division by zero in partial equation: (-wheelSet.wheelSetJoint.rolling2.e_axis_0[2]) / sqrt(wheelSet.wheelSetJoint.rolling2.e_axis_0[2] * wheelSet.wheelSetJoint.rolling2.e_axis_0[2] + wheelSet.wheelSetJoint.rolling2.e_axis_0[1] * wheelSet.wheelSetJoint.rolling2.e_axis_0[1]) because sqrt(wheelSet.wheelSetJoint.rolling2.e_axis_0[2] * wheelSet.wheelSetJoint.rolling2.e_axis_0[2] + wheelSet.wheelSetJoint.rolling2.e_axis_0[1] * wheelSet.wheelSetJoint.rolling2.e_axis_0[1]) == 0.
Simulation call assert() at time 0.006
Level : error
Message : Model error: Argument of sqrt should >= 0
¿any ideas?
thanks in advance for your help...
Oscar
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » RollingWheelSetDriving Example...