You can see https://tetcos.com/pdf/v13/Experiments/MD1-and-MG1-Queues.pdf which talks about random packet sizes and random interarrival times, and their analysis.
What you actually want is a "random variable" for the packet size and the inter arrival time. The random variable (rv) is defined by a probability distribution.
You can choose in NetSim a rv which will be drawn from the following distributions: exponential, uniform, normal, weibull, etc.
If the packet size rv is a constant and the inter-packet time is exponentially distributed then the system can be analyzed as an M/D/1 queue
If both the packet size rv and the inter-packet time rv are exponentially distributed then the system can be analyzed as an M/M/1 queue