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.

172 2. Tutorial<br />

In[8]:= mnaFull = CircuitEquations[netlist,<br />

AnalysisMode −> DC, ElementValues −> Symbolic,<br />

Value −> {"*" −> {TEMP, TNOM, $q, $k}}]<br />

Out[8]= DAEDC, 27 27 <br />

In[9]:= GetVariables[mnaFull]<br />

Out[9]=<br />

V$1, V$3, V$4, V$5, V$OUT, I$BS$Q1, I$CS$Q1,<br />

I$ES$Q1, ib$Q1, ic$Q1, I$BS$Q2, I$CS$Q2, I$ES$Q2,<br />

ib$Q2, ic$Q2, I$BS$Q3, I$CS$Q3, I$ES$Q3, ib$Q3, ic$Q3,<br />

I$BS$Q4, I$CS$Q4, I$ES$Q4, ib$Q4, ic$Q4, I$VLOAD, I$VDC<br />

In[10]:= GetParameters[mnaFull]<br />

Out[10]=<br />

AREA$Q1, AREA$Q2, AREA$Q3, AREA$Q4, BF$Q1,<br />

BF$Q2, BF$Q3, BF$Q4, BR$Q1, BR$Q2, BR$Q3, BR$Q4,<br />

GMIN, IB, II, IS$Q1, IS$Q2, IS$Q3, IS$Q4, VDC, VLOAD<br />

Numerical Reference Calculation<br />

Using NDAESolve (Section 3.7.5) we now perform the same numerical simulation as in PSpice,<br />

transform the result again into a two-dimensional interpolating function, and plot it in a threedimensional<br />

plot.<br />

In[11]:= data = NDAESolve[mnaFull,<br />

{II, 0.0, 0.001}, {VLOAD, 0., 3.5, 0.5}];<br />

In[12]:= data2d = ConvertDataTo2D[data];<br />

In[13]:= ivload[VLOAD_, II_] = I$VLOAD[VLOAD, II] /. data2d<br />

Out[13]=<br />

InterpolatingFunction0., 3.5, 0., 0.001, VLOAD, II

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

Saved successfully!

Ooh no, something went wrong!