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

Ambiguity in MultiBody.Examples.Rotational3DEffects.GearConstraint

Ambiguity in MultiBody.Examples.Rotational3DEffects.GearConstraint

Hi. In the Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint model, input to the torque element is given by one sine wave for which the frequency is input as a vector. Isn't this wrong?

Also in the connect equation for the sine wave and the torque model is

connect(sine.y,torque1.torque)

whereas when we manually connect sine wave and a torque model, it asks for an index and the connect equation will be
connect(sine.y,torque1.torque[x]), x being either 1,2 or 3.


Can anyone explain why this ambiguity exists?

Edited by: Sanjay_Kamath - Feb-28-14 12:28:09
There are 0 guests and 0 other users also viewing this topic
You are here: