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.

262 3. Reference Manual<br />

Display netlist.<br />

Show variable names.<br />

Now the variable of<br />

interest is called V$OUT.<br />

In[5]:= DisplayForm[net2]<br />

Out[5]//DisplayForm= Netlist Raw, 3 Entries:<br />

V0, 1, 0, V0<br />

R1, 1, OUT, R1<br />

R2, OUT, 0, R2<br />

In[6]:= GetVariables[CircuitEquations[net2]]<br />

Out[6]= V$1, V$OUT, I$V0<br />

3.6.5 GetEquations<br />

GetEquations[dae]<br />

returns the list of equations stored in dae<br />

Command structure of GetEquations.<br />

Given a DAEObject dae, GetEquations returns the equation system stored in the object as a list of<br />

equations. In case of an AC DAEObject the internal matrix representation is converted to a list of<br />

linear equations.<br />

See also: GetMatrix (Section 3.6.6), GetVariables (Section 3.6.7), GetRHS (Section 3.6.8),<br />

GetParameters (Section 3.6.9), GetDAEOptions (Section 3.6.10), GetDesignPoint (Section 3.6.12).<br />

Examples<br />

Load Analog Insydes.<br />

Define netlist description<br />

of a simple diode rectifier<br />

circuit.<br />

Set up Transient DAE<br />

system.<br />

In[1]:= 2. Sin[10^6 Time]},<br />

{R1, {2, 0}, Symbolic −> R1, Value −> 100.},<br />

{C1, {2, 0}, Symbolic −> C1, Value −> 1.*^−7},<br />

{D1, {1 −> A, 2 −> C}, Model −> "Diode"}<br />

]<br />

]<br />

Out[2]= Circuit <br />

In[3]:= dae = CircuitEquations[cir, AnalysisMode −> Transient,<br />

DefaultSelector −> "Spice", ElementValues −> Symbolic]<br />

Out[3]= DAETransient, 4 4

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

Saved successfully!

Ooh no, something went wrong!