summaryrefslogtreecommitdiff
path: root/Examples/Transformer/Transformer.cir.out
diff options
context:
space:
mode:
authorGaurav2016-03-03 23:16:11 +0530
committerGaurav2016-03-03 23:16:11 +0530
commit7d128c3c55862bd3c2098ab2b0d90f599dad9195 (patch)
tree777a718361e9aa95baea51ce950470c7df155942 /Examples/Transformer/Transformer.cir.out
parent302e0fbf291fca294115d8bb878d217945f29f67 (diff)
downloadeSim-7d128c3c55862bd3c2098ab2b0d90f599dad9195.tar.gz
eSim-7d128c3c55862bd3c2098ab2b0d90f599dad9195.tar.bz2
eSim-7d128c3c55862bd3c2098ab2b0d90f599dad9195.zip
Added Transformer Examplev1.1.0
Diffstat (limited to 'Examples/Transformer/Transformer.cir.out')
-rw-r--r--Examples/Transformer/Transformer.cir.out28
1 files changed, 28 insertions, 0 deletions
diff --git a/Examples/Transformer/Transformer.cir.out b/Examples/Transformer/Transformer.cir.out
new file mode 100644
index 00000000..3432d740
--- /dev/null
+++ b/Examples/Transformer/Transformer.cir.out
@@ -0,0 +1,28 @@
+* /home/fossee/esim-workspace/transformer/transformer.cir
+
+v1 net-_r2-pad2_ gnd sine(0 10 50 0 0)
+r1 out gnd 1k
+r2 in net-_r2-pad2_ 1k
+* u1 in gnd gnd out transfo
+* u2 in plot_v1
+* u3 out plot_v1
+a1 (in gnd) (interNode_1 gnd) u1_primary
+a2 (out gnd) (interNode_2 gnd) u1_secondary
+a3 (interNode_1 interNode_2) u1_iron_core
+*primary lcouple
+.model u1_primary lcouple (num_turns= 310)
+*iron core
+.model u1_iron_core core (H_array = [-1000 -500 -375 -250 -188 -125 -63 0 63 125 188 250 375 500 1000] B_array = [-3.13e-3 -2.63e-3 -2.33e-3 -1.93e-3 -1.5e-3 -6.25e-4 -2.5e-4 0 2.5e-4 6.25e-4 1.5e-3 1.93e-3 2.33e-3 2.63e-3 3.13e-3] area = 1 length =0.01)
+*secondary lcouple
+.model u1_secondary lcouple (num_turns =620)
+.tran 10e-03 100e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(in)
+plot v(out)
+.endc
+.end