Conclusion
Hybrid modelling formalism embraces discontinuities and discrete events along with the usual piecewise continuous signals. It provide modelling semantics that are easily understandable, which can help users model complicated systems combined with both continuous and disereted behaviors.
This project used HyVisual modeling and simulation a train transportation system. Based on graphic block-diagram provided by HyVisual, the model is straightforward. The different modes of system and the transactions between them are handled properly by the hierarchical structure.
With the hierarchical strucuture in HyVisual, this project can be easily extended to be more complicated. By adding more modal model actors and input/outpuot ports in the first layer, it can simulate a complete train traffic system.