(F) Current-Controlled Current Source Statement

You can model current-controlled sources using (B) Function-Based Source Statement. This is purely for supporting legacy syntax.

Current-controlled current sources (CCCS) describe a current source whose current is defined by a polynomial applied to other currents. Function-based sources starting with F are listed in the legacy tab of (B) Function-Based Source Statement.

Fname pos neg Vname gain
Fname pos neg POLY(n) Vname1 <Vname2 ...> p0 <p1 p2 ...>
Fname pos neg POLY(1) Vname p1 ; special case defines p1 and sets p0 to zero

From each reference device VnameN we read the current I_N. Only devices with currents, e.g. voltage sources, can be used as reference. We then evaluate the following polynomial to determine the current of this circuit element:

\begin{align} \text{For gain}: \quad & f(I) = gain * I \\ \text{For } n = 1: \quad & f(I_1) = p_0 + p_1 I_1 + p_2 I_1^2 + p_3 I_1^3 + \ldots \\ \text{For } n = 2: \quad & f(I_1, I_2) = p_0 + p_1 I_1 + p_2 I_2 + p_3 I_1^2 + p_4 I_1 I_2 + p_5 I_2^2 + p_6 I_1^3 + \ldots \end{align}