Inertia

Ideal mechanical rotational inertia

  • Library:
  • Simscape / Foundation Library / Mechanical / Rotational Elements

    Simscape / Multibody / Body Elements

  • Inertia block

Description

The Inertia block represents an ideal mechanical translational inertia, described with the following equation:

T=Jdωdt

where:

  • T is inertia torque.

  • J is inertia.

  • ω is angular velocity.

  • t is time.

By default, 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 torque is positive if inertia is accelerated in positive direction.

In some applications, it is customary to display inertia in series with other elements in the block diagram layout. To support this use case, the Number of graphical ports parameter lets you display a second port on the opposite side of the block icon. The two-port variant is purely graphical: the two ports have the same angular velocity, so the block functions exactly the same whether it has one or two ports. The block icon changes depending on the value of the Number of graphical ports parameter.

Number of graphical portsBlock Icon

1

2

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.

Ports

Conserving

expand all

Mechanical rotational conserving port connecting the inertia to the rest of the physical network.

Second mechanical rotational conserving port that lets you connect the inertia in series with other elements in the block diagram. This port is rigidly connected to port I, therefore the difference between the one-port and two-port block representations is purely graphical.

Dependencies

This port is visible if you set the Number of graphical ports parameter to 2.

Parameters

expand all

Inertia value. The inertia is constant during simulation.

Select how to connect the block to the rest of the circuit:

  • 1 — The block has one conserving port, I, that connects it to the mechanical rotational circuit. When the block has one port, attach it to a connection line between two other blocks.

  • 2 — Selecting this option exposes the second graphical port J, which lets you connect the block in series with other blocks in the circuit. The two ports are rigidly connected and have the same angular velocity, therefore the block functions exactly the same as if it had one port.

Block Characteristics

Data Types

Direct Feedthrough

No

Zero-Crossing Detection

No

Extended Capabilities

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

Introduced in R2007a