Changes

Creating New Devices and Models

7 bytes added, 02:19, 21 September 2015
/* Resolving SPICE Language Incompatibilities */
E1 1 2 poly(3) (3,0) 1 0 0 3
The SPICE line above means a voltage-controlled voltage source where the voltage across nodes 1 and 2 is determined by the function: v(1,2) = 1 + 0 + 0 + 3* v(3)^3. SPICE 3, on which [[B2RF.Spice A/D]] is based , supports a more general form of controlled source which includes polynomial controlled sources as a subset. This new "device" is the nonlinear dependent source with the following general Form:
Bxxx N+ N- < I=EXPR > < V=EXPR >
E1 1 2 poly(3) (3,0) 1 0 0 3
the corresponding SPICE 3 (and B2[[RF.SpiceA/D]]) implementation is:
BE1 1 2 V= 1 + 3 * V(3)^3
===Incompatible Model Types===
Some Netlist languages such as that from Pspice use models that are either not in B2RF.SpiceA/D or are defined with a different set of [[parameters]]. When you edit a subcircuit model in the Device Editor, you can check for incompatible models using the appropriate button. In addition, there is a button you can use to fix these models wherever possible within the subcircuit.
== Importing RF Device Models ==
28,333
edits