Giter Club home page Giter Club logo

arpitjoshi18 / python_simulation_for_stochastic_network Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 1.47 MB

The purpose of this project is to better understand queuing models and scheduling dynamics in stochastic networks using python. This project also gives out information about simulation of wireless network in python script. This script was used in the project to plot queue lengths at different nodes of stochastic networks.

Python 100.00%
stochastic-networks max-weight-algorithm wireless-network

python_simulation_for_stochastic_network's Introduction

Python_simulation_for_Stochastic_Network

The purpose of this project is to better understand queuing models and scheduling dynamics in stochastic networks using python. This project also gives out information about simulation of wireless network in python script. This script was used in the project to plot queue lengths at different nodes of stochastic networks.

Stochastic_network.py

Purpose of developing this python script is to better understand queuing models and scheduling dynamics in stochastic networks. This project also gives out information about simulation of wireless network in python script. This script was used to plot queue lengths at different nodes of stochastic networks. Max-weight algorithm along with backpressure routing were implied for the routing aspects of the network. These techniques are developed in a way to help gain best quality of service using this network. This is because of the fact that wireless connections cannot simultaneously contact the server at the same time. In wired connection, user is directly connected with server and because of that, user does not face any traffic issues. Although in case of wireless networks, every user is connected to server using 802.11 links which can be activated by any user. To avoid collision and to provide better QoS to the users, such algorithms are used to equally time-share the server. This networks are known as stochastic network. Stochastic networks are the networks which vary with time. For this project, one of the stochastic network was developed over python. Stochastic network simulated in the python script can be found here : https://github.com/ArpitJoshi18/Python_simulation_for_Stochastic_Network/blob/master/topology.JPG

As seen in the topology of a network, user-1 : cell-tower & user 2- cell-tower link can be activated in even time slot (any one of the link). Similarly Cell-tower-Nfx server & cell-tower-FBI server link can be chose for the connection.

Max-weight algorithm & Back-pressure algorithm

Max-weight & backpressure algorithm helps determining what link should be activated first and which goes next. It is done by several techniques. Max-weight checks the maximum weight/queue at any node and gives out results accordingly. Backpressure algorithm checks the difference between two nodes (link) to determine which link should be activated. Python code executed in this project executes these algorithm on the stochastic network.

More details on max-weight can be found here : https://github.com/ArpitJoshi18/Python_simulation_for_Stochastic_Network/blob/master/Max-weight.pdf

Mmore details on Back-pressure algorithms can be found here : https://github.com/ArpitJoshi18/Python_simulation_for_Stochastic_Network/blob/master/backpressure.pdf

References used : https://github.com/ArpitJoshi18/Python_simulation_for_Stochastic_Network/blob/master/Resource_allocation%26Cross-layer-control_in_wireless-networks.pdf

python_simulation_for_stochastic_network's People

Contributors

arpitjoshi18 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.