Update ItuR1238 in BuildingPropagationLossModel with control on floor penetration loss factor

This commit is contained in:
Marco Miozzo
2011-10-04 10:16:06 +02:00
parent e96f8307cb
commit 8674b26d2e

View File

@@ -532,19 +532,28 @@ BuildingsPropagationLossModel::ItuR1238 (Ptr<BuildingsMobilityModel> a, Ptr<Buil
if (aBuilding->GetBuildingType () == Building::Residential)
{
N = 28;
Lf = 4 * n;
if (n>=1)
{
Lf = 4 * n;
}
// NS_LOG_INFO (this << " Residential ");
}
else if (aBuilding->GetBuildingType () == Building::Office)
{
N = 30;
Lf = 15 + (4 * (n-1));
if (n>=1)
{
Lf = 15 + (4 * (n-1));
}
// NS_LOG_INFO (this << " Office ");
}
else if (aBuilding->GetBuildingType () == Building::Commercial)
{
N = 22;
Lf = 6 + (3 * (n-1));
if (n>=1)
{
Lf = 6 + (3 * (n-1));
}
// NS_LOG_INFO (this << " Commercial ");
}
else