This applet is made for playing with the Real-time traffic model and its different metrics which are introduced in Chapter 9 of the book.

Congestion rate
Mean throughput
Loss rate
Link load

To get the three metrics, fill the fields "Capacity", "Traffic" and and click on the "Metrics" button. If you want to get the capactiy or the traffic corresponding to some metrics, fill respectively the field "Traffic" or "Capacity" and at least one of the metrics fields and then click on the corresponding button.

The rate of each flow is assumed to be 1. In all cases, the link load is calculated automatically.

The source code of the functions, in javascript, can be downloaded here.