pingspice.test.analysis.test_capacitance.Test_Capacitance_Sim(tb.CapacitorTestBase)
class documentation
Part of pingspice.test.analysis.test_capacitance
(View In Hierarchy)
No class docstring
Method | setUp | Undocumented |
Method | tearDown | Undocumented |
Method | get_r | Undocumented |
Method | checkV | Undocumented |
Method | plot | Undocumented |
Method | test_normal_cap | Undocumented |
Method | test_timeWarp_limited | Undocumented |
Method | test_fivi | The netlist: |
Method | test_shorted | Undocumented |
Method | test_n3 | Undocumented |
Inherited from MsgBase (via CapacitorTestBase, TestCase):
Method | isVerbose | Undocumented |
Method | verboserator | Undocumented |
Method | msg | Undocumented |
Inherited from MsgBase (via CapacitorTestBase, TestCase):
Method | isVerbose | Undocumented |
Method | verboserator | Undocumented |
Method | msg | Undocumented |
Inherited from MsgBase (via CapacitorTestBase, TestCase):
Method | isVerbose | Undocumented |
Method | verboserator | Undocumented |
Method | msg | Undocumented |
@defer.inlineCallbacks
def test_fivi(self):
def test_fivi(self):
The netlist:
Circuit '2020-02-03-12:27' generated by pingspice *------------------------------------------------------------------ *-- 01 -- INCLUDED via 'SillyCircuit' ---------------------- V0 10 0 1.0 PULSE(0 1.0 0 0.001) R0 10 out 1.0 *-- 02 -- INCLUDED via 'Capacitance' --------------------- * ts = 0.001 * Special Capacitor, 0.1 F * 100x faster for 0.02 sec *-- 03 -- INCLUDED via 'FastChargeCap' ----------------- C_FAST out 0 0.001 C_NORM n_i01 0 0.099 .MODEL sw1 sw (vt=0.5 roff=1000000.0 ron=1e-06) S0 out n_i01 norm 0 sw1 S1 n_i01 n_i02 fast 0 sw1 E0 n_i02 0 out 0 1.0 * ts = 0.001 V1 fast 0 dc 1 pulse(1 0 0 0.001 0.001 0.02) V2 norm 0 dc 0 pulse(0 1 0 0.001 0.001 0.02) *-- 03 ------------------------------------------------- *-- 02 --------------------------------------------------- *-- 01 ----------------------------------------------------- .END
The circuit:
+--------+ out --+--| C_fast |-----+----------------+------------+------ 0 | +--------+ | | | | +--------+ | | | | C_norm | | | | +--------+ | +----+ | | | +-->| -|x--+ | +----+ | +----+ | E | +--| S0 |---------+---| S1 |----------<| +|x--+ | +----+ n_i01 +----+ n_i02 +----+ | | x x | | | | | +----|------------------|-----------------------+ | | norm (1-0-1) fast (0-1-0)