Download SIMetrix Simulator Reference Manual

Transcript
4.4. Arbitrary Source
Once again, with an appropriate schematic symbol, the device can be placed on the schematic as
a block as shown below:
Example 2 - Voltage Multiplier
The expression for an arbitrary source must refer to other voltages and/or currents on the schematic.
Currents are referenced as voltage sources and voltages as netnames. Netnames are usually allocated by the netlister. For information on how to display and edit the schematic’s netnames, refer
to “Displaying Net and Pin Names” on page 2.
In the above circuit the voltage across B1 will be equal to the product of the voltages at nodes n1
and n2.
An alternative approach is to define the arbitrary source within a subcircuit. E.g.
.subckt MULT out in1 in2
B1 out 0 V=V(in1)*V(in2)
.ends
45
SIMetrix Simulator Reference Manual