Package ModelicaExtras.​Mechanics.​Rotational
Additional components to model 1-dimensional, rotational mechanical systems

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
IdealDifferentialIdeal differential gear without inertia
VariableDamperLinear 1D rotational damper
VariableSpring1D rotational spring with variable stiffness

Model ModelicaExtras.​Mechanics.​Rotational.​IdealDifferential
Ideal differential gear without inertia

Parameters

TypeNameDefaultDescription
Realratio1Transmission ratio (2 * flange_a.phi / (flange_left.phi + flange_right.phi))

Connectors

TypeNameDescription
Flange_aflange_aFlange of driving shaft
Flange_bflange_leftFlange of left shaft
Flange_bflange_rightFlange of right shaft

Model ModelicaExtras.​Mechanics.​Rotational.​VariableSpring
1D rotational spring with variable stiffness

Information

A linear 1D rotational spring. The component can be connected either between two inertias/gears to describe the shaft elasticity, or between a inertia/gear and the housing (component Fixed), to describe a coupling of the element with the housing via a spring.

Extends from Modelica.​Mechanics.​Rotational.​Interfaces.​PartialCompliant (Partial model for the compliant connection of two rotational 1-dim. shaft flanges).

Parameters

TypeNameDefaultDescription
Anglephi_rel00Unstretched spring angle

Connectors

TypeNameDescription
input RealInputcVariable spring constant
Flange_aflange_aLeft flange of compliant 1-dim. rotational component
Flange_bflange_bRight flange of compliant 1-dim. rotational component

Model ModelicaExtras.​Mechanics.​Rotational.​VariableDamper
Linear 1D rotational damper

Information

Linear, velocity dependent damper element. It can be either connected between an inertia or gear and the housing (component Fixed), or between two inertia/gear elements.

See also the discussion State Selection in the User's Guide of the Rotational library.

Extends from Modelica.​Mechanics.​Rotational.​Interfaces.​PartialCompliantWithRelativeStates (Partial model for the compliant connection of two rotational 1-dim. shaft flanges where the relative angle and speed are used as preferred states) and Modelica.​Thermal.​HeatTransfer.​Interfaces.​PartialElementaryConditionalHeatPortWithoutT (Partial model to include a conditional HeatPort in order to dissipate losses, used for textual modeling, i.e., for elementary models).

Parameters

TypeNameDefaultDescription
Anglephi_nominal1e-4Nominal value of phi_rel (used for scaling)
StateSelectstateSelectStateSelect.​preferPriority to use phi_rel and w_rel as states
BooleanuseHeatPortfalse=true, if heatPort is enabled

Connectors

TypeNameDescription
input RealInputdVariable damping factor
Flange_aflange_aLeft flange of compliant 1-dim. rotational component
Flange_bflange_bRight flange of compliant 1-dim. rotational component
HeatPort_aheatPortOptional port to which dissipated losses are transported in form of heat