Abstract
The Systems Modeling Language (SysML) is a semi-formal, visual modelling language used in the specification and design of systems. In this paper, we describe how Communicating Sequential Processes (CSP) and its associated refinement checker, Failures Divergences Refinement (FDR), gives rise to an approach that facilitates the refinement checking of the behavioural consistency of SysML diagrams. We formalise the conjoined behaviour of key behavioural constructs — state machines and activities — within the context of SysML. Furthermore, blocks, the fundamental modelling construct of the SysML language, can be combined in a compositional approach to system specification. The use of a process-algebraic formalism enables us to explore the behaviour of the resulting composition more rigorously. We demonstrate how CSP, in conjunction with SysML, can be used in a formal top-down approach to systems engineering. A small case study validates the contribution.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We restrict ourselves to signal parameters here, although in SysML these can be any classifier that can serve as an input to an activity.
- 2.
A value specification action, rather than an activity parameter node, connected via an object flow, can be used for constants.
- 3.
Note that an incoming control flow is still present and also terminates on \(n_1\).
- 4.
Next, the guard (if it exists) is evaluated and if false the event is discarded without effect. Conversely, if the guard evaluates to true the behavioural construct specified for the effect are executed before behaving as the process associated with the destination state. Guards are omitted in this paper due to space restrictions.
References
Leveson, N.G.: Engineering a Safer World: Systems Thinking Applied to Safety. MIT Press, Cambridge (2012)
Object Management Group: Systems Modeling Language Specification, version 1.3 (2012). http://www.omg.org/spec/SysML/1.3, March 2014
Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall, London (1985)
Jacobs, J., Simpson, A.: Towards a process algebra framework for supporting behavioural consistency and requirements traceability in SysML. In: Groves, Lindsay, Sun, Jing (eds.) ICFEM 2013. LNCS, vol. 8144, pp. 265–280. Springer, Heidelberg (2013)
Davies, J.W.M., Crichton, C.R.: Concurrency and refinement in the unified modeling language. Electron. Notes in Theoret. Comput. Sci. 70(3), 217–243 (2002)
Lewerentz, Claus, Lindner, Thomas (eds.): Formal Development of Reactive Systems. LNCS, vol. 891. Springer, Heidelberg (1995)
Ng, M.Y., Butler, M.: Towards formalizing UML state diagrams in CSP. In: Proceedings of the 1st International Conference on Software Engineering and Formal Methods (SEFM 2003), pp. 138–147. IEEE (2003)
Yeung, W.L., Leung, K.R.P.H., Dong, W., Wang, J.: Improvements towards formalizing UML state diagrams in CSP. In: Proceedings of the 12th Asia-Pacific Software Engineering Conference (APSEC 2005), pp. 176–182. IEEE (2005)
Xu, D., Philbert, N., Liu, Z., Liu, W.: Towards formalizing UML activity diagrams in CSP. In: Proceedings of the 2008 International Symposium on Computer Science and Computational Technology (ISCSCT 2008), pp. 450–453. IEEE (2008)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Jacobs, J., Simpson, A. (2015). A Formal Model of SysML Blocks Using CSP for Assured Systems Engineering. In: Artho, C., Ölveczky, P. (eds) Formal Techniques for Safety-Critical Systems. FTSCS 2014. Communications in Computer and Information Science, vol 476. Springer, Cham. https://doi.org/10.1007/978-3-319-17581-2_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-17581-2_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-17580-5
Online ISBN: 978-3-319-17581-2
eBook Packages: Computer ScienceComputer Science (R0)