
At the top part of the applet window there is a user interface to allow the user to specify the values of the line length in meters, the threshold in volts, and the attenuation in dB/m.
Two different scenarios can be simulated with this applet:
In the first case, the applet displays the train of pulses traveling down the transmission line, and showing the effect of the line attenuation. The second case presents two such waveforms, starting at oposite ends of the transmission line. The two trains of pulses cross each other at the center point of the line, and their voltages get added.
In both cases, the applet computes the local average of the five pulses measured at the center point. This average is compared to the threshold entered by the user (displayed as a horizontal white line in the applet). When the average of the pulses is below the threshold, the applet reports that no collision was detected. If the average is higher than the threshold, then it reports a collision.