Hello everyone,
I have two sets of UE devices (EVs and CSs) in my simulation, each set under its own NodeContainer/NetDevice. Furthermore, I am trying to simulate both of these devices communicating via one gNodeB, but on different BWPs that are configured within the gNodeB. Is it possible in 5G-LENA to essentially assign specific UE devices to one BWP?
I've tried implementing something like this:
// Create the configurations for the CcBwpHelper and install the channels into them
CcBwpCreator::SimpleOperationBandConf bandConf1(centralFrequencyBand1, bandwidthBand1, numCcPerBand);
OperationBandInfo band1 = ccBwpCreator.CreateOperationBandContiguousCc(bandConf1);
CcBwpCreator::SimpleOperationBandConf bandConf2(centralFrequencyBand2, bandwidthBand2, numCcPerBand);
OperationBandInfo band2 = ccBwpCreator.CreateOperationBandContiguousCc(bandConf2);
// Create the configurations for the CcBwpHelper and install the channels into them
NetDeviceContainer evNetDevs = nrHelper->InstallUeDevice(evNodes, CcBwpCreator::GetAllBwps({band1}));
NetDeviceContainer csNetDevs = nrHelper->InstallUeDevice(csNodes, CcBwpCreator::GetAllBwps({band2}));
// attach EVs and CSs to the closest gNB
nrHelper->AttachToClosestGnb(csNetDevs, gnbNetDev);
nrHelper->AttachToClosestGnb(evNetDevs, gnbNetDev);
However, with this implementation whenever I call the nrHelper function I get an 'std::out_of_range' error; afterwards which I realized that NrHelper::AttachToGnb is expecting the same number of BWPs installed for both the base stations and the UEs.
So going back to my original question, if this is the way that 5G-LENA currently implements BWPs between base stations and UEs, how can one configure a simulation such that different UE types communicate on different BWPs?
Best regards,
Alan Birchler De Allende