nyuwireless-unipd / ns3-mmwave

ns-3 module for simulating mmWave-based cellular systems. See https://ieeexplore.ieee.org/document/8344116/ (open access) as a reference.
GNU General Public License v2.0
298 stars 193 forks source link

Adding a UE in an scheduled function during simulation period #250

Open mhmd97z opened 2 years ago

mhmd97z commented 2 years ago

I intend to add a new UE in a scheduled function. I implemented it, but I'm receiving this error:

msg="DCI intended for different subframe (dci= 401 , actual= 301", file=../src/mmwave/model/mmwave-ue-phy.cc, line=441
terminate called without an active exception

I was wondering whether it was foreseen to add more UEs during the simulation or if UEs need to be defined before starting the simulation.

pagmatt commented 2 years ago

Hi,

I have never tried to have a UE connect during the simulation, usually we connect all the UEs at the beginning. If you want to model UE transmission only after a certain period of time you could have the respective application turn on after a while..? Hope that answers your question,

Matteo

mhmd97z commented 2 years ago

Hi,

I have never tried to have a UE connect during the simulation, usually we connect all the UEs at the beginning. If you want to model UE transmission only after a certain period of time you could have the respective application turn on after a while..? Hope that answers your question,

Matteo

Hi Matteo, Thanks for the reply.

Actually, I'm looking for the capability of admitting/rejecting users/applications here. It's true that there is the option of scheduling applications to start at a specific time, but is there any way to prevent a scheduled application from running during the simulation and for example reschedule it for another time?

Regards