Changes

Running Parametric Sweeps and Monte Carlo Tests

0 bytes added, 03:49, 18 August 2015
/* Using Device & System Parameters as Variables */
[[File:b2MAN_Fig4.png|thumb|220px|B2.Spice A/D Circuit Parameters Tab.]]
Each part in [[B2RF.Spice A/D]] has one or more [[parameters]]. Most of these [[parameters]] have numeric values like the resistance of a resistor, or the capacitance of a capacitor, or the forward beta (bf) of a bipolar junction transistor. Some other [[parameters]] might be Boolean, that is, they take only binary values: "True" of "False". There are also string [[parameters]] such as the name or label of a part. Most of device [[parameters]] can be changed during a simulation. Besides device [[parameters]], there are also system [[parameters]] like temperature, time of a transient simulation or frequency of an AC analysis, or SPICE simulation [[parameters]]. You can also define your own [[parameters]] and use them as the values for other [[parameters]]. Device and system [[parameters]] can be varied during a "Sweep" or "Monte Carlo" test. To find out more about these types of [[tests]], please refer to the section on [[B2_sweep | Parametric Sweeps and Monte Carlo Tests]].
You can also vary [[parameters]] in real time during a live simulation. Oddly named but quite useful, the [[Parameters]] tab of the Toolbox presents a small spreadsheet-like grid which lists all the parts in the circuit available for scrutiny. This includes only those parts which allow value changes such as resistors, capacitors, current and voltage sources, and inductors, but not the ground. The part’s name is displayed in the left cell, while its value is displayed in the right cell. Use the radio buttons labeled "All", "Some" and "Few" (default) to expand to shrink the list of displayed devices and properties. The "Few" button lists just the primitive devices and their values, such as a resistor's resistance, inductor's inductance, and so forth. The "Some" button will add more sources and their properties, and the "All" button lists every device and parameter that is accessible in your project.
28,333
edits