Mass

Sliding mass with inertia

    Mass

Library

Modelica/Mechanics/Translational/Components

Description

Sliding mass with 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

Mass_0

NameLabelDescriptionData TypeValid Values

mo_m

m

Mass of the sliding mass

Scalar

mo_L

L

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

Scalar

Mass_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

Mass_2

NameLabelDescriptionData TypeValid Values

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

flange_a

implicit

Left flange of translational component

input

1

flange_b

implicit

Right flange of translational component

output

1