Hexagonal Wirless Network

Java Discrete Event Driven Simulation

 

Recently in my Networks course at Guelph they had us create an event-driven discrete simulation to model both a wireless network and a switch. For the project I got a hexagonal geometry for the wireless network which was to be arranged similar to a Manhattan Street Network with each node having at most six neighbours. Other groups got triangular and square geometries for this portion.  For the switch I got an 8×8 Banyan switch. Other groups got the crossbar switch or backplane switches.

Hexagonal Wirless Network

The first run of the simulation was terrible. There were problems with the timing in the simulation and nodes which were supposed to be holding packets in them towards the end of the simulation were actually blocking traffic right at the start causing an extremely high proportion of packets to be dropped.  In revision two the problems were fixed and the results were so well done that the prof accused us of doctoring them.

So basically, I thought I would post the code online in case anyone would like to make use of it.  Right now the simulation does not take into account such factors as interference and is fairly simplistic however it is good for testing different network geometries and routing algorithms within them. It could easily be extended to include more complicated factors such as interference however it was not necessary at the time of the project. If you are making use of the code please leave a reference to my name in it.  If you have any questions or would like some help getting it to work feel free to contact me.

For those who are interested here are some of the results from the simulations:

And for those who would like the code here are the links:

 
Post comment as twitter logo facebook logo
Sort: Newest | Oldest

Thanks for the reply, Hope to see you back around the site more often!

I just stopped by your blog and thought I would say hello. I like your site design. Looking forward to reading more down the road. Robert Michel

Recent Articles

Simple Telnet - Example Application

OpenGL Console Library for Blackberry Native SDK (Playbook)

January 24, 2012

Over the break, I decided to try my hand at some Blackberry native SDK...

Creating a Bluetooth Access point (NAP) in Ubuntu 11.10

Creating a Bluetooth Access point (NAP) in Ubuntu 11.10

November 29, 2011

A Bluetooth NAP is similar to a Wi-Fi access point. In this case, we will...

Screenshot at 2011-11-29 08:54:32

Burg / Grub 2 Icons for Meego

November 29, 2011

Only recently I noticed that Moblin (which I sometimes use) has changed...

 
Aircrack suite + Ubuntu 11.10 problems with monitor mode channel

Aircrack suite + Ubuntu 11.10 problems with monitor mode...

November 4, 2011

Recently I have been playing around with the aircrack suite and in...

Upcoming PhD QE Progress

Upcoming PhD QE Progress

July 27, 2011

So I've been doing my PhD for over two years now, and I haven't posted a...

waterloo

Why Blanket Wireless Coverage in Waterloo Failed, and...

July 22, 2011

Today the KW Record ran an article entitled "Blanket Wi-Fi plans unplugged...