| Parameter |
Description |
Units |
| OFF |
Constant voltage. |
SI.Voltage |
Parameters
| Name | Default | Description |
| OFF | | Constant Voltage [V] |
| DC_VALUE | | [V] |
| AC_MAG | | [V] |
| AC_PHASE | 0 | AC phase value [deg] |
| HIDDEN_COMPONENT | false | Enable or disable log |
Modelica definition
model VCONST
parameter SI.Voltage OFF "Constant Voltage";
parameter SI.Voltage DC_VALUE;
parameter SI.Voltage AC_MAG;
extends src.SOURCE.VSource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.CONST (OFF=OFF));
end VCONST;
Information
I - Independent current source

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Voltage |
DC value. |
| AC_MAG |
SI.Voltage |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
Stimulus - Transient specification
None.
Parameters
| Name | Default | Description |
| DC_VALUE | | [A] |
| AC_MAG | | [A] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model I
parameter SI.Current DC_VALUE;
parameter SI.Current AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.NULL);
end I;
Information
IEXP - Independent current source & EXP stimulus

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Voltage |
DC value. |
| AC_MAG |
SI.Voltage |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
Stimulus - EXP waveform
The EXP form causes the current to be S1 for the first TD1 seconds.
Then the current decays exponentially from S1 to S2 using a time
constant of TC1. The decay lasts TD2-TD1 seconds.
Then, the current decays from S2 back to S1 using a time constant
of TC2. See Tables 8 and 9.
Table 8. EXP waveform parameters.
| Parameter |
Description |
Units |
| S1 |
Initial voltage. |
SI.Current |
| S2 |
Peak voltage. |
SI.Current |
| TD1 |
Rise (fall) delay. |
SI.Time |
| TC1 |
Rise (fall) time constant. |
SI.Time |
| TD2 |
Fall (rise) delay. |
SI.Time |
| TC2 |
Fall (rise) time constant. |
SI.Time |
Table 9. Exponential waveform formulas.
| Time period |
Value |
| 0 to TD1 |
S1 |
| TD1 to TD2 |
S1+(S2-S1)*(1-e-(TIME-TD1)/TC1) |
| TD2 to TSTOP |
S1+(S2-S1)*((1-e-(TIME-TD1)/TC1)-(1-e-(TIME-TD2)/TC2)) |
Parameters
| Name | Default | Description |
| S1 | | Initial signal [A] |
| S2 | | Peak signal [A] |
| TD1 | | Rise (fall) delay [s] |
| TC1 | | Rise (fall) time constant [s] |
| TD2 | | Fall (rise) delay [s] |
| TC2 | | Fall (rise) time constant [s] |
| DC_VALUE | | [A] |
| AC_MAG | | [A] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model IEXP
parameter SI.Current S1 "Initial signal";
parameter SI.Current S2 "Peak signal";
parameter SI.Time TD1 "Rise (fall) delay";
parameter SI.Time TC1 "Rise (fall) time constant";
parameter SI.Time TD2 "Fall (rise) delay";
parameter SI.Time TC2 "Fall (rise) time constant";
parameter SI.Current DC_VALUE;
parameter SI.Current AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.EXP (
S1=S1,
S2=S2,
TD1=TD1,
TC1=TC1,
TD2=TD2,
TC2=TC2));
end IEXP;
Information
IPULSE - Independent current source & PULSE stimulus

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Voltage |
DC value. |
| AC_MAG |
SI.Voltage |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
Stimulus - PULSE waveform
The PULSE form causes the current to start at S1, and stay there for TD seconds.
Then, the current goes linearly from S1 to S2 during the next TR seconds, and the
the current stays at S2 for PW seconds.
Then it goes linearly from S2 back to S1 during the next TF seconds.
It stays at S1 for PER-(TR+PW+TF) seconds, and then the cycle is repeated
except for the initial delay of TD seconds.
Table 10. PULSE waveform parameters.
| Parameter |
Description |
Units |
| S1 |
Initial voltage. |
SI.Current |
| S2 |
Pulsed voltage. |
SI.Current |
| TD |
Delay. |
SI.Time |
| TF |
Fall time. |
SI.Time |
| TR |
Rise time. |
SI.Time |
| PW |
Pulse width. |
SI.Time |
| PER |
Period. |
SI.Time |
Table 11. Pulse waveform formulas.
| Time period |
Value |
| 0 | S1 |
| TD | S1 |
| TD+TR | S2 |
| TD+TR+PW | S2 |
| TD+TR+PW+TF | S1 |
| TD+PER | S1 |
| TD+PER+TR | S2 |
| ... | ... |
Parameters
| Name | Default | Description |
| S1 | | Initial signal [A] |
| S2 | | Pulse signal [A] |
| TD | | Delay [s] |
| TF | | Fall time [s] |
| TR | | Rise time [s] |
| PW | | Pulse width [s] |
| PER | | Period [s] |
| DC_VALUE | | [A] |
| AC_MAG | | [A] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model IPULSE
parameter SI.Current S1 "Initial signal";
parameter SI.Current S2 "Pulse signal";
parameter SI.Time TD(min=0) "Delay";
parameter SI.Time TF(min=0) "Fall time";
parameter SI.Time TR(min=0) "Rise time";
parameter SI.Time PW(min=0) "Pulse width";
parameter SI.Time PER(min=TR + PW + TF) "Period";
parameter SI.Current DC_VALUE;
parameter SI.Current AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.PULSE (
S1=S1,
S2=S2,
TD=TD,
TF=TF,
TR=TR,
PW=PW,
PER=PER));
end IPULSE;
Information
IPWL - Independent current source & PWL stimulus

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Voltage |
DC value. |
| AC_MAG |
SI.Voltage |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
Stimulus - PWL waveform
The PWL form describes a piecewise linear waveform.
Each pair of time-current values specifies a corner of the waveform.
The current at times between corners is the linear interpolation of
the currents at the corners.
Table 12. PWL waveform parameters.
| Parameter |
Description |
Units |
| timeCorners[:] |
Time at corners. |
SI.Time |
| signalCorners[:] |
Voltage at corners. |
SI.Current |
Parameters
| Name | Default | Description |
| signalCornersm[:] | | Signal at corners |
| timeCornersm[:] | | Time at corners [s] |
| Nm | size(signalCorners, 1) | Number of corner points |
| DC_VALUE | | [V] |
| AC_MAG | | [V] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model IPWL
parameter SI.Currrent signalCornersm[:] "Signal at corners";
parameter SI.Time timeCornersm[:] "Time at corners";
parameter Integer Nm=size(signalCorners, 1) "Number of corner points";
parameter SI.Voltage DC_VALUE;
parameter SI.Voltage AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.PWL (
signalCorners=signalCorners,
timeCorners=timeCorners,
N=N));
end IPWL;
Information
ISIN - Independent current source & SIN stimulus

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Voltage |
DC value. |
| AC_MAG |
SI.Voltage |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
Stimulus - SIN waveform
The SIN form causes the voltage to follow v = OFF + AMPL*sin(2*pi*FREQ*time).
See Table 8.
Table 8. SIN waveform parameters.
| Parameter |
Description |
Units |
| OFF |
DC voltage. |
SI.Voltage |
| AMPL |
Amplitude. |
SI.Voltage |
| FREQ |
Frequency. |
SI.Frequency |
Parameters
| Name | Default | Description |
| OFF | | DC Voltage [A] |
| AMPL | | Amplitude [A] |
| FREQ | | Frequency [Hz] |
| DC_VALUE | | [A] |
| AC_MAG | | [A] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model ISIN
parameter SI.Current OFF "DC Voltage";
parameter SI.Current AMPL "Amplitude";
parameter SI.Frequency FREQ "Frequency";
parameter SI.Current DC_VALUE;
parameter SI.Current AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.SIN (
OFF=OFF,
AMPL=AMPL,
FREQ=FREQ));
end ISIN;
Information
ICONST - Independent current source & CONST stimulus

Figure 1. Current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p |
(+) node |
| n |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) node variables.
| Name |
Description |
| p.vDC |
Static model. |
| p.vTran |
Large-signal voltage |
| p.vAC_Re |
AC small-signal voltage. Real part. |
| p.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) node variables.
| Name |
Description |
| n.vDC |
Static model. |
| n.vTran |
Large-signal voltage |
| n.vAC_Re |
AC small-signal voltage. Real part. |
| n.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Model parameters allow defining the DC and AC characteristics of the source
(see Table 4).
Table 4. Parameters of the independent current source
| Name |
Type |
Description |
| DC_VALUE |
SI.Current |
DC value. |
| AC_MAG |
SI.Current |
AC magnitude value. |
| AC_PHASE |
nonSI.Angle_deg |
AC phase value. |
| HIDDEN_COMPONENT |
Boolean |
See analyses package documentation. |
Variables of interest to the library user
Table 5. Voltage across the source.
| Name |
Description |
| vDC |
Static model. |
| vTran |
Large-signal voltage |
| vAC_Re |
AC small-signal voltage. Real part. |
| vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 6. Current flowing through the source.
| Name |
Description |
| iDC |
DC current. |
| iTran |
Large-signal current. |
| iAC_Re |
Small-signal current. Real part. |
| iAC_Im |
Small-signal current. Imaginary part. |
| iAC_mag |
AC small-signal current. Magnitude. |
| iAC_mag_dB |
Small-signal current. Magnitude (dB). |
| iAC_phase |
Small-signal current. Phase (deg). |
Stimulus - CONST waveform
The CONST form causes the voltage to follow v = OFF.
See Table 8.
Table 8. CONST waveform parameters.
| Parameter |
Description |
Units |
| OFF |
Constant current. |
SI.Current |
Parameters
| Name | Default | Description |
| OFF | | Constant Current [A] |
| DC_VALUE | | [A] |
| AC_MAG | | [A] |
| AC_PHASE | 0 | AC phase value [deg] |
Modelica definition
model ICONST
parameter SI.Current OFF "Constant Current";
parameter SI.Current DC_VALUE;
parameter SI.Current AC_MAG;
extends src.SOURCE.ISource(
DC_VALUE=DC_VALUE,
AC_MAG=AC_MAG,
redeclare model TransientSpecification = src.WAVEFORMS.CONST (OFF=OFF));
end ICONST;
Information
E - Voltage controlled voltage source

Figure 1. Voltage controlled voltage source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p1 |
(+) controlling node |
| n1 |
(-) controlling node |
| p2 |
(+) node |
| n2 |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) controlling node variables.
| Name |
Description |
| p1.vDC |
Static model. |
| p1.vTran |
Large-signal voltage |
| p1.vAC_Re |
AC small-signal voltage. Real part. |
| p1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) controlling node variables.
| Name |
Description |
| n1.vDC |
Static model. |
| n1.vTran |
Large-signal voltage |
| n1.vAC_Re |
AC small-signal voltage. Real part. |
| n1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 4. (+) node variables.
| Name |
Description |
| p2.vDC |
Static model. |
| p2.vTran |
Large-signal voltage |
| p2.vAC_Re |
AC small-signal voltage. Real part. |
| p2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 5. (-) node variables.
| Name |
Description |
| n2.vDC |
Static model. |
| n2.vTran |
Large-signal voltage |
| n2.vAC_Re |
AC small-signal voltage. Real part. |
| n2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Table 6. Parameters of the voltage controlled voltage source
| Name |
Type |
Description |
| GAIN |
Real |
Voltage gain |
Variables of interest to the library user
Table 7. Voltage across the controlling port.
| Name |
Description |
| vDC1 |
Static model. |
| vTran1 |
Large-signal voltage |
| vAC_Re1 |
AC small-signal voltage. Real part. |
| vAC_Im1 |
AC small-signal voltage. Imaginary part. |
Table 8. Voltage across the source port.
| Name |
Description |
| vDC2 |
Static model. |
| vTran2 |
Large-signal voltage |
| vAC_Re2 |
AC small-signal voltage. Real part. |
| vAC_Im2 |
AC small-signal voltage. Imaginary part. |
Table 9. Current flowing through the controlling port.
| Name |
Description |
| iDC1 |
DC current. |
| iTran1 |
Large-signal current. |
| iAC_Re1 |
Small-signal current. Real part. |
| iAC_Im1 |
Small-signal current. Imaginary part. |
Table 10. Current flowing through the source port.
| Name |
Description |
| iDC2 |
DC current. |
| iTran2 |
Large-signal current. |
| iAC_Re2 |
Small-signal current. Real part. |
| iAC_Im2 |
Small-signal current. Imaginary part. |
Constitutive relations
Table 11. Model formulations.
| Static |
iDC1 = 0
vDC2 = Gain*vDC1 |
| AC small-signal |
iAC_Re1 = 0, iAC_Im1 = 0
vAC_Re2 = Gain * vAC_Re1, vAC_Im2 = Gain * vAC_Re1 |
| Large signal |
iTran1 = 0
vTran2 = Gain*vTran1 |
Parameters
| Name | Default | Description |
| Gain | 1 | |
Modelica definition
model E
extends src.SOURCE.E;
end E;
Information
F - Current controlled current source

Figure 1. Current controlled current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p1 |
(+) controlling node |
| n1 |
(-) controlling node |
| p2 |
(+) node |
| n2 |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) controlling node variables.
| Name |
Description |
| p1.vDC |
Static model. |
| p1.vTran |
Large-signal voltage |
| p1.vAC_Re |
AC small-signal voltage. Real part. |
| p1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) controlling node variables.
| Name |
Description |
| n1.vDC |
Static model. |
| n1.vTran |
Large-signal voltage |
| n1.vAC_Re |
AC small-signal voltage. Real part. |
| n1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 4. (+) node variables.
| Name |
Description |
| p2.vDC |
Static model. |
| p2.vTran |
Large-signal voltage |
| p2.vAC_Re |
AC small-signal voltage. Real part. |
| p2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 5. (-) node variables.
| Name |
Description |
| n2.vDC |
Static model. |
| n2.vTran |
Large-signal voltage |
| n2.vAC_Re |
AC small-signal voltage. Real part. |
| n2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Table 6. Parameters of the voltage controlled voltage source
| Name |
Type |
Description |
| GAIN |
Real |
Current gain |
Variables of interest to the library user
Table 7. Voltage across the controlling port.
| Name |
Description |
| vDC1 |
Static model. |
| vTran1 |
Large-signal voltage |
| vAC_Re1 |
AC small-signal voltage. Real part. |
| vAC_Im1 |
AC small-signal voltage. Imaginary part. |
Table 8. Voltage across the source port.
| Name |
Description |
| vDC2 |
Static model. |
| vTran2 |
Large-signal voltage |
| vAC_Re2 |
AC small-signal voltage. Real part. |
| vAC_Im2 |
AC small-signal voltage. Imaginary part. |
Table 9. Current flowing through the controlling port.
| Name |
Description |
| iDC1 |
DC current. |
| iTran1 |
Large-signal current. |
| iAC_Re1 |
Small-signal current. Real part. |
| iAC_Im1 |
Small-signal current. Imaginary part. |
Table 10. Current flowing through the source port.
| Name |
Description |
| iDC2 |
DC current. |
| iTran2 |
Large-signal current. |
| iAC_Re2 |
Small-signal current. Real part. |
| iAC_Im2 |
Small-signal current. Imaginary part. |
Constitutive relations
Table 11. Model formulations.
| Static |
vDC1 = 0
iDC2 = Gain*iDC1 |
| AC small-signal |
vAC_Re1 = 0, vAC_Im1 = 0
iAC_Re2 = Gain*iAC_Re1, iAC_Im2 = Gain*iAC_Im1 |
| Large signal |
vTran1 = 0
iTran2 = Gain*iTran1 |
Parameters
| Name | Default | Description |
| Gain | 1 | |
Modelica definition
model F
extends src.SOURCE.F;
end F;
Information
G - Voltage controlled current source

Figure 1. Voltage controlled current source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p1 |
(+) controlling node |
| n1 |
(-) controlling node |
| p2 |
(+) node |
| n2 |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) controlling node variables.
| Name |
Description |
| p1.vDC |
Static model. |
| p1.vTran |
Large-signal voltage |
| p1.vAC_Re |
AC small-signal voltage. Real part. |
| p1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) controlling node variables.
| Name |
Description |
| n1.vDC |
Static model. |
| n1.vTran |
Large-signal voltage |
| n1.vAC_Re |
AC small-signal voltage. Real part. |
| n1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 4. (+) node variables.
| Name |
Description |
| p2.vDC |
Static model. |
| p2.vTran |
Large-signal voltage |
| p2.vAC_Re |
AC small-signal voltage. Real part. |
| p2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 5. (-) node variables.
| Name |
Description |
| n2.vDC |
Static model. |
| n2.vTran |
Large-signal voltage |
| n2.vAC_Re |
AC small-signal voltage. Real part. |
| n2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Table 6. Parameters of the voltage controlled voltage source
| Name |
Type |
Description |
| GAIN |
SI.Conductance |
Transconductance |
Variables of interest to the library user
Table 7. Voltage across the controlling port.
| Name |
Description |
| vDC1 |
Static model. |
| vTran1 |
Large-signal voltage |
| vAC_Re1 |
AC small-signal voltage. Real part. |
| vAC_Im1 |
AC small-signal voltage. Imaginary part. |
Table 8. Voltage across the source port.
| Name |
Description |
| vDC2 |
Static model. |
| vTran2 |
Large-signal voltage |
| vAC_Re2 |
AC small-signal voltage. Real part. |
| vAC_Im2 |
AC small-signal voltage. Imaginary part. |
Table 9. Current flowing through the controlling port.
| Name |
Description |
| iDC1 |
DC current. |
| iTran1 |
Large-signal current. |
| iAC_Re1 |
Small-signal current. Real part. |
| iAC_Im1 |
Small-signal current. Imaginary part. |
Table 10. Current flowing through the source port.
| Name |
Description |
| iDC2 |
DC current. |
| iTran2 |
Large-signal current. |
| iAC_Re2 |
Small-signal current. Real part. |
| iAC_Im2 |
Small-signal current. Imaginary part. |
Constitutive relations
Table 11. Model formulations.
| Static |
iDC1 = 0
iDC2 = Gain*vDC1 |
| AC small-signal |
iAC_Re1 = 0, iAC_Im1 = 0
iAC_Re2 = Gain*vAC_Re1, iAC_Im2 = Gain*vAC_Im1 |
| Large signal |
iTran1 = 0
iTran2 = Gain*vTran1 |
Parameters
| Name | Default | Description |
| Gain | 1 | [S] |
Modelica definition
model G
extends src.SOURCE.G;
end G;
Information
H - Current controlled voltage source

Figure 1. Current controlled voltage source.
Nodes
Table 1. Instantiations of Pin class.
| Name |
Description |
| p1 |
(+) controlling node |
| n1 |
(-) controlling node |
| p2 |
(+) node |
| n2 |
(-) node |
Positive current flows from the (+) node through the source
to the (-) node.
Table 2. (+) controlling node variables.
| Name |
Description |
| p1.vDC |
Static model. |
| p1.vTran |
Large-signal voltage |
| p1.vAC_Re |
AC small-signal voltage. Real part. |
| p1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 3. (-) controlling node variables.
| Name |
Description |
| n1.vDC |
Static model. |
| n1.vTran |
Large-signal voltage |
| n1.vAC_Re |
AC small-signal voltage. Real part. |
| n1.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 4. (+) node variables.
| Name |
Description |
| p2.vDC |
Static model. |
| p2.vTran |
Large-signal voltage |
| p2.vAC_Re |
AC small-signal voltage. Real part. |
| p2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Table 5. (-) node variables.
| Name |
Description |
| n2.vDC |
Static model. |
| n2.vTran |
Large-signal voltage |
| n2.vAC_Re |
AC small-signal voltage. Real part. |
| n2.vAC_Im |
AC small-signal voltage. Imaginary part. |
Parameters
Table 6. Parameters of the voltage controlled voltage source
| Name |
Type |
Description |
| GAIN |
SI.Resistance |
Transresistance |
Variables of interest to the library user
Table 7. Voltage across the controlling port.
| Name |
Description |
| vDC1 |
Static model. |
| vTran1 |
Large-signal voltage |
| vAC_Re1 |
AC small-signal voltage. Real part. |
| vAC_Im1 |
AC small-signal voltage. Imaginary part. |
Table 8. Voltage across the source port.
| Name |
Description |
| vDC2 |
Static model. |
| vTran2 |
Large-signal voltage |
| vAC_Re2 |
AC small-signal voltage. Real part. |
| vAC_Im2 |
AC small-signal voltage. Imaginary part. |
Table 9. Current flowing through the controlling port.
| Name |
Description |
| iDC1 |
DC current. |
| iTran1 |
Large-signal current. |
| iAC_Re1 |
Small-signal current. Real part. |
| iAC_Im1 |
Small-signal current. Imaginary part. |
Table 10. Current flowing through the source port.
| Name |
Description |
| iDC2 |
DC current. |
| iTran2 |
Large-signal current. |
| iAC_Re2 |
Small-signal current. Real part. |
| iAC_Im2 |
Small-signal current. Imaginary part. |
Constitutive relations
Table 11. Model formulations.
| Static |
vDC1 = 0
vDC2 = Gain*iDC1 |
| AC small-signal |
vAC_Re1 = 0, vAC_Im1 = 0
vAC_Re2 = Gain*iAC_Re1, vAC_Im2 = Gain*iAC_Im1; |
| Large signal |
vTran1 = 0
vTran2 = Gain*iTran1 |
Parameters
| Name | Default | Description |
| Gain | 1 | [Ohm] |
Modelica definition
model H
extends src.SOURCE.H;
end H;
HTML-documentation generated by Dymola Tue Oct 14 18:26:30 2003
.