modelGeneralCurrentToVoltageAdaptor

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)

Extends from 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 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

TypeNameDefaultDescription
Booleanuse_pder (from FlowToPotentialAdaptor)trueUse output for 1st derivative of potential
Booleanuse_pder2 (from FlowToPotentialAdaptor)trueUse output for 2nd derivative of potential (only if 1st derivative is used, too)
Booleanuse_fder (from FlowToPotentialAdaptor)trueUse input for 1st derivative of flow
Booleanuse_fder2 (from FlowToPotentialAdaptor)trueUse input for 2nd derivative of flow (only if 1st derivative is used, too)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputp (from FlowToPotentialAdaptor)Output for potential
Modelica.Blocks.Interfaces.RealOutputpder (from FlowToPotentialAdaptor)Optional output for der(potential)
Modelica.Blocks.Interfaces.RealOutputpder2 (from FlowToPotentialAdaptor)Optional output for der2(potential)
Modelica.Blocks.Interfaces.RealInputf (from FlowToPotentialAdaptor)Input for flow
Modelica.Blocks.Interfaces.RealInputfder (from FlowToPotentialAdaptor)Optional input for der(flow)
Modelica.Blocks.Interfaces.RealInputfder2 (from FlowToPotentialAdaptor)Optional input for der2(flow)
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n

Components

TypeNameDefaultDescription
SI.VoltagevVoltage drop between the two pins (= p.v - n.v)
SI.CurrentiCurrent flowing from pin p to pin n