summaryrefslogtreecommitdiff
path: root/Clampercircuit/Clampercircuit.cir.out
diff options
context:
space:
mode:
authorfahimkhan2016-03-14 16:37:03 +0530
committerfahimkhan2016-03-14 16:37:03 +0530
commit0767e64446641553c7c08c77b53d4817599c4ae1 (patch)
treeccc60cf033e7d1f56fe52633462c9e659de8af1d /Clampercircuit/Clampercircuit.cir.out
parent9182fa7645ca28bd5d2d8401c2e2f03c39943f92 (diff)
downloadeSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.tar.gz
eSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.tar.bz2
eSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.zip
Adding all available eSim examples
Diffstat (limited to 'Clampercircuit/Clampercircuit.cir.out')
-rw-r--r--Clampercircuit/Clampercircuit.cir.out26
1 files changed, 26 insertions, 0 deletions
diff --git a/Clampercircuit/Clampercircuit.cir.out b/Clampercircuit/Clampercircuit.cir.out
new file mode 100644
index 0000000..8ebcb64
--- /dev/null
+++ b/Clampercircuit/Clampercircuit.cir.out
@@ -0,0 +1,26 @@
+* /home/fossee/esim-workspace/clampercircuit/clampercircuit.cir
+
+.include D.lib
+v1 in_neg gnd sine(0 5 50 0 0)
+c1 out_neg in_neg 1n
+d1 out_neg gnd 1N4148
+v2 in_pos gnd sine(0 5 50 0 0)
+c2 out_pos in_pos 1n
+d2 gnd out_pos 1N4148
+* u1 in_neg plot_v1
+* u2 out_neg plot_v1
+* u3 in_pos plot_v1
+* u4 out_pos plot_v1
+.tran 10e-03 100e-03 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in_neg)
+plot v(out_neg)
+plot v(in_pos)
+plot v(out_pos)
+.endc
+.end