pingspice.lib.current.InrushLimiter(Subcircuit) class documentation
Part of pingspice.lib.current
(View In Hierarchy)
NTC thermistor inrush limiter.
| Instance Variable | tc | Time constant (seconds). Use timeWarp to speed up the thermal response for your fraction of a second of transient simulation. But watch out for artificial interaction with capacitors with a time warp of more than 1000x. |
| Instance Variable | df | Dissipation factor (also called dissipation constant), if known (mW/K). (The device's thermal resistance is 1000/df.) |
| Instance Variable | Iss | Maximum steady-state current (Amps). |
| Instance Variable | R0 | Resistance with no current (full inrush limiting). |
| Instance Variable | R25 | Resistance with 25% Iss. |
| Instance Variable | R50 | Resistance with 50% Iss. |
| Instance Variable | R75 | Resistance with 75% Iss. |
| Instance Variable | R100 | Resistance with 100% Iss. |
| Method | Rth | Undocumented |
| Method | TvI | Undocumented |
| Method | RvI | Undocumented |
| Method | findCoeffs | Returns coefficients |
| Method | setup | Sets up my subcircuit: |
Inherited from NodeStuff (via Subcircuit):
| Instance Variable | shunts | A dict of current sensing V elements with the pairs of nodes they connect. |
| Class Variable | debug | A Bag that gets set
True for all instances to log info about each setup
call. |
| Class Method | autoName | Undocumented |
| Method | setupResults | Undocumented |
| Method | fill | Undocumented |
| Method | nodeCheck | Call with the circuit building tool f and a sequence of
nodes provided to this Include or
Subcircuit. |
| Method | rawNetlist | Get lines of a raw netlist from a search hierarchy of possible sources. |
| Method | shunt | Call to insert a current-measuring shunt and add an entry to my Elements
baton's dict of shunts. |
| Method | raw | See Elements.raw. |
| Method | iNode | See Elements.iNode. |
| Method | ground | See Elements.ground. |
| Method | sca | See Elements.sca. |
| Method | sca6 | See Elements.sca6. |
| Class Method | _libDir | Undocumented |
| Method | _strippedLines | Undocumented |
| Method | _call_setup | Calls my setup
method (almost always your override of that method, actually) and processes
any return value. |
Inherited from NodeStuff (via Subcircuit):
| Instance Variable | shunts | A dict of current sensing V elements with the pairs of nodes they connect. |
| Class Variable | debug | A Bag that gets set
True for all instances to log info about each setup
call. |
| Class Method | autoName | Undocumented |
| Method | setupResults | Undocumented |
| Method | fill | Undocumented |
| Method | nodeCheck | Call with the circuit building tool f and a sequence of
nodes provided to this Include or
Subcircuit. |
| Method | rawNetlist | Get lines of a raw netlist from a search hierarchy of possible sources. |
| Method | shunt | Call to insert a current-measuring shunt and add an entry to my Elements
baton's dict of shunts. |
| Method | raw | See Elements.raw. |
| Method | iNode | See Elements.iNode. |
| Method | ground | See Elements.ground. |
| Method | sca | See Elements.sca. |
| Method | sca6 | See Elements.sca6. |
| Class Method | _libDir | Undocumented |
| Method | _strippedLines | Undocumented |
| Method | _call_setup | Calls my setup
method (almost always your override of that method, actually) and processes
any return value. |
tc =
Time constant (seconds). Use timeWarp to speed up the thermal
response for your fraction of a second of transient simulation. But watch
out for artificial interaction with capacitors with a time warp of more
than 1000x.
df =
Dissipation factor (also called dissipation constant), if known (mW/K).
(The device's thermal resistance is 1000/df.)
def
setup(self, f):
Sets up my subcircuit:
+-------+
+----------------x| B:V |--+---> pdiss
| +---x| pdiss | |
| | +-------+ |
+-------+ | +-----+ | |
a -->|+ Vsh -|-- 10 -+-->| B:R |--+---------------|-------> b
+-------+ +-----+ |
x |
| +----------------|------> tj
| | |
| | +--------+ |
+-----+--<| R_expr |x--+
+--------+