This page contains an applet that should appear as a separate window.
This model demonstrates the use of a modal model to implement
hysteresis, but where, with a specified probability, the model
fails to switch levels on detecting a threshold crossing.