AngleToTorqueAdaptor

Signal adaptor for a Rotational flange with torque as output and angle, speed, and optionally acceleration as inputs (especially useful for FMUs)

    AngleToTorqueAdaptor

Library

Modelica/Mechanics/Rotational/Components

Description

Adaptor between a flange connector and a signal representation of the flange. This component is used to provide a pure signal interface around a Rotational model and export this model in form of an input/output block, especially as FMU (Functional Mock-up Unit). Examples of the usage of this adaptor are provided in Rotational.Examples.GenerationOfFMUs. This adaptor has angle, angular velocity and angular acceleration as input signals and torque as output signal. Note, the input signals must be consistent to each other (w=der(phi), a=der(w)).

Parameters

AngleToTorqueAdaptor_0

NameLabelDescriptionData TypeValid Values

mo_use_w

use_w

= true, enable the input connector w (angular velocity)

Number

0
1

mo_use_a

use_a

= true, enable the input connector a (angular acceleration)

Number

0
1

AngleToTorqueAdaptor_1

NameLabelDescriptionData TypeValid Values

mo_phi

phi

phi

Structure

mo_phi/fixed

fixed

Cell of scalars

true
false

mo_phi/start

start

Cell of scalars

mo_w

w

w

Structure

mo_w/fixed

fixed

Cell of scalars

true
false

mo_w/start

start

Cell of scalars

mo_a

a

a

Structure

mo_a/fixed

fixed

Cell of scalars

true
false

mo_a/start

start

Cell of scalars

mo_tau

tau

tau

Structure

mo_tau/fixed

fixed

Cell of scalars

true
false

mo_tau/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

flange

implicit

output

1

phi

implicit

Angle to drive the flange

input

1

tau

implicit

Torque needed to drive the flange according to phi, w, a

output

2

Port 4

implicit

Speed to drive the flange (w=der(phi) required)

input

mo_use_w||mo_use_a

Port 5

implicit

Angular acceleration to drive the flange (a = der(w) required)

input

mo_use_a