SimpleTrafficLight

This page contains an applet that should appear as a separate window.

In this model, the undesired behavior is to have the car light and pedestrian light green at the same time. This would lead to accidents. To avoid this, we use temporal logic to describe the specification and generate a file acceptable by model checker NuSMV. Follow the same instructions as in the RailroadControl demo but change the temporal logic formulae for NuSMV to: ! EF (CarLightNormal.state = Cgrn & PedestrianLightNormal.state = Pgreen)

\ \ MoML specification for this model. \