Augusto Franco
unread,May 7, 2015, 10:24:12 AM5/7/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
Hi,
Im creating a HetNet scenario (Macro and Small cells), and I want to simulate different propagation loss models (LogDistancePropagationLossMode) for each cell type.
128.1 + 37.6*log10(R) — for Macro, and…
140.7 + 36.7*log10(R) — for Small Cells
lteHelper->SetSpectrumChannelType ("ns3::MultiModelSpectrumChannel");
lteHelper->SetAttribute ("PathlossModel", StringValue"ns3::LogDistancePropagationLossModel"));
lteHelper->SetPathlossModelAttribute("Exponent", DoubleValue (3.76));
lteHelper->SetPathlossModelAttribute("ReferenceLoss", DoubleValue (128.1));
I don't know how to change the atributes (“Exponent” and “ReferenceLoss”) used by the small cells.
I tried to create a different path loss object…
Ptr<LogDistancePropagationLossModel> pathLoss = CreateObject<LogDistancePropagationLossModel> ();
Ptr<LteEnbNetDevice> lteSmallEnbDev = SmallenbDevs.Get (0)->GetObject<LteEnbNetDevice> ();
Ptr<LteEnbPhy> SmallenbPhy = SmalllteEnbDev->GetPhy();
SmallenbPhy->GetDownlinkSpectrumPhy()->GetChannel()->AddPropagationLossModel(pathLoss);
But I got:
assert failed. cond="m_propagationLoss == 0", file=../src/spectrum/model/multi-model-spectrum-channel.cc, line=426 terminate called without an active exception
What should I do???
How I do create the pathloss with different components for each cell type?
Best Regards
August.