A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
itu-r-1411-nlos-over-rooftop-propagation-loss-model.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Marco Miozzo <marco.miozzo@cttc.es>
7 * Nicola Baldo <nbaldo@cttc.es>
8 *
9 */
10
11#ifndef ITU_R_1411_NLOS_OVER_ROOFTOP_PROPAGATION_LOSS_MODEL_H
12#define ITU_R_1411_NLOS_OVER_ROOFTOP_PROPAGATION_LOSS_MODEL_H
13
16
17namespace ns3
18{
19
20/**
21 * \ingroup propagation
22 *
23 * \brief the ITU-R 1411 NLOS over rooftop propagation model
24 *
25 * This class implements the ITU-R 1411 LOS propagation model for
26 * Non-Line-of-Sight (NLoS) short range outdoor communication over
27 * rooftops in the frequency range 300 MHz to 100 GHz.
28 * For more information about the model, please see
29 * the propagation module documentation in .rst format.
30 */
32{
33 public:
34 /**
35 * \brief Get the type ID.
36 * \return the object TypeId
37 */
38 static TypeId GetTypeId();
39
42
43 // Delete copy constructor and assignment operator to avoid misuse
48
49 /**
50 * Set the operating frequency
51 *
52 * \param freq the frequency in Hz
53 */
54 void SetFrequency(double freq);
55
56 /**
57 *
58 *
59 * \param a the first mobility model
60 * \param b the second mobility model
61 *
62 * \return the loss in dBm for the propagation between
63 * the two given mobility models
64 */
66
67 private:
68 double DoCalcRxPower(double txPowerDbm,
70 Ptr<MobilityModel> b) const override;
71 int64_t DoAssignStreams(int64_t stream) override;
72
73 double m_frequency; //!< frequency in MHz
74 double m_lambda; //!< wavelength
75 EnvironmentType m_environment; //!< Environment Scenario
76 CitySize m_citySize; //!< Dimension of the city
77 double m_rooftopHeight; //!< in meters
78 double m_streetsOrientation; //!< in degrees [0,90]
79 double m_streetsWidth; //!< in meters
80 double m_buildingsExtend; //!< in meters
81 double m_buildingSeparation; //!< in meters
82};
83
84} // namespace ns3
85
86#endif // ITU_R_1411_NLOS_OVER_ROOFTOP_PROPAGATION_LOSS_MODEL_H
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
PropagationLossModel.
ItuR1411NlosOverRooftopPropagationLossModel(const ItuR1411NlosOverRooftopPropagationLossModel &)=delete
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
ItuR1411NlosOverRooftopPropagationLossModel & operator=(const ItuR1411NlosOverRooftopPropagationLossModel &)=delete
Models the propagation loss through a transmission medium.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
Definition type-id.h:48
EnvironmentType
The type of propagation environment.
CitySize
The size of the city in which propagation takes place.
Every class exported by the ns3 library is enclosed in the ns3 namespace.