modelCCC

Linear current-controlled current source

Extends from Interfaces.TwoPort (TwoPort partial model of analog electrical library).

Information

The linear current-controlled current source is built in bondgraphic technology using a flow detector and a modulated flow source. A-causal bonds must partially be used here, because the causality of the input port depends on the embedding of the CCC element in its environment.


Parameters:

 gain:  Current gain (default value = 1)


Equations:

i2 = gain*i1
v1 = 0

Parameters

TypeNameDefaultDescription
Realgain1Current gain

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1 (from TwoPort)Voltage drop over the left port
Modelica.SIunits.Voltagev2 (from TwoPort)Voltage drop over the right port
Modelica.SIunits.Currenti1 (from TwoPort)Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2 (from TwoPort)Current flowing from pos. to neg. pin of the right port
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPort)First left electrical connector
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPort)Second left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPort)First right electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPort)Second right electrical connector