Package Modelica.​Blocks.​Interfaces.​Adaptors
Package with adaptors (especially useful for FMUs)

Information

This package contains partial adaptors to implement adaptors in various domains between a physical connector and a signal representation of the connector signals. This component is used to provide a pure signal interface around a physical model and export this model in form of an input/output block, especially as FMU (Functional Mock-up Unit).

Extends from Modelica.​Icons.​InterfacesPackage (Icon for packages containing interfaces).

Package Contents

NameDescription
FlowToPotentialAdaptorSignal adaptor for a connector with flow, 1st derivative of flow, and 2nd derivative of flow as inputs and potential, 1st derivative of potential, and 2nd derivative of potential as outputs (especially useful for FMUs)
FunctionsFunctions for adaptors
PotentialToFlowAdaptorSignal adaptor for a connector with potential, 1st derivative of potential, and 2nd derivative of potential as inputs and flow, 1st derivative of flow, and 2nd derivative of flow as outputs (especially useful for FMUs)

Partial Model Modelica.​Blocks.​Interfaces.​Adaptors.​FlowToPotentialAdaptor
Signal adaptor for a connector with flow, 1st derivative of flow, and 2nd derivative of flow as inputs and potential, 1st derivative of potential, and 2nd derivative of potential as outputs (especially useful for FMUs)

Information

Adaptor between a physical connector and a signal representation of the connector signals. This component is used to provide a pure signal interface around a physical model and export this model in form of an input/output block, especially as FMU (Functional Mock-up Unit).

This adaptor has flow, optional 1st derivative of flow, and optional 2nd derivative of flow as input and potential, optional 1st derivative of potential, and optional 2nd derivative of potential as output signals.

Note, the input signals must be consistent to each other (fder=der(f), fder2=der(fder)).

Parameters

TypeNameDefaultDescription
Booleanuse_pdertrueUse output for 1st derivative of potential
Booleanuse_pder2trueUse output for 2nd derivative of potential (only if 1st derivative is used, too)
Booleanuse_fdertrueUse input for 1st derivative of flow
Booleanuse_fder2trueUse input for 2nd derivative of flow (only if 1st derivative is used, too)

Connectors

TypeNameDescription
output RealOutputpOutput for potential
output RealOutputpderOptional output for der(potential)
output RealOutputpder2Optional output for der2(potential)
input RealInputfInput for flow
input RealInputfderOptional input for der(flow)
input RealInputfder2Optional input for der2(flow)

Partial Model Modelica.​Blocks.​Interfaces.​Adaptors.​PotentialToFlowAdaptor
Signal adaptor for a connector with potential, 1st derivative of potential, and 2nd derivative of potential as inputs and flow, 1st derivative of flow, and 2nd derivative of flow as outputs (especially useful for FMUs)

Information

Adaptor between a physical connector and a signal representation of the connector signals. This component is used to provide a pure signal interface around a physical model and export this model in form of an input/output block, especially as FMU (Functional Mock-up Unit).

This adaptor has potential, optional 1st derivative of potential, and optional 2nd derivative of potential as input and flow, optional 1st derivative of flow, and optional 2nd derivative of flow as output signals.

Note, the input signals must be consistent to each other (pder=der(p), pder2=der(pder)).

Parameters

TypeNameDefaultDescription
Booleanuse_pdertrueUse input for 1st derivative of potential
Booleanuse_pder2trueUse input for 2nd derivative of potential (only if 1st derivative is used, too)
Booleanuse_fdertrueUse output for 1st derivative of flow
Booleanuse_fder2trueUse output for 2nd derivative of flow (only if 1st derivative is used, too)

Connectors

TypeNameDescription
input RealInputpInput for potential
input RealInputpderOptional input for der(potential)
input RealInputpder2Optional input for der2(potential)
output RealOutputfOutput for flow
output RealOutputfderOptional output for der(flow)
output RealOutputfder2Optional output for der2(flow)