11.1.12.16. Simulator¶
-
class
PySpice.Spice.Simulator.Simulator[source]¶ Bases:
objectBase 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 thesimulatorparameter.Available simulators are:
ngspicealias for sharedngspice-sharedDEFAULTngspice-subprocessxycealias for serialxyce-serialxyce-parallel
Return a
PySpice.Spice.Simulatorsubclass.
-
simulation(circuit, **kwargs)[source]¶ Create a new simulation for the circuit.
Return a
PySpice.Spice.Simulationinstance`
-