-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tuyen.ta
committed
Mar 1, 2019
1 parent
0a826ea
commit 84c6513
Showing
1 changed file
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,81 @@ | ||
## IOT-MAB: Decentralized Intelligent Resource Allocation Approach for LoRaWAN Networks | ||
# IOT-MAB: Decentralized Intelligent Resource Allocation Approach for LoRaWAN Networks | ||
|
||
## Introduction | ||
|
||
## Installation | ||
It is recommend to use virtualenv to keep your Python environment isolated, together with virtualenvwrapper to make working with virtual environments much more pleasant, e.g.: | ||
|
||
```python | ||
$ pip install virtualenvwrapper | ||
... | ||
$ export WORKON_HOME=~/.virtualenvs | ||
$ mkdir -p $WORKON_HOME | ||
$ source /usr/local/bin/virtualenvwrapper.sh | ||
$ mkvirtualenv -p python2 iot_mab | ||
``` | ||
|
||
You can install the required packages using the provided requirements.txt file: | ||
|
||
```python | ||
(lorasim)$ pip install -r requirements.txt | ||
``` | ||
|
||
## Usage | ||
|
||
## | ||
### Synopsis | ||
|
||
### Description | ||
NODES | ||
|
||
number of nodes to simulate. | ||
|
||
nrIntNODES | ||
|
||
number of smart nodes to simulate. | ||
|
||
BS | ||
|
||
number of base station. | ||
|
||
RADIUS | ||
|
||
radius to simulate | ||
|
||
AVGSEND | ||
|
||
average sending interval in milliseconds. | ||
|
||
horTime | ||
|
||
time to simulate | ||
|
||
packetLength | ||
|
||
length of packet to simulate | ||
|
||
SFSET | ||
|
||
set of SF to simulate | ||
|
||
FREQSET | ||
|
||
set of frequency to simulate | ||
|
||
POWSET | ||
|
||
set of power to simulate | ||
|
||
CAPTURE_EFFECT | ||
|
||
capture effect (power collision) or not | ||
|
||
INTER_SF_INTERFERENCE | ||
inter-sf interference | ||
|
||
info_mode | ||
|
||
information mode to simulate | ||
|
||
### Output | ||
|
||
The result of every simulation run will be appended to a file named prob..._X.csv, whereby prob..._X. The data file is then plotted into .png file by using matplotlib. |