brianmc95 / OpenCV2X

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
37 stars 15 forks source link

Missed out cases while calculating the packets dropped due to interference(collision) #23

Open Anshi21 opened 3 years ago

Anshi21 commented 3 years ago

In the interference case(one of the reasons for packet loss) the calculation of packets dropped due to radio resource collision is not correctly implemented.

When two or more packets are arriving simultaneously having the same subframe and subchannel, in such a scenario the last packet is always getting accepted, which is increasing the total number of successfully decoded packets and indirectly producing the high PDR values, which is unacceptable.

The below figure explains this case. While running the experiment for a small scale scenario i.e. three cars within 300m range and two out of three cars are using the same subframe and subchannel combination. The Mode4App has started at the same time. Also, minor changes have been done in the config_channel.xml file to use the analytical model for filtering the packets based on their SNR value.

MAC

ChannelModel

The PDR values reported by three cars are 0.5, 1,~1 for Car0, Car1 and Car2 respectively. Ideally, the expected PDR values should be 0.0, 0.5 and 0.5. Vector

brianmc95 commented 3 years ago

Hi @Anshi21, thanks for sending this on I will determine what the issue is and get this resolved. Would you do me a favour though and please send on the results files you get from your simulation? I think it would be useful for me to help in determining the cause of the problem and getting it resolved. Thanks in advance and I'll do my best to get this fixed as soon as I can. If you can share by email that would be really useful.

Anshi21 commented 3 years ago

Hi @brianmc95 I've shared the required files via mail for further analysis.