Grafcet model, graph based simulation