modelGeneralVoltageToCurrentAdaptor

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

Extends from Modelica.Blocks.Interfaces.Adaptors.PotentialToFlowAdaptor (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 an electrical openport 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 voltage and derivative of voltage as input signals and current and derivative of current as output signal.

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

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 PotentialToFlowAdaptor)trueUse input for 1st derivative of potential
Booleanuse_pder2 (from PotentialToFlowAdaptor)trueUse input for 2nd derivative of potential (only if 1st derivative is used, too)
Booleanuse_fder (from PotentialToFlowAdaptor)trueUse output for 1st derivative of flow
Booleanuse_fder2 (from PotentialToFlowAdaptor)trueUse output for 2nd derivative of flow (only if 1st derivative is used, too)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputp (from PotentialToFlowAdaptor)Input for potential
Modelica.Blocks.Interfaces.RealInputpder (from PotentialToFlowAdaptor)Optional input for der(potential)
Modelica.Blocks.Interfaces.RealInputpder2 (from PotentialToFlowAdaptor)Optional input for der2(potential)
Modelica.Blocks.Interfaces.RealOutputf (from PotentialToFlowAdaptor)Output for flow
Modelica.Blocks.Interfaces.RealOutputfder (from PotentialToFlowAdaptor)Optional output for der(flow)
Modelica.Blocks.Interfaces.RealOutputfder2 (from PotentialToFlowAdaptor)Optional output 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