Showing posts with label uni. Show all posts
Showing posts with label uni. Show all posts

Tuesday, 13 May 2008

Another Uni Project

If anyone is interested in Erlang B Calculations, very relevent to any communications or engineering students, I've written a little quick piece of code to calculate them.

There are several levels of functionality in the code.
Erlang B itself only has 2 variables, System load in Erlangs, and the number of "trunks" (read: servers/call center operators/phone lines), and its output is a blocking probability from 0 to 1

All three of these variables or none atall can be defined at runtime;
  • The desired blocking probability can be input to stop the calculation at that point. (default 0)
  • The Load can be defined (See Erlang A) (default 1)
  • The maximum trunks to be calculated (default 100)
The code uses the unistd.h library for argument parsing so is more or less unix only (or cygwin alternativly) and long doubles for more or less everything inside the code.

Having tested the limits, it kinda conks out then calculating large (read 1000 erlangs) on large trunks (got as far as 1234 trunks, then died)

When i get a bit of time i might optimise the factorial part so it doesnt run thru the entire factorial sequence for each number.

Anyway, the code is here. I'm not wasting my time laying out code on blogger.

Sunday, 16 December 2007

Introduction

So.... I'm Andrew, I'm a technical person, and I'm gonna use this blog to post out some of my technical musings and little experiments.

Currently, I'm working off of three systems, Athena, Apollo and Hermes.

Athena:Headless Ubuntu Server 7.10, 2.6 Kernel AMD Semperon 3200+, 512MB RAM, 3 Hard Drives Totalling Just Under 1TB (mostly storage and backup archives)

Apollo:WinXP AMD Athlon64 X2 6000+ (3GHz), 4GB RAM (32bit xp only sees 3.5 tho.) GeForce 7600 GS (512MB) and a 500GB SATA drive (My Workhorse for classes and heavy experiments eg VMWare)

Hermes:Ubuntu 7.10 Laptop, Celeron 1.7GHz, 512MB RAM, 60GB HDD (My Carry-about-workstation)

One thing I plan on documenting soon is the progression to WinXP64bit, testing in VMWare first, and then in real life. Maybe someday.

Also I'll be documenting some of my work at Queens University Belfast, where I study Electronics & Software Engineering, aswell as posting some things i think are interesting.

Of Course, this is all dependant on my updating this blog........