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.

76 2. Tutorial<br />

2.4.3 Circuit Equation Formulations<br />

Modified Nodal Analysis<br />

The modified nodal analysis method (MNA) has already been introduced as the default formulation<br />

by which Analog Insydes sets up circuit equations. The MNA formulation is general, yields<br />

relatively compact systems of equations, and is easy to implement on a computer. These and a<br />

few other favorable properties have made it the most widely used analysis method in electrical<br />

circuit simulators, including Analog Insydes.<br />

There are a number of user-settable options which have an influence on the way Analog Insydes<br />

sets up MNA equations. You have already encountered the netlist option Pattern which specifies<br />

explicitly whether to use the impedance or admittance fill-in pattern for an immittance element, i.e.<br />

a two-terminal admittance or impedance. This option allows, for instance, to prevent the implicit<br />

conversion of an impedance to an admittance, thereby augmenting the MNA system by the branch<br />

current of the impedance. However, the Pattern option pertains only to the element in whose<br />

value field it is given. To prevent implicit impedance conversion globally you can set the value<br />

of the CircuitEquations option ConvertImmittances to False, either permanently by modifying<br />

Options[CircuitEquations] using the SetOptions directive, or temporarily by passing the option<br />

ConvertImmittances −> False to the function CircuitEquations:<br />

In[8]:= CircuitEquations[rlcfilter,<br />

ConvertImmittances −> False] // DisplayForm<br />

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

0 0 0 1 1 0 0 V$1<br />

0 C1 s 0 0 1 1 0 V$2<br />

<br />

0 0 C2 s 0 0 1 1 V$3<br />

1 0 0 0 0 0 0 . I$V0 ⩵⩵<br />

1 1 0 0 RA 0 0 I$RA<br />

0 1 1 0 0 L1 s 0<br />

<br />

I$L1<br />

<br />

0 0 1 0 0 0 RB <br />

<br />

I$RB <br />

<br />

<br />

0<br />

0<br />

0<br />

V0<br />

0<br />

0<br />

0<br />

<br />

<br />

<br />

The Formulation Option<br />

With modified nodal analysis being the default analysis method there is usually no need to request<br />

this formulation explicitly. However, if you have changed the default settings in<br />

Options[CircuitEquations] or if you wish to use one of the analysis methods to be discussed in<br />

the following subsections you need to specify the formulation as an option to CircuitEquations.<br />

The option keyword is Formulation, and the option value can be either<br />

ModifiedNodal, SparseTableau, or ExtendedTableau. Hence, modified nodal analysis can be<br />

explicitly selected by this command:

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

Saved successfully!

Ooh no, something went wrong!