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.

416 3. Reference Manual<br />

Examples<br />

Load Analog Insydes.<br />

Read PSpice netlist.<br />

Set up symbolic circuit<br />

equations.<br />

Prepare DAE system for<br />

nonlinear simplifications.<br />

Display complexity<br />

information of the original<br />

system.<br />

Cancel top-level terms in<br />

the equations.<br />

Display complexity<br />

information of the<br />

simplified system. Note<br />

that the number of terms<br />

decreased, while the<br />

number of equations<br />

stayed the same.<br />

In[1]:= DC, ElementValues −> Symbolic,<br />

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

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

In[4]:= step1 = NonlinearSetup[mnaFull, {II, VLOAD}, {I$VLOAD},<br />

DT −> {Range −><br />

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

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

In[5]:= Statistics[step1]<br />

Number of equations : 27<br />

Number of variables : 27<br />

Length of equations : {4, 4, 3, 3, 2, 3, 2, 3, 8, 8,<br />

3, 2, 3, 9, 9, 3, 2, 3, 9, 9, 3, 2, 3, 4, 4, 3, 2}<br />

Terms with derivatives : 0<br />

Sums in levels : {113, 20}<br />

In[6]:= step2 = CancelTerms[step1, {DT −> {I$VLOAD −> 25.*^−6}}]<br />

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

In[7]:= Statistics[step2]<br />

Number of equations : 27<br />

Number of variables : 27<br />

Length of equations : {1, 2, 2, 2, 2, 2, 1, 2, 2, 1,<br />

1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1}<br />

Terms with derivatives : 0<br />

Sums in levels : {32, 4}<br />

3.12.4 SimplifySamplePoints<br />

SimplifySamplePoints[func, range, tolerance]<br />

reduces the number of points in range for a given tolerance<br />

specification tolerance<br />

Command structure of SimplifySamplePoints.

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

Saved successfully!

Ooh no, something went wrong!