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.

2.4 Setting up and Solving Circuit Equations 73<br />

The values of all these options must be strings which can be converted to a single symbol by means<br />

of the command ToExpression. Strings such as "V_" or "@I" cannot be converted to valid symbols<br />

and may therefore not be used for this purpose.<br />

Changing the Instance Name Separator for Reference Designators<br />

Related to the identifier prefix options is the option InstanceNameSeparator (Section 3.14.2). This<br />

option determines the character (or string) which Analog Insydes uses to separate name components<br />

of reference designators generated for instantiated subcircuit elements. With the default setting<br />

InstanceNameSeparator −> "$"<br />

a resistor RB in a subcircuit instance Q1 would be named RB$Q1. Using SetOptions you can change<br />

the separator character to (almost) anything you like, with the same restrictions that apply to the<br />

choice of the prefix options.<br />

2.4.2 Circuit Equations<br />

The Command CircuitEquations<br />

Setting up systems of symbolic circuit equations is done by the Analog Insydes command<br />

CircuitEquations (Section 3.5.1), which takes a Netlist or Circuit object as first argument. In<br />

addition, the function may be called with a variety of options – to be introduced later – with which<br />

many aspects of equation setup can be influenced individually:<br />

CircuitEquations[circuit, options]<br />

If the type of the netlist argument is not a flat netlist, then the function ExpandSubcircuits<br />

(Section 3.4.1) is automatically applied to the circuit description in order to produce a flat netlist<br />

object before proceeding with equation setup.<br />

This section describes how to set up equations of linear circuits in the Laplace domain.<br />

CircuitEquations can also be used to set up DC or transient equations for nonlinear circuits. This<br />

topic is discussed in Section 2.6.4.<br />

1<br />

RA<br />

2<br />

L1<br />

3<br />

V0<br />

C1<br />

C2<br />

RB<br />

Figure 4.1: RLC filter circuit

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

Saved successfully!

Ooh no, something went wrong!