modelFirst

First example: simple drive train

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

The drive train consists of a motor inertia which is driven by a sine-wave motor torque. Via a gearbox the rotational energy is transmitted to a load inertia. Elasticity in the gearbox is modeled by a spring element. A linear damper is used to model the damping in the gearbox bearing.

Note, that a force component (like the damper of this example) which is acting between a shaft and the housing has to be fixed in the housing on one side via component Fixed.

Simulate for 1 second and plot the following variables:
angular velocities of inertias inertia2 and 3: inertia2.w, inertia3.w

Parameters

TypeNameDefaultDescription
SI.Torqueamplitude10Amplitude of driving torque
SI.Frequencyf5Frequency of driving torque
SI.InertiaJmotor0.1Motor inertia
SI.InertiaJload2Load inertia
Realratio10Gear ratio
Realdamping10Damping in bearing of gear

Components

TypeNameDefaultDescription
Rotational.Components.Fixedfixed
Rotational.Sources.Torquetorque
Rotational.Components.Inertiainertia1
Rotational.Components.IdealGearidealGear
Rotational.Components.Inertiainertia2
Rotational.Components.Springspring
Rotational.Components.Inertiainertia3
Rotational.Components.Damperdamper
Modelica.Blocks.Sources.Sinesine