summaryrefslogtreecommitdiff
path: root/Examples/Clampercircuit/Clampercircuit.cir.out
blob: 8ebcb64b6fb76eb79d36f45a5e1694cc47d6fb2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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