diff --git a/src/lte/examples/lena-intercell-interference.cc b/src/lte/examples/lena-intercell-interference.cc index dabb09337..6dfa9e4ba 100644 --- a/src/lte/examples/lena-intercell-interference.cc +++ b/src/lte/examples/lena-intercell-interference.cc @@ -42,12 +42,13 @@ int main (int argc, char *argv[]) double enbDist = 100.0; double radius = 50.0; uint32_t numUes = 1; - + double simTime = 1.0; CommandLine cmd; cmd.AddValue ("enbDist", "distance between the two eNBs", enbDist); cmd.AddValue ("radius", "the radius of the disc where UEs are placed around an eNB", radius); cmd.AddValue ("numUes", "how many UEs are attached to each eNB", numUes); + cmd.AddValue ("simTime", "Total duration of the simulation (in seconds)", simTime); cmd.Parse (argc, argv); ConfigStore inputConfig; @@ -126,7 +127,7 @@ int main (int argc, char *argv[]) lteHelper->ActivateDataRadioBearer (ueDevs1, bearer); lteHelper->ActivateDataRadioBearer (ueDevs2, bearer); - Simulator::Stop (Seconds (10)); + Simulator::Stop (Seconds (simTime)); // Insert RLC Performance Calculator std::string dlOutFname = "DlRlcStats"; diff --git a/src/lte/test/examples-to-run.py b/src/lte/test/examples-to-run.py index f69906c2e..c9680a503 100644 --- a/src/lte/test/examples-to-run.py +++ b/src/lte/test/examples-to-run.py @@ -21,11 +21,11 @@ cpp_examples = [ ("lena-dual-stripe --nMacroEnbSites=0 --macroUeDensity=0 --nBlocks=1 --nApartmentsX=4 --nMacroEnbSitesX=0 --homeEnbDeploymentRatio=1 --homeEnbActivationRatio=1 --macroEnbTxPowerDbm=0 --epcDl=1 --epcUl=0 --epc=1 --numBearersPerUe=4 --homeUesHomeEnbRatio=15 --simTime=0.01", "True", "True"), ("lena-fading", "True", "True"), ("lena-gtpu-tunnel", "True", "True"), - ("lena-intercell-interference", "True", "True"), + ("lena-intercell-interference --simTime=0.1", "True", "True"), ("lena-pathloss-traces", "True", "True"), ("lena-profiling", "True", "True"), - ("lena-profiling --simTime=1.0 --nUe=2 --nEnb=5 --nFloors=0", "True", "True"), - ("lena-profiling --simTime=1.0 --nUe=3 --nEnb=6 --nFloors=1", "True", "True"), + ("lena-profiling --simTime=0.1 --nUe=2 --nEnb=5 --nFloors=0", "True", "True"), + ("lena-profiling --simTime=0.1 --nUe=3 --nEnb=6 --nFloors=1", "True", "True"), ("lena-rlc-traces", "True", "True"), ("lena-rem", "True", "True"), ("lena-rem-sector-antenna", "True", "True"),