pingspice.circuit.options.PS_Options(object)
class documentation
Part of pingspice.circuit.options
(View In Hierarchy)
Pingspice-only Simulation options.
ts: Set this to the step size of your TRAN simulation to have Elements
automatically (TODO!) use a simulation-safe inductance tuned to that
step size for a call to f.L
. Set to None
to not
have it do that. (You can still use an Lsi
or Lss
.) CAUTION: The
values of the R and C devices connected to the L won't change if you change
your mind about the step size at run time.
timeWarp: Set this to a time speed-up factor for thermal capacitances, to make things warm up (and cool down) x times faster.
steadyState: Set this True
to have thermal
capacitances start out at estimated steady-state thermal
"voltage" across them, which should start your simulation off at
a fairly close temperature to steady-state.
fiti: Initial time allocated for fast initial
temperature increase, for irregular but simulation-friendly
initial warm-up. Set to None
for no such irregular warm-up. If
set True
or to a value less than 10x ts, will be forced
to 10x ts. NOTE: timeWarp, if any, still applies.
keep: Keep any temporary files generated for the circuit. (See lib.active.FileSource
.)
This should be set if sim.Analyzer.study
is going to be called with this circuit.
Class Variable | defaults | The options, keyed by name, with default values. |
Method | __init__ | Undocumented |
Method | __iter__ | I iterate over my option names. |
Method | checkName | Raises an exception if name is not a recognized pingspice-only option name. |
Method | get | Obtains the pingspice simulation option of the specified name by looking in the following places, in order: |
Method | set | Sets the simulation-wide option specified by name to value. |
Method | _ivar | Undocumented |
Raises an exception if name is not a recognized pingspice-only option name.
Obtains the pingspice simulation option of the specified name by looking in the following places, in order:
-
The instance variables of the supplied object obj (typically a
Subcircuit
instance), where the user has defined a local option for that object only. -
An option specified in the dict I was constructed with. Any options
there were defined in the constructor to a
Netlist
, where the user defined a global option for the entire simulation. - The class (not instance!) variables of the supplied object obj, defining a default option for all instances of the same type as the object.
- A default value that may be supplied as a third argument.
- My defaults class dict.
If name isn't recognized as a simulation option, raises an exception.