GearConstraint

Ideal 3-dim. gearbox (arbitrary shaft directions)

    GearConstraint

Library

Modelica/Mechanics/MultiBody/Joints

Description

This ideal massless joint provides a gear constraint betweenframes frame_a and frame_b. The axes of rotationof frame_a and frame_b may be arbitrary.

Reference
Schweiger, Christian ;Otter, Martin:Modelling3D Mechanical Effects of 1-dim. Powertrains. In: Proceedings of the 3rd InternationalModelica Conference. Linköping : The Modelica Association and Linköping University,November 3-4, 2003, pp. 149-158

Parameters

GearConstraint_0

NameLabelDescriptionData TypeValid Values

mo_ratio

ratio

Gear speed ratio

Scalar

mo_n_a

n_a

Axis of rotation of shaft a (same coordinates in frame_a, frame_b, bearing)

Vector of size 3

mo_n_b

n_b

Axis of rotation of shaft b (same coordinates in frame_a, frame_b, bearing)

Vector of size 3

mo_r_a

r_a

Vector from frame bearing to frame_a resolved in bearing

Vector of size 3

mo_r_b

r_b

Vector from frame bearing to frame_b resolved in bearing

Vector of size 3

mo_phi_b

phi_b

phi_b

Structure

mo_phi_b/fixed

fixed

Cell of scalars

true
false

mo_phi_b/start

start

Cell of scalars

mo_w_b

w_b

w_b

Structure

mo_w_b/fixed

fixed

Cell of scalars

true
false

mo_w_b/start

start

Cell of scalars

mo_a_b

a_b

a_b

Structure

mo_a_b/fixed

fixed

Cell of scalars

true
false

mo_a_b/start

start

Cell of scalars

GearConstraint_1

NameLabelDescriptionData TypeValid Values

mo_stateSelect

stateSelect

Priority to use joint coordinates (phi_a, phi_b, w_a, w_b) as states

Structure

mo_stateSelect/choice1

StateSelect.never

Number

0
1

mo_stateSelect/choice2

StateSelect.avoid

Number

0
1

mo_stateSelect/choice3

StateSelect.default

Number

0
1

mo_stateSelect/choice4

StateSelect.prefer

Number

0
1

mo_stateSelect/choice5

StateSelect.always

Number

0
1

mo_checkTotalPower

checkTotalPower

= true, if total power flowing into this component shall be determined (must be zero)

Scalar

true
false

GearConstraint_2

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'totalPower'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Coordinate system a fixed to the component with one cut-force and cut-torque

input

1

frame_b

implicit

Coordinate system b fixed to the component with one cut-force and cut-torque

output

1

bearing

implicit

Coordinate system fixed in the bearing

input

2