Documentation /  Analog Insydes /  Reference Manual /  Netlist Format /

CircuitNetlist Entry Options

3.1.3 Netlist Entries

Netlist entries must be written in one of the following ways:

Netlist entry formats.

The reference designator (refdes) is a unique name (a symbol or a string) by which a circuit component can be identified, such as R1 and CL for a resistor and a load capacitor . For linear netlist elements, the first one, two, or three letters of the reference designator (the type tag) determine the type of the element (see Chapter 4.2 for a list of available linear element types). In the following, the simple and extended netlist entry format is described. Section 3.1.8 describes the netlist format for model references in more detail.

The second argument of a netlist entry (nodes) specifies the nodes to which the element is connected. The number of nodes that have to be specified depends on the element type. You may use non-negative integers, symbols, and strings as node identifiers. The number 0, or equivalently the string "0", designates the ground node.

The value of a circuit element may be a symbol, a number, or any Mathematica expression involving both numeric and symbolic quantities.

See also: Section 3.1.4.

Examples

Load Analog Insydes.

In[1]:= <<AnalogInsydes`

This defines an RLC lowpass filter circuit.

In[2]:= rlcf = Netlist[
{V1, {1, 0}, V},
{R1, {1, 2}, R},
{L1, {2, 3}, L},
{C1, {3, 0}, C}
]

Out[2]=

This netlist is semantically identical to the previous one.

In[3]:= rlcf2 = Netlist[
{"V1", {1, 0}, Value -> V},
{"R1", {1, 2}, Value -> R},
{"L1", {2, 3}, Value -> L},
{"C1", {3, 0}, Value -> C}
]

Out[3]=

Set up a system of circuit equations.

In[4]:= CircuitEquations[rlcf] // DisplayForm

Out[4]//DisplayForm=

The example below shows a valid mixture of data types and formats for reference designators, node identifiers, and value specifications.

This defines a voltage divider circuit.

In[5]:= divider = Netlist[
{V1, {"in", 0}, Value -> 5},
{"R1", {in, out}, R},
{R2, {"out", 0}, 2*R}
]

Out[5]=

CircuitNetlist Entry Options