SPICELib.parts

Types of devices supported by SPICELib

SPICELib.parts.Pin SPICELib.parts.breakout SPICELib.parts.source SPICELib.parts.special

Information



Device Models



Device types

The following summary table lists all the device types supported by SPICELib. Each device type is described in detail in the model documentation.


Table 1. Analog device summary.
Package Model Device type
parts Pin Electric connector
parts.breakout Ground '0' ground
parts.breakout Rbreak Resistor
parts.breakout Cbreak Capacitor
parts.breakout Lbreak Inductor
parts.breakout PSPICE_diode SPICE2 pspice DIODE
parts.breakout Spice2MOS1 SPICE2 level1 n-channel MOSFET
parts.breakout Spice2MOS1P SPICE2 level1 p-channel MOSFET
parts.source V Independent voltage source
parts.source VEXP Independent voltage source & EXP stimulus
parts.source VPULSE Independent voltage source & PULSE stimulus
parts.source VPWL Independent voltage source & PWL stimulus
parts.source VSIN Independent voltage source & SIN stimulus
parts.source VCONST Independent voltage source & CONST stimulus
parts.source I Independent current source
parts.source IEXP Independent current source & EXP stimulus
parts.source IPULSE Independent current source & PULSE stimulus
parts.source IPWL Independent current source & PWL stimulus
parts.source ISIN Independent current source & SIN stimulus
parts.source ICONST Independent current source & CONST stimulus
parts.source E Linear Voltage-Controlled Current Source
parts.source F Linear Current-Controlled Current Source
parts.source G Linear Voltage-Controlled Current Source
parts.source H Linear Current-Controlled Voltage Source


Device models are composed of three formulations: Each model formulation is described by its own set of equations and variables.

Setting initial conditions

Two procedures are provided by SPICELib to specify the initial conditions: The IC property allows the user to associate the initial condition with a device, while the IC1 and IC2 pseudocomponents allow the association to be with a node or node pair.

Table 2. Pseudocomponents that specify initial conditions.
Package Model Device type
parts.special IC1 A one-pin symbol that allows you to set the initial condition on a net for both small-signal and transient bias points.
parts.special IC2 A two-pin symbol that allows you to set initial condition between two nets.

NameDescription
Pin  
breakout  
source  
special  


SPICELib.parts.Pin SPICELib.parts.Pin

SPICELib.parts.Pin

Information



Pin connector


Figure 1. Pin.

Device models are composed of three formulations: Each model formulation is described by its own set of equations and variables.

Pin model is conceived to allow the simultaneous connection of the three formulation terminal variables. The connector variables are shown in Table 1.

AC small-signal currents and voltages (complex numbers) are represented in rectangular coordinates (i.e, real and imaginary).

Table 1. Pin connector variables.
DC AC TRAN
Voltage (across) vDC vAC_Re , vAC_Im vTran
Current (through) iDC iAC_Re , iAC_Im iTran


Sign convention: the current is positive when flows into the pin.


Modelica definition

model Pin 
  extends src.INTERFACE.Pin;
  
end Pin;

HTML-documentation generated by Dymola Tue Oct 14 18:26:23 2003 .