标签:
Ptr<LteHelper> lteHelper = CreateObject<LteHelper> (); lteHelper->SetFadingModel("ns3::TraceFadingLossModel");
设置参数:
lteHelper->SetFadingModelAttribute ("TraceFilename", StringValue ("src/lte/model/fading-traces/fading_trace_EPA_3kmph.fad")); lteHelper->SetFadingModelAttribute ("TraceLength", TimeValue (Seconds (10.0))); lteHelper->SetFadingModelAttribute ("SamplesNum", UintegerValue (10000)); lteHelper->SetFadingModelAttribute ("WindowSize", TimeValue (Seconds (0.5))); lteHelper->SetFadingModelAttribute ("RbNum", UintegerValue (100));
Excerpt of the fading trace included in the simulator for a pedestrian scenario (speed of 3 kmph).
Excerpt of the fading trace included in the simulator for a vehicular scenario (speed of 60 kmph).
参考文献
https://www.nsnam.org/docs/models/html/lte-user.html
LTE Module User Documentation(翻译4)—— 使用 Fading Trace
标签:
原文地址:http://www.cnblogs.com/alice123/p/5500411.html