Wet string theory

Software / hardware. Think that a telecoms network can be thought of as hardware managed by blobs of software.

Every thing is managed by a blob of software represented by an object.

Now group these objects into an array indexed by a name.

Have an associative array of objects.

Index the associative array by a string representing the instance of the object.

   a[ "nodeName" ] = object()
 
So there you have it.

Example

INPUT:

OUTPUT:

Further Notes

You have to link the objects together.

An electronic circuit can be drawn and there is load of maths that describe how to represent circuits as matrices.

   Matrix:-
   ===============
   [V] = [R][I]
   [I] = [G][V]
 
   [V] = [K][R][I]
   [I] = [K][G][V]
 
Use Ohm laws to convert Voltages to Currents and Kirchoff laws to model the wiring.

Kirchoff's laws are specified for sums of currents into a node and sums of voltages around a loop.

What about rates of events into a leaky bucket?

A leaky bucket measures the rate of events, which can be summed from many sources.