Mass

Ideal mechanical translational mass

Library

Mechanical Translational Elements

Description

The Mass block represents an ideal mechanical translational mass, described with the following equation:

F=mdvdt

where

FInertia force
mMass
vVelocity
tTime

The block has one mechanical translational conserving port. The block positive direction is from its port to the reference point. This means that the inertia force is positive if mass is accelerated in positive direction.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector). For more information, see Set Priority and Initial Target for Block Variables.

Parameters

Mass

Mass. The default value is 1 kg.

Ports

The block has one mechanical translational conserving port, associated with the mass connection to the system.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

Introduced in R2007a