Spice3f5

Resistor

Instance line
Rname …
Model line
.model mname r
Terminals
R+, R-
Described in
Elementary devices
Source
src/lib/dev/res/res.c

Instance parameters (13)

Input and output (4)

nametypedescriptionnotes
resistancerealResistanceprincipal: the value given without a keyword
temprealInstance operating temperaturelisted by show only when all parameters are asked for
lrealLengthlisted by show only when all parameters are asked for
wrealWidthlisted by show only when all parameters are asked for

Input only (1)

nametypedescriptionnotes
sens_resistflagflag to request sensitivity WRT resistance

Output only (8)

nametypedescriptionnotes
irealCurrent
prealPower
sens_dcrealdc sensitivitylisted by show only when all parameters are asked for
sens_realrealdc sensitivity and real part of ac sensitivitylisted by show only when all parameters are asked for
sens_imagrealdc sensitivity and imag part of ac sensitivitylisted by show only when all parameters are asked for
sens_magrealac sensitivity of magnitudelisted by show only when all parameters are asked for
sens_phrealac sensitivity of phaselisted by show only when all parameters are asked for
sens_cplxcomplexac sensitivitylisted by show only when all parameters are asked for

Model parameters (7)

Input and output (6)

nametypedescriptionnotes
rshrealSheet resistance
narrowrealNarrowing of resistor
tc1realFirst order temp. coefficient
tc2realSecond order temp. coefficient
defwrealDefault device width
tnomrealParameter measurement temperaturelisted by show only when all parameters are asked for

Input only (1)

nametypedescriptionnotes
rflagDevice is a resistor model

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.