summaryrefslogtreecommitdiff
path: root/Examples/Diac_Triac
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Diac_Triac')
-rw-r--r--Examples/Diac_Triac/Diac_Triac.cir21
-rw-r--r--Examples/Diac_Triac/Diac_Triac.cir.out27
-rw-r--r--Examples/Diac_Triac/Diac_Triac.pro71
-rw-r--r--Examples/Diac_Triac/Diac_Triac.proj1
-rw-r--r--Examples/Diac_Triac/Diac_Triac.sch261
-rw-r--r--Examples/Diac_Triac/Diac_Triac_Previous_Values.xml1
-rw-r--r--Examples/Diac_Triac/PowerDiode.lib20
-rw-r--r--Examples/Diac_Triac/analysis1
-rw-r--r--Examples/Diac_Triac/diac-cache.lib67
-rw-r--r--Examples/Diac_Triac/diac.cir13
-rw-r--r--Examples/Diac_Triac/diac.cir.out21
-rw-r--r--Examples/Diac_Triac/diac.pro45
-rw-r--r--Examples/Diac_Triac/diac.sch148
-rw-r--r--Examples/Diac_Triac/diac.sub15
-rw-r--r--Examples/Diac_Triac/diac_Previous_Values.xml1
-rw-r--r--Examples/Diac_Triac/triac-cache.lib139
-rw-r--r--Examples/Diac_Triac/triac.cir23
-rw-r--r--Examples/Diac_Triac/triac.cir.out38
-rw-r--r--Examples/Diac_Triac/triac.pro44
-rw-r--r--Examples/Diac_Triac/triac.sch308
-rw-r--r--Examples/Diac_Triac/triac.sub32
-rw-r--r--Examples/Diac_Triac/triac_Previous_Values.xml1
22 files changed, 0 insertions, 1298 deletions
diff --git a/Examples/Diac_Triac/Diac_Triac.cir b/Examples/Diac_Triac/Diac_Triac.cir
deleted file mode 100644
index 27823a17..00000000
--- a/Examples/Diac_Triac/Diac_Triac.cir
+++ /dev/null
@@ -1,21 +0,0 @@
-* /home/fossee/UpdatedExamples/Diac_Triac/Diac_Triac.cir
-
-* EESchema Netlist Version 1.1 (Spice format) creation date: Thu Mar 3 18:23:44 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: /
-C2 Net-_C2-Pad1_ GND 0.1u
-C1 Net-_C1-Pad1_ GND 0.1u
-R3 Net-_C1-Pad1_ Net-_C2-Pad1_ 250
-R2 IN Net-_C1-Pad1_ 10k
-R1 IN OUT 100
-v1 IN GND sine
-X2 GND OUT Net-_X1-Pad2_ TRIAC
-X1 Net-_C2-Pad1_ Net-_X1-Pad2_ DIAC
-U1 IN plot_v1
-U2 OUT plot_v1
-U3 IN OUT plot_v2
-
-.end
diff --git a/Examples/Diac_Triac/Diac_Triac.cir.out b/Examples/Diac_Triac/Diac_Triac.cir.out
deleted file mode 100644
index 0c36aeb9..00000000
--- a/Examples/Diac_Triac/Diac_Triac.cir.out
+++ /dev/null
@@ -1,27 +0,0 @@
-* /home/fossee/updatedexamples/diac_triac/diac_triac.cir
-
-.include triac.sub
-.include diac.sub
-c2 net-_c2-pad1_ gnd 0.1u
-c1 net-_c1-pad1_ gnd 0.1u
-r3 net-_c1-pad1_ net-_c2-pad1_ 250
-r2 in net-_c1-pad1_ 10k
-r1 in out 100
-v1 in gnd sine(0 100 100 0 0)
-x2 gnd out net-_x1-pad2_ triac
-x1 net-_c2-pad1_ net-_x1-pad2_ diac
-* u1 in plot_v1
-* u2 out plot_v1
-* u3 in out 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(in)
-plot v(out)
-plot v(in,out)
-.endc
-.end
diff --git a/Examples/Diac_Triac/Diac_Triac.pro b/Examples/Diac_Triac/Diac_Triac.pro
deleted file mode 100644
index afdcf2d3..00000000
--- a/Examples/Diac_Triac/Diac_Triac.pro
+++ /dev/null
@@ -1,71 +0,0 @@
-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/Diac_Triac/Diac_Triac.proj b/Examples/Diac_Triac/Diac_Triac.proj
deleted file mode 100644
index be096e70..00000000
--- a/Examples/Diac_Triac/Diac_Triac.proj
+++ /dev/null
@@ -1 +0,0 @@
-schematicFile Diac_Triac.sch
diff --git a/Examples/Diac_Triac/Diac_Triac.sch b/Examples/Diac_Triac/Diac_Triac.sch
deleted file mode 100644
index fce42b5e..00000000
--- a/Examples/Diac_Triac/Diac_Triac.sch
+++ /dev/null
@@ -1,261 +0,0 @@
-EESchema Schematic File Version 2
-LIBS:eSim_Power
-LIBS:eSim_Analog
-LIBS:eSim_Devices
-LIBS:eSim_Digital
-LIBS:eSim_Hybrid
-LIBS:eSim_Miscellaneous
-LIBS:eSim_Plot
-LIBS:eSim_Sources
-LIBS:eSim_Subckt
-LIBS:eSim_User
-LIBS:power
-LIBS:device
-LIBS:transistors
-LIBS:conn
-LIBS:linear
-LIBS:regul
-LIBS:74xx
-LIBS:cmos4000
-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:valves
-LIBS:acvoltcnt1-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "23 sep 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-Connection ~ 4900 3650
-Wire Wire Line
- 4900 3650 4900 3900
-Connection ~ 4200 2200
-Wire Wire Line
- 4200 2200 4200 1900
-Connection ~ 5400 4600
-Wire Wire Line
- 5400 4600 5400 4900
-Wire Wire Line
- 2950 4600 2950 3750
-Wire Wire Line
- 6750 2200 6750 3050
-Wire Wire Line
- 3650 2200 6750 2200
-Wire Wire Line
- 2950 2200 3350 2200
-Wire Wire Line
- 6750 4600 6750 3700
-Connection ~ 2950 2500
-Wire Wire Line
- 4150 4200 4150 4600
-Connection ~ 4150 4600
-Wire Wire Line
- 4900 4200 4900 4600
-Connection ~ 4900 4600
-$Comp
-L C C2
-U 1 1 541FFDA8
-P 4900 4050
-F 0 "C2" H 4950 4150 50 0000 L CNN
-F 1 "0.1u" H 4950 3950 50 0000 L CNN
-F 2 "" H 4900 4050 60 0001 C CNN
-F 3 "" H 4900 4050 60 0001 C CNN
- 1 4900 4050
- 1 0 0 -1
-$EndComp
-$Comp
-L PWR_FLAG #FLG1
-U 1 1 541D1314
-P 5400 4900
-F 0 "#FLG1" H 5400 5170 30 0001 C CNN
-F 1 "PWR_FLAG" H 5400 5130 30 0000 C CNN
-F 2 "" H 5400 4900 60 0001 C CNN
-F 3 "" H 5400 4900 60 0001 C CNN
- 1 5400 4900
- 0 1 1 0
-$EndComp
-$Comp
-L GND #PWR1
-U 1 1 541D11E2
-P 5400 4900
-F 0 "#PWR1" H 5400 4900 30 0001 C CNN
-F 1 "GND" H 5400 4830 30 0001 C CNN
-F 2 "" H 5400 4900 60 0001 C CNN
-F 3 "" H 5400 4900 60 0001 C CNN
- 1 5400 4900
- 1 0 0 -1
-$EndComp
-$Comp
-L C C1
-U 1 1 541D10B7
-P 4150 4050
-F 0 "C1" H 4200 4150 50 0000 L CNN
-F 1 "0.1u" H 4200 3950 50 0000 L CNN
-F 2 "" H 4150 4050 60 0001 C CNN
-F 3 "" H 4150 4050 60 0001 C CNN
- 1 4150 4050
- 1 0 0 -1
-$EndComp
-$Comp
-L R R3
-U 1 1 56667E40
-P 4450 3700
-F 0 "R3" H 4500 3830 50 0000 C CNN
-F 1 "250" H 4500 3750 50 0000 C CNN
-F 2 "" H 4500 3680 30 0000 C CNN
-F 3 "" V 4500 3750 30 0000 C CNN
- 1 4450 3700
- 1 0 0 -1
-$EndComp
-$Comp
-L R R2
-U 1 1 56667F71
-P 3700 3050
-F 0 "R2" H 3750 3180 50 0000 C CNN
-F 1 "10k" H 3750 3100 50 0000 C CNN
-F 2 "" H 3750 3030 30 0000 C CNN
-F 3 "" V 3750 3100 30 0000 C CNN
- 1 3700 3050
- 0 1 1 0
-$EndComp
-$Comp
-L R R1
-U 1 1 56667FF7
-P 3450 2250
-F 0 "R1" H 3500 2380 50 0000 C CNN
-F 1 "100" H 3500 2300 50 0000 C CNN
-F 2 "" H 3500 2230 30 0000 C CNN
-F 3 "" V 3500 2300 30 0000 C CNN
- 1 3450 2250
- 1 0 0 -1
-$EndComp
-$Comp
-L sine v1
-U 1 1 56668143
-P 2950 3300
-F 0 "v1" H 2750 3400 60 0000 C CNN
-F 1 "sine" H 2750 3250 60 0000 C CNN
-F 2 "R1" H 2650 3300 60 0000 C CNN
-F 3 "" H 2950 3300 60 0000 C CNN
- 1 2950 3300
- 1 0 0 -1
-$EndComp
-$Comp
-L TRIAC X2
-U 1 1 566682CA
-P 6750 3400
-F 0 "X2" H 6500 3650 50 0000 C CNN
-F 1 "TRIAC" H 6450 3100 50 0000 C CNN
-F 2 "" H 6750 3350 60 0000 C CNN
-F 3 "" H 6750 3350 60 0000 C CNN
- 1 6750 3400
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 2950 4600 6750 4600
-Wire Wire Line
- 2950 1750 2950 2850
-Wire Wire Line
- 3750 3650 4350 3650
-Text GLabel 2400 2500 0 60 Input ~ 0
-IN
-Text GLabel 4400 2000 2 60 Input ~ 0
-OUT
-$Comp
-L DIAC X1
-U 1 1 56669F95
-P 5750 3650
-F 0 "X1" H 5550 3900 50 0000 C CNN
-F 1 "DIAC" H 5500 3450 50 0000 C CNN
-F 2 "" H 5750 3600 60 0000 C CNN
-F 3 "" H 5750 3600 60 0000 C CNN
- 1 5750 3650
- 0 1 1 0
-$EndComp
-Wire Wire Line
- 6100 3650 6250 3650
-Wire Wire Line
- 4650 3650 5450 3650
-Wire Wire Line
- 2400 2500 3750 2500
-Wire Wire Line
- 3750 2500 3750 2950
-Wire Wire Line
- 3750 3250 3750 3650
-Wire Wire Line
- 4150 3900 4150 3650
-Connection ~ 4150 3650
-$Comp
-L plot_v1 U1
-U 1 1 56D83328
-P 2550 2650
-F 0 "U1" H 2550 3150 60 0000 C CNN
-F 1 "plot_v1" H 2750 3000 60 0000 C CNN
-F 2 "" H 2550 2650 60 0000 C CNN
-F 3 "" H 2550 2650 60 0000 C CNN
- 1 2550 2650
- 1 0 0 -1
-$EndComp
-$Comp
-L plot_v1 U2
-U 1 1 56D833C7
-P 4200 2100
-F 0 "U2" H 4200 2600 60 0000 C CNN
-F 1 "plot_v1" H 4400 2450 60 0000 C CNN
-F 2 "" H 4200 2100 60 0000 C CNN
-F 3 "" H 4200 2100 60 0000 C CNN
- 1 4200 2100
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 3950 2000 4400 2000
-Connection ~ 4200 2000
-Wire Wire Line
- 2550 2450 2550 2500
-Connection ~ 2550 2500
-$Comp
-L plot_v2 U3
-U 1 1 56D836D6
-P 3350 2000
-F 0 "U3" H 3350 2400 60 0000 C CNN
-F 1 "plot_v2" H 3350 2100 60 0000 C CNN
-F 2 "" H 3350 2000 60 0000 C CNN
-F 3 "" H 3350 2000 60 0000 C CNN
- 1 3350 2000
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 3050 1750 2950 1750
-Connection ~ 2950 2200
-Wire Wire Line
- 3650 1750 3950 1750
-Wire Wire Line
- 3950 1750 3950 2000
-$EndSCHEMATC
diff --git a/Examples/Diac_Triac/Diac_Triac_Previous_Values.xml b/Examples/Diac_Triac/Diac_Triac_Previous_Values.xml
deleted file mode 100644
index 98d546f8..00000000
--- a/Examples/Diac_Triac/Diac_Triac_Previous_Values.xml
+++ /dev/null
@@ -1 +0,0 @@
-<KicadtoNgspice><source><v1 name="Source type">sine<field1 name="Offset Value">0</field1><field2 name="Amplitude">100</field2><field3 name="Frequency">100</field3><field4 name="Delay Time">0</field4><field5 name="Damping Factor">0</field5></v1></source><model /><devicemodel /><subcircuit><x2><field>/home/fossee/esim-updated/eSim/src/SubcircuitLibrary/triac</field></x2><x1><field>/home/fossee/esim-updated/eSim/src/SubcircuitLibrary/diac</field></x1></subcircuit><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">20</field2><field3 name="Stop Time">20</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">us</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/Examples/Diac_Triac/PowerDiode.lib b/Examples/Diac_Triac/PowerDiode.lib
deleted file mode 100644
index a2f61dce..00000000
--- a/Examples/Diac_Triac/PowerDiode.lib
+++ /dev/null
@@ -1,20 +0,0 @@
-.MODEL PowerDiode D(
-+ Vj=.75
-+ Nbvl=14.976
-+ Cjo=175p
-+ Rs=.25
-+ Isr=1.859n
-+ Eg=1.11
-+ M=.5516
-+ Nbv=1.6989
-+ N=1
-+ Tbv1=-21.277u
-+ bv=1800
-+ Fc=.5
-+ Ikf=0
-+ Nr=2
-+ Ibv=20.245m
-+ Is=2.2E-15
-+ Xti=3
-+ Ibvl=1.9556m
-) \ No newline at end of file
diff --git a/Examples/Diac_Triac/analysis b/Examples/Diac_Triac/analysis
deleted file mode 100644
index c25e0036..00000000
--- a/Examples/Diac_Triac/analysis
+++ /dev/null
@@ -1 +0,0 @@
-.tran 20e-06 20e-03 0e-03 \ No newline at end of file
diff --git a/Examples/Diac_Triac/diac-cache.lib b/Examples/Diac_Triac/diac-cache.lib
deleted file mode 100644
index b15fdeec..00000000
--- a/Examples/Diac_Triac/diac-cache.lib
+++ /dev/null
@@ -1,67 +0,0 @@
-EESchema-LIBRARY Version 2.3
-#encoding utf-8
-#
-# GND
-#
-DEF GND #PWR 0 0 Y Y 1 F P
-F0 "#PWR" 0 -250 50 H I C CNN
-F1 "GND" 0 -150 50 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-DRAW
-P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
-X GND 1 0 0 0 D 50 50 1 1 W N
-ENDDRAW
-ENDDEF
-#
-# PORT
-#
-DEF PORT U 0 40 Y Y 8 F N
-F0 "U" 50 100 30 H V C CNN
-F1 "PORT" 0 0 30 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-DRAW
-A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
-A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
-S -100 50 100 -50 0 1 0 N
-X ~ 1 250 0 100 L 30 30 1 1 B
-X ~ 2 250 0 100 L 30 30 2 1 B
-X ~ 3 250 0 100 L 30 30 3 1 B
-X ~ 4 250 0 100 L 30 30 4 1 B
-X ~ 5 250 0 100 L 30 30 5 1 B
-X ~ 6 250 0 100 L 30 30 6 1 B
-X ~ 7 250 0 100 L 30 30 7 1 B
-X ~ 8 250 0 100 L 30 30 8 1 B
-ENDDRAW
-ENDDEF
-#
-# PWR_FLAG
-#
-DEF PWR_FLAG #FLG 0 0 N N 1 F P
-F0 "#FLG" 0 95 50 H I C CNN
-F1 "PWR_FLAG" 0 180 50 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-DRAW
-X pwr 1 0 0 0 U 20 20 0 0 w
-P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N
-ENDDRAW
-ENDDEF
-#
-# aswitch
-#
-DEF aswitch U 0 40 Y Y 1 F N
-F0 "U" 450 300 60 H V C CNN
-F1 "aswitch" 450 200 60 H V C CNN
-F2 "" 450 100 60 H V C CNN
-F3 "" 450 100 60 H V C CNN
-DRAW
-S 200 250 650 100 0 1 0 N
-X ~ 2 0 150 200 R 50 50 1 1 O
-X ~ 3 850 150 200 L 50 50 1 1 O
-X ~ 1_IN 450 -100 200 U 50 20 1 1 I
-ENDDRAW
-ENDDEF
-#
-#End Library
diff --git a/Examples/Diac_Triac/diac.cir b/Examples/Diac_Triac/diac.cir
deleted file mode 100644
index 91629b91..00000000
--- a/Examples/Diac_Triac/diac.cir
+++ /dev/null
@@ -1,13 +0,0 @@
-* /opt/eSim/src/SubcircuitLibrary/diac/diac.cir
-
-* EESchema Netlist Version 1.1 (Spice format) creation date: Tue Dec 8 15:35:49 2015
-
-* 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: /
-U3 1 2 PORT
-U1 1 1 2 aswitch
-U2 1 1 2 aswitch
-
-.end
diff --git a/Examples/Diac_Triac/diac.cir.out b/Examples/Diac_Triac/diac.cir.out
deleted file mode 100644
index a1e31f14..00000000
--- a/Examples/Diac_Triac/diac.cir.out
+++ /dev/null
@@ -1,21 +0,0 @@
-* /opt/esim/src/subcircuitlibrary/diac/diac.cir
-
-* u3 1 2 port
-* u1 1 1 2 aswitch
-* u2 1 1 2 aswitch
-a1 1 (1 2) u1
-a2 1 (1 2) u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=25 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-25 r_on=0.0125 r_off=1000000 )
-
-.tran 0e-00 0e-00 0e-00
-
-* Control Statements
-.control
-run
-print allv > plot_data_v.txt
-print alli > plot_data_i.txt
-.endc
-.end
diff --git a/Examples/Diac_Triac/diac.pro b/Examples/Diac_Triac/diac.pro
deleted file mode 100644
index c8563047..00000000
--- a/Examples/Diac_Triac/diac.pro
+++ /dev/null
@@ -1,45 +0,0 @@
-update=Tue Dec 8 14:06:36 2015
-last_client=eeschema
-[eeschema]
-version=1
-LibDir=
-[eeschema/libraries]
-LibName1=power
-LibName2=device
-LibName3=transistors
-LibName4=conn
-LibName5=linear
-LibName6=regul
-LibName7=74xx
-LibName8=cmos4000
-LibName9=adc-dac
-LibName10=memory
-LibName11=xilinx
-LibName12=special
-LibName13=microcontrollers
-LibName14=dsp
-LibName15=microchip
-LibName16=analog_switches
-LibName17=motorola
-LibName18=texas
-LibName19=intel
-LibName20=audio
-LibName21=interface
-LibName22=digital-audio
-LibName23=philips
-LibName24=display
-LibName25=cypress
-LibName26=siliconi
-LibName27=opto
-LibName28=atmel
-LibName29=contrib
-LibName30=valves
-LibName31=analogSpice
-LibName32=eSim_Analog
-LibName33=eSim_Devices
-LibName34=eSim_Digital
-LibName35=eSim_Hybrid
-LibName36=eSim_Miscellaneous
-LibName37=eSim_Sources
-LibName38=eSim_Subckt
-LibName39=eSim_User
diff --git a/Examples/Diac_Triac/diac.sch b/Examples/Diac_Triac/diac.sch
deleted file mode 100644
index 163665e7..00000000
--- a/Examples/Diac_Triac/diac.sch
+++ /dev/null
@@ -1,148 +0,0 @@
-EESchema Schematic File Version 2
-LIBS:power
-LIBS:device
-LIBS:transistors
-LIBS:conn
-LIBS:linear
-LIBS:regul
-LIBS:74xx
-LIBS:cmos4000
-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:valves
-LIBS:analogSpice
-LIBS:eSim_Analog
-LIBS:eSim_Devices
-LIBS:eSim_Digital
-LIBS:eSim_Hybrid
-LIBS:eSim_Miscellaneous
-LIBS:eSim_Sources
-LIBS:eSim_Subckt
-LIBS:eSim_User
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "22 sep 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-Wire Wire Line
- 4150 2750 4150 4300
-Connection ~ 4400 3750
-Wire Wire Line
- 4400 4450 5050 4450
-Wire Wire Line
- 4400 4450 4400 3450
-Wire Wire Line
- 5500 3350 5500 4050
-Connection ~ 4600 3400
-Wire Wire Line
- 4600 4050 4600 2750
-Wire Wire Line
- 4600 2750 4150 2750
-Wire Wire Line
- 4400 3450 4150 3450
-Connection ~ 4150 3450
-Wire Wire Line
- 4400 3750 5050 3750
-$Comp
-L PWR_FLAG #FLG01
-U 1 1 5417D647
-P 4150 4300
-F 0 "#FLG01" H 4150 4570 30 0001 C CNN
-F 1 "PWR_FLAG" H 4150 4530 30 0000 C CNN
-F 2 "" H 4150 4300 60 0001 C CNN
-F 3 "" H 4150 4300 60 0001 C CNN
- 1 4150 4300
- 0 1 1 0
-$EndComp
-$Comp
-L PORT U3
-U 2 1 5417D62C
-P 5750 3350
-F 0 "U3" H 5750 3300 30 0000 C CNN
-F 1 "PORT" H 5750 3350 30 0000 C CNN
-F 2 "" H 5750 3350 60 0001 C CNN
-F 3 "" H 5750 3350 60 0001 C CNN
- 2 5750 3350
- -1 0 0 1
-$EndComp
-$Comp
-L PORT U3
-U 1 1 5417D624
-P 4150 2500
-F 0 "U3" H 4150 2450 30 0000 C CNN
-F 1 "PORT" H 4150 2500 30 0000 C CNN
-F 2 "" H 4150 2500 60 0001 C CNN
-F 3 "" H 4150 2500 60 0001 C CNN
- 1 4150 2500
- 0 1 1 0
-$EndComp
-$Comp
-L GND #PWR02
-U 1 1 5417D5DC
-P 4150 4300
-F 0 "#PWR02" H 4150 4300 30 0001 C CNN
-F 1 "GND" H 4150 4230 30 0001 C CNN
-F 2 "" H 4150 4300 60 0001 C CNN
-F 3 "" H 4150 4300 60 0001 C CNN
- 1 4150 4300
- 1 0 0 -1
-$EndComp
-$Comp
-L aswitch U1
-U 1 1 56669812
-P 4600 3550
-F 0 "U1" H 5050 3850 60 0000 C CNN
-F 1 "aswitch" H 5050 3750 60 0000 C CNN
-F 2 "" H 5050 3650 60 0000 C CNN
-F 3 "" H 5050 3650 60 0000 C CNN
- 1 4600 3550
- 1 0 0 -1
-$EndComp
-$Comp
-L aswitch U2
-U 1 1 5666987C
-P 4600 4200
-F 0 "U2" H 5050 4500 60 0000 C CNN
-F 1 "aswitch" H 5050 4400 60 0000 C CNN
-F 2 "" H 5050 4300 60 0000 C CNN
-F 3 "" H 5050 4300 60 0000 C CNN
- 1 4600 4200
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 5050 4450 5050 4300
-Wire Wire Line
- 5050 3750 5050 3650
-Wire Wire Line
- 5500 4050 5450 4050
-Wire Wire Line
- 5500 3400 5450 3400
-Connection ~ 5500 3400
-$EndSCHEMATC
diff --git a/Examples/Diac_Triac/diac.sub b/Examples/Diac_Triac/diac.sub
deleted file mode 100644
index 7f28ecc2..00000000
--- a/Examples/Diac_Triac/diac.sub
+++ /dev/null
@@ -1,15 +0,0 @@
-* Subcircuit diac
-.subckt diac 1 2
-* /opt/esim/src/subcircuitlibrary/diac/diac.cir
-* u1 1 1 2 aswitch
-* u2 1 1 2 aswitch
-a1 1 (1 2) u1
-a2 1 (1 2) u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=25 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-25 r_on=0.0125 r_off=1000000 )
-
-* Control Statements
-
-.ends diac
diff --git a/Examples/Diac_Triac/diac_Previous_Values.xml b/Examples/Diac_Triac/diac_Previous_Values.xml
deleted file mode 100644
index 96df431c..00000000
--- a/Examples/Diac_Triac/diac_Previous_Values.xml
+++ /dev/null
@@ -1 +0,0 @@
-<KicadtoNgspice><source /><model><u1 name="type">aswitch<field1 name="Enter Log (default=TRUE)" /><field2 name="Enter Control OFF value (default=0.0)">0.1</field2><field3 name="Enter OFF Resistance (default=1.0e12)">1000000</field3><field4 name="Enter ON Resistance (default=1.0)">0.0125</field4><field5 name="Enter Control ON value(default=1.0)">25</field5></u1><u2 name="type">aswitch<field6 name="Enter Log (default=TRUE)" /><field7 name="Enter Control OFF value (default=0.0)">-0.1</field7><field8 name="Enter OFF Resistance (default=1.0e12)">1000000</field8><field9 name="Enter ON Resistance (default=1.0)">0.0125</field9><field10 name="Enter Control ON value(default=1.0)">-25</field10></u2></model><devicemodel /><subcircuit /><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 Name" /><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></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/Examples/Diac_Triac/triac-cache.lib b/Examples/Diac_Triac/triac-cache.lib
deleted file mode 100644
index 0466a3e6..00000000
--- a/Examples/Diac_Triac/triac-cache.lib
+++ /dev/null
@@ -1,139 +0,0 @@
-EESchema-LIBRARY Version 2.3
-#encoding utf-8
-#
-# C
-#
-DEF C C 0 10 N Y 1 F N
-F0 "C" 25 100 50 H V L CNN
-F1 "C" 25 -100 50 H V L CNN
-F2 "" 38 -150 30 H V C CNN
-F3 "" 0 0 60 H V C CNN
-$FPLIST
- C?
- C_????_*
- C_????
- SMD*_c
- Capacitor*
-$ENDFPLIST
-DRAW
-P 2 0 1 20 -80 -30 80 -30 N
-P 2 0 1 20 -80 30 80 30 N
-X ~ 1 0 150 110 D 40 40 1 1 P
-X ~ 2 0 -150 110 U 40 40 1 1 P
-ENDDRAW
-ENDDEF
-#
-# CCCS
-#
-DEF CCCS F 0 40 Y Y 1 F N
-F0 "F" 0 150 50 H V C CNN
-F1 "CCCS" -200 -50 50 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-$FPLIST
- 1_pin
-$ENDFPLIST
-DRAW
-S -100 100 100 -100 0 1 0 N
-X + 1 -300 50 200 R 35 35 1 1 P
-X - 2 300 50 200 L 35 35 1 1 P
-X +c 3 -50 -200 100 U 35 35 1 1 P
-X -c 4 50 -200 100 U 35 35 1 1 P
-ENDDRAW
-ENDDEF
-#
-# D
-#
-DEF D D 0 40 N N 1 F N
-F0 "D" 0 100 50 H V C CNN
-F1 "D" 0 -100 50 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-$FPLIST
- Diode_*
- D-Pak_TO252AA
- *SingleDiode
- *_Diode_*
- *SingleDiode*
-$ENDFPLIST
-DRAW
-P 2 0 1 6 50 50 50 -50 N
-P 3 0 1 0 -50 50 50 0 -50 -50 F
-X A 1 -150 0 100 R 40 40 1 1 P
-X K 2 150 0 100 L 40 40 1 1 P
-ENDDRAW
-ENDDEF
-#
-# DC
-#
-DEF DC v 0 40 Y Y 1 F N
-F0 "v" -200 100 60 H V C CNN
-F1 "DC" -200 -50 60 H V C CNN
-F2 "R1" -300 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-$FPLIST
- 1_pin
-$ENDFPLIST
-DRAW
-C 0 0 150 0 1 0 N
-X + 1 0 450 300 D 50 50 1 1 P
-X - 2 0 -450 300 U 50 50 1 1 P
-ENDDRAW
-ENDDEF
-#
-# PORT
-#
-DEF PORT U 0 40 Y Y 8 F N
-F0 "U" 50 100 30 H V C CNN
-F1 "PORT" 0 0 30 H V C CNN
-F2 "" 0 0 60 H V C CNN
-F3 "" 0 0 60 H V C CNN
-DRAW
-A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
-A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
-S -100 50 100 -50 0 1 0 N
-X ~ 1 250 0 100 L 30 30 1 1 B
-X ~ 2 250 0 100 L 30 30 2 1 B
-X ~ 3 250 0 100 L 30 30 3 1 B
-X ~ 4 250 0 100 L 30 30 4 1 B
-X ~ 5 250 0 100 L 30 30 5 1 B
-X ~ 6 250 0 100 L 30 30 6 1 B
-X ~ 7 250 0 100 L 30 30 7 1 B
-X ~ 8 250 0 100 L 30 30 8 1 B
-ENDDRAW
-ENDDEF
-#
-# R
-#
-DEF R R 0 0 N Y 1 F N
-F0 "R" 50 130 50 H V C CNN
-F1 "R" 50 50 50 H V C CNN
-F2 "" 50 -20 30 H V C CNN
-F3 "" 50 50 30 V V C CNN
-$FPLIST
- R_*
- Resistor_*
-$ENDFPLIST
-DRAW
-S 150 10 -50 90 0 1 10 N
-X ~ 1 -100 50 50 R 60 60 1 1 P
-X ~ 2 200 50 50 L 60 60 1 1 P
-ENDDRAW
-ENDDEF
-#
-# aswitch
-#
-DEF aswitch U 0 40 Y Y 1 F N
-F0 "U" 450 300 60 H V C CNN
-F1 "aswitch" 450 200 60 H V C CNN
-F2 "" 450 100 60 H V C CNN
-F3 "" 450 100 60 H V C CNN
-DRAW
-S 200 250 650 100 0 1 0 N
-X ~ 2 0 150 200 R 50 50 1 1 O
-X ~ 3 850 150 200 L 50 50 1 1 O
-X ~ 1_IN 450 -100 200 U 50 20 1 1 I
-ENDDRAW
-ENDDEF
-#
-#End Library
diff --git a/Examples/Diac_Triac/triac.cir b/Examples/Diac_Triac/triac.cir
deleted file mode 100644
index c533d42f..00000000
--- a/Examples/Diac_Triac/triac.cir
+++ /dev/null
@@ -1,23 +0,0 @@
-* /opt/eSim/src/SubcircuitLibrary/triac/triac.cir
-
-* EESchema Netlist Version 1.1 (Spice format) creation date: Tue Dec 8 15:32:06 2015
-
-* 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: /
-U3 8 11 10 PORT
-F3 8 9 1 8 10
-v3 7 2 DC
-F2 8 9 3 5 10
-v2 6 3 DC
-C1 8 9 10u
-F1 8 9 4 8 100
-v1 10 4 DC
-U1 9 11 6 aswitch
-U2 9 2 11 aswitch
-R1 8 9 1
-D1 5 8 D
-D2 1 7 D
-
-.end
diff --git a/Examples/Diac_Triac/triac.cir.out b/Examples/Diac_Triac/triac.cir.out
deleted file mode 100644
index d2eb7c77..00000000
--- a/Examples/Diac_Triac/triac.cir.out
+++ /dev/null
@@ -1,38 +0,0 @@
-* /opt/esim/src/subcircuitlibrary/triac/triac.cir
-
-.include PowerDiode.lib
-* u3 8 11 10 port
-* f3
-v3 7 2 dc 0
-* f2
-v2 6 3 dc 0
-c1 8 9 10u
-* f1
-v1 10 4 dc 0
-* u1 9 11 6 aswitch
-* u2 9 2 11 aswitch
-r1 8 9 1
-d1 5 8 PowerDiode
-d2 1 7 PowerDiode
-Vf3 1 8 0
-f3 8 9 Vf3 10
-Vf2 3 5 0
-f2 8 9 Vf2 10
-Vf1 4 8 0
-f1 8 9 Vf1 100
-a1 9 (11 6) u1
-a2 9 (2 11) u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-
-.tran 0e-00 0e-00 0e-00
-
-* Control Statements
-.control
-run
-print allv > plot_data_v.txt
-print alli > plot_data_i.txt
-.endc
-.end
diff --git a/Examples/Diac_Triac/triac.pro b/Examples/Diac_Triac/triac.pro
deleted file mode 100644
index 5b1f5f89..00000000
--- a/Examples/Diac_Triac/triac.pro
+++ /dev/null
@@ -1,44 +0,0 @@
-update=Tue Dec 8 14:16:32 2015
-last_client=eeschema
-[eeschema]
-version=1
-LibDir=
-[eeschema/libraries]
-LibName1=eSim_Analog
-LibName2=eSim_Devices
-LibName3=eSim_Digital
-LibName4=eSim_Hybrid
-LibName5=eSim_Miscellaneous
-LibName6=eSim_Sources
-LibName7=eSim_Subckt
-LibName8=eSim_User
-LibName9=power
-LibName10=device
-LibName11=transistors
-LibName12=conn
-LibName13=linear
-LibName14=regul
-LibName15=74xx
-LibName16=cmos4000
-LibName17=adc-dac
-LibName18=memory
-LibName19=xilinx
-LibName20=special
-LibName21=microcontrollers
-LibName22=dsp
-LibName23=microchip
-LibName24=analog_switches
-LibName25=motorola
-LibName26=texas
-LibName27=intel
-LibName28=audio
-LibName29=interface
-LibName30=digital-audio
-LibName31=philips
-LibName32=display
-LibName33=cypress
-LibName34=siliconi
-LibName35=opto
-LibName36=atmel
-LibName37=contrib
-LibName38=valves
diff --git a/Examples/Diac_Triac/triac.sch b/Examples/Diac_Triac/triac.sch
deleted file mode 100644
index f30533a0..00000000
--- a/Examples/Diac_Triac/triac.sch
+++ /dev/null
@@ -1,308 +0,0 @@
-EESchema Schematic File Version 2
-LIBS:eSim_Analog
-LIBS:eSim_Devices
-LIBS:eSim_Digital
-LIBS:eSim_Hybrid
-LIBS:eSim_Miscellaneous
-LIBS:eSim_Sources
-LIBS:eSim_Subckt
-LIBS:eSim_User
-LIBS:power
-LIBS:device
-LIBS:transistors
-LIBS:conn
-LIBS:linear
-LIBS:regul
-LIBS:74xx
-LIBS:cmos4000
-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:valves
-LIBS:triac-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "22 sep 2014"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-$Comp
-L PORT U3
-U 3 1 541D1606
-P 1250 1750
-F 0 "U3" H 1250 1700 30 0000 C CNN
-F 1 "PORT" H 1250 1750 30 0000 C CNN
-F 2 "" H 1250 1750 60 0001 C CNN
-F 3 "" H 1250 1750 60 0001 C CNN
- 3 1250 1750
- 1 0 0 -1
-$EndComp
-$Comp
-L PORT U3
-U 2 1 541D1601
-P 1300 900
-F 0 "U3" H 1300 850 30 0000 C CNN
-F 1 "PORT" H 1300 900 30 0000 C CNN
-F 2 "" H 1300 900 60 0001 C CNN
-F 3 "" H 1300 900 60 0001 C CNN
- 2 1300 900
- 1 0 0 -1
-$EndComp
-$Comp
-L PORT U3
-U 1 1 541D15F6
-P 1150 4050
-F 0 "U3" H 1150 4000 30 0000 C CNN
-F 1 "PORT" H 1150 4050 30 0000 C CNN
-F 2 "" H 1150 4050 60 0001 C CNN
-F 3 "" H 1150 4050 60 0001 C CNN
- 1 1150 4050
- 1 0 0 -1
-$EndComp
-$Comp
-L CCCS F3
-U 1 1 541D1417
-P 6250 3100
-F 0 "F3" H 6050 3200 50 0000 C CNN
-F 1 "10" H 6050 3050 50 0000 C CNN
-F 2 "" H 6250 3100 60 0001 C CNN
-F 3 "" H 6250 3100 60 0001 C CNN
- 1 6250 3100
- 0 1 1 0
-$EndComp
-$Comp
-L DC v3
-U 1 1 541D13FB
-P 6050 1950
-F 0 "v3" H 5850 2050 60 0000 C CNN
-F 1 "DC" H 5850 1900 60 0000 C CNN
-F 2 "R1" H 5750 1950 60 0000 C CNN
-F 3 "" H 6050 1950 60 0001 C CNN
- 1 6050 1950
- -1 0 0 1
-$EndComp
-$Comp
-L CCCS F2
-U 1 1 541D13A3
-P 3900 2550
-F 0 "F2" H 3700 2650 50 0000 C CNN
-F 1 "10" H 3700 2500 50 0000 C CNN
-F 2 "" H 3900 2550 60 0001 C CNN
-F 3 "" H 3900 2550 60 0001 C CNN
- 1 3900 2550
- 0 1 1 0
-$EndComp
-$Comp
-L DC v2
-U 1 1 541D1398
-P 3700 1850
-F 0 "v2" H 3500 1950 60 0000 C CNN
-F 1 "DC" H 3500 1800 60 0000 C CNN
-F 2 "R1" H 3400 1850 60 0000 C CNN
-F 3 "" H 3700 1850 60 0001 C CNN
- 1 3700 1850
- 1 0 0 -1
-$EndComp
-$Comp
-L C C1
-U 1 1 541D137C
-P 3300 4350
-F 0 "C1" H 3350 4450 50 0000 L CNN
-F 1 "10u" H 3350 4250 50 0000 L CNN
-F 2 "" H 3300 4350 60 0001 C CNN
-F 3 "" H 3300 4350 60 0001 C CNN
- 1 3300 4350
- 1 0 0 -1
-$EndComp
-$Comp
-L CCCS F1
-U 1 1 541D1363
-P 2100 3600
-F 0 "F1" H 1900 3700 50 0000 C CNN
-F 1 "100" H 1900 3550 50 0000 C CNN
-F 2 "" H 2100 3600 60 0001 C CNN
-F 3 "" H 2100 3600 60 0001 C CNN
- 1 2100 3600
- 0 1 1 0
-$EndComp
-$Comp
-L DC v1
-U 1 1 541D1357
-P 1900 2900
-F 0 "v1" H 1700 3000 60 0000 C CNN
-F 1 "DC" H 1700 2850 60 0000 C CNN
-F 2 "R1" H 1600 2900 60 0000 C CNN
-F 3 "" H 1900 2900 60 0001 C CNN
- 1 1900 2900
- 1 0 0 -1
-$EndComp
-$Comp
-L aswitch U1
-U 1 1 56669B8A
-P 4600 1100
-F 0 "U1" H 5050 1400 60 0000 C CNN
-F 1 "aswitch" H 5050 1300 60 0000 C CNN
-F 2 "" H 5050 1200 60 0000 C CNN
-F 3 "" H 5050 1200 60 0000 C CNN
- 1 4600 1100
- -1 0 0 1
-$EndComp
-$Comp
-L aswitch U2
-U 1 1 56669DB5
-P 6400 1350
-F 0 "U2" H 6850 1650 60 0000 C CNN
-F 1 "aswitch" H 6850 1550 60 0000 C CNN
-F 2 "" H 6850 1450 60 0000 C CNN
-F 3 "" H 6850 1450 60 0000 C CNN
- 1 6400 1350
- 1 0 0 -1
-$EndComp
-Connection ~ 4600 900
-Wire Wire Line
- 4600 1250 4600 900
-Wire Wire Line
- 1900 1750 1500 1750
-Connection ~ 6300 4900
-Wire Wire Line
- 6300 3400 6300 4900
-Connection ~ 3950 4900
-Wire Wire Line
- 3950 2850 3950 4900
-Connection ~ 2700 4050
-Wire Wire Line
- 2700 3300 2700 4050
-Wire Wire Line
- 2150 3300 2700 3300
-Connection ~ 3300 4900
-Wire Wire Line
- 7450 4900 7450 700
-Connection ~ 3700 4050
-Wire Wire Line
- 6050 4050 6050 3150
-Wire Wire Line
- 6050 2400 6050 2500
-Wire Wire Line
- 3700 1250 3750 1250
-Wire Wire Line
- 3700 1400 3700 1250
-Wire Wire Line
- 3700 2850 3700 2600
-Connection ~ 2750 4050
-Wire Wire Line
- 2750 4050 2750 4150
-Wire Wire Line
- 1900 3350 1900 3550
-Wire Wire Line
- 1900 2450 1900 1750
-Wire Wire Line
- 1900 4050 1900 3650
-Wire Wire Line
- 3300 4050 3300 4200
-Wire Wire Line
- 3700 3150 3700 4050
-Connection ~ 3300 4050
-Wire Wire Line
- 3700 2500 3700 2300
-Wire Wire Line
- 6050 1200 6050 1500
-Wire Wire Line
- 6400 1200 6050 1200
-Wire Wire Line
- 6050 2800 6050 3050
-Wire Wire Line
- 2750 4450 2750 4900
-Wire Wire Line
- 3300 4500 3300 4900
-Connection ~ 7450 1400
-Wire Wire Line
- 2150 4900 2150 3900
-Wire Wire Line
- 2150 4900 7450 4900
-Connection ~ 2750 4900
-Wire Wire Line
- 4450 2250 3950 2250
-Wire Wire Line
- 4450 4050 4450 2250
-Connection ~ 4450 4050
-Wire Wire Line
- 6650 2800 6300 2800
-Wire Wire Line
- 6650 4050 6650 2800
-Connection ~ 6050 4050
-Wire Wire Line
- 1550 900 7250 900
-Wire Wire Line
- 1400 4050 6650 4050
-Connection ~ 1900 4050
-Wire Wire Line
- 7450 700 4150 700
-Wire Wire Line
- 4150 700 4150 1000
-Wire Wire Line
- 6850 1450 7350 1450
-Wire Wire Line
- 7350 1450 7350 1400
-Wire Wire Line
- 7350 1400 7450 1400
-Wire Wire Line
- 7250 900 7250 1200
-$Comp
-L R R1
-U 1 1 5666A886
-P 2700 4250
-F 0 "R1" H 2750 4380 50 0000 C CNN
-F 1 "1" H 2750 4300 50 0000 C CNN
-F 2 "" H 2750 4230 30 0000 C CNN
-F 3 "" V 2750 4300 30 0000 C CNN
- 1 2700 4250
- 0 1 1 0
-$EndComp
-$Comp
-L D D1
-U 1 1 5666A9A7
-P 3700 3000
-F 0 "D1" H 3700 3100 50 0000 C CNN
-F 1 "D" H 3700 2900 50 0000 C CNN
-F 2 "" H 3700 3000 60 0000 C CNN
-F 3 "" H 3700 3000 60 0000 C CNN
- 1 3700 3000
- 0 1 1 0
-$EndComp
-$Comp
-L D D2
-U 1 1 5666A9E4
-P 6050 2650
-F 0 "D2" H 6050 2750 50 0000 C CNN
-F 1 "D" H 6050 2550 50 0000 C CNN
-F 2 "" H 6050 2650 60 0000 C CNN
-F 3 "" H 6050 2650 60 0000 C CNN
- 1 6050 2650
- 0 -1 -1 0
-$EndComp
-$EndSCHEMATC
diff --git a/Examples/Diac_Triac/triac.sub b/Examples/Diac_Triac/triac.sub
deleted file mode 100644
index 760908b0..00000000
--- a/Examples/Diac_Triac/triac.sub
+++ /dev/null
@@ -1,32 +0,0 @@
-* Subcircuit triac
-.subckt triac 8 11 10
-* /opt/esim/src/subcircuitlibrary/triac/triac.cir
-.include PowerDiode.lib
-* f3
-v3 7 2 dc 0
-* f2
-v2 6 3 dc 0
-c1 8 9 10u
-* f1
-v1 10 4 dc 0
-* u1 9 11 6 aswitch
-* u2 9 2 11 aswitch
-r1 8 9 1
-d1 5 8 PowerDiode
-d2 1 7 PowerDiode
-Vf3 1 8 0
-f3 8 9 Vf3 10
-Vf2 3 5 0
-f2 8 9 Vf2 10
-Vf1 4 8 0
-f1 8 9 Vf1 100
-a1 9 (11 6) u1
-a2 9 (2 11) u2
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u1 aswitch(log=TRUE cntl_off=0.1 cntl_on=1 r_on=0.0125 r_off=1000000 )
-* Schematic Name: aswitch, NgSpice Name: aswitch
-.model u2 aswitch(log=TRUE cntl_off=-0.1 cntl_on=-1 r_on=0.0125 r_off=1000000 )
-
-* Control Statements
-
-.ends triac
diff --git a/Examples/Diac_Triac/triac_Previous_Values.xml b/Examples/Diac_Triac/triac_Previous_Values.xml
deleted file mode 100644
index 80da52b3..00000000
--- a/Examples/Diac_Triac/triac_Previous_Values.xml
+++ /dev/null
@@ -1 +0,0 @@
-<KicadtoNgspice><source><v3 name="Source type">dc<field1 name="Value">0</field1></v3><v2 name="Source type">dc<field1 name="Value">0</field1></v2><v1 name="Source type">dc<field1 name="Value">0</field1></v1></source><model><u1 name="type">aswitch<field1 name="Enter Log (default=TRUE)" /><field2 name="Enter Control OFF value (default=0.0)">0.1</field2><field3 name="Enter OFF Resistance (default=1.0e12)">1000000</field3><field4 name="Enter ON Resistance (default=1.0)">0.0125</field4><field5 name="Enter Control ON value(default=1.0)">1</field5></u1><u2 name="type">aswitch<field6 name="Enter Log (default=TRUE)" /><field7 name="Enter Control OFF value (default=0.0)">-0.1</field7><field8 name="Enter OFF Resistance (default=1.0e12)">1000000</field8><field9 name="Enter ON Resistance (default=1.0)">0.0125</field9><field10 name="Enter Control ON value(default=1.0)">-1</field10></u2></model><devicemodel><d2><field>/opt/eSim/src/deviceModelLibrary/Diode/PowerDiode.lib</field></d2><d1><field>/opt/eSim/src/deviceModelLibrary/Diode/PowerDiode.lib</field></d1></devicemodel><subcircuit /><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 Name" /><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></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file