GeneralForceToPositionAdaptor

Signal adaptor for a Translational flange with position, speed, and acceleration as outputs and force as input (especially useful for FMUs)

    GeneralForceToPositionAdaptor

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 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 Translational.Examples.GenerationOfFMUs. This adaptor has force as input and position, velocity and acceleration as output signals.

Parameters

GeneralForceToPositionAdaptor_0

NameLabelDescriptionData TypeValid Values

mo_use_pder

use_pder

Use output for 1st derivative of potential

Number

0
1

mo_use_pder2

use_pder2

Use output for 2nd derivative of potential (only if 1st derivate is used, too)

Number

0
1

mo_use_fder

use_fder

Use input for 1st derivative of flow

Number

0
1

mo_use_fder2

use_fder2

Use input for 2nd derivative of flow (only if 1st derivate is used, too)

Number

0
1

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

GeneralForceToPositionAdaptor_1

NameLabelDescriptionData TypeValid Values

mo_p

p

p

Structure

mo_p/fixed

fixed

Cell of scalars

true
false

mo_p/start

start

Cell of scalars

mo_pder

pder

pder

Structure

mo_pder/fixed

fixed

Cell of scalars

true
false

mo_pder/start

start

Cell of scalars

mo_pder2

pder2

pder2

Structure

mo_pder2/fixed

fixed

Cell of scalars

true
false

mo_pder2/start

start

Cell of scalars

mo_f

f

f

Structure

mo_f/fixed

fixed

Cell of scalars

true
false

mo_f/start

start

Cell of scalars

mo_fder

fder

fder

Structure

mo_fder/fixed

fixed

Cell of scalars

true
false

mo_fder/start

start

Cell of scalars

mo_fder2

fder2

fder2

Structure

mo_fder2/fixed

fixed

Cell of scalars

true
false

mo_fder2/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Output for potential

output

1

f

implicit

Input for flow

input

1

flange

implicit

input

2

Port 4

implicit

Optional output for der(potential)

output

mo_use_pder

Port 5

implicit

Optional output for der2(potential)

output

mo_use_pder&&mo_use_pder2

Port 6

implicit

Optional input for der(flow)

input

mo_use_fder

Port 7

implicit

Optional input for der2(flow)

input

mo_use_fder&&mo_use_fder2