modelG_VCC
Linear voltage-controlled current source
Extends from Interfaces.TwoPortControlledSources (Component with two electrical ports, including current).
Information
The linear voltage-controlled current source is a TwoPort. The right port current at pin p2 (=p2.i) is controlled by the left port voltage at pin p1 (p1.v) via
p2.i = p1.v * transConductance.
The left port current is zero. Any transConductance can be chosen.
The corresponding SPICE descriptionGname N+ N- NC+ NC- VALUE
is translated to Modelica:
Gname -> Spice3.Basic.G_VCC Gname (Gname is the name of the Modelica instance) N+ -> p2.i N- -> n2.i NC+ -> p1 .v NC- -> n1.v VALUE -> transConductance
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Conductance | transConductance | Transconductance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 (from TwoPortControlledSources) | Positive pin of the controlling port | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 (from TwoPortControlledSources) | Negative pin of the controlling port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 (from TwoPortControlledSources) | Positive pin of the controlled port | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 (from TwoPortControlledSources) | Negative pin of the controlled port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v1 (from TwoPortControlledSources) | Voltage drop over the controlling port | |
| SI.Voltage | v2 (from TwoPortControlledSources) | Voltage drop over the controlled port | |
| SI.Current | i1 (from TwoPortControlledSources) | Current flowing from pos. to neg. pin of the controlling port | |
| SI.Current | i2 (from TwoPortControlledSources) | Current flowing from pos. to neg. pin of the controlled port |