23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

200 3. Reference Manual<br />

calculated by a delayed rule to prevent the function ThermalVoltage to be evaluated before the<br />

value of TEMP is known for an individual device.<br />

Translation −> {Is −> Js*Area, Vt :> ThermalVoltage[TEMP]}<br />

If Vt were calculated using a simple Rule (−>), ThermalVoltage would already be called at the time<br />

of model definition, i.e. execution of the Model command.<br />

Symbolic<br />

Symbolic−>{symbol <br />

, symbol <br />

, † † † }<br />

declare behavioral model parameters as symbolic quantities<br />

Symbolic−>{symbol <br />

−>alias , † † † }<br />

Format of the Symbolic argument.<br />

declare behavioral model parameters as symbolic<br />

quantities and specify alias names to be used in symbolic<br />

circuit equations<br />

The optional argument<br />

Symbolic is used only in conjunction with analog behavioral model definitions. It lets you specify<br />

the subset of the model parameters declared in the Parameters section that will be treated as<br />

symbolic quantities in a set of behavioral model equations. Model parameters which are not listed<br />

in the Symbolic section are always replaced by their numerical values when you set up circuit<br />

equations. This feature allows you to restrict the parameters that will appear in a system of symbolic<br />

circuit equations to the ones you really wish to see.<br />

The following code defines a DC model for a temperature-dependent linear resistor. The model<br />

parameters are the nominal resistance RES, the first-order temperature coefficient TC1, the ambient<br />

temperature TEMP, and the reference temperature TNOM. The Symbolic argument declares RES as a<br />

model parameter which will appear in symbolic circuit equations. The other parameters will always<br />

be evaluated numerically and will not appear explicitly in circuit equations.<br />

Model[<br />

Name −> "RES", Selector −> "DC",<br />

Ports −> {"P", "N"},<br />

Parameters −> {RES, TC1, Global[TEMP, TNOM]},<br />

Symbolic −> {RES},<br />

Variables −> {Voltage["P", "N"], Current["P", "N"]},<br />

Definition −> Equations[<br />

Voltage["P", "N"] ==<br />

RES*(1 + TC1*(TEMP − TNOM))*Current["P", "N"]<br />

]<br />

]<br />

Names of device model or instance parameters in netlists imported from external circuit simulators<br />

with ReadNetlist sometimes have lengthy or ugly names. The alternative format of the Symbolic

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

Saved successfully!

Ooh no, something went wrong!