DE Marx Model
!
! Rick Spielman 2016-05-18
!
Time-step 2.0e-12
Resolution-time 0.2e-9
End-time 1.0e-6
Number-prints 5
Execute-cycles all
Grids no
Echo-setup no
Max-points 5001
!
!Start circuit definition
!
! Rev 2 Marx switch losses and accurate water line parameters
! Gas switch dimensions from drawings
!
! We start with a total Marx capacitance of 100 nF exceeding the CPL capacitance.
! The sub Marx capacitance is 10 nF at a charge voltage of 100 kV.
! We have a 10-nF sub Marx with 28 cap pairs in series and 14 switches.
! We have 10 sub Marxes in parallel.
! Include 130 m indivudual cap ESR or 65 m per pair of caps X 28 stages = 1.82 
! I assume that there will be 200 nH every two stages. L = 200 nH *14 = 2.8 H.
! The matched impedance of the Marx = sqrt(L/C) = 16.7 .
! The ESR amounts to ~ 11% of the matched impedance.
!
! The switch model will have 14x the length of one switch per sub Marx and then will
! have 10 arc channels (sub Marxes) in parallel.
! 
! We will use a total inductance of 350 nH for the Marx and L1. This inductance is needed to 
! get the required rise time of the voltage on the CPL.
! We will terminate the CPL capacitor in a water switch with no losses and have a 0.5  load.
!
! 
!
BRANCH
!
! Capacitor capacitance and charge voltage
!
RCGround 1e+12 100e-9
Initial VC1 2.8e6
UFO VC1
$V_marx
!
! Cap inductance, case & parasitic inductance, and ESR
! ESR = 0.182 for the total Marx
!
RLSeries 0.182 245e-9
!
! Switch resistance - Martin Model and switch inductance - total gap from DWGs
! 0.53 (1.346 cm) gap and 93 psig air
!
! Initial switch resistance was chosen to be higher than that printed in the first
! few time steps so as to appear monotonically decreasing in R plots
! A careful few runs sowed that 10 G looked best. In any event by 1 ns all of the 
! resistance values are the same.
!
RLSeries 10e9 35e-9
Var R2 Switch
!dielectric switchtime gap      pressure     nswitch  nchannels
AIR         0.0        0.1884   7.3          10       1
UFO IR2
$I_marx
UFO R2
$R_switch
UFO ER2
$E_switch
UFO QR2
$Q_switch
!
! Output TL header inducatance
!
RLSeries 0.00 100e-9
!
! Line 1 (CPL), 60 nF, 85 ns, 1.4 
!
TRLine LIN 85e-09 1.4 1.4
UFO VOUT
$V_CPL_out
UFO IOUT
$I_CPL_out
UFO POUT
$P_CPL_out
UFO EOUT
$E_CPL_out
!
! CPL Output water switches
! 5 output switches, 4.75 gap
!
RLSeries 10e9 10e-9
Var R2 Switch
!dielectric switchtime gap      pressure     nswitch  nchannels
H2O         355e-09    0.12     1.0          5        1
UFO IR2
$I_CPL_SW
UFO R2
$R_CPL_sw
UFO ER2
$E_CPL_sw
UFO QR2
$Q_CPL_sw
!
! Line 2 (PFL), 40 nF, 50 ns, 1.3 
!
TRLine LIN 50e-09 1.3 1.3
UFO VIN
$V_PFL_in
UFO VOUT
$V_PFL_out
UFO IOUT
$I_PFL_out
UFO POUT
$P_PFL_out
UFO EOUT
$E_PFL_out
!
! PFL Output water switch
!
RLSeries 1e+12 10e-09
VARiable R2 DECay-model
!Ropen Rclosed tswitch tdecay
1e+12  1e-3    500e-9  25e-12
UFO IR2
$I_PFLswitch
!
!
! Output Line (OL), 40 nF, 95 ns, 1.3  - 1.9 
!
TRLine LIN 95e-09 1.3 1.9
UFO VIN
$V_OL_in
UFO VOUT
$V_OL_out
UFO IOUT
$I_OL_out
UFO POUT
$P_OL_out
UFO EOUT
$E_OL_out
!
! Load resistance
!
RCGround 1.9 0.0
UFO IR1
$I_load
UFO VR1
$V_load
UFO PR1
$P_load
UFO ER1
$E_load
!
! End circuit
!