Skip to main content

Formalising and Validating the Interface Description in the FMI Standard

  • Conference paper
  • First Online:
Book cover FM 2016: Formal Methods (FM 2016)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 9995))

Included in the following conference series:

Abstract

The Functional Mock-up Interface (FMI) aims to support the interoperability in an interdisciplinary formal methods setting by describing an interface between different formal models in a tool co-simulation setting. However, the FMI standard describes the requirements for the static limitations on the interfaces in an informal manner using tables and textual descriptions. In this short paper we demonstrate how this kind of static constraints can be formalised using the Vienna Development Method Specification Language, and how the formalisation can be examined and validated exhaustively. Afterwards we present how this can be transferred into code in order to develop a tool that can be used by anyone using the FMI standard enabling a more well-founded basis in such an interdisciplinary setting, by having a formal description of the FMI interface.

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.

    See http://www.modelon.com/products/dymola/.

  2. 2.

    See INTO-CPS App: http://into-cps.github.io/download/.

References

  1. Battle, N., Haxthausen, A., Hiroshi, S., Jørgensen, P.W.V., Plat, N., Sahara, S., Verhoef, M.: The overture approach to VDM language evolution. In: The Overture 2013 Workshop, August 2013

    Google Scholar 

  2. Bjørner, D., Jones, C.B. (eds.): The Vienna Development Method: The Meta-Language. LNCS, vol. 61. Springer, Heidelberg (1978)

    MATH  Google Scholar 

  3. Blochwitz, T.: Functional mock-up interface for model exchange and co-simulation, July 2014. https://www.fmi-standard.org/downloads

  4. C.C.I.T.T.: The specification of chill. Technical report Recommendation Z200, International Telegraph and Telephone Consultative Committee, Geneva, Switzerland (1980)

    Google Scholar 

  5. Andrews, D.J., Garg, A., Lau, S.P.A., Pitchers, J.R.: The formal definition of modula-2 and its associated interpreter. In: Bloomfield, R.E., Marshall, L.S., Jones, R.B. (eds.) VDM 1988. LNCS, vol. 328, pp. 167–177. Springer, Heidelberg (1988). doi:10.1007/3-540-50214-9_15

    Chapter  Google Scholar 

  6. Fitzgerald, J., Gamble, C., Larsen, P.G., Pierce, K., Woodcock, J.: Cyber-physical systems design: formal foundations, methods and integrated tool chains. In: FormaliSE: FME Workshop on Formal Methods in Software Engineering, ICSE 2015, Florence, Italy, May 2015

    Google Scholar 

  7. Fitzgerald, J., Larsen, P.G.: Modelling Systems - Practical Tools and Techniques in Software Development, 2nd edn. Cambridge University Press, Cambridge (2009). ISBN 0-521-62348-0

    Book  MATH  Google Scholar 

  8. ISO: Information technology - Programming languages, their environments and system software interfaces - Vienna Development Method - Specification Language - Part 1: Base language, December 1996

    Google Scholar 

  9. Jones, C.B.: Systematic Software Development Using VDM, 2nd edn. Prentice-Hall International, Englewood Cliffs (1990). ISBN 0-13-880733-7

    MATH  Google Scholar 

  10. Jørgensen, P.W.V., Larsen, P.G.: Towards an overture code generator. In: The Overture 2013 workshop, August 2013

    Google Scholar 

  11. Larsen, P.G., Battle, N., Ferreira, M., Fitzgerald, J., Lausdahl, K., Verhoef, M.: The overture initiative - integrating tools for VDM. SIGSOFT Softw. Eng. Notes 35(1), 1–6 (2010). http://doi.acm.org/10.1145/1668862.1668864

    Article  Google Scholar 

  12. Larsen, P.G., Lausdahl, K., Battle, N.: Combinatorial testing for VDM. In: Proceedings of the 2010 8th IEEE International Conference on Software Engineering and Formal Methods, SEFM 2010, pp. 278–285. IEEE Computer Society, Washington, DC, September 2010. http://dx.doi.org/10.1109/SEFM.2010.32. ISBN 978-0-7695-4153-2

  13. Larsen, P.G., Thule, C., Lausdahl, K., Bardur, V., Gamble, C., Pierce, K., Brosse, E., Sadovykh, A., Bagnato, A., Couto, L.D.: Integrated tool chain for model-based design of cyber-physical systems. In: Submitted for the 14th Overture Workshop, Cyprus, November 2016

    Google Scholar 

  14. Lee, E.: Cyber-physical systems - are computing foundations adequate? In: NSF Workshop On Cyber-Physical Systems: Research Motivation, Techniques and Roadmap, Austin, TX, October 2006

    Google Scholar 

  15. Tran-Jørgensen, P.W.V., Larsen, P.G., Leavens, G.T.: Automated translation of VDM to JML annotated Java (January 2016 Submitted to the International Journal on Software Tools for Technology Transfer (STTT))

    Google Scholar 

  16. Tran-Jørgesen, P.W., Larsen, P.G., Battle, N.: Using JML-based code generation to enhance the test automation for VDM models. Submitted for the 14th Overture Workshop, Cyprus, November 2016

    Google Scholar 

Download references

Acknowledgments

The work presented here is partially supported by the INTO-CPS project funded by the European Commission’s Horizon 2020 programme under grant agreement number 664047.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miran Hasanagić .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing AG

About this paper

Cite this paper

Hasanagić, M., Tran-Jørgensen, P.W.V., Lausdahl, K., Larsen, P.G. (2016). Formalising and Validating the Interface Description in the FMI Standard. In: Fitzgerald, J., Heitmeyer, C., Gnesi, S., Philippou, A. (eds) FM 2016: Formal Methods. FM 2016. Lecture Notes in Computer Science(), vol 9995. Springer, Cham. https://doi.org/10.1007/978-3-319-48989-6_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-48989-6_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-48988-9

  • Online ISBN: 978-3-319-48989-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics