Closed khaledhassan closed 6 years ago
There is a function
void LteHelper::AttachToClosestEnb (NetDeviceContainer ueDevices, NetDeviceContainer enbDevices)
in lte-helper.cc:1018 that could help us automatically attach the right ue to the right enb
Handover algorithm code:
lteHelper->SetHandoverAlgorithmType ("ns3::A3RsrpHandoverAlgorithm");
lteHelper->SetHandoverAlgorithmAttribute ("Hysteresis",
DoubleValue (3.0));
lteHelper->SetHandoverAlgorithmAttribute ("TimeToTrigger",
TimeValue (MilliSeconds (256)));
Put this after:
Config::SetDefault ("ns3::LteEnbPhy::TxPower", DoubleValue (enbTxPowerDbm));
enbLteDevs = lteHelper->InstallEnbDevice (enbNodes);
ueLteDevs = lteHelper->InstallUeDevice (ueNodes);
Hex grid for eNBs:
see file lte-hex-grid-enb-topology-helper.cc
Waypoint model may be better to trigger handovers, don't think random walk is the best model here.
That's true, but the paper used the random walk model. Perhaps we can do a comparison between them as a part of our report. I think/hope we can get the random walk working with real values for the eNB distances, such as the ones they used in the paper
Relevant lines of lena-x2-handover-measures.cc: 231-248
~30m~ 15m or so