Skip to main content

A Formal Model of SysML Blocks Using CSP for Assured Systems Engineering

  • Conference paper
  • First Online:
Formal Techniques for Safety-Critical Systems (FTSCS 2014)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 476))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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. 2.

    A value specification action, rather than an activity parameter node, connected via an object flow, can be used for constants.

  3. 3.

    Note that an incoming control flow is still present and also terminates on \(n_1\).

  4. 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

  1. Leveson, N.G.: Engineering a Safer World: Systems Thinking Applied to Safety. MIT Press, Cambridge (2012)

    Google Scholar 

  2. Object Management Group: Systems Modeling Language Specification, version 1.3 (2012). http://www.omg.org/spec/SysML/1.3, March 2014

  3. Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall, London (1985)

    MATH  Google Scholar 

  4. 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)

    Chapter  Google Scholar 

  5. 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)

    Article  Google Scholar 

  6. Lewerentz, Claus, Lindner, Thomas (eds.): Formal Development of Reactive Systems. LNCS, vol. 891. Springer, Heidelberg (1995)

    MATH  Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jaco Jacobs .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics