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.

3.6 Circuit and DAEObject Manipulation 263<br />

Return list of equations.<br />

Set up AC DAE system.<br />

The system is set up as a<br />

matrix equation.<br />

Return value is again a<br />

list of equations.<br />

In[4]:= GetEquations[dae]<br />

Out[4]=<br />

I$AC$D1t I$V0t ⩵⩵ 0, I$AC$D1t <br />

V$2t C1 V$2 ′ t ⩵⩵ 0,<br />

R1<br />

V$1t ⩵⩵ V0, I$AC$D1t ⩵⩵ AREA$D1 <br />

1 <br />

1. $q V$1tV$2t<br />

TEMP<br />

<br />

$k<br />

<br />

<br />

TEMP<br />

1.11 1. <br />

TNOM<br />

$q<br />

TEMP $k<br />

<br />

IS$D1 <br />

TEMP 3.<br />

TNOM GMIN V$1t V$2t<br />

In[5]:= daeac = CircuitEquations[cir, AnalysisMode −> AC,<br />

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

Out[5]= DAEAC, 3 3 <br />

In[6]:= DisplayForm[daeac]<br />

Out[6]//DisplayForm=<br />

1<br />

<br />

Rd$D1 Cd$D1 s 1<br />

<br />

Rd$D1 Cd$D1 s 1 <br />

1<br />

<br />

Rd$D1<br />

<br />

Cd$D1 s <br />

1<br />

R1 1<br />

<br />

Rd$D1<br />

C1 s Cd$D1 s 0<br />

. V$1 <br />

V$2<br />

⩵⩵ 0 <br />

0<br />

<br />

1 0 0 <br />

I$V0 V0 <br />

In[7]:= GetEquations[daeac]<br />

Out[7]=<br />

1<br />

I$V0 <br />

Rd$D1 Cd$D1 s V$1 1<br />

Cd$D1 s V$2 ⩵⩵ 0,<br />

Rd$D1<br />

1<br />

1<br />

Cd$D1 s V$1 <br />

Rd$D1 R1 1<br />

C1 s Cd$D1 s V$2 ⩵⩵ 0,<br />

Rd$D1<br />

V$1 ⩵⩵ V0<br />

3.6.6 GetMatrix<br />

GetMatrix[dae]<br />

returns the matrix equations stored in dae<br />

Command structure of GetMatrix.<br />

Given a DAEObject dae, GetMatrix returns the matrix A of the linear equation system A x ⩵ b<br />

stored in the object.<br />

Please note that GetMatrix is only valid for AC DAEObjects.<br />

See also: GetEquations (Section 3.6.5), 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 />

In[1]:=

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

Saved successfully!

Ooh no, something went wrong!