.MODEL Statement

.MODEL is used to access provided Compact Models and to set specific parameters.

.MODEL modelname modeltype <p1=val1 <p2=val2 <...>>>

Where:

  • modelname - A unique name for this model

  • modeltype - The type of device (see Table 29)

  • p1=val1, p2=val2, ... - Device-specific parameters. Values can be Constants or Expressions in curly braces.

.MODEL does not create any instances of circuit elements. They need to be referenced in their corresponding statements ((D) Diode Statement, (M) MOSFET Statement, …). Refer to these statements to find a list of all model parameters available for a particular model type.

Equal signs between parameter names and values can be skipped. Parentheses can be wrapped around the parameters. Curly braces around expressions cannot be skipped.

.MODEL dio1 D IS {1+2} RS 0.1
.MODEL dio2 D(IS={1+2} RS=0.1)

The underlying compact models typically depend on Temperature (.TEMP).

Table 29 Supported .MODEL Types

modeltype

Description

D

Diode

NMOS

N-type MOSFET

PMOS

P-type MOSFET

NPN

NPN BJT

PNP

PNP BJT

NJF

N-type JFET

PJF

P-type JFET

SW or VSwitch

Voltage-controlled switch

CSW or ISwitch

Current-controlled switch

R or RES

Semiconductor resistor

C

Semiconductor capacitor

Examples

.MODEL mosfet NMOS
.MODEL diode D IS=1e-15 RS=0.1 CJO=1e-11 TT={5*1e-9}