CurrentConstant
Source for a constant current.
![]()
Library
Analog/Basic
Description
The ConstantCurrent block is a simple source to produce an ideal constant current (defined as a parameter).
The + and - are the positive and negative nodes. A positive current is assumed to flow from the + to - through the source.
No internal resistance is modeled.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
sp_I | Current Value | Value of the DC current source (amperes) | Scalar | |
sp_Spice | Additional Spice Parameters | For more details, see Additional Spice Parameters. | String |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
V+ | implicit | Positive pin | 1 | |
V- | implicit | Negative pin | 2 |