Blame view

MOD_WEB_EXAMPLES/SPICE/Coax_Gnd_EField_Ngspice.lib 10.6 KB
c93c152d   Steve Greedy   UPDATE MOD Downloads
1
2
3
4
5
6
* Ngspice multi-conductor transmission line model
*
* Created by SACAMOS (State-of-the-Art CAble MOdels for Spice) 
* Spice cable model builder v4.0.0
* www.sacamos.org
*
a4086fdd   Steve Greedy   Add Example MOD
7
8
9
10
11
12
*
* Transmission line subcircuit
*
*
* End 1 nodes:
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
13
14
15
* node:  4 Conductor number   1.  Cable name: coaxial_cable_02. type: coax. conductor 1 : Inner wire
* node:  5 Conductor number   2.  Cable name: coaxial_cable_02. type: coax. conductor 2 : Shield
* node:  6 Conductor number   3.  Cable name: ground plane. type: ground_plane. conductor 1 : ground plane
a4086fdd   Steve Greedy   Add Example MOD
16
17
18
*
* End 2 nodes:
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
19
20
21
* node:  7 Conductor number   1.  Cable name: coaxial_cable_02. type: coax. conductor 1 : Inner wire
* node:  8 Conductor number   2.  Cable name: coaxial_cable_02. type: coax. conductor 2 : Shield
* node:  9 Conductor number   3.  Cable name: ground plane. type: ground_plane. conductor 1 : ground plane
a4086fdd   Steve Greedy   Add Example MOD
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
*
* Incident field function nodes:
*
*      2     3
*
.subckt  Coax_Gnd_EField
+     4     5     6
+     7     8     9
+     2     3
*
* D.C. RESISTANCE END 1
*
Rdc_c1_e1                          4    10    2.201463E-02
Rdc_c2_e1                          5    11    1.830000E-01
Rdc_c3_e1                          6     1    6.100000E-09
*
* D.C. RESISTANCE END 2
*
Rdc_c1_e2                          7    12    2.201463E-02
Rdc_c2_e2                          8    13    1.830000E-01
Rdc_c3_e2                          9     1    6.100000E-09
*
* DOMAIN TRANSFORMATION END 1
*
*
* Domain decomposition Voltage sources used for current sensing
*
Vmeas_domain_decomp_c1_e1         10    16
Vmeas_domain_decomp_c2_e1         11    18
*
* Domain decomposition Voltage controlled voltage sources (domain to conductor)
*
E_domain_decomp_c1_dc1_e1         16    17    14     1    1.000000E+00
E_domain_decomp_c1_dc2_e1         17     1    15     1    1.000000E+00
E_domain_decomp_c2_dc1_e1         18    19    14     1   -0.000000E+00
E_domain_decomp_c2_dc2_e1         19     1    15     1    1.000000E+00
*
* Domain decomposition Current controlled current sources (conductor to domain)
*
F_domain_decomp_c1_dc1_e1          1    14 Vmeas_domain_decomp_c1_e1         1.000000E+00
F_domain_decomp_c2_dc1_e1          1    14 Vmeas_domain_decomp_c2_e1         0.000000E+00
F_domain_decomp_c1_dc2_e1          1    15 Vmeas_domain_decomp_c1_e1         1.000000E+00
F_domain_decomp_c2_dc2_e1          1    15 Vmeas_domain_decomp_c2_e1         1.000000E+00
*
* DOMAIN TRANSFORMATION END 2
*
*
* Domain decomposition Voltage sources used for current sensing
*
Vmeas_domain_decomp_c1_e2         12    22
Vmeas_domain_decomp_c2_e2         13    24
*
* Domain decomposition Voltage controlled voltage sources (domain to conductor)
*
E_domain_decomp_c1_dc1_e2         22    23    20     1    1.000000E+00
E_domain_decomp_c1_dc2_e2         23     1    21     1    1.000000E+00
E_domain_decomp_c2_dc1_e2         24    25    20     1   -0.000000E+00
E_domain_decomp_c2_dc2_e2         25     1    21     1    1.000000E+00
*
* Domain decomposition Current controlled current sources (conductor to domain)
*
F_domain_decomp_c1_dc1_e2          1    20 Vmeas_domain_decomp_c1_e2         1.000000E+00
F_domain_decomp_c2_dc1_e2          1    20 Vmeas_domain_decomp_c2_e2         0.000000E+00
F_domain_decomp_c1_dc2_e2          1    21 Vmeas_domain_decomp_c1_e2         1.000000E+00
F_domain_decomp_c2_dc2_e2          1    21 Vmeas_domain_decomp_c2_e2         1.000000E+00
*
* DOMAIN      1
*
*
* Modal Decomposition
*
*
* Modal decomposition Voltage sources used for current sensing
*
Vmeas_mode_decomp_d1_c1_e1        14    27
*
* Modal decomposition Voltage controlled voltage sources (mode to conductor)
*
E_mode_decomp_d1_c1_m1_e1         27     1    26     1    1.00000000E+00
*
* Modal decomposition Current controlled current sources (conductor to mode)
*
F_mode_decomp_d1_c1_m1_e1          1    26 Vmeas_mode_decomp_d1_c1_e1        1.00000000E+00
*
* Modal decomposition Voltage sources used for current sensing
*
Vmeas_mode_decomp_d1_c1_e2        20    29
*
* Modal decomposition Voltage controlled voltage sources (mode to conductor)
*
E_mode_decomp_d1_c1_m1_e2         29     1    28     1    1.00000000E+00
*
* Modal decomposition Current controlled current sources (conductor to mode)
*
F_mode_decomp_d1_c1_m1_e2          1    28 Vmeas_mode_decomp_d1_c1_e2        1.00000000E+00
*
* Modal impedance: end1
*
RZCm_d1_m1_e1                     26    30    4.848574E+01
*
* Modal impedance: end2
*
RZCm_d1_m1_e2                     28    31    4.848574E+01
*
* Modal frequency dependent voltage controlled voltage source : end1
*
E_m_d1_m1_e1                      30     1    32     1    1.000000E+00
*
* Modal frequency dependent voltage controlled voltage source : end2
*
E_m_d1_m1_e2                      31     1    33     1    1.000000E+00
*
* Delay line for positive z propagation
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
136
137
O_T_pz_d1_m1_e1                     33     1    34     1 LTRA_T_pz_d1_m1_e1                 
.MODEL LTRA_T_pz_d1_m1_e1                  LTRA( R=0.0 L=    2.505526E-07 C=    1.065788E-10 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
138
139
140
*
* Delay line for negative z propagation
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
141
142
O_T_mz_d1_m1_e2                     32     1    35     1 LTRA_T_mz_d1_m1_e2                 
.MODEL LTRA_T_mz_d1_m1_e2                  LTRA( R=0.0 L=    2.505526E-07 C=    1.065788E-10 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
*
* Modal impedances on modal positive z propagation delay lines
*
RZC_pz_d1_m1_e1                   33     1    4.848574E+01
*
* Modal impedances on modal negative z propagation delay lines
*
RZC_mz_d1_m1_e2                   32     1    4.848574E+01
*
* Delay line frequency dependent controlled sources for positive z propagation
*
E_m_pz_d1_m1_e1                   34    36    26     1    2.000000E+00
E_m_pz_d1_m1_e2                   36     1    30     1   -1.000000E+00
*
* Delay line frequency dependent controlled sources for negative z propagation
*
E_m_mz_d1_m1_e1                   35    37    28     1    2.000000E+00
E_m_mz_d1_m1_e2                   37     1    31     1   -1.000000E+00
*
* DOMAIN      2
*
*
* Modal Decomposition
*
*
* Modal decomposition Voltage sources used for current sensing
*
Vmeas_mode_decomp_d2_c1_e1        15    39
*
* Modal decomposition Voltage controlled voltage sources (mode to conductor)
*
E_mode_decomp_d2_c1_m1_e1         39     1    38     1    1.00000000E+00
*
* Modal decomposition Current controlled current sources (conductor to mode)
*
F_mode_decomp_d2_c1_m1_e1          1    38 Vmeas_mode_decomp_d2_c1_e1        1.00000000E+00
*
* Modal decomposition Voltage sources used for current sensing
*
Vmeas_mode_decomp_d2_c1_e2        21    41
*
* Modal decomposition Voltage controlled voltage sources (mode to conductor)
*
E_mode_decomp_d2_c1_m1_e2         41     1    40     1    1.00000000E+00
*
* Modal decomposition Current controlled current sources (conductor to mode)
*
F_mode_decomp_d2_c1_m1_e2          1    40 Vmeas_mode_decomp_d2_c1_e2        1.00000000E+00
*
* Modal impedance: end1
*
RZCm_d2_m1_e1                     38    44    1.980799E+02
*
* Modal impedance: end2
*
RZCm_d2_m1_e2                     40    45    1.980799E+02
*
* Modal frequency dependent voltage controlled voltage source : end1
*
E_m_d2_m1_e1                      44    42    46     1    1.000000E+00
*
* Modal frequency dependent voltage controlled voltage source : end2
*
E_m_d2_m1_e2                      45    43    47     1    1.000000E+00
*
* Delay line for positive z propagation
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
210
211
O_T_pz_d2_m1_e1                     47     1    48     1 LTRA_T_pz_d2_m1_e1                 
.MODEL LTRA_T_pz_d2_m1_e1                  LTRA( R=0.0 L=    6.607234E-07 C=    1.683988E-11 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
212
213
214
*
* Delay line for negative z propagation
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
215
216
O_T_mz_d2_m1_e2                     46     1    49     1 LTRA_T_mz_d2_m1_e2                 
.MODEL LTRA_T_mz_d2_m1_e2                  LTRA( R=0.0 L=    6.607234E-07 C=    1.683988E-11 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
*
* Modal impedances on modal positive z propagation delay lines
*
RZC_pz_d2_m1_e1                   47     1    1.980799E+02
*
* Modal impedances on modal negative z propagation delay lines
*
RZC_mz_d2_m1_e2                   46     1    1.980799E+02
*
* Delay line frequency dependent controlled sources for positive z propagation
*
E_m_pz_d2_m1_e1                   48    50    38     1    2.000000E+00
E_m_pz_d2_m1_e2                   50     1    44     1   -1.000000E+00
*
* Delay line frequency dependent controlled sources for negative z propagation
*
E_m_mz_d2_m1_e1                   49    51    40     1    2.000000E+00
E_m_mz_d2_m1_e2                   51     1    45     1   -1.000000E+00
*
* START OF INCIDENT FIELD EXCITATION MODELS
*
*
* Incident field delay lines, Tz delay
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
241
242
O_T_Tz_Einc                         53     1    54     1 LTRA_T_Tz_Einc                     
.MODEL LTRA_T_Tz_Einc                      LTRA( R=0.0 L=    8.339102E-08 C=    3.335641E-11 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
243
244
245
246
247
248
249
250
251
252
253
*
* Matched impedance: Tz delay
*
RZC_Tz_Einc                       54     1    0.500000E+02
*
* Delay line controlled sources Tz delay
*
E1_Tz_Einc                        53     1     2     3    0.100000E+01
*
* Delay line Tz+T_victim(v_mode)
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
254
255
O_T_TzPTv_EINC_vm_1                 55     1    56     1 LTRA_T_TzPTv_EINC_vm_1             
.MODEL LTRA_T_TzPTv_EINC_vm_1              LTRA( R=0.0 L=    2.501731E-07 C=    1.000692E-10 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
256
257
258
259
260
261
262
263
264
265
266
*
* Matched impedance:  Tz+T_victim(v_mode) delay
*
RZC_TzPTv_EINC_vm_1               56     1    0.500000E+02
*
* Incident field delay line controlled source:  Tz+T_victim(v_mode) delay
*
E1_TzPTv_EINC_vm_1                55     1     2     3    0.100000E+01
*
* Incident field delay line T_victim(v_mode)
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
267
268
O_T_Tv_EINC_vm_1                    57     1    58     1 LTRA_T_Tv_EINC_vm_1                
.MODEL LTRA_T_Tv_EINC_vm_1                 LTRA( R=0.0 L=    1.667820E-07 C=    6.671282E-11 LEN=    1.220000E+00 )
a4086fdd   Steve Greedy   Add Example MOD
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
*
* Matched impedance T_victim(v_mode) delay
*
RZC_Tv_EINC_vm_1                  58     1    0.500000E+02
*
* Controlled source for T_victim(v_mode) delay
*
E1_Tv_EINC_vm_1                   57     1     2     3    0.100000E+01
*
* Circuit to combine incident field excitation terms
*
E_zt_dsum_s_EINC_vm_1_E1          59     1     2     3    0.299883E-01
E_zt_dsum_s_EINC_vm_1_E2          60    59    56     1   -0.299883E-01
E_zt_dsum_l_EINC_vm_1_E1          61     1    58     1   -0.318364E-02
E_zt_dsum_l_EINC_vm_1_E2          62    61    54     1    0.318364E-02
*
* Large resistance to complete the circuit for the series voltage sources
*
c93c152d   Steve Greedy   UPDATE MOD Downloads
287
288
R_Einc_dsum_l_EINC_vm_1           62     1    0.100000E+01
R_Einc_dsum_s_EINC_vm_1           60     1    0.100000E+01
a4086fdd   Steve Greedy   Add Example MOD
289
290
291
292
293
294
295
296
297
298
299
*
* Incident field excitation sources, end 1
*
E_Einc_s_EINC_vm_1                42     1    60     1    1.000000E+00
*
* Incident field excitation sources, end 2
*
E_Einc_l_EINC_vm_1                43     1    62     1    1.000000E+00
*
.ends
*