From b3c6b34fc05630dbada2ecea908fcc9da39e2bad Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 18 Jan 2025 17:52:52 +0100 Subject: [PATCH] spectrum: (fixes #1147) Scale the CDS to nanoseconds in 3GPP V2V channel models --- src/spectrum/model/three-gpp-channel-model.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spectrum/model/three-gpp-channel-model.cc b/src/spectrum/model/three-gpp-channel-model.cc index e8b0f931c..1f788ea4e 100644 --- a/src/spectrum/model/three-gpp-channel-model.cc +++ b/src/spectrum/model/three-gpp-channel-model.cc @@ -1670,7 +1670,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.1 * log10(1 + fcGHz) + 0.73; table3gpp->m_sigLgZSD = -0.04 * log10(1 + fcGHz) + 0.34; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 5; + table3gpp->m_cDS = 5 * 1e-9; table3gpp->m_cASD = 17; table3gpp->m_cASA = 17; table3gpp->m_cZSA = 7; @@ -1704,7 +1704,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.04 * log10(1 + fcGHz) + 0.92; table3gpp->m_sigLgZSD = -0.07 * log10(1 + fcGHz) + 0.41; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 11; + table3gpp->m_cDS = 11 * 1e-9; table3gpp->m_cASD = 22; table3gpp->m_cASA = 22; table3gpp->m_cZSA = 7; @@ -1738,7 +1738,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.04 * log10(1 + fcGHz) + 0.92; table3gpp->m_sigLgZSD = -0.07 * log10(1 + fcGHz) + 0.41; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 11; + table3gpp->m_cDS = 11 * 1e-9; table3gpp->m_cASD = 22; table3gpp->m_cASA = 22; table3gpp->m_cZSA = 7; @@ -1779,7 +1779,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.1 * log10(1 + fcGHz) + 0.73; table3gpp->m_sigLgZSD = -0.04 * log10(1 + fcGHz) + 0.34; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 5; + table3gpp->m_cDS = 5 * 1e-9; table3gpp->m_cASD = 17; table3gpp->m_cASA = 17; table3gpp->m_cZSA = 7; @@ -1813,7 +1813,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.04 * log10(1 + fcGHz) + 0.92; table3gpp->m_sigLgZSD = -0.07 * log10(1 + fcGHz) + 0.41; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 11; + table3gpp->m_cDS = 11 * 1e-9; table3gpp->m_cASD = 22; table3gpp->m_cASA = 22; table3gpp->m_cZSA = 7; @@ -1851,7 +1851,7 @@ ThreeGppChannelModel::GetThreeGppTable(const Ptr aMob, table3gpp->m_uLgZSD = -0.04 * log10(1 + fcGHz) + 0.92; table3gpp->m_sigLgZSD = -0.07 * log10(1 + fcGHz) + 0.41; table3gpp->m_offsetZOD = 0; - table3gpp->m_cDS = 11; + table3gpp->m_cDS = 11 * 1e-9; table3gpp->m_cASD = 22; table3gpp->m_cASA = 22; table3gpp->m_cZSA = 7;