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.

184 3. Reference Manual<br />

This netlist is semantically<br />

identical to the previous<br />

one.<br />

In[3]:= rlcf2 = Netlist[<br />

{"V1", {1, 0}, Value −> V},<br />

{"R1", {1, 2}, Value −> R},<br />

{"L1", {2, 3}, Value −> L},<br />

{"C1", {3, 0}, Value −> C}<br />

]<br />

Out[3]= NetlistRaw, 4 <br />

Set up a system of circuit<br />

equations.<br />

In[4]:= CircuitEquations[rlcf] // DisplayForm<br />

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

1<br />

<br />

R<br />

<br />

1<br />

R<br />

0 1 <br />

V$1 0 <br />

<br />

1 1<br />

R<br />

<br />

R <br />

1<br />

L s<br />

<br />

1<br />

L s<br />

0 V$2 0<br />

. ⩵⩵<br />

0 <br />

1 1<br />

L s<br />

<br />

L s<br />

<br />

C s 0 V$3 0<br />

<br />

<br />

1 0 0 0<br />

I$V1 V <br />

<br />

The example below shows a valid mixture of data types and formats for reference designators, node<br />

identifiers, and value specifications.<br />

This defines a voltage<br />

divider circuit.<br />

In[5]:= divider = Netlist[<br />

{V1, {"in", 0}, Value −> 5},<br />

{"R1", {in, out}, R},<br />

{R2, {"out", 0}, 2*R}<br />

]<br />

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

3.1.4 Netlist Entry Options<br />

The extended value field format allows you to specify additional information related to a circuit<br />

element expressed in terms of rules with the following keywords:<br />

option name<br />

default value<br />

InitialCondition Automatic the initial condition for a dynamic element<br />

(L or C)<br />

Pattern Automatic the MNA pattern for a two-terminal<br />

impedance or admittance element (R, G, C,<br />

L, Z, Y)<br />

Symbolic (no default) the symbolic value of a circuit element<br />

Type Automatic explicit specification of the element type<br />

Netlist entry options.<br />

A netlist entry in extended value field format looks like

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

Saved successfully!

Ooh no, something went wrong!