<OAI_EMULATION>
	<ENVIRONMENT_SYSTEM_CONFIG>
		<FADING>
			<LARGE_SCALE>urban</LARGE_SCALE> <!-- OPTIONS: urban, rural, indoor -->
			<FREE_SPACE_MODEL_PARAMETERS>
				<PATHLOSS_EXPONENT>2.0</PATHLOSS_EXPONENT> <!-- OPTIONS: >1 -->
				<PATHLOSS_0_dB>-50</PATHLOSS_0_dB>
			</FREE_SPACE_MODEL_PARAMETERS>
			<SMALL_SCALE>Rayleigh1</SMALL_SCALE> <!-- OPTIONS: SCM_A, SCM_B, SCM_C, SCM_D, EPA, EVA, ETU, Rayleigh8, Rayleigh1, Rayleigh1_corr, Rayleigh1_anticorr, Rice8, Rice1, Rice1_corr, Rice1_anticorr, AWGN -->
		</FADING>
		<WALL_PENETRATION_LOSS_dB>5</WALL_PENETRATION_LOSS_dB>
		<SYSTEM_BANDWIDTH_MB>7.68</SYSTEM_BANDWIDTH_MB>
		<SYSTEM_FREQUENCY_GHz>1.9</SYSTEM_FREQUENCY_GHz>
		<ANTENNA>
			<eNB_ANTENNA>
				<RX_NOISE_LEVEL_dB>5</RX_NOISE_LEVEL_dB>
				<NUMBER_OF_SECTORS>3</NUMBER_OF_SECTORS>
				<BEAM_WIDTH_dB>1.13</BEAM_WIDTH_dB>
				<ANTENNA_GAIN_dBi>16</ANTENNA_GAIN_dBi>
				<TX_POWER_dBm>40</TX_POWER_dBm>
			</eNB_ANTENNA>
			<UE_ANTENNA>
				<RX_NOISE_LEVEL_dB>1</RX_NOISE_LEVEL_dB>
				<ANTENNA_GAIN_dBi>5</ANTENNA_GAIN_dBi>
				<TX_POWER_dBm>20</TX_POWER_dBm>
			</UE_ANTENNA>
		</ANTENNA>
	</ENVIRONMENT_SYSTEM_CONFIG>

	<TOPOLOGY_CONFIG>	
		<AREA>			
		  <X_km>1</X_km>
		  <Y_km>1</Y_km>	
		</AREA>
		<NETWORK_TYPE>homogeneous</NETWORK_TYPE> <!-- OPTIONS: homogeneous, heterogeneous -->
		<CELL_TYPE>macrocell</CELL_TYPE> <!-- OPTIONS: macrocell, microcell, picocell, femtocell -->
		<RELAY></RELAY>
		<MOBILITY> 
			<UE_MOBILITY>
				<UE_INITIAL_DISTRIBUTION>random</UE_INITIAL_DISTRIBUTION> <!-- OPTIONS: random, concentrated, grid -->
				<RANDOM_UE_DISTRIBUTION>
					<NUMBER_OF_NODES>1</NUMBER_OF_NODES>
				</RANDOM_UE_DISTRIBUTION>
				<UE_MOBILITY_TYPE>fixed</UE_MOBILITY_TYPE> <!-- OPTIONS: fixed, random_waypoint, random_walk, grid_walk, trace, sumo -->
				<UE_MOVING_DYNAMICS>
					<MIN_SPEED_mps>1</MIN_SPEED_mps>
					<MAX_SPEED_mps>200</MAX_SPEED_mps>
					<MIN_SLEEP_ms>0.1</MIN_SLEEP_ms>
					<MAX_SLEEP_ms>5.0</MAX_SLEEP_ms>
					<MIN_JOURNEY_TIME_ms>0.1</MIN_JOURNEY_TIME_ms>
					<MAX_JOURNEY_TIME_ms>10</MAX_JOURNEY_TIME_ms>
				</UE_MOVING_DYNAMICS>
				<SUMO_CONFIG> <!-- Simulation for Urban Mobility -->
				  <SUMO_CMD> sumo-gui </SUMO_CMD>
				  <SUMO_CONFIG_FILE>$OPENAIR2_DIR/UTIL/OMG/SUMO/SCENARIOS/scen.sumo.cfg</SUMO_CONFIG_FILE>
				  <SUMO_START> 0 </SUMO_START>
				  <SUMO_END> 10 </SUMO_END>
				  <SUMO_STEP> 10</SUMO_STEP>
				  <SUMO_HOST_IP> 127.0.1.1</SUMO_HOST_IP>
				  <SUMO_HOST_PORT> 8883</SUMO_HOST_PORT>
				</SUMO_CONFIG>
			</UE_MOBILITY>
			<eNB_MOBILITY>
				<eNB_INITIAL_DISTRIBUTION>random</eNB_INITIAL_DISTRIBUTION> <!-- OPTIONS: random, hexagonal, grid -->
				<RANDOM_eNB_DISTRIBUTION>
					<NUMBER_OF_CELLS>1</NUMBER_OF_CELLS>
				</RANDOM_eNB_DISTRIBUTION>

				<eNB_MOBILITY_TYPE>fixed</eNB_MOBILITY_TYPE> <!-- OPTIONS: fixed, mobile -->
			</eNB_MOBILITY>
		</MOBILITY>
	</TOPOLOGY_CONFIG>

	<APPLICATION_CONFIG>
		<PREDEFINED_TRAFFIC>
			<SOURCE_ID>0</SOURCE_ID>					
			<APPLICATION_TYPE>gaming_OA</APPLICATION_TYPE> <!-- OPTIONS: scbr, mcbr, bcbr, m2m_AP, m2m_BR, gaming_OA, gaming_TF, full_buffer -->
			<DESTINATION_ID>1</DESTINATION_ID>
			<FLOW_START_ms>400</FLOW_START_ms> <!-- not less than 310 --> 
			<FLOW_DURATION_ms>2000</FLOW_DURATION_ms>  <!-- less than simu time - FLOW_START_ms  -->
     
		</PREDEFINED_TRAFFIC>

		<CUSTOMIZED_TRAFFIC>
			<PU> <!-- we are generating only one packet -->
				<PROB_OFF_PU>0.9</PROB_OFF_PU> <!-- prob to transit from off to PU -->
				<PROB_PU_ED>0.1</PROB_PU_ED> <!-- prob to transit from PU to ED -->
				<HOLDING_TIME_OFF_PU>100</HOLDING_TIME_OFF_PU> <!-- in off state -->
			</PU>
			<ED> <!-- we are generating only one packet -->
				<PROB_OFF_ED>0.1</PROB_OFF_ED> <!-- prob to transit from off to PU -->
				<PROB_ED_PE>0.1</PROB_ED_PE> <!-- prob to transit from off to PU -->
				<HOLDING_TIME_OFF_ED>10000</HOLDING_TIME_OFF_ED> <!-- in off state -->
			</ED>
			<PE>
				<HOLDING_TIME_OFF_PE>100</HOLDING_TIME_OFF_PE> <!-- in off state, how much time we should generate traffic -->
			</PE>
			<SOURCE_ID>2</SOURCE_ID>		<!-- <SOURCE_ID> 1:100 </SOURCE_ID> -->
			<TRANSPORT_PROTOCOL>udp</TRANSPORT_PROTOCOL> <!-- OPTIONS: tcp (default), udp -->
			<IP_VERSION>ipv6</IP_VERSION> <!-- OPTIONS: ipv4 (default), ipv6 -->
			<DESTINATION_ID>0</DESTINATION_ID>
			<FLOW_START_ms>400</FLOW_START_ms> <!-- not less than 310 --> 
			<FLOW_DURATION_ms>2000</FLOW_DURATION_ms>  <!-- less than simu time - FLOW_START_ms  -->
     
			<IDT_DIST>uniform</IDT_DIST> <!-- OPTIONS: no_customized_traffic (default), uniform, poission, gaussian, exponential, fixed, weibull, pareto, gamma, cauchy -->
			<IDT_MIN_ms>100</IDT_MIN_ms>
			<IDT_MAX_ms>1000</IDT_MAX_ms>
			<IDT_STANDARD_DEVIATION>1</IDT_STANDARD_DEVIATION>
			<IDT_LAMBDA>7</IDT_LAMBDA>

			<SIZE_DIST>gaussian</SIZE_DIST> <!-- OPTIONS: no_customized_traffic (default), uniform, poission, gaussian, exponential, fixed, weibull, pareto, gamma, cauchy -->
			<SIZE_MIN_byte>200</SIZE_MIN_byte>
			<SIZE_MAX_byte>500</SIZE_MAX_byte>
			<SIZE_STANDARD_DEVIATION>5</SIZE_STANDARD_DEVIATION>
			<SIZE_LAMBDA>4</SIZE_LAMBDA>


			<DESTINATION_PORT>8080</DESTINATION_PORT>
		</CUSTOMIZED_TRAFFIC>

	</APPLICATION_CONFIG>

	<EMULATION_CONFIG>
		<EMULATION_TIME_ms>5000</EMULATION_TIME_ms>

		<PERFORMANCE>
			<METRICS>
				<THROUGHPUT>enable</THROUGHPUT>
				<LATENCY>disable</LATENCY>
			      </METRICS>

			<LAYER>
				<MAC>1</MAC>
				<RLC></RLC>
				<PDCP></PDCP>
			</LAYER>

			<LOG_EMU>
				<DEBUG>1</DEBUG>
			</LOG_EMU>		
			<SEED>	
				<SEED_VALUE>1</SEED_VALUE>
			</SEED>
		</PERFORMANCE>
	</EMULATION_CONFIG>
	<PROFILE>EURECOM</PROFILE>	
</OAI_EMULATION>
