VariableMass

Sliding mass with variable inertia

    VariableMass

Library

Mechanics/Translational

Description

Sliding mass with variable inertia, without friction and two rigidly connected flanges.

The sliding mass has the length L, the position coordinate s is in the middle. Sign convention: A positive force at flange flange_a moves the sliding mass in the positive direction. A negative force at flange flange_a moves the sliding mass to the negative direction.

Parameters

VariableMass_0

NameLabelDescriptionData TypeValid Values

mo_L

L

Length of component, from left flange to right flange (= flange_b.s - flange_a.s)

Scalar

VariableMass_1

NameLabelDescriptionData TypeValid Values

mo_stateSelect

stateSelect

Priority to use s and v 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

VariableMass_2

NameLabelDescriptionData TypeValid Values

mo_m

m

m

Structure

mo_m/fixed

fixed

Cell of scalars

true
false

mo_m/start

start

Cell of scalars

mo_s

s

s

Structure

mo_s/fixed

fixed

Cell of scalars

true
false

mo_s/start

start

Cell of scalars

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_a

a

a

Structure

mo_a/fixed

fixed

Cell of scalars

true
false

mo_a/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

m

implicit

Variable mass of the sliding mass

input

1

flange_a

implicit

Left flange of translational component

input

2

flange_b

implicit

Right flange of translational component

output

1