A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
three-gpp-two-ray-channel-calibration.cc File Reference
#include <ns3/command-line.h>
#include <ns3/core-module.h>
#include <ns3/double.h>
#include <ns3/isotropic-antenna-model.h>
#include <ns3/mobility-helper.h>
#include <ns3/node-container.h>
#include <ns3/object-factory.h>
#include <ns3/pointer.h>
#include <ns3/string.h>
#include <ns3/three-gpp-channel-model.h>
#include <ns3/three-gpp-propagation-loss-model.h>
#include <ns3/three-gpp-spectrum-propagation-loss-model.h>
#include <ns3/two-ray-spectrum-propagation-loss-model.h>
#include <ns3/uinteger.h>
#include <ns3/uniform-planar-array.h>
+ Include dependency graph for three-gpp-two-ray-channel-calibration.cc:

Go to the source code of this file.

Functions

double ComputeEndToEndGain (std::string cond, std::string scen, double fc, Ptr< Node > a, Ptr< Node > b, Ptr< PhasedArrayModel > aArray, Ptr< PhasedArrayModel > bArray)
 
double ComputePowerSpectralDensityOverallPower (Ptr< const SpectrumValue > psd)
 
Ptr< SpectrumValueCreateTxPowerSpectralDensity (double fc)
 
void LogEndToEndGain (std::string cond, std::string scen, double fc, long int seed, double gain)
 

Variables

constexpr double BW = 200e6
 
constexpr double FC_STEP = 5e9
 
const Ptr< OutputStreamWrapperg_outStream
 
const std::vector< std::string > LOS_CONDITIONS
 
constexpr double MAX_FC = 100e9
 
constexpr double MIN_FC = 500e6
 
constexpr double RB_WIDTH = 60e3
 
const std::vector< std::string > THREE_GPP_SCENARIOS
 

Function Documentation

◆ ComputeEndToEndGain()

double ComputeEndToEndGain ( std::string  cond,
std::string  scen,
double  fc,
Ptr< Node a,
Ptr< Node b,
Ptr< PhasedArrayModel aArray,
Ptr< PhasedArrayModel bArray 
)

Definition at line 123 of file three-gpp-two-ray-channel-calibration.cc.

References ComputePowerSpectralDensityOverallPower(), CreateTxPowerSpectralDensity(), and NS_ABORT_MSG.

+ Here is the call graph for this function:

◆ ComputePowerSpectralDensityOverallPower()

double ComputePowerSpectralDensityOverallPower ( Ptr< const SpectrumValue psd)

Definition at line 80 of file three-gpp-two-ray-channel-calibration.cc.

References ns3::Integral().

Referenced by ComputeEndToEndGain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateTxPowerSpectralDensity()

Ptr< SpectrumValue > CreateTxPowerSpectralDensity ( double  fc)

Definition at line 86 of file three-gpp-two-ray-channel-calibration.cc.

References BW, ns3::BandInfo::fc, ns3::BandInfo::fh, ns3::BandInfo::fl, and RB_WIDTH.

Referenced by ComputeEndToEndGain().

+ Here is the caller graph for this function:

◆ LogEndToEndGain()

void LogEndToEndGain ( std::string  cond,
std::string  scen,
double  fc,
long int  seed,
double  gain 
)

Definition at line 73 of file three-gpp-two-ray-channel-calibration.cc.

References g_outStream, and ns3::OutputStreamWrapper::GetStream().

+ Here is the call graph for this function:

Variable Documentation

◆ BW

constexpr double BW = 200e6
constexpr

◆ FC_STEP

constexpr double FC_STEP = 5e9
constexpr

Definition at line 41 of file three-gpp-two-ray-channel-calibration.cc.

◆ g_outStream

const Ptr<OutputStreamWrapper> g_outStream
Initial value:
=
Create<OutputStreamWrapper>("two-ray-to-three-gpp-calibration.csv", std::ios::out)

Definition at line 69 of file three-gpp-two-ray-channel-calibration.cc.

Referenced by LogEndToEndGain().

◆ LOS_CONDITIONS

const std::vector<std::string> LOS_CONDITIONS
Initial value:
{
"LOS",
"NLOS",
}

Definition at line 56 of file three-gpp-two-ray-channel-calibration.cc.

◆ MAX_FC

constexpr double MAX_FC = 100e9
constexpr

Definition at line 47 of file three-gpp-two-ray-channel-calibration.cc.

◆ MIN_FC

constexpr double MIN_FC = 500e6
constexpr

Definition at line 44 of file three-gpp-two-ray-channel-calibration.cc.

◆ RB_WIDTH

constexpr double RB_WIDTH = 60e3
constexpr

◆ THREE_GPP_SCENARIOS

const std::vector<std::string> THREE_GPP_SCENARIOS
Initial value:
{
"RMa",
"UMa",
"UMi-StreetCanyon",
"InH-OfficeOpen",
"InH-OfficeMixed",
}

Definition at line 61 of file three-gpp-two-ray-channel-calibration.cc.