Update pathloss test with new frequency definition in helper

This commit is contained in:
mmiozzo
2011-09-16 16:50:42 +02:00
parent 01ddab90a6
commit 6de4f3c92f
3 changed files with 5 additions and 3 deletions

View File

@@ -303,7 +303,7 @@ double ktDbm = -174; // reference LTE noise PSD
double noisePowerDbm = ktDbm + 10 * log10 (25 * 180000); // corresponds to kT*bandwidth in linear units
double receiverNoiseFigureDb = 9.0; // default UE noise figure
double noiseLin = pow (10, (noisePowerDbm-30+receiverNoiseFigureDb)/10);
double loss[] = {81.0000, 134.0125, 144.1489};
double loss[] = {81.0214, 134.038391, 144.190675};
double dist[] = {100.0, 500.0, 1500};
int numOfTests = sizeof (loss) / sizeof (double);
@@ -506,6 +506,7 @@ LtePathlossModelSystemTestCase::DoRun (void)
// Attach a UE to a eNB
lena->Attach (ueDevs, enbDevs.Get (0));
// Activate an EPS bearer
enum EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;

View File

@@ -84,7 +84,8 @@ disp ("Test #10: the value of ITU1411 in NLOS over the roof-top is:"), disp (g)
% Test #11
d = 104.12;
fmhz = 2114;
fmhz = 2120;
f = 2120e6;
hb = 30;
hm = 1;
hr = 20;

View File

@@ -607,7 +607,7 @@ BuildingsPropagationLossModel::GetLoss (Ptr<MobilityModel> a, Ptr<MobilityModel>
{
return 0.0;
}
NS_LOG_INFO (this << " freq " << m_frequency);
// get the BuildingsMobilityModel pointers
Ptr<BuildingsMobilityModel> a1 = DynamicCast<BuildingsMobilityModel> (a);
Ptr<BuildingsMobilityModel> b1 = DynamicCast<BuildingsMobilityModel> (b);