GeneralCurrentToVoltageAdaptor

Signal adaptor for an Electrical OnePort with voltage and derivative of voltage as outputs and current and derivative of current as inputs (especially useful for FMUs)

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Adaptor between an electrical oneport and a signal representation of the oneport. This component is used to provide a pure signal interface around an Electrical 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 Electrical.Analog.Examples.GenerationOfFMUs. This adaptor has current and derivative of current as inputs and voltage and derivative of voltage as output signals.

Note, the input signals must be consistent to each other (di=der(i)).

Note, the adaptor contains no ground. Bear in mind that separating physical components and connecting them via adaptor signals requires to place appropriate ground components to define electric potential within the subcircuits.

Parameters (4)

use_pder

Value: true

Type: Boolean

Description: Use output for 1st derivative of potential

use_pder2

Value: false

Type: Boolean

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

use_fder

Value: true

Type: Boolean

Description: Use input for 1st derivative of flow

use_fder2

Value: false

Type: Boolean

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

Connectors (8)

p

Type: RealOutput

Description: Output for potential

pder

Type: RealOutput

Description: Optional output for der(potential)

pder2

Type: RealOutput

Description: Optional output for der2(potential)

f

Type: RealInput

Description: Input for flow

fder

Type: RealInput

Description: Optional input for der(flow)

fder2

Type: RealInput

Description: Optional input for der2(flow)

pin_p

Type: PositivePin

pin_n

Type: NegativePin

Used in Examples (2)

GenerationOfFMUs

Modelica.Electrical.Analog.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)

ResonanceCircuits

Modelica.Electrical.Analog.Examples

Resonance circuits: example to demonstrate generation of FMUs (Functional Mock-up Units)

Used in Components (3)

DirectCapacitor

Modelica.Electrical.Analog.Examples.Utilities

Input/output block of a direct capacitor model

InverseInductor

Modelica.Electrical.Analog.Examples.Utilities

Input/output block of an inverse inductor model

Conductor

Modelica.Electrical.Analog.Examples.Utilities

Input/output block of a conductance model