summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Examples/Transformer/Transformer.cir16
-rw-r--r--Examples/Transformer/Transformer.cir.out28
-rw-r--r--Examples/Transformer/Transformer.pro71
-rw-r--r--Examples/Transformer/Transformer.proj1
-rw-r--r--Examples/Transformer/Transformer.sch191
-rw-r--r--Examples/Transformer/Transformer_Previous_Values.xml1
-rw-r--r--Examples/Transformer/analysis1
-rw-r--r--Examples/Transformer/plot_data_i.txt135
-rw-r--r--Examples/Transformer/plot_data_v.txt135
9 files changed, 579 insertions, 0 deletions
diff --git a/Examples/Transformer/Transformer.cir b/Examples/Transformer/Transformer.cir
new file mode 100644
index 00000000..a6c8bf65
--- /dev/null
+++ b/Examples/Transformer/Transformer.cir
@@ -0,0 +1,16 @@
+* /home/fossee/eSim-Workspace/Transformer/Transformer.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Thu Mar 3 23:13:47 2016
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+v1 Net-_R2-Pad2_ GND sine
+R1 out GND 1k
+R2 in Net-_R2-Pad2_ 1k
+U1 in GND GND out TRANSFO
+U2 in plot_v1
+U3 out plot_v1
+
+.end
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
diff --git a/Examples/Transformer/Transformer.pro b/Examples/Transformer/Transformer.pro
new file mode 100644
index 00000000..afdcf2d3
--- /dev/null
+++ b/Examples/Transformer/Transformer.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=eSim_Analog
+LibName2=eSim_Devices
+LibName3=eSim_Digital
+LibName4=eSim_Hybrid
+LibName5=eSim_Miscellaneous
+LibName6=eSim_Power
+LibName7=eSim_Sources
+LibName8=eSim_Subckt
+LibName9=eSim_User
+LibName10=eSim_Plot
+LibName11=adc-dac
+LibName12=memory
+LibName13=xilinx
+LibName14=microcontrollers
+LibName15=dsp
+LibName16=microchip
+LibName17=analog_switches
+LibName18=motorola
+LibName19=texas
+LibName20=intel
+LibName21=audio
+LibName22=interface
+LibName23=digital-audio
+LibName24=philips
+LibName25=display
+LibName26=cypress
+LibName27=siliconi
+LibName28=opto
+LibName29=atmel
+LibName30=contrib
+LibName31=power
+LibName32=device
+LibName33=transistors
+LibName34=conn
+LibName35=linear
+LibName36=regul
+LibName37=74xx
+LibName38=cmos4000
diff --git a/Examples/Transformer/Transformer.proj b/Examples/Transformer/Transformer.proj
new file mode 100644
index 00000000..dbc9f3d2
--- /dev/null
+++ b/Examples/Transformer/Transformer.proj
@@ -0,0 +1 @@
+schematicFile Transformer.sch
diff --git a/Examples/Transformer/Transformer.sch b/Examples/Transformer/Transformer.sch
new file mode 100644
index 00000000..43914e31
--- /dev/null
+++ b/Examples/Transformer/Transformer.sch
@@ -0,0 +1,191 @@
+EESchema Schematic File Version 2
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:eSim_Plot
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:test-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L sine v1
+U 1 1 56D6CB89
+P 4050 3850
+F 0 "v1" H 3850 3950 60 0000 C CNN
+F 1 "sine" H 3850 3800 60 0000 C CNN
+F 2 "R1" H 3750 3850 60 0000 C CNN
+F 3 "" H 4050 3850 60 0000 C CNN
+ 1 4050 3850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4800 3400 4800 3600
+$Comp
+L GND #PWR01
+U 1 1 56D6CBE8
+P 4050 4300
+F 0 "#PWR01" H 4050 4050 50 0001 C CNN
+F 1 "GND" H 4050 4150 50 0000 C CNN
+F 2 "" H 4050 4300 50 0000 C CNN
+F 3 "" H 4050 4300 50 0000 C CNN
+ 1 4050 4300
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR02
+U 1 1 56D6CC00
+P 4800 4000
+F 0 "#PWR02" H 4800 3750 50 0001 C CNN
+F 1 "GND" H 4800 3850 50 0000 C CNN
+F 2 "" H 4800 4000 50 0000 C CNN
+F 3 "" H 4800 4000 50 0000 C CNN
+ 1 4800 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR03
+U 1 1 56D6CC11
+P 5600 4000
+F 0 "#PWR03" H 5600 3750 50 0001 C CNN
+F 1 "GND" H 5600 3850 50 0000 C CNN
+F 2 "" H 5600 4000 50 0000 C CNN
+F 3 "" H 5600 4000 50 0000 C CNN
+ 1 5600 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 56D6CC22
+P 5950 3750
+F 0 "R1" H 6000 3880 50 0000 C CNN
+F 1 "1k" H 6000 3800 50 0000 C CNN
+F 2 "" H 6000 3730 30 0000 C CNN
+F 3 "" V 6000 3800 30 0000 C CNN
+ 1 5950 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L GND #PWR04
+U 1 1 56D6CC5D
+P 6000 3950
+F 0 "#PWR04" H 6000 3700 50 0001 C CNN
+F 1 "GND" H 6000 3800 50 0000 C CNN
+F 2 "" H 6000 3950 50 0000 C CNN
+F 3 "" H 6000 3950 50 0000 C CNN
+ 1 6000 3950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5600 3600 6000 3600
+Wire Wire Line
+ 6000 3600 6000 3650
+Text GLabel 6000 3500 2 60 Input ~ 0
+out
+Wire Wire Line
+ 6000 3500 5950 3500
+Wire Wire Line
+ 5950 3400 5950 3600
+Connection ~ 5950 3600
+Text GLabel 4600 3250 0 60 Input ~ 0
+in
+$Comp
+L R R2
+U 1 1 56D6D2F8
+P 4400 3350
+F 0 "R2" H 4450 3480 50 0000 C CNN
+F 1 "1k" H 4450 3400 50 0000 C CNN
+F 2 "" H 4450 3330 30 0000 C CNN
+F 3 "" V 4450 3400 30 0000 C CNN
+ 1 4400 3350
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 4200 3400 4050 3400
+Wire Wire Line
+ 4500 3400 4800 3400
+Wire Wire Line
+ 4600 3250 4700 3250
+Wire Wire Line
+ 4700 3200 4700 3400
+Connection ~ 4700 3400
+$Comp
+L TRANSFO U1
+U 1 1 56D70807
+P 5200 3800
+F 0 "U1" H 5200 4050 50 0000 C CNN
+F 1 "TRANSFO" H 5200 3500 50 0000 C CNN
+F 2 "" H 5200 3800 50 0000 C CNN
+F 3 "" H 5200 3800 50 0000 C CNN
+ 1 5200 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U2
+U 1 1 56D87780
+P 4700 3400
+F 0 "U2" H 4700 3900 60 0000 C CNN
+F 1 "plot_v1" H 4900 3750 60 0000 C CNN
+F 2 "" H 4700 3400 60 0000 C CNN
+F 3 "" H 4700 3400 60 0000 C CNN
+ 1 4700 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U3
+U 1 1 56D877C8
+P 5950 3600
+F 0 "U3" H 5950 4100 60 0000 C CNN
+F 1 "plot_v1" H 6150 3950 60 0000 C CNN
+F 2 "" H 5950 3600 60 0000 C CNN
+F 3 "" H 5950 3600 60 0000 C CNN
+ 1 5950 3600
+ 1 0 0 -1
+$EndComp
+Connection ~ 4700 3250
+Connection ~ 5950 3500
+$EndSCHEMATC
diff --git a/Examples/Transformer/Transformer_Previous_Values.xml b/Examples/Transformer/Transformer_Previous_Values.xml
new file mode 100644
index 00000000..e03a69b1
--- /dev/null
+++ b/Examples/Transformer/Transformer_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time">0</field1><field2 name="Step Time">10</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">ms</field5><field6 name="Stop Combo">ms</field6></tran></analysis><source><v1 name="Source type">sine<field1 name="Offset Value">0</field1><field2 name="Amplitude">10</field2><field3 name="Frequency">50</field3><field4 name="Delay Time">0</field4><field5 name="Damping Factor">0</field5></v1></source><model><u1 name="type">transfo<field1 name="Enter the H1 array " /><field2 name="Enter the primary number of turns (default=310) " /><field3 name="Enter iron core area (default=1)" /><field4 name="Enter iron core length (default=0.01)" /><field5 name="Enter the secondary number of turns (default=620)" /><field6 name="Enter the B1 array " /></u1></model><devicemodel /><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/Examples/Transformer/analysis b/Examples/Transformer/analysis
new file mode 100644
index 00000000..660a46cc
--- /dev/null
+++ b/Examples/Transformer/analysis
@@ -0,0 +1 @@
+.tran 10e-03 100e-03 0e-03 \ No newline at end of file
diff --git a/Examples/Transformer/plot_data_i.txt b/Examples/Transformer/plot_data_i.txt
new file mode 100644
index 00000000..3c3f63b6
--- /dev/null
+++ b/Examples/Transformer/plot_data_i.txt
@@ -0,0 +1,135 @@
+ * /home/fossee/esim-workspace/transformer/transformer.cir
+ Transient Analysis Thu Mar 3 23:14:49 2016
+--------------------------------------------------------------------------------
+Index time a1#branch_0_0 a1#branch_1_0 a2#branch_0_0
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
+1 1.000000e-05 2.513303e-05 -2.02672e-10 1.256569e-05
+2 2.000000e-05 5.026614e-05 -6.08005e-10 2.513060e-05
+3 4.000000e-05 1.005319e-04 -2.22920e-09 5.025691e-05
+4 8.000000e-05 2.010549e-04 -8.71255e-09 1.004921e-04
+5 1.600000e-04 4.020108e-04 -3.46306e-08 2.008647e-04
+6 3.200000e-04 8.031183e-04 -1.38114e-07 4.009978e-04
+7 6.400000e-04 1.598573e-03 -5.49496e-07 7.970532e-04
+8 1.280000e-03 3.134498e-03 -2.15825e-06 1.558477e-03
+9 2.560000e-03 5.775564e-03 -8.05255e-06 2.855052e-03
+10 4.560000e-03 7.957210e-03 -2.06164e-05 3.894809e-03
+11 6.560000e-03 7.109817e-03 -3.16687e-05 3.426191e-03
+12 8.560000e-03 3.556954e-03 -3.69216e-05 1.628408e-03
+13 1.056000e-02 -1.34441e-03 -3.43034e-05 -8.11634e-04
+14 1.256000e-02 -5.72223e-03 -2.47495e-05 -2.96171e-03
+15 1.456000e-02 -7.90443e-03 -1.18451e-05 -4.00036e-03
+16 1.656000e-02 -7.05759e-03 -4.55946e-07 -3.53065e-03
+17 1.856000e-02 -3.50527e-03 5.130444e-06 -1.73178e-03
+18 2.056000e-02 1.395563e-03 2.842269e-06 7.093342e-04
+19 2.256000e-02 5.772853e-03 -6.38507e-06 2.860474e-03
+20 2.456000e-02 7.954527e-03 -1.89663e-05 3.900175e-03
+21 2.656000e-02 7.107162e-03 -3.00356e-05 3.431501e-03
+22 2.856000e-02 3.554326e-03 -3.53055e-05 1.633663e-03
+23 3.056000e-02 -1.34701e-03 -3.27041e-05 -8.06433e-04
+24 3.256000e-02 -5.72481e-03 -2.31668e-05 -2.95657e-03
+25 3.456000e-02 -7.90698e-03 -1.02788e-05 -3.99527e-03
+26 3.656000e-02 -7.06011e-03 1.094082e-06 -3.52561e-03
+27 3.856000e-02 -3.50776e-03 6.664382e-06 -1.72679e-03
+28 4.056000e-02 1.393095e-03 4.360285e-06 7.142702e-04
+29 4.256000e-02 5.770411e-03 -4.88281e-06 2.865359e-03
+30 4.456000e-02 7.952110e-03 -1.74796e-05 3.905009e-03
+31 4.656000e-02 7.104770e-03 -2.85644e-05 3.436285e-03
+32 4.856000e-02 3.551959e-03 -3.38496e-05 1.638397e-03
+33 5.056000e-02 -1.34936e-03 -3.12633e-05 -8.01748e-04
+34 5.256000e-02 -5.72713e-03 -2.17409e-05 -2.95193e-03
+35 5.456000e-02 -7.90927e-03 -8.86775e-06 -3.99068e-03
+36 5.656000e-02 -7.06238e-03 2.490525e-06 -3.52107e-03
+37 5.856000e-02 -3.51001e-03 8.046330e-06 -1.72230e-03
+38 6.056000e-02 1.390872e-03 5.727888e-06 7.187171e-04
+39 6.256000e-02 5.768210e-03 -3.52940e-06 2.869760e-03
+40 6.456000e-02 7.949932e-03 -1.61403e-05 3.909364e-03
+41 6.656000e-02 7.102615e-03 -2.72389e-05 3.440594e-03
+42 6.856000e-02 3.549826e-03 -3.25379e-05 1.642663e-03
+43 7.056000e-02 -1.35147e-03 -2.99652e-05 -7.97527e-04
+44 7.256000e-02 -5.72921e-03 -2.04563e-05 -2.94775e-03
+45 7.456000e-02 -7.91134e-03 -7.59648e-06 -3.98655e-03
+46 7.656000e-02 -7.06442e-03 3.748602e-06 -3.51698e-03
+47 7.856000e-02 -3.51203e-03 9.291347e-06 -1.71825e-03
+48 8.056000e-02 1.388869e-03 6.959982e-06 7.227234e-04
+49 8.256000e-02 5.766228e-03 -2.31010e-06 2.873725e-03
+50 8.456000e-02 7.947971e-03 -1.49336e-05 3.913287e-03
+51 8.656000e-02 7.100674e-03 -2.60448e-05 3.444477e-03
+52 8.856000e-02 3.547905e-03 -3.13561e-05 1.646505e-03
+53 9.056000e-02 -1.35337e-03 -2.87957e-05 -7.93725e-04
+54 9.256000e-02 -5.73110e-03 -1.92990e-05 -2.94399e-03
+
+Index time a1#branch_0_0 a1#branch_1_0 a2#branch_0_0
+--------------------------------------------------------------------------------
+55 9.456000e-02 -7.91320e-03 -6.45117e-06 -3.98282e-03
+56 9.656000e-02 -7.06627e-03 4.882021e-06 -3.51329e-03
+57 9.856000e-02 -3.51386e-03 1.041300e-05 -1.71460e-03
+58 1.000000e-01 -1.68026e-05 1.033495e-05 3.360526e-05
+
+ * /home/fossee/esim-workspace/transformer/transformer.cir
+ Transient Analysis Thu Mar 3 23:14:49 2016
+--------------------------------------------------------------------------------
+Index time a2#branch_1_0 v1#branch
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00
+1 1.000000e-05 2.026724e-10 -2.51330e-05
+2 2.000000e-05 6.080047e-10 -5.02661e-05
+3 4.000000e-05 2.229195e-09 -1.00532e-04
+4 8.000000e-05 8.712554e-09 -2.01055e-04
+5 1.600000e-04 3.463058e-08 -4.02011e-04
+6 3.200000e-04 1.381139e-07 -8.03118e-04
+7 6.400000e-04 5.494962e-07 -1.59857e-03
+8 1.280000e-03 2.158246e-06 -3.13450e-03
+9 2.560000e-03 8.052548e-06 -5.77556e-03
+10 4.560000e-03 2.061645e-05 -7.95721e-03
+11 6.560000e-03 3.166868e-05 -7.10982e-03
+12 8.560000e-03 3.692161e-05 -3.55695e-03
+13 1.056000e-02 3.430343e-05 1.344414e-03
+14 1.256000e-02 2.474952e-05 5.722234e-03
+15 1.456000e-02 1.184513e-05 7.904434e-03
+16 1.656000e-02 4.559458e-07 7.057589e-03
+17 1.856000e-02 -5.13044e-06 3.505267e-03
+18 2.056000e-02 -2.84227e-06 -1.39556e-03
+19 2.256000e-02 6.385067e-06 -5.77285e-03
+20 2.456000e-02 1.896628e-05 -7.95453e-03
+21 2.656000e-02 3.003563e-05 -7.10716e-03
+22 2.856000e-02 3.530551e-05 -3.55433e-03
+23 3.056000e-02 3.270412e-05 1.347014e-03
+24 3.256000e-02 2.316681e-05 5.724807e-03
+25 3.456000e-02 1.027885e-05 7.906980e-03
+26 3.656000e-02 -1.09408e-06 7.060109e-03
+27 3.856000e-02 -6.66438e-06 3.507761e-03
+28 4.056000e-02 -4.36028e-06 -1.39310e-03
+29 4.256000e-02 4.882809e-06 -5.77041e-03
+30 4.456000e-02 1.747961e-05 -7.95211e-03
+31 4.656000e-02 2.856440e-05 -7.10477e-03
+32 4.856000e-02 3.384955e-05 -3.55196e-03
+33 5.056000e-02 3.126327e-05 1.349356e-03
+34 5.256000e-02 2.174092e-05 5.727126e-03
+35 5.456000e-02 8.867754e-06 7.909274e-03
+36 5.656000e-02 -2.49053e-06 7.062379e-03
+37 5.856000e-02 -8.04633e-06 3.510008e-03
+38 6.056000e-02 -5.72789e-06 -1.39087e-03
+39 6.256000e-02 3.529402e-06 -5.76821e-03
+40 6.456000e-02 1.614025e-05 -7.94993e-03
+41 6.656000e-02 2.723894e-05 -7.10262e-03
+42 6.856000e-02 3.253786e-05 -3.54983e-03
+43 7.056000e-02 2.996519e-05 1.351467e-03
+44 7.256000e-02 2.045631e-05 5.729214e-03
+45 7.456000e-02 7.596482e-06 7.911341e-03
+46 7.656000e-02 -3.74860e-06 7.064424e-03
+47 7.856000e-02 -9.29135e-06 3.512032e-03
+48 8.056000e-02 -6.95998e-06 -1.38887e-03
+49 8.256000e-02 2.310098e-06 -5.76623e-03
+50 8.456000e-02 1.493361e-05 -7.94797e-03
+51 8.656000e-02 2.604482e-05 -7.10067e-03
+52 8.856000e-02 3.135613e-05 -3.54791e-03
+53 9.056000e-02 2.879573e-05 1.353368e-03
+54 9.256000e-02 1.929899e-05 5.731096e-03
+
+Index time a2#branch_1_0 v1#branch
+--------------------------------------------------------------------------------
+55 9.456000e-02 6.451174e-06 7.913203e-03
+56 9.656000e-02 -4.88202e-06 7.066267e-03
+57 9.856000e-02 -1.04130e-05 3.513856e-03
+58 1.000000e-01 -1.03350e-05 1.680263e-05
diff --git a/Examples/Transformer/plot_data_v.txt b/Examples/Transformer/plot_data_v.txt
new file mode 100644
index 00000000..c7d2ac64
--- /dev/null
+++ b/Examples/Transformer/plot_data_v.txt
@@ -0,0 +1,135 @@
+ * /home/fossee/esim-workspace/transformer/transformer.cir
+ Transient Analysis Thu Mar 3 23:14:49 2016
+--------------------------------------------------------------------------------
+Index time in internode_1 internode_2
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
+1 1.000000e-05 6.282845e-03 7.791239e-03 7.790728e-03
+2 2.000000e-05 1.256530e-02 1.558250e-02 1.558097e-02
+3 4.000000e-05 2.512846e-02 3.116490e-02 3.115928e-02
+4 8.000000e-05 5.024603e-02 6.232703e-02 6.230507e-02
+5 1.600000e-04 1.004323e-01 1.246234e-01 1.245361e-01
+6 3.200000e-04 2.004989e-01 2.489667e-01 2.486186e-01
+7 6.400000e-04 3.985266e-01 4.955577e-01 4.941730e-01
+8 1.280000e-03 7.792384e-01 9.716944e-01 9.662557e-01
+9 2.560000e-03 1.427526e+00 1.790425e+00 1.770132e+00
+10 4.560000e-03 1.947404e+00 2.466735e+00 2.414782e+00
+11 6.560000e-03 1.713095e+00 2.204043e+00 2.124238e+00
+12 8.560000e-03 8.142041e-01 1.102656e+00 1.009613e+00
+13 1.056000e-02 -4.05817e-01 -4.16768e-01 -5.03213e-01
+14 1.256000e-02 -1.48086e+00 -1.77389e+00 -1.83626e+00
+15 1.456000e-02 -2.00018e+00 -2.45037e+00 -2.48022e+00
+16 1.656000e-02 -1.76532e+00 -2.18785e+00 -2.18900e+00
+17 1.856000e-02 -8.65890e-01 -1.08663e+00 -1.07370e+00
+18 2.056000e-02 3.546671e-01 4.326247e-01 4.397872e-01
+19 2.256000e-02 1.430237e+00 1.789584e+00 1.773494e+00
+20 2.456000e-02 1.950087e+00 2.465903e+00 2.418108e+00
+21 2.656000e-02 1.715750e+00 2.203220e+00 2.127530e+00
+22 2.856000e-02 8.168316e-01 1.101841e+00 1.012871e+00
+23 3.056000e-02 -4.03217e-01 -4.17574e-01 -4.99989e-01
+24 3.256000e-02 -1.47828e+00 -1.77469e+00 -1.83307e+00
+25 3.456000e-02 -1.99763e+00 -2.45116e+00 -2.47707e+00
+26 3.656000e-02 -1.76280e+00 -2.18863e+00 -2.18588e+00
+27 3.856000e-02 -8.63397e-01 -1.08741e+00 -1.07061e+00
+28 4.056000e-02 3.571351e-01 4.318596e-01 4.428475e-01
+29 4.256000e-02 1.432680e+00 1.788827e+00 1.776523e+00
+30 4.456000e-02 1.952504e+00 2.465154e+00 2.421105e+00
+31 4.656000e-02 1.718142e+00 2.202479e+00 2.130496e+00
+32 4.856000e-02 8.191987e-01 1.101107e+00 1.015806e+00
+33 5.056000e-02 -4.00874e-01 -4.18300e-01 -4.97084e-01
+34 5.256000e-02 -1.47596e+00 -1.77541e+00 -1.83020e+00
+35 5.456000e-02 -1.99534e+00 -2.45187e+00 -2.47422e+00
+36 5.656000e-02 -1.76053e+00 -2.18934e+00 -2.18306e+00
+37 5.856000e-02 -8.61150e-01 -1.08810e+00 -1.06783e+00
+38 6.056000e-02 3.593586e-01 4.311703e-01 4.456046e-01
+39 6.256000e-02 1.434880e+00 1.788145e+00 1.779251e+00
+40 6.456000e-02 1.954682e+00 2.464479e+00 2.423806e+00
+41 6.656000e-02 1.720297e+00 2.201811e+00 2.133169e+00
+42 6.856000e-02 8.213313e-01 1.100446e+00 1.018451e+00
+43 7.056000e-02 -3.98764e-01 -4.18955e-01 -4.94467e-01
+44 7.256000e-02 -1.47388e+00 -1.77606e+00 -1.82761e+00
+45 7.456000e-02 -1.99327e+00 -2.45252e+00 -2.47166e+00
+46 7.656000e-02 -1.75849e+00 -2.18997e+00 -2.18053e+00
+47 7.856000e-02 -8.59126e-01 -1.08873e+00 -1.06532e+00
+48 8.056000e-02 3.613617e-01 4.305494e-01 4.480885e-01
+49 8.256000e-02 1.436862e+00 1.787531e+00 1.781709e+00
+50 8.456000e-02 1.956644e+00 2.463871e+00 2.426238e+00
+51 8.656000e-02 1.722239e+00 2.201209e+00 2.135576e+00
+52 8.856000e-02 8.232525e-01 1.099851e+00 1.020833e+00
+53 9.056000e-02 -3.96862e-01 -4.19544e-01 -4.92109e-01
+54 9.256000e-02 -1.47199e+00 -1.77664e+00 -1.82527e+00
+
+Index time in internode_1 internode_2
+--------------------------------------------------------------------------------
+55 9.456000e-02 -1.99141e+00 -2.45309e+00 -2.46935e+00
+56 9.656000e-02 -1.75665e+00 -2.19054e+00 -2.17824e+00
+57 9.856000e-02 -8.57302e-01 -1.08930e+00 -1.06305e+00
+58 1.000000e-01 1.680263e-02 -5.20882e-03 2.083526e-02
+
+ * /home/fossee/esim-workspace/transformer/transformer.cir
+ Transient Analysis Thu Mar 3 23:14:49 2016
+--------------------------------------------------------------------------------
+Index time net-_r2-pad2_ out
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 0.000000e+00
+1 1.000000e-05 3.141587e-02 -1.25657e-02
+2 2.000000e-05 6.283144e-02 -2.51306e-02
+3 4.000000e-05 1.256604e-01 -5.02569e-02
+4 8.000000e-05 2.513010e-01 -1.00492e-01
+5 1.600000e-04 5.024432e-01 -2.00865e-01
+6 3.200000e-04 1.003617e+00 -4.00998e-01
+7 6.400000e-04 1.997100e+00 -7.97053e-01
+8 1.280000e-03 3.913737e+00 -1.55848e+00
+9 2.560000e-03 7.203090e+00 -2.85505e+00
+10 4.560000e-03 9.904614e+00 -3.89481e+00
+11 6.560000e-03 8.822912e+00 -3.42619e+00
+12 8.560000e-03 4.371158e+00 -1.62841e+00
+13 1.056000e-02 -1.75023e+00 8.116337e-01
+14 1.256000e-02 -7.20309e+00 2.961712e+00
+15 1.456000e-02 -9.90461e+00 4.000361e+00
+16 1.656000e-02 -8.82291e+00 3.530647e+00
+17 1.856000e-02 -4.37116e+00 1.731781e+00
+18 2.056000e-02 1.750231e+00 -7.09334e-01
+19 2.256000e-02 7.203090e+00 -2.86047e+00
+20 2.456000e-02 9.904614e+00 -3.90017e+00
+21 2.656000e-02 8.822912e+00 -3.43150e+00
+22 2.856000e-02 4.371158e+00 -1.63366e+00
+23 3.056000e-02 -1.75023e+00 8.064334e-01
+24 3.256000e-02 -7.20309e+00 2.956566e+00
+25 3.456000e-02 -9.90461e+00 3.995269e+00
+26 3.656000e-02 -8.82291e+00 3.525607e+00
+27 3.856000e-02 -4.37116e+00 1.726793e+00
+28 4.056000e-02 1.750231e+00 -7.14270e-01
+29 4.256000e-02 7.203090e+00 -2.86536e+00
+30 4.456000e-02 9.904614e+00 -3.90501e+00
+31 4.656000e-02 8.822912e+00 -3.43628e+00
+32 4.856000e-02 4.371158e+00 -1.63840e+00
+33 5.056000e-02 -1.75023e+00 8.017483e-01
+34 5.256000e-02 -7.20309e+00 2.951929e+00
+35 5.456000e-02 -9.90461e+00 3.990680e+00
+36 5.656000e-02 -8.82291e+00 3.521067e+00
+37 5.856000e-02 -4.37116e+00 1.722300e+00
+38 6.056000e-02 1.750231e+00 -7.18717e-01
+39 6.256000e-02 7.203090e+00 -2.86976e+00
+40 6.456000e-02 9.904614e+00 -3.90936e+00
+41 6.656000e-02 8.822912e+00 -3.44059e+00
+42 6.856000e-02 4.371158e+00 -1.64266e+00
+43 7.056000e-02 -1.75023e+00 7.975274e-01
+44 7.256000e-02 -7.20309e+00 2.947752e+00
+45 7.456000e-02 -9.90461e+00 3.986547e+00
+46 7.656000e-02 -8.82291e+00 3.516976e+00
+47 7.856000e-02 -4.37116e+00 1.718251e+00
+48 8.056000e-02 1.750231e+00 -7.22723e-01
+49 8.256000e-02 7.203090e+00 -2.87372e+00
+50 8.456000e-02 9.904614e+00 -3.91329e+00
+51 8.656000e-02 8.822912e+00 -3.44448e+00
+52 8.856000e-02 4.371158e+00 -1.64651e+00
+53 9.056000e-02 -1.75023e+00 7.937248e-01
+54 9.256000e-02 -7.20309e+00 2.943989e+00
+
+Index time net-_r2-pad2_ out
+--------------------------------------------------------------------------------
+55 9.456000e-02 -9.90461e+00 3.982822e+00
+56 9.656000e-02 -8.82291e+00 3.513290e+00
+57 9.856000e-02 -4.37116e+00 1.714604e+00
+58 1.000000e-01 -1.22465e-14 -3.36053e-02