The paper <http://cell-devs.sce.carleton.ca/publications/2013/GWK13/DEVSintro.pdf> focuses on [DEVS](https://en.wikipedia.org/wiki/DEVS) has a model of an automatic lighting system. Figure 6 is a flat graph (page 19 of 34) and Figure 8 (page 27 of 34) has a hierarchical graph.
The paper http://cell-devs.sce.carleton.ca/publications/2013/GWK13/DEVSintro.pdf focuses on DEVS has a model of an automatic lighting system.
Figure 6 is a flat graph (page 19 of 34) and Figure 8 (page 27 of 34) has a hierarchical graph.