modelFlowToPotentialAdaptor

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

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputpOutput for potential
Modelica.Blocks.Interfaces.RealOutputpderOptional output for der(potential)
Modelica.Blocks.Interfaces.RealOutputpder2Optional output for der2(potential)
Modelica.Blocks.Interfaces.RealInputfInput for flow
Modelica.Blocks.Interfaces.RealInputfderOptional input for der(flow)
Modelica.Blocks.Interfaces.RealInputfder2Optional input for der2(flow)