what is packet size in NRTDD symbol based scheduling in 5G toolbox

1 view (last 30 days)
how to determine packet size ? given is DLgeneration is 33msec periodicity for 512 bytes size in 10sec simulation time ? also how to determine latency after packet is sent from UE to GNB via RLC and MAC? Is it under rlc logs or timesteplogs?

Answers (1)

Praveen Koppula
Praveen Koppula on 10 Mar 2021
From 20b release onwards, network traffic pattern features like ‘networkTrafficOnOff’, ‘networkTrafficFTP’, etc. determines the packet size. The pkt size and periodicities parameters are just used to calculate and set the pumping data rate for the traffic pattern. Also, as of now, measuring and logging of latency is not supported.
  2 Comments
Anand Rajgopalan
Anand Rajgopalan on 20 Mar 2021
latency is measured between packets generated of packet size as given in simParameters; DLpacketsize [3000,2000...] where '...' as per number of UE's. same is given to Node.m class of function runApplications(obj) and from there (dt,packet,packetsize). set any bit first or last of packet to any variable .
In receive part in AMEntity for first or last bit of packet from node.m is assigned to sdu. So when complete DL packet is received then SDU is set to one or else [ ].(null) . in main program time difference between two slots of Tx and Rx count is calculated. Corresponding to each UE from gnodeB latency can be logged in.
this above process is tedious one .
INAS SAWAD
INAS SAWAD on 2 May 2021
@Anand Rajgopalan Hello, I'm working on NR TDD symbol based and I need to add latency as well, can you please help with that. I did not get your answer well.

Sign in to comment.

Categories

Find more on System-Level Simulation in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!