Operating conditions¶
spicefault.conditions.operating
¶
Conditions under which a circuit operates or is tested.
OperatingCondition
dataclass
¶
A named set of deterministic settings, applied after the fault.
settings maps (component, parameter) to an absolute value, for example
{("Vcc", "dc"): 3.0} for a supply or {("Rload", "value"): 1e3} for a load.
temperature is the simulation temperature in degrees Celsius; it only has an
effect on devices whose model depends on temperature.
config and measurements replace those of the experiment for this condition.
waveform does the same for the stored waveform: None keeps the waveform of the
experiment, a Waveform stores that one, and False stores none, so the rows of
the condition hold NaN. Every waveform of an experiment has the same number of
points, since they share one array.