Independent voltage source
- Instance line
Vname …- Terminals
- V+, V-
- Described in
- Voltage and current sources
- Source
src/lib/dev/vsrc/vsrc.c
Instance parameters (20)
Input and output (3)
| name | type | description | notes |
|---|---|---|---|
dc | real | D.C. source value | principal: the value given without a keyword |
acmag | real | A.C. Magnitude | ac only; principal: the value given without a keyword |
acphase | real | A.C. Phase | ac only; listed by show only when all parameters are asked for |
Input only (8)
| name | type | description | notes |
|---|---|---|---|
pulse | real vector | Pulse description | |
sine (also sin) | real vector | Sinusoidal source description | |
exp | real vector | Exponential source description | |
pwl | real vector | Piecewise linear description | |
sffm | real vector | Single freq. FM descripton | |
ac | real vector | AC magnitude, phase vector | |
distof1 | real vector | f1 input for distortion | |
distof2 | real vector | f2 input for distortion |
Output only (9)
| name | type | description | notes |
|---|---|---|---|
pos_node | integer | Positive node of source | listed by show only when all parameters are asked for |
neg_node | integer | Negative node of source | listed by show only when all parameters are asked for |
function | integer | Function of the source | listed by show only when all parameters are asked for |
order | integer | Order of the source function | listed by show only when all parameters are asked for |
coeffs | real vector | Coefficients for the function | listed by show only when all parameters are asked for |
acreal | real | AC real part | listed by show only when all parameters are asked for |
acimag | real | AC imaginary part | listed by show only when all parameters are asked for |
i | real | Voltage source current | |
p | real | Instantaneous power |
Parameters are set on the instance or .model line as keyword=value, and read back with @name[keyword] or the show and showmod commands. See the device reference.