OFDM 5GΒΆ

  1# In this example we simulate a 5G signal.
  2# 
  3# We model the DL of a frame with a TDD slot format 57, DDDDFFUDDDDFFU,
  4# with 30kHz subcarrier spacing, using 2100 subcarriers with 4-PSK.
  5# 
  6# In each drop, 2 time slots are transmitted.
  7# 
  8# An LDPC code with rate R=1/2 and block length 256 is considered.
  9# 
 10# MIMO (SM) with 2x2 antennas is considered.
 11# 
 12# A 5G-TDL channel model type E, with 100 ns rms delay spread is considered.
 13# Velocity is 10ms with carrier frequency 3GHz.
 14
 15!<Simulation>
 16
 17# Physical device models within the simulated scenario
 18Devices:
 19
 20  # Representation of a single (virtual) device
 21  - &device_alpha !<SimulatedDevice>
 22
 23    carrier_frequency: 3e9               # Center frequency of Rf-band emitted signal
 24    
 25    antennas: !<SimulatedUniformArray>   # Uniform antenna array
 26      
 27      element: !<SimulatedIdealAntenna>  # Assume ideal isotropic antennas
 28      spacing: 10e-2                     # Elements spaced 10cm apart
 29      dimensions: [2, 1, 1]              # 2 elements within the array
 30
 31
 32# Specify channel models interconnecting devices 
 33Channels:
 34
 35  - # 5G TDL model at the self-interference channel of device_alpha
 36    - *device_alpha
 37    - *device_alpha
 38    - &channel !<5GTDL>
 39      model_type: !<TDLType> E           # Type of the TDL model. A-E are available
 40      rms_delay: 100e-9                  # Root mean square delay in seconds    
 41
 42
 43# Operators transmitting or receiving signals over the devices
 44Operators:
 45
 46  # A single modem operating the device #0
 47  - &modem_alpha !<Modem>
 48
 49    device: *device_alpha          # Device the modem is operating on
 50    reference: *device_alpha       # Reference device to which the channel is estimated
 51
 52    # Bit encoding configuration before mapping to modulation symbols
 53    #Encoding:
 54    #
 55    #  - !<LDPC>
 56    #    block_size: 256
 57    #    rate: [1, 2]
 58
 59    # MIMO configuration on the symbol level
 60    precoding: !<SymbolCoding>
 61
 62      - !<SingleCarrier>       # Spatial Multiplexing
 63
 64    # Configuration of the waveform emitted by this transmitter
 65    waveform: &ofdm !<OFDM>
 66
 67      # Symbol modulation settings
 68      modulation_order: 4               # Modulation order, in other words 1 / subcarrier / subsymbol
 69      subcarrier_spacing: 30e3          # Spacing between the individual subcarrier center frequencies in Hz
 70      dc_suppression: False             # Do not ignore the DC component during the DFT
 71      num_subcarriers: 4096             # Number of subcarriers per communiction frame
 72      channel_estimation: !<OFDM-Ideal> # Assume ideal channel state information at the receiver
 73        channel: *channel
 74        transmitter: *device_alpha
 75        receiver: *device_alpha
 76      channel_equalization: !<ZF>       # Least-squares channel equalization
 77
 78      # OFDM symbol resources, each resource represents one symbol's subcarrier configuration
 79      grid_resources:
 80
 81        - !<Resource>
 82          repetitions: 1
 83          prefix_type: !<PrefixType> CYCLIC
 84          prefix_ratio: 0.0703125
 85          elements:
 86            - !<Element>
 87              type: !<ElementType> NULL
 88              repetitions: 998
 89            - !<Element>
 90              type: !<ElementType> DATA
 91              repetitions: 2100
 92            - !<Element>
 93              type: !<ElementType> NULL
 94              repetitions: 998
 95
 96        - !<Resource>
 97          repetitions: 1
 98          prefix_type: !<PrefixType> CYCLIC
 99          prefix_ratio: 0.078125
100          elements:
101            - !<Element>
102              type: !<ElementType> NULL
103              repetitions: 998
104            - !<Element>
105              type: !<ElementType> DATA
106              repetitions: 2100
107            - !<Element>
108              type: !<ElementType> NULL
109              repetitions: 998
110
111      # Frame configuration in time domain, i.e. the x-axis in the OFDM time-frequency grid
112      grid_structure:
113
114        # DDDDD
115        - !<Symbol>
116          num_repetitions: 1
117          pattern: [1, 0, 0, 0]
118
119        # FFU
120        - !<Guard>
121          num_repetitions: 3
122          duration: 35.677083e-6
123
124        # DDDD
125        - !<Symbol>
126          num_repetitions: 1
127          pattern: [1, 0, 0, 0]
128
129        # FFU
130        - !<Guard>
131          num_repetitions: 3
132          duration: 35.677083e-6
133
134
135# Performance indication evaluation configuration
136Evaluators:
137
138  # Evaluate the bit errors of `modem_alpha` communicating over `device_alpha`
139  - !<BitErrorEvaluator>
140
141    transmitting_modem: *modem_alpha
142    receiving_modem: *modem_alpha
143    confidence: .9
144    tolerance: .01
145    plot_scale: log
146
147
148# Simulation parameters
149num_samples: 1000                  # Number of samples per simulation grid section
150min_num_samples: 100               # Minimum number of samples per simulation grid section before premature stopping
151noise_level: !<EBN0>               # SNR is defined as the ratio between bit energy and noise power
152  reference: *ofdm                 # The SNR is calculated with respect to the referenced waveform's power 
153plot_results: True                 # Visualize the evaluations after the simulation has finished
154num_actors: 1                      # This simulation is quite memory demanding. It might be necessary to limit the number of actors.
155
156# Scenario parameters over which the Monte-Carlo simulation sweeps
157Dimensions:
158
159  # Sweep over the global receiver signal-to-noise ratio
160  - property: 'noise_level'
161    points: [0, 1, ..., 20] dB