modelH_CCV
Linear current-controlled voltage source
Extends from Interfaces.TwoPortControlledSources (Component with two electrical ports, including current).
Information
The linear current-controlled voltage source is a TwoPort. The "right" port voltage at pin 2 (=p2.v) is controlled by the "left" port current at pin p1(=p1.i) via
p2.v = p1.i * transResistance.
The controlling port voltage is zero. Any transResistance can be chosen. The corresponding SPICE description
Hname N+ N- VNAM VALUE
is translated to Modelica:
Hname -> Spice3.Basic.H_CCV Hname (Hname is the name of the Modelica instance) N+ -> p2.v N- -> n2.v
The voltage source VNAM has the two nodes NV+ and NV-:
VNAM VN+ VN- VALUE_V
The current through VNAM hast to be led through the CCV. Therefore VNAM has to be disconnected and an additional node NV_AD has to be added.
NV_AD -> p1.i NV- -> n1.i
On this way the current, that flows through the voltage source VNAM, flows through the CCV.
VALUE -> transResistance
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Resistance | transResistance | Transresistance |
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 |