LevelCrossingDetector
The LevelCrossingDetector model shown using Vergil, the Ptolemy II schematic editor: