User Manual, Developers Guide and API Documentation

rise::scenario::pathloss::SingleSlope Class Reference

User defined one slope pathloss. More...

#include <scenario/pathloss/SingleSlope.hpp>

Inheritance diagram for rise::scenario::pathloss::SingleSlope:

Inheritance graph
[legend]
Collaboration diagram for rise::scenario::pathloss::SingleSlope:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SingleSlope (const wns::pyconfig::View &config)
virtual ~SingleSlope ()

Private Types

typedef OneSlope
< NoHeightFreqAttFormula,
NoHeightDistAttFormula
Super

Private Attributes

PathlossoutOfMaxRange
PathlossoutOfMinRange


Detailed Description

This class implements following formula:

pl = offset + distFactor * log10(distance/m * distNormFactor) + freqFactor * log10(frequency/MHz)

As in all Pathloss-models, minPathloss is guaranteed, so the returned value is max(minPathloss, pl).

offset, distFactor and freqFactor are configurable via pyconfig::Parser, distNormFactor is 1, if distanceUnit was set to "m", 1/1000, if it was "km" in the original formula. The distance argument, however, must always be given in meters [m].

You have to provide sensible values for validDistances and validFrequencies in your configuration. You can use whichever Pathloss model you like as out of range strategy (e.g. Constant, Deny, FreeSpace, another SingleSlope), but keep in mind that the pathloss will be discontinuous at the validDistances borders, if set up improperly.

Pathloss.py contains two example configurations, one sets up the Umts3003Outdoor model that was used in SGOOSE, the other sets up a free space model.

Definition at line 63 of file SingleSlope.hpp.


Member Typedef Documentation

Definition at line 66 of file SingleSlope.hpp.


Constructor & Destructor Documentation

SingleSlope::SingleSlope ( const wns::pyconfig::View config  ) 

Definition at line 41 of file SingleSlope.cpp.

virtual rise::scenario::pathloss::SingleSlope::~SingleSlope (  )  [inline, virtual]

Definition at line 70 of file SingleSlope.hpp.


Member Data Documentation

Definition at line 76 of file SingleSlope.hpp.

Definition at line 75 of file SingleSlope.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:39 2012 for openWNS by  doxygen 1.5.5