modelPotentialToFlowAdaptor

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

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputpInput for potential
Modelica.Blocks.Interfaces.RealInputpderOptional input for der(potential)
Modelica.Blocks.Interfaces.RealInputpder2Optional input for der2(potential)
Modelica.Blocks.Interfaces.RealOutputfOutput for flow
Modelica.Blocks.Interfaces.RealOutputfderOptional output for der(flow)
Modelica.Blocks.Interfaces.RealOutputfder2Optional output for der2(flow)