khaledhassan / eel6591-project

Class Project for EEL6591: Topic to be decided
0 stars 0 forks source link

Establish positions/mobility of UEs and eNBs #2

Closed khaledhassan closed 6 years ago

khaledhassan commented 6 years ago

Relevant lines of lena-x2-handover-measures.cc: 231-248

khaledhassan commented 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

khaledhassan commented 6 years ago

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);
khaledhassan commented 6 years ago

Hex grid for eNBs: see file lte-hex-grid-enb-topology-helper.cc

slichtenheld commented 6 years ago

Waypoint model may be better to trigger handovers, don't think random walk is the best model here.

khaledhassan commented 6 years ago

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