-
Notifications
You must be signed in to change notification settings - Fork 53
/
parameters.m
72 lines (55 loc) · 3.91 KB
/
parameters.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
%%%% DeepMIMO parameters set %%%%
% A detailed description of the parameters is available on DeepMIMO.net
%Ray-tracing scenario
params.scenario = 'O1_60'; % The adopted ray tracing scenario [check the available scenarios at https://deepmimo.net/scenarios/]
%Dynamic Scenario Scenes [only for dynamic (multiple-scene) scenarios]
params.scene_first = 1;
params.scene_last = 1;
% Active base stations
params.active_BS = [1]; % Includes the numbers of the active BSs (values from 1-18 for 'O1')(check the scenario description at https://deepmimo.net/scenarios/ for the BS numbers)
% Active users
params.active_user_first = 1; % The first row of the considered user section (check the scenario description for the user row map)
params.active_user_last = 44; % The last row of the considered user section (check the scenario description for the user row map)
% Subsampling of active users
%--> Setting both subsampling parameters to 1 activate all the users indicated previously
params.row_subsampling = 1; % Randomly select round(row_subsampling*(active_user_last-params.active_user_first)) rows
params.user_subsampling = 1; % Randomly select round(user_subsampling*number_of_users_in_row) users in each row
% Antenna array dimensions
params.num_ant_BS = [8, 1]; % Horizontal - Vertical
params.num_ant_UE = [1, 1]; % Horizontal - Vertical
params.FoV_ant_BS = [180, 180]; % Degrees in horizontal-vertical Max- 360 180
params.FoV_ant_UE = [360, 180]; % Degrees in horizontal-vertical
% Antenna array orientations
params.array_rotation_BS = [0, -45, 0];
params.array_rotation_UE = [0, 0, 0];
% 3D rotation angles in degrees around the x,y,z axes respectively
% The rotations around x,y,z are also called as slant, downtilt, and bearing angles (of an antenna towards +x)
% The origin of these rotations is the position of the first BS antenna element
% The rotation sequence applied: (a) rotate around z-axis, then (b) rotate around y-axis, then (c) rotate around x-axis.
% To define different orientations for the active BSs, add multiple rows..
% Example: For two active BSs with different array orientations, you can define
% params.array_rotation_BS = [[10, 30, 45]; [0, 30, 0]];
% User antenna orientation settings
% For uniform random selection in
% [x_min, x_max], [y_min, y_max], [z_min, z_max]
% set [[x_min, x_max]; [y_min, y_max]; [z_min, z_max]]
% params.array_rotation_UE = [[0, 30]; [30, 60]; [60, 90]];
% Antenna array spacing
params.ant_spacing_BS = .5; % ratio of the wavelength; for half wavelength enter .5
params.ant_spacing_UE = .5; % ratio of the wavelength; for half wavelength enter .5
% Antenna element radiation pattern
params.radiation_pattern = 0; % 0: Isotropic and
% 1: Half-wave dipole
% System parameters
params.bandwidth = 0.05; % The bandwidth in GHz
params.activate_RX_filter = 1; % 0 No RX filter
% 1 Apply RX low-pass filter (ideal: Sinc in the time domain)
% Channel parameters # Activate OFDM
params.generate_OFDM_channels = 1; % 1: activate frequency domain (FD) channel generation for OFDM systems
% 0: activate instead time domain (TD) channel impulse response generation for non-OFDM systems
params.num_paths = 25; % Maximum number of paths to be considered (a value between 1 and 25), e.g., choose 1 if you are only interested in the strongest path
% OFDM parameters
params.num_OFDM = 512; % Number of OFDM subcarriers
params.OFDM_sampling = [1]; % The constructed channels will be calculated only at the sampled subcarriers (to reduce the size of the dataset)
params.enable_Doppler = 0; % Enable Doppler shift (if available in the scenario)
params.dual_polar = 0; % Enable cross dual-polar antenna (if available in the scenario)