AngleToTorqueAdaptor
Signal adaptor for a Rotational flange with torque as output and angle, speed, and optionally acceleration as inputs (especially useful for FMUs)
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 modeland 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 inRotational.Examples.GenerationOfFMUs.This adaptor has angle, angular velocity and angular acceleration as input signals andtorque as output signal. Note, the input signals must be consistent to each other(w=der(phi), a=der(w)).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_use_w | use_w | = true, enable the input connector w (angular velocity) | Number | 0 |
mo_use_a | use_a | = true, enable the input connector a (angular acceleration) | Number | 0 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
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 |