11.1.12.16. Simulator¶
-
class
PySpice.Spice.Simulator.
Simulator
[source]¶ Bases:
object
Base class to implement a simulator.
-
DEFAULT_SIMULATOR
= 'ngspice-shared'¶ Define the default simulator
-
SIMULATOR
= None¶
-
SIMULATORS
= ('ngspice', 'ngspice-shared', 'ngspice-subprocess', 'xyce', 'xyce-serial', 'xyce-parallel')¶
-
classmethod
factory
(*args, **kwargs)[source]¶ Factory to instantiate a simulator.
By default, it instantiates the simulator defined in
DEFAULT_SIMULATOR
, however you can set the simulator using thesimulator
parameter.Available simulators are:
ngspice
alias for sharedngspice-shared
DEFAULTngspice-subprocess
xyce
alias for serialxyce-serial
xyce-parallel
Return a
PySpice.Spice.Simulator
subclass.
-
simulation
(circuit, **kwargs)[source]¶ Create a new simulation for the circuit.
Return a
PySpice.Spice.Simulation
instance`
-