Skip to content

Simulation models observing the registration procedure in IEEE 802.3av networks

License

Notifications You must be signed in to change notification settings

StokicDusan/IEEE-802.3av

Repository files navigation

Commit-activity Issues Repo-size License
Forks LinkedIn

IEEE 802.3av simulation scripts

This simulation models observe the registration procedure in IEEE 802.3av networks. The aim is to review the performance of the network during the process of finding and registering newly connected optical network units (ONUs) to the optical line terminal (OLT).

Simulations based on article Allocation of optimal discovery slots in IEEE 802.3av networks.

802-3av-cluster.py :

Scripts draw a 3D plot of the dependence of registration efficiency (U) upon the number of ONUs (N) placed in a cluster and the maximal wait time (wmax).

802-3av-random.py :

Scripts draw a 3D plot of the dependence of registration efficiency (U) upon the number of ONUs (N) randomly distanced and the maximal wait time (wmax).

802-3av-equidistant.py :

Scripts draw a 3D plot of the dependence of registration efficiency (U) upon the number of ONUs (N) equidistant form each other and the maximal wait time (wmax).

Installing the dependencies

This script require the mpl_toolkits, pylab, numpy and matplotlib package. To install the packages, execute:

$ pip install -r requirements.txt

How to use it

1. Clone this repository:

$ git clone https://github.com/StokicDusan/IEEE-802.3av.git
$ cd IEEE-802.3av/

2. Launch

In the command line simply invoke the scripts:

$ python3 802-3av-cluster.py
$ python3 802-3av-random.py
$ python3 802-3av-equidistant.py

Results

Figures of invoked scripts with 10000 replications are seen below

  • Equidistant ONU:
    test
  • Cluster ONU:
    test
  • Random ONU:
    test

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.