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.

278 3. Reference Manual<br />

Match symbols of resistors<br />

in the DAEObject.<br />

Compute matched voltage<br />

transfer function.<br />

Modify values of resistors<br />

R2 and R3.<br />

Match symbols of resistors<br />

of the modified<br />

DAEObject.<br />

In[7]:= daematch = MatchSymbols[dae, {"R*", R}];<br />

DisplayForm[daematch]<br />

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

1<br />

<br />

R<br />

<br />

1<br />

R<br />

0 0 1 <br />

<br />

<br />

1 2<br />

R<br />

<br />

R<br />

<br />

1<br />

R<br />

0 0<br />

0 <br />

1 2<br />

R<br />

<br />

R<br />

<br />

1<br />

R<br />

0 .<br />

0 0 <br />

1 1<br />

R<br />

<br />

Load<br />

<br />

<br />

1<br />

R<br />

0 <br />

<br />

1 0 0 0 0 <br />

In[9]:= V$out /. First[Solve[daematch]]<br />

Out[9]=<br />

Load<br />

<br />

Load 3 R<br />

V$1<br />

V$2<br />

V$3<br />

V$out<br />

I$V0<br />

<br />

<br />

<br />

0 <br />

0<br />

⩵⩵ 0<br />

0<br />

<br />

1 <br />

In[10]:= daenew = UpdateDesignPoint[dae, {R2 −> 15., R3 −> 20.}]<br />

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

In[11]:= MatchSymbols[daenew, {"R*", R}] // DisplayForm<br />

MatchSymbols::mtol:<br />

Design−point values of matching group {R1, R2, R3}<br />

do not meet the tolerance specification.<br />

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

1<br />

<br />

R1<br />

<br />

1<br />

R1<br />

0 0 1 <br />

1 1<br />

<br />

R1<br />

<br />

R1 <br />

<br />

1<br />

R2<br />

<br />

1<br />

R2<br />

0 0<br />

0 <br />

1 1<br />

R2<br />

<br />

R2 <br />

1<br />

R3<br />

<br />

1<br />

R3<br />

0 .<br />

0 0 <br />

1 1<br />

R3<br />

<br />

Load<br />

<br />

<br />

1<br />

R3<br />

0 <br />

<br />

1 0 0 0 0 <br />

V$1<br />

V$2<br />

V$3<br />

V$out<br />

I$V0<br />

<br />

<br />

<br />

0 <br />

0<br />

⩵⩵ 0<br />

0<br />

<br />

1 <br />

3.6.16 ShortenSymbols<br />

ShortenSymbols[dae]<br />

replaces symbols in dae by a set of symbols with shorter<br />

symbol names<br />

Command structure of ShortenSymbols.<br />

Given a DAEObject dae, ShortenSymbols replaces all symbols (variables and parameters) by a set of<br />

new symbols with shorter symbol names and returns a new DAEObject. Please note that the new<br />

symbols are generated at the expense of instance information as name components enclosed by the<br />

InstanceNameSeparator are dropped.<br />

ShortenSymbols has the following options:

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

Saved successfully!

Ooh no, something went wrong!