23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

202 3. Reference Manual<br />

Definition<br />

Definition−>Netlist[† † †]|Circuit[† † †]<br />

define a model in terms of an equivalent Netlist or<br />

Circuit object<br />

Definition−>Equations[† † †]<br />

Format of the Definition argument.<br />

define a behavioral model in terms of a system of<br />

equations<br />

With the Definition argument, you specify the implementation of a model. A model can be<br />

implemented either as an equivalent circuit or as a set of linear or nonlinear differential-algebraic<br />

equations.<br />

You may use a Netlist or a Circuit object to implement an equivalent circuit. The netlist that<br />

represents the equivalent circuit may contain primitive devices as well as further model references.<br />

There is no fixed limit of the subcircuit nesting level.<br />

The following example shows a model implementation for a simple RC tank.<br />

Definition −> Netlist[<br />

{R, {in, out}, R},<br />

{C, {out, ref}, C}<br />

]<br />

A Circuit object may contain local ModelParameters sections as well as local Model definitions.<br />

Local model definitions and parameter sets should have Scope −> Local to prevent interference<br />

with the global subcircuit and parameter databases. Using a Circuit instead of a simple Netlist<br />

feature allows you to define models with instance-specific model parameter sets, i.e. device model<br />

parameters whose values are calculated from model instance parameters.<br />

For example, the following code implements a device-level description of a bipolar differential<br />

pair with emitter degeneration resistors. The model definition contains a local ModelParameters<br />

statement in which the ohmic collector and emitter resistances RC and RE are calculated as functions<br />

of the BJT area factor Area for each instance of the subcircuit DifferentialPair/DeviceLevel.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!