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.
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).
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).
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).
This script require the mpl_toolkits, pylab, numpy and matplotlib package. To install the packages, execute:
$ pip install -r requirements.txt
$ git clone https://github.com/StokicDusan/IEEE-802.3av.git
$ cd IEEE-802.3av/
In the command line simply invoke the scripts:
$ python3 802-3av-cluster.py
$ python3 802-3av-random.py
$ python3 802-3av-equidistant.py
Figures of invoked scripts with 10000 replications are seen below
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.