File size: 9,747 Bytes
65496c3 | 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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | ---
license: cc-by-4.0
task_categories:
- reinforcement-learning
- tabular-classification
language:
- en
tags:
- network-slicing
- 5G
- IoV
- DRL
- MEC
- URLLC
- eMBB
- mMTC
- vehicular-networks
- 3GPP
- MobFogSim
- SUMO
size_categories:
- 1M<n<10M
---
# IoV-DynSlice-2026
**Dynamic 5G Network Slicing Dataset for Internet of Vehicles — 7.83 Million Rows**
Generated using **MobFogSim** (fog/edge computing simulator) extended with a **3GPP TR 38.901 Urban Macro (UMa) channel model**, driven by a real-world **SUMO vehicular mobility trace** from Islamabad, Pakistan.
Designed for training Deep Reinforcement Learning (DRL) agents (PPO, SAC, TD3) to perform dynamic bandwidth allocation across three 5G network slices: URLLC, eMBB, and mMTC.
---
## Dataset at a Glance
| Property | Value |
|---|---|
| Total rows | 7,834,940 |
| Columns | 42 |
| Seeds | 10 |
| Vehicles per seed | 1,000 |
| Simulation ticks | 786 (seconds) |
| Missing values | 0 |
| File format | CSV |
| License | CC-BY 4.0 |
---
## Simulation Setup
### Infrastructure
| Parameter | Value | Standard |
|---|---|---|
| Base stations (gNBs) | 225 (15×15 grid) | 3GPP TR 38.901 UMa |
| Inter-Site Distance (ISD) | 500 m | 3GPP TR 38.901 Table A.1-2 |
| Coverage area | 56.25 km² (7.5×7.5 km) | Urban core Islamabad |
| Carrier frequency | 3.5 GHz (n78 band) | PTA Pakistan 5G allocation |
| Total spectrum | 100 MHz | 3GPP TS 38.104 FR1 max |
| Tx power | 30 dBm | — |
| BS height | 25 m | UMa standard |
| UE height | 1.5 m | UMa standard |
| Noise figure | 7 dB | — |
### Channel Model
3GPP TR 38.901 Urban Macro (UMa) path loss:
```
PL [dB] = 13.54 + 39.08 × log₁₀(d) + 20 × log₁₀(fc) − 0.6 × (hUT − 1.5)
```
where `d` is distance in metres, `fc` is carrier frequency in GHz, and `hUT` is UE height in metres.
SINR → PLR mapping follows 5-tier lookup table derived from 3GPP link-level curves. Shannon capacity: `BW × log₂(1 + SINR_linear) × (1 − PLR)`.
### Mobility
- **Trace**: SUMO simulation of Islamabad, Pakistan
- **Total SUMO vehicles**: 171,140
- **Selected vehicles per seed**: 1,000 (random selection)
- **Time steps**: 786 seconds
- **Coverage**: 271 km² total SUMO area
### 5G Network Slices
| Slice | SLA Latency | SLA PLR | Base BW | Max BW |
|---|---|---|---|---|
| URLLC | ≤ 1 ms | ≤ 0.1% | 20 MHz | 50 MHz |
| eMBB | ≤ 10 ms | ≤ 5% | 60 MHz | 70 MHz |
| mMTC | ≤ 500 ms | ≤ 10% | 20 MHz | 25 MHz |
---
## Event Types (DPC — Dynamic Priority Controller)
The DPC detects 6 network conditions from real-time traffic signals and adjusts slice priorities and bandwidth allocation accordingly.
| Event | Count | % | Description |
|---|---|---|---|
| VEHICLE_SURGE | 1,909,960 | 24.4% | Rapid increase in vehicle density |
| HANDOVER_STORM | 1,879,990 | 24.0% | High handover rate (>5 per tick) |
| CONGESTION | 1,527,550 | 19.5% | Slow traffic, moderate density |
| EMERGENCY | 1,779,900 | 22.7% | Peak density, URLLC breach |
| NORMAL | 327,570 | 4.2% | Free-flow, low density, no events |
| ACCIDENT | 409,970 | 5.2% | High stopped-vehicle fraction (≥92%) |
### Bandwidth Allocation per Event (MHz)
| Event | URLLC | eMBB | mMTC | Total |
|---|---|---|---|---|
| NORMAL | 20 | 60 | 20 | 100 |
| CONGESTION | 30 | 55 | 15 | 100 |
| VEHICLE_SURGE | 30 | 55 | 15 | 100 |
| HANDOVER_STORM | 35 | 50 | 15 | 100 |
| EMERGENCY | 40 | 45 | 15 | 100 |
| ACCIDENT | 50 | 35 | 15 | 100 |
---
## Column Schema (42 columns)
### Identification
| Column | Type | Description |
|---|---|---|
| `vehicle_id` | int | Unique vehicle identifier |
| `timestamp` | int | SUMO simulation second (0–785) |
| `seed` | int | Random seed used for this run |
### Vehicle State
| Column | Type | Description |
|---|---|---|
| `vehicle_x_m` | float | Vehicle x-coordinate (metres) |
| `vehicle_y_m` | float | Vehicle y-coordinate (metres) |
| `vehicle_speed_mps` | float | Instantaneous speed (m/s) |
| `dist_to_nearest_ap_m` | float | Distance to nearest gNB (metres) |
| `nearest_ap_id` | int | ID of nearest gNB |
| `vehicle_handover` | int | 1 if handover occurred this tick |
| `vehicle_migration` | int | 1 if VM migration occurred |
### Traffic Context
| Column | Type | Description |
|---|---|---|
| `traffic_density_veh_per_km2` | float | Global vehicle density (all SUMO vehicles / 271 km²) |
| `vehicle_count` | int | Total SUMO vehicles active at this tick |
| `event_flag` | int | Numeric encoding of event_type |
| `event_type` | str | NORMAL / CONGESTION / VEHICLE_SURGE / HANDOVER_STORM / EMERGENCY / ACCIDENT |
| `root_cause` | str | DPC root cause classification |
| `congestion_severity` | int | 0=NORMAL, 1=CONGESTION, 2=SURGE/HO-STORM, 3=EMERGENCY/ACCIDENT |
### DRL Reward Signal
| Column | Type | Range | Description |
|---|---|---|---|
| `reward` | float | [−0.44, +0.39] | Composite DRL reward |
Reward formula:
```
r = 0.35×latComp + 0.20×lossComp + 0.15×netComp − 0.10×migPenalty − 0.20×slaPenalty
```
### URLLC Slice Metrics
| Column | Type | Description |
|---|---|---|
| `urllc_latency_ms` | float | URLLC slice latency (ms) |
| `urllc_packet_loss_rate` | float | URLLC PLR |
| `urllc_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) |
| `urllc_throughput_mbps` | float | Achieved throughput (Mbps) |
| `urllc_jitter_ms` | float | Latency jitter (ms) |
| `urllc_slice_priority` | int | Current priority level |
### eMBB Slice Metrics
| Column | Type | Description |
|---|---|---|
| `embb_latency_ms` | float | eMBB slice latency (ms) |
| `embb_packet_loss_rate` | float | eMBB PLR |
| `embb_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) |
| `embb_throughput_mbps` | float | Achieved throughput (Mbps) |
| `embb_jitter_ms` | float | Latency jitter (ms) |
| `embb_slice_priority` | int | Current priority level |
### mMTC Slice Metrics
| Column | Type | Description |
|---|---|---|
| `mmtc_latency_ms` | float | mMTC slice latency (ms) |
| `mmtc_packet_loss_rate` | float | mMTC PLR |
| `mmtc_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) |
| `mmtc_throughput_mbps` | float | Achieved throughput (Mbps) |
| `mmtc_jitter_ms` | float | Latency jitter (ms) |
| `mmtc_slice_priority` | int | Current priority level |
### Network State
| Column | Type | Description |
|---|---|---|
| `network_utilization_percent` | float | Total spectrum utilisation (always 100% — full allocation) |
| `edge_cpu_utilization_percent` | float | Edge server CPU utilisation |
| `global_migration_count` | int | Cumulative VM migrations |
| `global_handover_count` | int | Cumulative handovers |
| `handover_rate_per_tick` | float | Handovers per second at this tick |
| `isci_value` | float | Inter-Slice Contention Index |
| `dynamic_priority_shift_flag` | int | 1 if DPC shifted priorities this tick |
| `sla_violation_count` | int | Number of slices violating SLA (0–3) |
| `packet_delivery_ratio` | float | Network-wide packet delivery ratio |
| `fog_latency_ms` | float | Fog node RTT (ms) from 3GPP physics model |
---
## DRL Environment
### Observation Space (9 features)
```python
obs = [
urllc_latency_ms, # URLLC slice latency
embb_latency_ms, # eMBB slice latency
mmtc_latency_ms, # mMTC slice latency
urllc_bandwidth_alloc_mhz, # current URLLC BW allocation
embb_bandwidth_alloc_mhz, # current eMBB BW allocation
mmtc_bandwidth_alloc_mhz, # current mMTC BW allocation
traffic_density_veh_per_km2,# traffic density
vehicle_speed_mps, # mean vehicle speed
isci_value # inter-slice contention index
]
```
### Action Space (3 continuous values)
Bandwidth allocation in MHz for each slice. Constraint: sum ≤ 100 MHz.
```
action = [urllc_bw, embb_bw, mmtc_bw] ∈ [0, 100]³
```
### Reward
```
range: [−0.44, +0.39]
mean: −0.291 (std: 0.133)
```
| Event | Mean Reward |
|---|---|
| NORMAL | +0.255 |
| VEHICLE_SURGE | −0.251 |
| CONGESTION | −0.282 |
| HANDOVER_STORM | −0.313 |
| ACCIDENT | −0.358 |
| EMERGENCY | −0.403 |
---
## Loading the Dataset
```python
import pandas as pd
from datasets import load_dataset
# Option 1: pandas (recommended for large datasets)
df = pd.read_csv("hf://datasets/axakhan/IOV/combined_dataset_v6.csv")
# Option 2: HuggingFace datasets library
dataset = load_dataset("axakhan/IOV")
df = dataset["train"].to_pandas()
# DRL state columns
STATE_COLS = [
"urllc_latency_ms", "embb_latency_ms", "mmtc_latency_ms",
"urllc_bandwidth_alloc_mhz", "embb_bandwidth_alloc_mhz", "mmtc_bandwidth_alloc_mhz",
"traffic_density_veh_per_km2", "vehicle_speed_mps", "isci_value"
]
ACTION_COLS = [
"urllc_bandwidth_alloc_mhz",
"embb_bandwidth_alloc_mhz",
"mmtc_bandwidth_alloc_mhz"
]
X = df[STATE_COLS].values # observations
a = df[ACTION_COLS].values # actions taken by DPC
r = df["reward"].values # rewards
```
---
## Citation
If you use this dataset in your research, please cite:
```bibtex
@dataset{khan2026iovdynslice,
author = {Khan, Abubakar},
title = {IoV-DynSlice-2026: Dynamic 5G Network Slicing Dataset for Internet of Vehicles},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/axakhan/IOV},
note = {7.83M rows, MobFogSim + 3GPP TR 38.901 UMa + SUMO Islamabad trace,
225 gNBs, ISD=500m, fc=3.5GHz, BW=100MHz, 1000 vehicles × 10 seeds}
}
```
---
## Related Work
- MobFogSim: [github.com/diogomg/MobFogSim](https://github.com/diogomg/MobFogSim)
- 3GPP TR 38.901: Study on channel model for frequencies from 0.5 to 100 GHz
- 3GPP TS 22.261: Service requirements for the 5G system
- SUMO: [sumo.dlr.de](https://sumo.dlr.de)
|