Modelica.Mechanics.Rotational.Examples.Utilities

Utility classes used by rotational example models

Information

This package contains utility models and functions used by some of the example models from the rotational mechanics package.

Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).

Package Content

Name Description
Modelica.Mechanics.Rotational.Examples.Utilities.DirectInertia DirectInertia Input/output block of a direct inertia model
Modelica.Mechanics.Rotational.Examples.Utilities.InverseInertia InverseInertia Input/output block of an inverse inertia model
Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamper SpringDamper Input/output block of a spring/damper model
Modelica.Mechanics.Rotational.Examples.Utilities.Spring Spring Input/output block of a spring model
Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamperNoRelativeStates SpringDamperNoRelativeStates Linear 1D rotational spring and damper in parallel (phi and w are not used as states)

Modelica.Mechanics.Rotational.Examples.Utilities.DirectInertia Modelica.Mechanics.Rotational.Examples.Utilities.DirectInertia

Input/output block of a direct inertia model

Information

A rotational component with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange. The input torque tauDrive is applied on one side of a rotational component with inertia whereby the input torque tau is applied on the other side of it.

See also

InverseInertia.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
JInertia [kg.m2]

Connectors

NameDescription
tauDriveAccelerating torque acting at flange (= -flange.tau) [N.m]
phiInertia moves with angle phi due to torque tau [rad]
wInertia moves with speed w due to torque tau [rad/s]
aInertia moves with acceleration a due to torque tau [rad/s2]
tauTorque to drive the inertia [N.m]

Modelica.Mechanics.Rotational.Examples.Utilities.InverseInertia Modelica.Mechanics.Rotational.Examples.Utilities.InverseInertia

Input/output block of an inverse inertia model

Information

A rotational component with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange. Based on the kinematic inputs applied on a component with inertia the output torque tau is returned.

See also

DirectInertia.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
JInertia [kg.m2]

Connectors

NameDescription
phiAngle to drive the inertia [rad]
wSpeed to drive the inertia [rad/s]
aAcceleration to drive the inertia [rad/s2]
tauTorque needed to drive the flange according to phi, w, a [N.m]

Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamper Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamper

Input/output block of a spring/damper model

Information

A linear 1D rotational spring and damper in parallel with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
cSpring constant [N.m/rad]
dDamping constant [N.m.s/rad]
phi_rel0Unstretched spring angle [rad]

Connectors

NameDescription
phi1Angle of left flange of force element [rad]
w1Speed to left flange of force element [rad/s]
tau1Torque generated by the force element [N.m]
phi2Angle of right flange of force element [rad]
w2Speed to right flange of force element [rad/s]
tau2Torque generated by the force element [N.m]

Modelica.Mechanics.Rotational.Examples.Utilities.Spring Modelica.Mechanics.Rotational.Examples.Utilities.Spring

Input/output block of a spring model

Information

A linear 1D rotational spring with pure signal interface which can be applied for a FMU (Functional Mock-up Unit) exchange.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

NameDescription
cSpring constant [N.m/rad]
phi_rel0Unstretched spring angle [rad]

Connectors

NameDescription
phi1Angle of left flange of force element [rad]
tau1Torque generated by the force element [N.m]
phi2Angle of right flange of force element [rad]
tau2Torque generated by the force element [N.m]

Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamperNoRelativeStates Modelica.Mechanics.Rotational.Examples.Utilities.SpringDamperNoRelativeStates

Linear 1D rotational spring and damper in parallel (phi and w are not used as states)

Information

A spring and damper element connected in parallel. The component can be connected either between two masses to describe the joint elasticity and damping, or between a mass and the housing (component Fixed), to describe a coupling of the element with the housing via a spring/damper.

This is the same element as Rotational.Components.SpringDamper but with the only difference, that the relative quantities are not used as states. If the relative states are potentially used as states, "a_rel = der(w_rel)" is present, and then exporting this model as FMU requires to also have the accelerations in the flanges as inputs, which is usually not desired for a force element.

Extends from Modelica.Mechanics.Rotational.Interfaces.PartialCompliant (Partial model for the compliant connection of two rotational 1-dim. shaft flanges), 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

NameDescription
cSpring constant [N.m/rad]
dDamping constant [N.m.s/rad]
phi_rel0Unstretched spring angle [rad]
useHeatPort=true, if heatPort is enabled
Initialization
phi_relRelative rotation angle (= flange_b.phi - flange_a.phi) [rad]

Connectors

NameDescription
flange_aLeft flange of compliant 1-dim. rotational component
flange_bRight flange of compliant 1-dim. rotational component
heatPortOptional port to which dissipated losses are transported in form of heat
Automatically generated Thu Dec 19 17:20:08 2019.