Spice3f5

Lossy transmission line

Instance line
Oname …
Model line
.model mname ltra
Terminals
P1+, P1-, P2+, P2-
Described in
Transmission lines
Source
src/lib/dev/ltra/ltra.c

Instance parameters (9)

Input and output (4)

nametypedescriptionnotes
v1realInitial voltage at end 1ac; listed by show only when all parameters are asked for
v2realInitial voltage at end 2ac; listed by show only when all parameters are asked for
i1realInitial current at end 1ac; listed by show only when all parameters are asked for
i2realInitial current at end 2ac; listed by show only when all parameters are asked for

Input only (1)

nametypedescriptionnotes
icreal vectorInitial condition vector:v1,i1,v2,i2

Output only (4)

nametypedescriptionnotes
pos_node1integerPositive node of end 1 of t-linelisted by show only when all parameters are asked for
neg_node1integerNegative node of end 1 of t.linelisted by show only when all parameters are asked for
pos_node2integerPositive node of end 2 of t-linelisted by show only when all parameters are asked for
neg_node2integerNegative node of end 2 of t-linelisted by show only when all parameters are asked for

Model parameters (27)

Input and output (25)

nametypedescriptionnotes
ltraflagLTRA model
rrealResistance per metrelisted by show only when all parameters are asked for
lrealInductance per metreac; listed by show only when all parameters are asked for
grealConductance per metre
crealCapacitance per metreac; listed by show only when all parameters are asked for
lenreallength of linelisted by show only when all parameters are asked for
nocontrolflagNo timestep controllisted by show only when all parameters are asked for
steplimitflagalways limit timestep to 0.8*(delay of line)listed by show only when all parameters are asked for
nosteplimitflagdon't always limit timestep to 0.8*(delay of line)listed by show only when all parameters are asked for
lininterpflaguse linear interpolationlisted by show only when all parameters are asked for
quadinterpflaguse quadratic interpolationlisted by show only when all parameters are asked for
mixedinterpflaguse linear interpolation if quadratic results look unacceptablelisted by show only when all parameters are asked for
truncnrflaguse N-R iterations for step calculation in LTRAtrunclisted by show only when all parameters are asked for
truncdontcutflagdon't limit timestep to keep impulse response calculation errors lowlisted by show only when all parameters are asked for
compactrelrealspecial reltol for straight line checkingac; listed by show only when all parameters are asked for
compactabsrealspecial abstol for straight line checkingac; listed by show only when all parameters are asked for
frealFrequency
nlrealNormalized length at frequency given
fullcontrolflagrigorous timestep control
halfcontrolflagonly the current step is considered for timestep control
printflagprinting of debugging info on
noprintflagprinting of debugging info off
ronlyflaguse special load routines for G=0
choprelrealspecial reltol for truncation of impulse responses
chopabsrealspecial abstol for truncation of impulse responses

Output only (2)

nametypedescriptionnotes
relrealRel. rate of change of deriv. for bkpt
absrealAbs. rate of change of deriv. for bkpt

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.