I'm creating some subcircuits and would like to use some parameters of a model in further expressions, but only have to define the value once in the model itself. Is this possible in LTSpice? For example can I use the saturation current of a particular transistor model in a subsequent expression? eg:
?
* define a model with some parameters
.model npnmodel npn(is=1e-16 n=1.02)
?
* access one of the parameters in an expression somehow to calculate a derived value
* - the actual expression will be more complicated than just *2
.param val = {npnmodel(is)*2}