I am working on traffic models and I am using round robin traffic and prop fair traffic schedulers in the simulator. I don’t know how I can measure the packet delay and PLR. Is it possible or not? Could you please help me?
Thanks for your answers in advance.
each traffic model object (that is appended to its respective UE object) contains a delay buffer. There, the delay of all pakets is being stored. If the transmission was unsuccesful, the delay is set to infinity. By finding all pakets with delay infinity, you can directly calculate the PLR.
first: do you use the mix of traffic_models, that is predefined in LTE_trafficmodel.m? The delay is actually only evaluated for the delay-sensitive traffic-models voip, gaming and video (see UE.m, process_packet_parts).
If yes: Please check if in +traffic_models/generic_tm.m the function remove_packet is ever called. Here, the delay is written in the delay buffer. If it is always empty, it might be that for some reason you actually never finish the transmission of any packets.