# Current-Controlled Current Source

Linear current-controlled current source

## Library

Electrical Sources

## Description

The Current-Controlled Current Source block models a linear current-controlled current source, described with the following equation:

`$I2=K·I1$`

where

 `I2` Output current `K` Current gain `I1` Current flowing from the + to the – control port

To use the block, connect the + and – ports on the left side of the block (the control ports) to the control current source. The arrow between these ports indicates the positive direction of the control current flow. The two ports on the right side of the block (the output ports) generate the output current, with the arrow between them indicating the positive direction of the output current flow.

## Dialog Box and Parameters

### Parameters Tab

Current gain K

Ratio of the current between the two output terminals to the current passing between the two control terminals. The default value is `1`.

### Variables Tab

Use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector) to set the priority and initial target values for the block variables prior to simulation. For more information, see Set Priority and Initial Target for Block Variables.

## Ports

The block has four electrical conserving ports. Connections + and – on the left side of the block are the control ports. The other two ports are the electrical terminals that provide the output current. The arrows between each pair of ports indicate the positive direction of the current flow.