/* UE simulator configuration file version 2023-03-17 * LTE / 5G Non StandAlone * Copyright (C) 2019-2025 Amarisoft */ { #define DEG_LONG_TO_M 78.6e3 #define NTN_FR2 1 #define N_ANTENNA_DL 1 #if NTN_FR2 #define CELL_BANDWIDTH 100 #else #define CELL_BANDWIDTH 20 #endif #define N_CELL 1 #define UDC_ACTIVE 0 #default LAT 16 #default CHANNEL_SIM 1 log_options: "all.level=debug,all.max_size=1,phy.ntn=1", log_filename: "/tmp/ue0.log", /* Enable remote API and Web interface */ com_addr: "[::]:9002", rf_driver: { name: "sdr", /* list of devices. 'dev0' is always the master. */ #if UDC_ACTIVE == 0 #if N_CELL == 1 args: "dev0=/dev/sdr0", #elif N_CELL == 2 args: "dev0=/dev/sdr0,dev1=/dev/sdr1", #endif #else // UDC is active #if N_CELL == 1 args: "dev0=/dev/sdr10", #elif N_CELL == 2 args: "dev0=/dev/sdr10,dev1=/dev/sdr11", #endif #endif /* synchronisation source: internal, gps, external (default = internal) */ // sync: "gps", rx_antenna:"rx", // force to use the RX connector in TDD as RX antenna /* PCIe jitter. decrease it to reduce latency */ fifo_tx_time: 50, rx_latency: 30, }, #if UDC_ACTIVE ==0 tx_gain: 80, rx_gain: 10, #else tx_gain: 50, //57, rx_gain: 33, //40, #endif cell_groups: [ { group_type: "nr", multi_ue: true, #if CHANNEL_SIM channel_sim: true, //Rose_Cha delay_sim: true, #endif cell_sync: false, //Rose_Cha // ue ground position ground_position: { latitude: 45.5, //hb 45, longitude: 6, //hb 0, }, ldpc_max_its: 3, cells: [{ rf_port: 0, #if CHANNEL_SIM apply_ta_commands: false, #else apply_ta_commands: true, #endif rx_to_tx_latency: LAT, /* ms */ #if NTN_FR2 /*IF freq */ rf_dl_freq: 2100, rf_ul_freq: 2200, band: 510, dl_nr_arfcn: 1734048, ul_nr_arfcn: 2080000, subcarrier_spacing: 120, ssb_subcarrier_spacing: 120, ssb_nr_arfcn: 1733664, #else band: 256, dl_nr_arfcn: 437000, ssb_nr_arfcn: 436850, ssb_subcarrier_spacing: 15, subcarrier_spacing: 30, #endif bandwidth: CELL_BANDWIDTH, n_antenna_dl: N_ANTENNA_DL, n_antenna_ul: 1, ssb_period_ms: 5, #if CHANNEL_SIM position: [0, 0, 0], antenna: { type: "satellite", ephemeris_from_sib: true, // RAN position feeder_position: { latitude: 45, longitude: 0, }, attenuation: "atmospheric", gain: 80, /* satellite dish + UE VSAT, in dBi */ beam_width: 70, }, ref_signal_power: 0, ul_power_attenuation: 80, #endif sro_from_freq_shift: 4, //ntn_service_freq_adapt: true, // ntn_service_dl_freq: 10e9, // ntn_service_ul_freq: 15e9 }, #if N_CELL > 1 { rf_port: 1, rx_to_tx_latency: LAT, /* ms */ #if NTN_FR2 /*IF freq */ rf_dl_freq: 2300, rf_ul_freq: 2400, #if UDC_ACTIVE == 0 // cpu_core_list: ["16-23"], #else // cpu_core_list: ["0-7"], #endif band: 510, dl_nr_arfcn: 1734048, ul_nr_arfcn: 2080000, subcarrier_spacing: 120, ssb_subcarrier_spacing: 120, ssb_nr_arfcn: 1733664, #else band: 256, dl_nr_arfcn: 437000, ssb_nr_arfcn: 436850, ssb_subcarrier_spacing: 15, subcarrier_spacing: 30, #endif bandwidth: CELL_BANDWIDTH, n_antenna_dl: N_ANTENNA_DL, n_antenna_ul: 1, ssb_period_ms: 5, apply_ta_commands: true, sro_from_freq_shift: 4, ntn_ground_position: { latitude: 45, longitude: 0, altitude: 20 }, // ntn_service_dl_freq: 10e9, // ntn_service_ul_freq: 15e9 }, #endif ], cell_sync: false, /* In case your system has a high SNR and you are running high number of * UEs, enable this option to optimize PDCCH decoding and save CPU */ pdcch_decode_opt: false, pdcch_decode_opt_threshold: 0.1, }], ue_list: [{ imsi: "001010123456789", K: "00112233445566778899aabbccddeeff", /* UE capabilities */ as_release: 17, ue_category: "nr", apn: "ntn-internet", #if CHANNEL_SIM position: [0, 0, 0], //in the middle of the 2 beams "channel": { //"freq_doppler": 100, //"mimo_correlation": "low", //"type": "ntn_tdla100" "type": "awgn" //"type": "ntn_tdlc5" }, #endif "sim_events": [ { "start_time": 0.3, "event": "power_on" }, ] /* Enable it to create a TUN interface for each UE PDN */ //tun_setup_script: "ue-ifup", }], }