summaryrefslogtreecommitdiff
path: root/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
diff options
context:
space:
mode:
Diffstat (limited to 'FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out')
-rw-r--r--FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out27
1 files changed, 27 insertions, 0 deletions
diff --git a/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out b/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
new file mode 100644
index 0000000..28938f4
--- /dev/null
+++ b/FullwaveRectifier_SCR/FullwaveRectifier_SCR.cir.out
@@ -0,0 +1,27 @@
+* /home/fossee/updatedexamples/fullwaverectifier_scr/fullwaverectifier_scr.cir
+
+.include scr.sub
+.include PowerDiode.lib
+x1 gnd pulse out2 scr
+v1 in1 in2 sine(0 200 100 0 0)
+v2 pulse gnd pulse(0 5 2m 0 0 1m 5m)
+d1 in1 out1 PowerDiode
+d3 in2 out1 PowerDiode
+d2 gnd in1 PowerDiode
+d4 gnd in2 PowerDiode
+r1 out1 out2 100
+* u1 in1 in2 plot_v2
+* u3 pulse plot_v1
+* u2 out1 out2 plot_v2
+.tran 20e-06 20e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in1,in2)
+plot v(pulse)
+plot v(out1,out2)
+.endc
+.end