-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about MCS using mmwave-epc-tdma #257
Comments
Hi, First of all, please be aware that the paper "End-to-End Simulation of 5G mmWave Networks" refers to an older version of the mmWave module. A lot of changes have been introduced since then, and this will already make very hard to reproduce results 1:1. BR, |
Hi, pagmatt,
Best, ================================================================================================ #include "ns3/epc-helper.h" #include <ns3/nstime.h> using namespace ns3; /**
//LogComponentEnable ("MmWaveFlexTtiMacScheduler", LOG_LEVEL_DEBUG); uint16_t numEnb = 1; Time m_subframePeriod = Time (NanoSeconds (1e5));//!< time duration of a single subframe CommandLine cmd; cmd.Parse (argc, argv); Config::SetDefault ("ns3::MmWaveHelper::RlcAmEnabled", BooleanValue (rlcAmEnabled)); Config::SetDefault ("ns3::MmWaveFlexTtiMacScheduler::HarqEnabled", BooleanValue (harqEnabled)); Config::SetDefault ("ns3::MmWaveFlexTtiPfMacScheduler::HarqEnabled", BooleanValue (harqEnabled)); Config::SetDefault ("ns3::MmWaveFlexTtiMaxWeightMacScheduler::HarqEnabled", BooleanValue (harqEnabled)); Config::SetDefault ("ns3::MmWaveFlexTtiMaxRateMacScheduler::HarqEnabled", BooleanValue (harqEnabled)); Config::SetDefault ("ns3::MmWavePhyMacCommon::TbDecodeLatency", UintegerValue (200.0)); // the applications on this example start very early. Ptr mmwaveHelper = CreateObject (); ConfigStore inputConfig; // parse again so you can override default values from the command line // create MmWavePhyMacCommon object Ptr pgw = epcHelper->GetPgwNode (); // Create a single RemoteHost // Create the Internet Ipv4StaticRoutingHelper ipv4RoutingHelper; NodeContainer ueNodes; // Install Mobility Model MobilityHelper uemobility; for (unsigned i = 0; i < numUe; i++) //uemobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel"); for (unsigned i = 0; i < numUe; i++) // Install mmWave Devices to the nodes // Install the IP stack on the UEs mmwaveHelper->AttachToClosestEnb (uemmWaveDevs, enbmmWaveDevs); // Install and start applications on UEs and remote host double dataRateMB = 100e6; // 100 MBps mao // dlClient.SetAttribute ("DataRate", DataRateValue (dataRate)); dlClient.SetAttribute ("OnTime", StringValue (ss.str ())); for (uint32_t u = 0; u < ueNodes.GetN (); ++u) // UdpClientHelper dlClient (ueIpIface.GetAddress (u), dlPort); // UdpClientHelper client (ueIpIface.GetAddress (u), otherPort);
// if (u+1 < ueNodes.GetN ()) Simulator::Stop (Seconds (simTime)); /GtkConfigStore config; Simulator::Destroy (); } |
Is there something I missed when I set up the scheduler? In the newest version, after I change the scheduler, mcs is still 0. Looking forward to hearing from you. |
Hi,
Thank you for providing wonderful simulator.
I'm doing my own project with ns3-mmwave.
I want to reproduce your multi-user scheduling experiment in paper End-to-End Simulation of 5G mmWave Networks. So I started from mmWave-epc-tdma.cc.
I use the file RxPacketTrace.txt to get the DL PHY Throughput. Here are some questions.
Looking forward to hearing from you.
The text was updated successfully, but these errors were encountered: