pub struct LtraModel {}Expand description
.model … ltra(…) parameters, 3f5 names (ltra.c model table,
ltrampar.c; spice.txt §Lossy Transmission Lines). Per-unit-
length quantities are multiplied by LEN.
Fields§
§r: Option<f64>R: resistance per unit length (Ω); unset = 0 with a warning.
l: Option<f64>L: inductance per unit length (H); unset = 0 with a warning.
g: Option<f64>G: conductance per unit length (S); unset = 0.
c: Option<f64>C: capacitance per unit length (F); unset = 0 with a
warning.
len: Option<f64>LEN: length of the line; required.
rel: Option<f64>REL: relative rate of change of the derivative for breakpoint
setting, default 1. (An output-only parameter in the 3f5
table; ngspice accepts it as input — corpus/KNOWN_DIFFS.md.)
abs: Option<f64>ABS: absolute rate of change of the derivative for
breakpoint setting, default 1 (same 3f5/ngspice note).
steplimit: boolSTEPLIMIT (true, the default) / NOSTEPLIMIT (false): limit
the timestep to the line delay T. The last flag wins.
interp: Option<LtraInterp>LININTERP/QUADINTERP/MIXEDINTERP; None = quadratic
(linear under .options trytocompact).
truncnr: boolTRUNCNR: Newton iterations for the LTE step estimate (only
reachable with LTE control, which the parameter table never
enables; kept for completeness).
truncdontcut: boolTRUNCDONTCUT: do not limit the step by the impulse-response
safe step (LTRAmaxSafeStep) of RLC lines.
compactrel: f64COMPACTREL: reltol for the straight-line checks; 0 = the
circuit RELTOL.
compactabs: f64COMPACTABS: abstol for the straight-line checks; 0 = the
circuit ABSTOL.