GeneralPositionToForceAdaptor
Signal adaptor for a Translational flange with force as output and position, speed and acceleration as input (especially useful for FMUs)
Library
Modelica/Mechanics/Translational/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 Translational 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 inTranslational.Examples.GenerationOfFMUs.This adaptor has position, velocity and acceleration as input signals andforce as output signal.
Note, the input signals must be consistent to each other(v=der(s), a=der(v)).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_use_pder | use_pder | Use input for 1st derivative of potential | Number | 0 |
mo_use_pder2 | use_pder2 | Use input for 2nd derivative of potential (only if 1st derivate is used, too) | Number | 0 |
mo_use_fder | use_fder | Use output for 1st derivative of flow | Number | 0 |
mo_use_fder2 | use_fder2 | Use output for 2nd derivative of flow (only if 1st derivate is used, too) | Number | 0 |
mo_Name_p | Name_p | Name of potential variable | String | |
mo_Name_pder | Name_pder | Name of 1st derivative of potential variable | String | |
mo_Name_pder2 | Name_pder2 | Name of 2nd derivative of potential variable | String | |
mo_Name_f | Name_f | Name of flow variable | String | |
mo_Name_fder | Name_fder | Name of 1st derivative of flow variable | String | |
mo_Name_fder2 | Name_fder2 | Name of 2nd derivative of flow variable | String |
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 | 'y' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | Input for potential | input | 1 |
f | implicit | Output for flow | output | 1 |
flange | implicit | output | 2 | |
Port 4 | implicit | Optional input for der(potential) | input | mo_use_pder |
Port 5 | implicit | Optional input for der2(potential) | input | mo_use_pder&&mo_use_pder2 |
Port 6 | implicit | Optional output for der(flow) | output | mo_use_fder |
Port 7 | implicit | Optional output for der2(flow) | output | mo_use_fder&&mo_use_fder2 |