modelF_CCC

Linear current-controlled current source

Extends from Interfaces.TwoPortControlledSources (Component with two electrical ports, including current).

Information

The linear current-controlled current source is a TwoPort. The "right" port current at pin 2 (=p2.i) is controlled by the "left" port current at pin p1(=p1.i) via

p2.i = p1.i * gain.

The controlling port voltage is zero. Any current gain can be chosen.

The corresponding SPICE description

Fname N+ N- VNAM VALUE

is translated to Modelica:

Fname -> Spice3.Basic.F_CCC Fname
(Fname is the name of the Modelica instance)
N+ -> p2.i
N- -> n2.i

The voltage source VNAM has the two nodes NV+ and NV-:

VNAM NV+ NV- VALUE_V

The current through VNAM hast to be led through the CCC.

Therefore VNAM has to be disconnected and an additional

node NV_AD has to be added.

NV_AD -> p1.i
NV- -> n1.i

On this way the current, that flows through the voltage source VNAM, flows through the CCC.

VALUE -> gain

Parameters

TypeNameDefaultDescription
RealgainCurrent gain

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPortControlledSources)Positive pin of the controlling port
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPortControlledSources)Negative pin of the controlling port
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPortControlledSources)Positive pin of the controlled port
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPortControlledSources)Negative pin of the controlled port

Components

TypeNameDefaultDescription
SI.Voltagev1 (from TwoPortControlledSources)Voltage drop over the controlling port
SI.Voltagev2 (from TwoPortControlledSources)Voltage drop over the controlled port
SI.Currenti1 (from TwoPortControlledSources)Current flowing from pos. to neg. pin of the controlling port
SI.Currenti2 (from TwoPortControlledSources)Current flowing from pos. to neg. pin of the controlled port