Electron beam diode test
!
TIME-STEP          0.05E-9
RESOLUTION-TIME    1.0E-9
END-TIME           2E-6
NUMBER-PRINTS      5
EXECUTE-CYCLES     ALL
Grids              no
ECHO               NO	
MAX-POINTS         8001
!
!
!
! 2016-06-29   Rick Spielman
!
!  A water line driver for brems applications.
!
!  MARX: A fast Marx with 32 stages using the GA FMG cap
!     32 x 1.5 F
!
!  IS: A 3 Ohm IS, 60 ns long
!
!  electron beam diode: use var resistor
!
!
BRANCH
RCG     1E12    46.9E-9
INITIAL   VC1    -2.37E6
UFO VC1
$V_MARX
UFO EC1
$E_Marx
!
!    Marx inductance and ESR
!    32 x the single capacitor value
!    20 nH and 50 mOhm
!
RLS  0.640  640E-9
!
!   Marx switch resistance and inductance
!   16 x 10 mOhm, 16 x 10 nH
!
RLS  0.16  160E-9
UFO IR2
$I_Marx
!
!    The parallel Marx resistance
!
RCG  100.0  0
UFO VR1
$V_Marx_out
!
!     Marx connection inductance
!
RLS  0  0
!
!  **************** INTERMEDIATE STORE **************
!                      3 Ohm, 30 ns long
!
Trline Lin 30e-9 3
UFO Vout
$V_IS_out
UFO Eout
$E_IS_out
!
!  **************** IS Gas Switch ***********************
!
RLSeries 1e12 50e-9
Variable R2 Decay
1e6 0.1 245e-9 1e-9
UFO IR2
$I_Switch
!
! Output Water line
!
TRLine Lin 100e-9 3.0
UFO Vout
$V_TLout
UFO Iout
$I_TLout
UFO Pout
$P_TLout
!
! Load Resistance
!
RCGround 1e6 0.0
VARiable R1 EDIode
!Diode_type Gap  Enhancement Velocity Router   (Rinner)
2                     2e-2 1.0                     1.0e4         1.25e-2
!
UFO R1
$Z_diode
UFO IR1
$I_Diode
UFO VR1
$V_Diode
UFO PR1
$P_Diode
UFO ER1
$E_Diode
!