# PCCCS2

Polynomial current-controlled current source with two controlling inputs

**Libraries:**

Simscape /
Electrical /
Additional Components /
SPICE Sources

## Description

The PCCCS2 (Two-Input Polynomial Current-Controlled Current Source) block represents a current source whose output current value is a polynomial function of the currents through the pairs of controlling input ports. This equation describes the current through the source as a function of time:

$${I}_{out}={p}_{1}+{p}_{2}*{I}_{in1}+{p}_{3}*{I}_{in2}+{p}_{4}*{I}_{in1}^{2}+{p}_{5}{I}_{in1}*{I}_{in2}+{p}_{6}*{I}_{in2}^{2}+\dots $$

where:

*I*is the current through the first pair of input ports._{in1}*I*is the current through the second pair of input ports._{in2}*p*is the**Polynomial coefficients**parameter value.

The block uses a small conductance internally to prevent numerical simulation issues.
The conductance connects the output ports of the device and has a conductance
*GMIN*:

By default,

*GMIN*matches the**GMIN**parameter of the Environment Parameters block, whose default value is`1e–12`

.To change

*GMIN*, add an Environment Parameters block to your model and set the**GMIN**parameter to the desired value.

## Ports

### Conserving

## Parameters

## Extended Capabilities

## Version History

**Introduced in R2009a**