mmwave Question about variables

48 views
Skip to first unread message

tonya...@gmail.com

unread,
Dec 15, 2016, 6:50:34 AM12/15/16
to ns-3-users
Hi,

I'm using mmwave module but I came across something unusual in mmwave-amc-test.cc script.

The names of the variables suggest that these are SNR values in dB, but the comments are indicating that these are, in fact, distances in meters?

double snrIncDb = 0.1; // increment by 10 meters
double snrMinDb = -7.0; // eNB-UE distance in meters
double snrMaxDb = 30; // eNB-UE distance in meters


also, later on, there is a line:


uePositionAlloc->Add (Vector (snrMinDb, 0.0, 0.0));


which also suggest that snrMinDb is the distance in meters actually?


Could someone please clarify this for me?


BR,

Tonya

Tonya Leen

unread,
Dec 15, 2016, 6:55:59 AM12/15/16
to ns-3-users
Also,

this script gives an output in which mentioned variables are treated as SINR, meaning snrInit will be changing by 0.1 (snrIncDb) from -7 (snrMinDb) to 30 (snrMaxDb)  



std::cout << "************* SINR changing to " << snrInit << " (MCS = " << mcs << " ) *************" << std::endl;
Simulator::Schedule (MicroSeconds(3*100), &MmWaveSpectrumPhy::UpdateSinrPerceived,
enbDev->GetPhy()->GetDlSpectrumPhy (), specVals);
//enbPhy->GenerateDataCqiReport(specVals);
if (snrInit > snrMaxDb)
{
return;
}
Simulator::Schedule (MilliSeconds(snrUpdateIntervalMs), &updateSnr, snrInit+0.1, enbDev, model, amc);
}
int

Konstantinos

unread,
Dec 15, 2016, 8:01:57 AM12/15/16
to ns-3-users
Hi Tonya,

the mmWave module is not part of the ns-3 official codebase.
Therefore, I would recommend to send your questions directly to the developers/maintainers of that module

Regards,
K

Tonya Leen

unread,
Dec 15, 2016, 9:10:44 AM12/15/16
to ns-3-...@googlegroups.com
Thank you for your response Konstantinos. 

Yes, I'm aware that the code is unofficial, but I eas hoping someone could help. 

I'll wait for authors' to respond.  

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/CqWsHBV-c0w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages