chiark / gitweb /
undo broken deletion
[trains.git] / spice / shortcut.cir
diff --git a/spice/shortcut.cir b/spice/shortcut.cir
new file mode 100644 (file)
index 0000000..92cb76f
--- /dev/null
@@ -0,0 +1,23 @@
+SHORTCUT.CIR - BOOSTER SHORT-CIRCUIT CUT-OUT
+
+* ngspice -b shortcut.cir | ~/an-things/chiark-utils/scripts/ngspice2genspic | ~/an-things/chiark-utils/scripts/genspic2gnuplot ./t && ./t.gnuplots.sh
+
+vinbad 1       0       pulse(  0 12 10u 5u 5u 350 700 )
+r1     1       2       1k
+c1     2       0       25n
+r2     2       3       10k
+c2     3       4       5n
+rdisch 3       4       1meg
+
+*vretry        5       0       pulse(  0 5 60u 100n 100n 137u 274u )
+vretry 5       0       pulse(  0 5 60u 100n 100n 13m 27m )
+
+vtemp  50      0       50
+rtemp  50      51      1k
+
+xretry 4 5 0   2n7000
+
+.include 2n7000.mod
+
+.print tran v(1) v(2) v(3) v(4) v(5)
+.tran 1000n 30000u