Current source

## Keywords

electrical, node, bidirectional

## Ports

Name | Type |
---|---|

port 1 | Electrical Node |

port 2 | Electrical Node |

input | Electrical Signal |

## Properties

### General Properties

Name | Default value | Default unit | Range |
---|---|---|---|

Defines the name of the element. |
Current Source | - | - |

Defines whether or not to display annotations on the schematic editor. |
true | - | [true, false] |

Defines whether or not the element is enabled. |
true | - | [true, false] |

Defines the element unique type (read only). |
Current Source | - | - |

A brief description of the elements functionality. |
Current source | - | - |

Defines the element name prefix. |
I | - | - |

Defines the element model name. |
- | - | - |

Defines the element location or source in the library (custom or design kit). |
- | - | - |

Defines the local path or working folder $LOCAL for the element. |
- | - | - |

An optional URL address pointing to the element online help. |
- | - | - |

### Standard Properties

Name | Default value | Default unit | Range |
---|---|---|---|

Defines the current source configuration. |
dual port | - | [single port, dual port |

====================================

## Implementation Details

The element s-parameters matrix is defined depending on the property ‘configuration’. If the ‘configuration’ property is set to ‘single port’, the relationship between the ‘Electrical Node’ and ‘Electrical Signal’ ports are defined as:

$$b_1=\begin{bmatrix} \sqrt{R_0} & 1 \\[0.3em] \end{bmatrix} \begin{bmatrix} I \\ a_1 \\[0.3em] \end{bmatrix}$$

Where \(a_1\) is the incoming wave and \(b_1\) is the outgoing wave at the element port ‘port’. The input current \(I\) is defined at the port ‘input’. \(R_0\) is the internal characteristic impedance. Relationship between the electrical waves, current and voltage are defined by the following equations:

$$a_i(f)=\frac{1}{2}(\frac{V_i(f)}{\sqrt{R_0}} + \sqrt{R_0}\cdot I_i(f))$$

$$b_i(f)=\frac{1}{2}(\frac{V_i(f)}{\sqrt{R_0}} - \sqrt{R_0}\cdot I_i(f))$$

Where \(a_i(f)\) is the incoming wave, \(b_i(f)\) is the outgoing wave, \(V_i(f)\) is the voltage and \(I_i(f)\) is the current at port i.

If the ‘configuration’ property is set to ‘dual port’, the relationships between the ‘Electrical Node’ and ‘Electrical Signal’ ports are defined as:

$$\begin{bmatrix} b_1 \\ b_2 \end{bmatrix} = \begin{bmatrix} -\sqrt{R_0} & 1 & 0 \\ \sqrt{R_0} & 0 & 1 \end{bmatrix} \begin{bmatrix} I \\ a_1 \\a_2 \end{bmatrix}$$

Where \(a_1\) is the incoming wave and \(b_1\) is the outgoing wave at the element port ‘port 1’, and \(a_2\) is the incoming wave and \(b_2\) is the outgoing wave at the element port ‘port 2’.