ALOHA EXAMPLE description of an LH antenna This file describes a Passive Active antenna (not necessary a multijunction) INPUT : none OUTPUT - antenna_lh <structure> : ALOHA antenna description (Matlab ITM CPO antenna_lh)
0001 function antenna_lh = antenna_ITM 0002 % ALOHA EXAMPLE description of an LH antenna 0003 % 0004 % 0005 % This file describes a Passive Active antenna (not necessary a multijunction) 0006 % 0007 % 0008 % 0009 % INPUT : none 0010 % 0011 % OUTPUT 0012 % - antenna_lh <structure> : ALOHA antenna description (Matlab ITM CPO antenna_lh) 0013 % 0014 % 0015 0016 % This file contains the description of an LH antenna according to the ITM 0017 % defition, i.e. using the CPO antenna_lh format. 0018 % 0019 % An LH antenna is defined as the following : 0020 % - general description 0021 % - modules description 0022 % - waveguides description (dimensions, etc.) 0023 % All the parameters are described in the (poloidal,toroidal)=(theta,phi) frame. 0024 0025 %% -------------------------------------- 0026 %% General description of the antenna 0027 %% -------------------------------------- 0028 % Antenna name 0029 antenna_lh.name = 'EAST 4.6GHz multijunction (only one module row in poloidal)'; 0030 0031 % Frequency [Hz] 0032 antenna_lh.frequency = 4.6e9; 0033 0034 % Power [W] 0035 antenna_lh.power = []; % not defined here in ALOHA 0036 0037 % Main parallel refractive index of the launched spectrum. 0038 % NB: Optionnal parameter, for information only, since this value depends 0039 % of the antenna-plasma coupling and antenna feeding. 0040 antenna_lh.n_par = 0; 0041 0042 %% ---------------------------------------- 0043 %% Modules description 0044 %% ---------------------------------------- 0045 % Number of modules per antenna in the poloidal direction. 0046 modules.nma_theta = 1; 0047 % Number of modules per antenna in the toroidal direction. 0048 modules.nma_phi = 6; 0049 0050 % Position index of the module in the poloidal direction (from low theta to high theta, 0051 % i.e. from bottom to top if the antenna is on LFS). 0052 modules.ima_theta = ones(1,modules.nma_phi*modules.nma_theta); % numbering in ALOHA goes from top to bottom as view from the plasma. 0053 0054 % Position index of the module in the toroidal direction (from low phi to high phi, 0055 % counter-clockwise when seen from above). 0056 modules.ima_phi = [modules.nma_phi:-1:1]; % numbering in ALOHA goes from left to right as view from the plasma. 0057 0058 % Spacing between poloidally neighboring modules [m] 0059 modules.sm_theta = 10; 0060 0061 %% ---------------------------------------- 0062 %% Waveguides description 0063 %% ---------------------------------------- 0064 % Number of waveguides per module in the poloidal direction. (passive and active) 0065 waveguides.nwm_theta = 3; 0066 0067 % Number of waveguides per module in the toroidal direction. (passive and active) 0068 waveguides.nwm_phi = 8; 0069 0070 % Mask of passive and active waveguides for an internal module 0071 % 1 for active -- 0 for passive. 0072 waveguides.mask = [1 1 1 1 1 1 1 1]; 0073 0074 % Number of passive waveguide between modules in the toroidal direction. 0075 waveguides.npwbm_phi = 1; 0076 0077 % Number of passive waveguides on each antenna edge in the toroidal direction. 0078 waveguides.npwe_phi = 1; 0079 0080 % Spacing between poloidally neighboring waveguides [m] 0081 waveguides.sw_theta = 6e-3; 0082 0083 % Height of waveguides in the poloidal direction [m] 0084 waveguides.hw_theta = 50e-3; 0085 0086 % Width of active waveguides [m] 0087 waveguides.bwa = 6e-3; 0088 0089 % Width of internal passive waveguides [m] 0090 waveguides.biwp = 6e-3; 0091 0092 % Width of edge passive waveguides [m] 0093 waveguides.bewp = 6e-3; 0094 0095 % Thickness between waveguides in the toroidal direction [m] 0096 % Reminder : length(e_phi) = nma_phi*nwm_phi + (nma_phi - 1)*npwbm_phi + 2*npwe_phi - 1 0097 ep = 2e-3; 0098 ne_phi = waveguides.npwbm_phi*(modules.nma_phi-1) + ... 0099 waveguides.npwe_phi*2 + ... 0100 modules.nma_phi*waveguides.nwm_phi - 1; 0101 waveguides.e_phi = repmat(ep, 1, ne_phi); 0102 0103 % Short circuit length for passive waveguides [m] 0104 % Reminder : length(scl) = nma_phi*npwm_phi + (nma_phi - 1)*npwbm_phi + 2*npwe_phi 0105 nscl = waveguides.npwbm_phi*(modules.nma_phi-1) + ... 0106 waveguides.npwe_phi*2 + ... 0107 sum(not(waveguides.mask))*modules.nma_phi; 0108 waveguides.scl = repmat(1/4, 1, nscl); 0109 0110 %% -------------------------------- 0111 %% Modules Scattering parameters 0112 %% -------------------------------- 0113 % matrice S des modules ds des fichiers .m (NB : la matrice est rangee sur une seule colonne) 0114 modules.Sparameters.pathFrom = pwd; 0115 modules.Sparameters.pathTo = pwd; 0116 0117 0118 filenames = repmat('EAST_Sparam_4dot60',modules.nma_phi,modules.nma_theta); 0119 0120 modules.Sparameters.SFileNames = filenames; 0121 0122 0123 %% Phase deembedding 0124 % These parameters are the phase correction in order to take into account 0125 % the transmission line length between phase measurement and S-matrix description. 0126 % This is only usefull when using input data from experiments. 0127 modules.Sparameters.phase_deembedded = zeros(modules.nma_phi,1); 0128 0129 0130 0131 %% -------------------------------- 0132 %% Other antenna_lh CPO parameters 0133 %% -------------------------------- 0134 %% Not defined here in ALOHA 0135 % Plasma edge characteristics in front of the antenna. 0136 antenna_lh.plasmaedge = []; 0137 0138 % Amplitude of the TE10 mode injected in the module [W], Matrix (nantenna_lh,max_nmodules). Time-dependent 0139 %modules.amplitude = zeros(1, modules.nma_theta*modules.nma_phi)'; 0140 modules.amplitude = sqrt(1/modules.nma_phi)*ones(modules.nma_phi,1); 0141 0142 % Phase of the TE10 mode injected in the module [rd], Matrix (nantenna_lh, max_nmodules). Time-dependent 0143 %modules.phase = zeros(1, modules.nma_theta*modules.nma_phi)'; 0144 modules.phase = (270*pi/180)*(0:modules.nma_phi-1)'; 0145 0146 %% Not used at all in ALOHA - 0147 % Reference global antenna position. Vectors (nantenna_lh). Time-dependent 0148 antenna_lh.position = []; 0149 % Beam characteristics 0150 antenna_lh.beam = []; 0151 0152 0153 %% ------------------------------ 0154 %% DO NOT EDIT UNDER THIS LINE 0155 %% ------------------------------ 0156 % architecture name of the current antenna = its filename 0157 antenna_lh.archName = mfilename; 0158 0159 % % Make the array b which contains all the waveguide width 0160 % % of a row of waveguides 0161 % % Not mandory for ITM CPO antenna_lh, but usefull for ALOHA 0162 % b_module = waveguides.mask.*waveguides.bwa + not(waveguides.mask).*waveguides.biwp; % waveguide width inside a module 0163 % b_edge = repmat(waveguides.bewp, 1, waveguides.npwe_phi); % passive wg width on each side 0164 % b_inter= repmat(waveguides.biwp, 1, waveguides.npwbm_phi); % passive wg width between modules 0165 % 0166 % waveguides.b = [b_edge, kron(ones(1,modules.nma_phi-1),[b_module, b_inter]),b_module, b_edge]; 0167 0168 % Detailed description of LH antennas. 0169 modules.waveguides = waveguides; 0170 setup.modules = modules; 0171 antenna_lh.setup = setup; 0172 0173 0174