Output File Format Description - V2Xgithub/WiLabV2Xsim GitHub Wiki
1 Introduction
This page explains the output parameters and associated output files. The default output folder is Output which would be build at your "Current Folder" of MatLab. And you could reset it with parameter outputFolder.
The following table gives the related output parameters and the output files' name. You could set the parameters as true or false to activate or deactivate the output. About how to set the parameters, please check Tutorial page .
Parameter Name | Output File | Note |
---|---|---|
printCBR | CBRofGenericVehicle_*.xls CBRstatistic_*.xls | |
printDataAge | data_age_*.xls | |
printPacketDelay | packet_delay_*.xls | a.k.a. End-to-End Delay |
printPacketReceptionRatio | packet_reception_ratio_*.xls | |
printUpdateDelay | update_delay_*.xls | a.k.a. Inter-Packet Gap |
printWirelessBlindSpotProb | wireless_blind_spot_*.xls | |
printNeighbors | neighbors_*.xls |
2 Format of the Output Files
The format of the output files are explained in this section.
2.1 printCBR (bool)
output file-1: CBRofGenericVehicle_*.xls (bool)
The CBR values sensed by one (generic) vehicle during the whole simulation (excluding the time interval at beginning)
Simulation time [s] | Channel Busy Ratio |
---|---|
1.1 | 0.21 |
1.2 | 0.23 |
output file-2: CBRstatistic_*.xls
The CDF of all CBRs values sensed by all vehicles during the whole simulation (excluding the time interval at beginning)
Channel Busy Ratio | CDF |
---|---|
0.04 | 0.000469 |
0.05 | 0.000939 |
2.2 printDataAge (bool)
e.g. awareness range (Raw) = [50, 150, 300] m
output file: data_age_*.xls
note: the 1st column is not the simulation time
data age [s] | #pkt (0~50) | CDF (0~50) | #pkt (50~150) | CDF (50~150) | #pkt (150~300) | CDF (150~300) |
---|---|---|---|---|---|---|
0.101 | 26 | 0.001343 | 78 | 0.001674 | 59 | 0.000945 |
0.102 | 95 | 0.00625 | 300 | 0.008114 | 495 | 0.008878 |
2.3 printPacketDelay (bool)
Packet Delay, also known as End-to-End Delay (EED), is defined as the time interval between the generation of the packet and its effective reception. The metric is computed for each successful reception within the selected awareness range.
e.g. awareness range (Raw) = [50, 150, 300] m
output file: packet_delay_*.xls
note: The 1st column is the packet delay time that according to the parameter delayResolution
(default: 1 ms)
packet delay [s] | #pkt (0~50) | CDF (0~50) | #pkt (50~150) | CDF (50~150) | #pkt (150~300) | CDF (150~300) |
---|---|---|---|---|---|---|
0.001 | 32 | 0.001506 | 89 | 0.001889 | 66 | 0.001046 |
0.002 | 109 | 0.006635 | 306 | 0.008383 | 511 | 0.009142 |
2.4 printPacketReceptionRatio (bool)
e.g. awareness range (Raw) = [50, 150, 300] m
output file: packet_reception_ratio_*.xls
distance [m] | (2) Num OK | (3) Num error | (4) Num blocked | (5) total packets (2)+(3)+(4) | PRR (2)/(5) |
---|---|---|---|---|---|
10 | 1625 | 0 | 0 | 1625 | 1 |
20 | 6135 | 20 | 1 | 6156 | 0.996589 |
30 | 4709 | 33 | 1 | 4743 | 0.992832 |
2.5 printUpdateDelay (bool)
Update Delay also known as Inter-Packet Gap, is defined as the time interval between two consecutive successfully received beacons from the same node within the selected awareness range.
e.g. awareness range (Raw) = [50, 150, 300] m
output file: update_delay_*.xls
note: The 1st column is the packet delay time that according to the parameter delayResolution
(default: 1 ms)
update delay [s] | #pkt (0~50) | CDF (0~50) | #pkt (50~150) | CDF (50~150) | #pkt (150~300) | CDF (150~300) | #pkt [0~300 m] | CDF [0~300 m] |
---|---|---|---|---|---|---|---|---|
0.006 | 4 | 0.000207 | 3 | 0.000064 | 2 | 0.000032 | 9 | 0.00007 |
0.007 | 0 | 0.000207 | 0 | 0.000064 | 0 | 0.000032 | 0 | 0.00007 |
2.6 printWirelessBlindSpotProb (bool)
e.g. awareness range (Raw) = [50, 150, 300] m
output file: wireless_blind_spot_*.xls
note: the 1st column is not the simulation time
time interval (TI) [s] | (2) #event, delay >= TI (0~50) | (3) #event, delay < TI (0~50) | ratio (2)/((2)+(3)) | (5) #event, delay >= TI (50~150) | (6) #event, delay < TI (50~150) | ratio (5)/((5)+(6)) | (8) #event, delay >= TI (150~300) | (9) #event, delay < TI (150~300) | ratio (8)/((8)+(9)) |
---|---|---|---|---|---|---|---|---|---|
0.1 | 279 | 20825 | 0.01322 | 1258 | 66982 | 0.018435 | 5730 | 128902 | 0.04256 |
0.2 | 55 | 21049 | 0.002606 | 450 | 67790 | 0.006594 | 3280 | 131352 | 0.024363 |
2.7 printNeighbors (bool)
e.g. awareness range (Raw) = [50, 150] m
output file: neighbors_*.xls
simulation time [s] | avg. Neighbors of LTE (0~50 m) | avg. Neighbors of 11p (0~50 m) | avg. tot. Neighbors (0~50 m) | avg. Neighbors of LTE (50~150 m) | avg. Neighbors of 11p (50~150 m) | avg. tot. Neighbors (50~150 m) |
---|---|---|---|---|---|---|
0.2 | 3.75E+00 | NaN | 3.75E+00 | 5.41E+00 | NaN | 5.41E+00 |
0.3 | 3.61E+00 | NaN | 3.61E+00 | 5.49E+00 | NaN | 5.49E+00 |