|
INET Framework for OMNeT++/OMNEST
|
Two-Ray interference model borrowed from Veins (default parameterization) More...
#include <TwoRayInterference.h>
Public Member Functions | |
| TwoRayInterference () | |
| Literature referenced here: Rappaport, Theodore: Wireless Communications - Principles and Practice, 2nd edition, 2002 Jakes, William C. More... | |
| void | initialize (int stage) override |
| double | computePathLoss (const ITransmission *, const IArrival *) const override |
| Returns the loss factor for the provided transmission and arrival. More... | |
| double | computePathLoss (mps propagation, Hz frequency, m distance) const override |
| Returns the loss factor as a function of propagation speed, carrier frequency and distance. More... | |
| m | computeRange (mps propagation, Hz frequency, double loss) const override |
| Returns the range for the given loss factor. More... | |
| std::ostream & | printToStream (std::ostream &, int level, int evFlags=0) const override |
| Prints this object to the provided output stream. More... | |
Public Member Functions inherited from inet::IPrintableObject | |
| virtual | ~IPrintableObject () |
| virtual std::string | printToString () const |
| virtual std::string | printToString (int level, int evFlags=0) const |
| virtual std::string | getInfoStringRepresentation (int evFlags=0) const |
| virtual std::string | getDetailStringRepresentation (int evFlags=0) const |
| virtual std::string | getDebugStringRepresentation (int evFlags=0) const |
| virtual std::string | getTraceStringRepresentation (int evFlags=0) const |
| virtual std::string | getCompleteStringRepresentation (int evFlags=0) const |
Protected Member Functions | |
| virtual double | computeTwoRayInterference (const Coord &posTx, const Coord &posRx, m waveLength) const |
| virtual double | reflectionCoefficient (double cos_theta, double sin_theta) const |
Protected Attributes | |
| double | epsilon_r |
| char | polarization |
Additional Inherited Members | |
Public Types inherited from inet::IPrintableObject | |
| enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
| enum | PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) } |
Two-Ray interference model borrowed from Veins (default parameterization)
See "Using the Right Two-Way Model? A Measurement-based Evaluation of PHY Models in VANETs" by C. Sommer and F. Dressler (2011) or "On the Applicability of Two-Ray Path Loss Models for Vehicular Network Simulation" by C. Sommer, S. Joerer and F. Dressler (2012)
| inet::physicallayer::TwoRayInterference::TwoRayInterference | ( | ) |
Literature referenced here: Rappaport, Theodore: Wireless Communications - Principles and Practice, 2nd edition, 2002 Jakes, William C.
: "Microwave Mobile Communications", 1974
|
overridevirtual |
Returns the loss factor for the provided transmission and arrival.
The value is in the range [0, 1] where 1 means no loss at all and 0 means all power is lost.
Implements inet::physicallayer::IPathLoss.
|
overridevirtual |
Returns the loss factor as a function of propagation speed, carrier frequency and distance.
The value is in the range [0, 1] where 1 means no loss at all and 0 means all power is lost.
Implements inet::physicallayer::IPathLoss.
|
overridevirtual |
Returns the range for the given loss factor.
The value is in the range [0, +infinity) or NaN if unspecified.
Implements inet::physicallayer::IPathLoss.
|
protectedvirtual |
Referenced by computePathLoss().
|
override |
|
overridevirtual |
|
protectedvirtual |
Referenced by computeTwoRayInterference().
|
protected |
Referenced by initialize(), printToStream(), and reflectionCoefficient().
|
protected |
Referenced by initialize(), printToStream(), and reflectionCoefficient().