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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_pder | true | Use input for 1st derivative of potential |
| Boolean | use_pder2 | true | Use input for 2nd derivative of potential (only if 1st derivative is used, too) |
| Boolean | use_fder | true | Use output for 1st derivative of flow |
| Boolean | use_fder2 | true | Use output for 2nd derivative of flow (only if 1st derivative is used, too) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | p | Input for potential | |
| Modelica.Blocks.Interfaces.RealInput | pder | Optional input for der(potential) | |
| Modelica.Blocks.Interfaces.RealInput | pder2 | Optional input for der2(potential) | |
| Modelica.Blocks.Interfaces.RealOutput | f | Output for flow | |
| Modelica.Blocks.Interfaces.RealOutput | fder | Optional output for der(flow) | |
| Modelica.Blocks.Interfaces.RealOutput | fder2 | Optional output for der2(flow) |