%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1

21
17 17.2 17.4 17.6 17.8 18 18.2 18.4 18.6 18.8 19 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 frequency:Ghz S cattering coefficient

description

%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; - PowerPoint PPT Presentation

Transcript of %Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1

17 17.2 17.4 17.6 17.8 18 18.2 18.4 18.6 18.8 190

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

frequency: Ghz

Sca

tter

ing

coef

ficie

nt

%Cascade_Vasim_2b format long tic %Set structureVasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix

StructureIndex=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24] %Vasim EPAC08 24cell structure

Frequencies =

1.0e+010 *

1.819200000000000 1.822500000000000 1.825700000000000 1.828700000000000 1.831600000000000 1.834400000000000 1.835000000000000 1.838000000000000 1.841700000000000 1.845100000000000 1.848700000000000 1.853200000000000

ans =

12

Elapsed time is 1311.504384 seconds.

17 17.2 17.4 17.6 17.8 18 18.2 18.4 18.6 18.8 190

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

frequency: Ghz

Sca

tter

ing

coef

ficie

nt

%Cascade_Vasim_2b format long tic %Set structureVasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix

StructureIndex=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]

Frequencies =

1.0e+010 *

1.754200000000000 1.754700000000000 1.755600000000000 1.756800000000000 1.758300000000000 1.760200000000000 1.762400000000000 1.765000000000000 1.768000000000000 1.771300000000000 1.774900000000000 1.778900000000000 1.783200000000000 1.787800000000000 1.792700000000000 1.797700000000000 1.802800000000000 1.807900000000000 1.812800000000000 1.817400000000000 1.821300000000000 1.824300000000000 1.826100000000000 1.826700000000000

ans =

24

Elapsed time is 715.705902 seconds.

17 17.2 17.4 17.6 17.8 18 18.2 18.4 18.6 18.8 190

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

frequency: Ghz

Sca

tter

ing

coef

ficie

nt

%Cascade_Vasim_2b format long tic %Set structureVasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix

StructureIndex=[1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4]

Frequencies =

1.0e+010 *

1.764300000000000 1.764700000000000 1.765300000000000 1.766100000000000 1.766800000000000 1.769700000000000 1.774700000000000 1.776400000000000 1.778700000000000 1.781400000000000 1.784200000000000 1.789500000000000 1.793300000000000 1.797100000000000 1.800300000000000 1.801300000000000 1.805700000000000 1.810000000000000 1.813300000000000 1.819700000000000 1.823500000000000 1.826800000000000 1.829400000000000 1.831100000000000

ans =

24

Elapsed time is 765.604802 seconds.

0 20 40 60 80 100 120 140 160 180

1.275

1.28

1.285

1.29

1.295

1.3

1.305

1.31

1.315

Phase:deg

f:GH

z

Analytical

HFSS Eigen

Old calculation TESLA dispersion curve data

Old calculation – here we are comparing analytical dispersion curve obtained from HFSSv11 S matrix data with linear elements (using intertpolation sweep 1MHz steps) with HFSSv8.5 eigen mode solver zero order elementsThis calculation is post LINAC08 and uses interpolation sweep 17-24GHz sweep meshed at 36GHz, Max Solutions 50, Error 0.5%, Minimum steps 2, Subset 1. Here eigen values from HFSSv8.5 have been extrapolated to the infinite mesh values

S matrix f0 : GHz HFSSv11 eigen f0: GHz

Max error: MHz

1.283 1.2769 6.1

Tesla_Mono_S_Dispersion_2 clear allclose all format long tic ModeLook=1 %HFSSLibary=['Linac08_TeslaMid_S_Mono']%HFSSLibary=['Linac08_TeslaMid_S_Mono_renormalised']%%HFSSLibary=['Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix']%HFSSLibary=['Linac08_TeslaMid_S_Mono_3_Renormalise_Fix']HFSSLibary=['Tesla_Cavity_MidCellM_S_Sweep_Mono_Int_Fix']

0 20 40 60 80 100 120 140 160 1801.28

1.285

1.29

1.295

1.3

1.305

1.31

Phase:deg

f:GH

z

Analytical

HFSS Eigen

New TESLA dispersion curve data rough calculation

New calculation – here we are comparing analytical dispersion curve obtained from HFSSv11 S matrix data with linear elements (using intertpolation sweep 1MHz steps) with HFSSv11 eigen mode solver using linear elementsThis calculation is post LINAC08 and uses interpolation sweep 17-24GHz sweep meshed at 36GHz, Max Solutions 50, Error 0.5%, Minimum steps 2, Subset 1.

Max error at f0 of 0.7MHz

Note eigen mode values are taken as is from HFSSv11 – these are not the infinite mesh values…

S matrix f0 : GHz HFSSv11 eigen f0: GHz

Max error: MHz

1.283 1.2837 0.7

%Tesla_Mono_S_Dispersion_3_HFSSv11eigen clear allclose all format long tic ModeLook=1 %HFSSLibary=['Linac08_TeslaMid_S_Mono']%HFSSLibary=['Linac08_TeslaMid_S_Mono_renormalised']%%HFSSLibary=['Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix']%HFSSLibary=['Linac08_TeslaMid_S_Mono_3_Renormalise_Fix']HFSSLibary=['Tesla_Cavity_MidCellM_S_Sweep_Mono_Int_Fix']

0 20 40 60 80 100 120 140 160 18011.84

11.86

11.88

11.9

11.92

11.94

11.96

11.98

12

Phase:deg

f:GH

z

Smatrix

HFSSKN7c

New WNW dispersion curve data Vasim CLIC cell (Post LINAC08)

New calculation – here we are comparing analytical dispersion curve obtained from using KN7c, The analytical S matrix calculation and the eigen mode solution from HFSSv11 using linear elements.

Max error at f0 of 0.7MHz

Note eigen mode values have been extrapolated to infinite mesh values

HFSSv11 eigen fpi: GHz

KN7c fpi:GHz S matrix fpi: GHz Max range error: MHz

11.9818 11.9828 11.984 2.2

HFSSv11 eigen f0: GHz KN7c f0:GHz S matrix f0: GHz Max range error: MHz

11.853 11.8548 11.853 1.8

%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS3 clear allclose all fignow=1; filter=0 uo=4*pi*(1E-7)eo=8.854*(1E-12)c2=1/sqrt(uo*eo)c=2.99792458*1e8 %Z0=1Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transitionmmode=10%46 %setup number of modes in narrow region for a WN transition ModeLook=1 aaT=2.6191/1000bbT=9.7832/1000 ggT=3.564797/1000ttT=0.6010/1000 L=(ttT+ggT+ggT+ttT)/2 rpoint=0 fstart=11.853e9%11.7e9fend=11.984e9fstep=1e6 nfstep=round((fend-fstart)/fstep)+1

0 20 40 60 80 100 120 140 160 18011.84

11.86

11.88

11.9

11.92

11.94

11.96

11.98

12

Phase:deg

f:GH

z

Smatrix AnalyticalHFSSv11 EigenKN7cSmatrix HFSSv11

New WNW dispersion curve data Vasim CLIC cell – HFSS S matrix data and eigen mode at infinite

mesh

%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS4 clear allclose all HFSSLibary=['LINAC08_S_Matrix_Dispersion_DiscreteRoughFix'] ModeLook=1 fignow=1; filter=0 uo=4*pi*(1E-7)eo=8.854*(1E-12)c2=1/sqrt(uo*eo)c=2.99792458*1e8 %Z0=1Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transitionmmode=10%46 %setup number of modes in narrow region for a WN transition

0 20 40 60 80 100 120 140 160 18011.8

11.82

11.84

11.86

11.88

11.9

11.92

11.94

11.96

11.98

12

Phase:deg

f:GH

z

Smatrix AnalyticalHFSSv11 EigenKN7cSmatrix HFSSv11

New WNW dispersion curve data Vasim CLIC cell – HFSS S matrix data and eigen mode raw data

%HFSSv11Phase_HFSS=[0,30,60,90,120,150,180]f_HFSS=[11.851,11.86,11.8836,11.9153,11.9448,11.9710,11.9796] %HFSSv11 infinite%%Phase_HFSS=[0,30,60,90,120,150,180]%%f_HFSS=[11.853,11.862,11.885,11.9175,11.9500,11.9725,11.9818]

0 20 40 60 80 100 120 140 160 18011.8

11.82

11.84

11.86

11.88

11.9

11.92

11.94

11.96

11.98

12

Phase:deg

f:GH

z

Smatrix AnalyticalKN7cHFSSv85 eigenHFSSv85 eigen infitityHFSSv11 eigenHFSSv11 eigen infinitySmatrix HFSSv11

%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS5 clear allclose all HFSSLibary=['LINAC08_S_Matrix_Dispersion_DiscreteRoughFix'] ModeLook=1 fignow=1; filter=0 uo=4*pi*(1E-7)eo=8.854*(1E-12)c2=1/sqrt(uo*eo)c=2.99792458*1e8 %Z0=1Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transitionmmode=10%46 %setup number of modes in narrow region for a WN transition