During system development, how to validate that the system developed satisfies the user requirements and how to reduce the cost of system modification are very important issues. Simulation which is performed in the requirement analysis phase is a low ...
During system development, how to validate that the system developed satisfies the user requirements and how to reduce the cost of system modification are very important issues. Simulation which is performed in the requirement analysis phase is a low cost alternative to the actual implementation and execution of a real system. UML state machine simulation makes it possible to check the correctness of system functionality and is widely recognized as a valuable analysis method. Therefore, we can easily evaluate several system models, check and correct the weakness of system models in the earlier development stage.
In order to simulate more efficiently, we choose a way of performing the simulation automatically based on user requirements, which can be represented by sequence diagrams. However, state machine diagrams and sequence diagrams have different system abstract hierarchy. Therefore it is impossible to combine them directly. To solve these problems, we use the method of adjusting state machine diagrams and sequence diagrams to the same abstract level.
In this thesis, we present a UML state machine simulation tool. This tool allows us to implement the state machine simulation based on sequence diagram. The simulation operations are based on analyzing labeled transition system (LTS) models transformed from UML state machine diagrams using a transformation approach we designed. For analyzing LTS models efficiently, we adopt reduction and composition method in compositional reachability analysis. And also state machine diagrams’ information removed in the process of abstraction will be recovered for generating actual simulation traces.