5Th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools
Total Page:16
File Type:pdf, Size:1020Kb
Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools University of Nottingham, UK, 19 April, 2013 Editor Henrik Nilsson EOOLT Supported by The Functional Programming Laboratory, School of Computer Science, University of Nottingham 2013 ISSN: 1650-3686 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools 19 April 2013, Nottingham, UK Proceedings Edited by Henrik Nilsson Copyright The publishers will keep this document online on the Internet — or its possible replacement — starting from the date of publication barring exceptional circumstances. The online availability of the document implies permanent permission for anyone to read, to down- load, or to print out single copies for his/her own use and to use it unchanged for noncommercial re- search and educational purposes. Subsequent transfers of copyright cannot revoke this permission. All other uses of the document are conditional upon the consent of the copyright owner. The publisher has taken technical and administrative measures to assure authenticity, security and accessibility. According to intellectual property law, the author has the right to be mentioned when his/her work is accessed as described above and to be protected against infringement. For additional information about Linkping University Electronic Press and its procedures for publication and for assurance of document integrity, please refer to its www home page: http://www.ep.liu.se/. Series: Link¨oping Electronic Conference Proceedings, No. 84 ISSN (print): 1650-3686 ISSN (online): 1650-3740 ISBN (print): 978-91-7519-621-3 ISBN (online): 978-91-7519-617-6 http://www.ep.liu.se/ecp_home/index.en.aspx?issue=084 Printed by AlphaGraphics, Nottingham, UK, 2013 Copyright c the authors, 2013 Chair’s Welcome It is my great pleasure to welcome you to EOOLT 2013, the 5th International Workshop on Equation- Based Object-Oriented Languages and Tools! Equation-based modeling and simulation languages with hybrid capabilities (that is, supporting both continuous-time and discrete-time aspects) enable high- level reuse and integrated modeling capabilities for physical systems, embedded systems software, as well as their combination. They thus offer considerable advantages for many application areas, in- cluding complex cyber-physical systems. Consequently, this class of languages has gained significant and increasing attention over the last decade. Examples include Modelica, SysML, VHDL-AMS, and Simulink/Simscape. EOOLT is a forum for researchers with interests in all aspects of equation-based modeling languages and their supporting tools, including design, implementation, open issues limiting their expressiveness or usefulness, novel applications, and their relation to other approaches broadly addressing similar needs, such as synchronous and actor-oriented languages. EOOLT 2013 takes place in Nottingham, UK, 19 April, hosted by the School of Computer Science at the University of Nottingham. It follows on from a successful series of earlier EOOLT workshops that took place in Berlin, Germany in 2007; Paphos, Cyprus in 2008; Oslo, Norway in 2010; and Z¨urich, Switzerland in 2011. For further general information about EOOLT, see http://www.eoolt.org. In all, 13 papers were submitted and ultimately accepted for presentation after thorough peer review- ing. Each paper received at least 3 independent reviews. The full, final versions of these papers can all be found in this volume, along with abstracts for the invited talk and two tool demonstrations. I believe the result is a very exciting and strong program for EOOLT 2013! As always, making an event like EOOLT 2013 happen is very much a team effort. First of all, I would like to thank the authors for their contributions: without you, there would not be any EOOLT 2013 in the first place! Then I would like to thank the Program Committee and the additional reviewers who through thorough reviewing and engaged discussions set very high standards for the accepted contributions. The Steering Committee provided timely and helpful advice and other support throughout the organisational effort. I am particularly indebted to David Broman for providing various templates for the proceedings and the website. I would further like to thank Peter Berkesand and Link¨oping University Electronic Press for their invaluable help in putting together and publishing the proceedings. As to the local organisation, I owe a big thank you to John Capper and Nadine Holmes for help with countless practical arrangements. Additionally I gratefully acknowledge the support for EOOLT 2013 offered by Prof. Graham Hutton and the Functional Programming Laboratory, as well as the School of Computer Science for hosting the event and providing administrative support. Henrik Nilsson (Chair) Nottingham, March 2013 iii Table of Contents EOOLT 2013 Organisation ...................................................................vi Session I: Verification and Validation Chair: Henrik Nilsson (University of Nottingham) • Invited Talk:EnclosingHybridBehavior ................................................. .3 Walid Taha (Halmstad University and Rice University) • Static Validation of Modelica Models for Language Compliance and Structural Integrity . .5 Roland Samlaus and Mareike Strach (Fraunhofer Institute for Wind Energy and Energy System Technology) • Modeling System Requirements in Modelica: Definition and Comparison of Candidate Approaches ............................................................... .15 Andrea Tundis (University of Calabria), Lena Rogovchenko-Buffoni (Linkoping¨ University), Peter Fritzson (Linkoping¨ University), and Alfredo Garro (University of Calabria) Session II: Parallel Simulation Chair: Dirk Zimmer (DLR Oberpfaffenhofen) • Parallelization Approaches for the Time-Efficient Simulation of Hybrid Dynamical Systems: ApplicationtoCombustionModeling ....................................................27 Abir Ben Khaled (IFP Energies nouvelles), Mongi Ben Gaid (IFP Energies nouvelles), Daniel Simon (INRIA and LIRMM) • Automating Dynamic Decoupling in Object-Oriented Modelling and Simulation Tools . .37 Alessandro Vittorio Papadopoulos and Alberto Leva (Politecnico di Milano) • A Strategy for Parallel Simulation of Declarative Object-Oriented Models of Generalized PhysicalNetworks .....................................................................45 Francesco Casella (Politecnico di Milano) Session III: Diagnosis and Debugging Chair: Peter Fritzson (Linkoping¨ University) • Functional Debugging of Equation-BasedLanguages ..................................... 55 Arquimedes Canedo and Ling Shen (Siemens Corporation) • Toward an Equation-Oriented Framework for Diagnosis of Complex Systems . 65 Alexander Feldman and Gregory Provan (University College Cork) Session IV: Simulation Methods Chair: Francesco Casella (Politecnico di Milano) • Using Artificial States in Modeling Dynamic Systems: Turning Malpractice into GoodPractice .........................................................................77 Dirk Zimmer (German Aerospace Center (DLR)) • Simplification of Differential Algebraic Equations by the Projection Method . 87 Elena Shmoylova, J¨urgen Gerhard, Erik Postma, and Austin Roche (Maplesoft) • Initialization of Equation-Based Hybrid Models within OpenModelica . 97 Lennart A. Ochel and Bernhard Bachmann (University of Applied Sciences, Bielefeld) iv Session V: Other Topics Chair: Walid Taha (Halmstad University and Rice University) • Tool Demonstration Abstract: OpenModelica and CasADi for Model-Based Dynamic Optimization .........................................................................107 Alachew Shitahun (Linkoping¨ University), Vitalij Ruge (Univ. of Applied Sciences, Bielefeld), Mahder Gebremedhin (Linkoping¨ University), Bernhard Bachmann (Univ. of Applied Sciences, Bielefeld), Lars Eriksson (Linkoping¨ University), Joel Andersson (K.U. Leuven), Moritz Diehl (K.U. Leuven), and Peter Fritzson (Linkoping¨ University) • Tool Demonstration Abstract: OpenModelica Graphical Editor and Debugger . .109 Adeel Asghar and Peter Fritzson (Linkoping¨ University) • ModelicaontheJavaVirtualMachine ..................................................111 Christoph H¨oger (Technische Universitat¨ Berlin) • An Approach to Cellular Automata Modelling in Modelica . .121 Victorino Sanz and Alfonso Urquia (ETSI Informtica, UNED) • Models for Distributed Real-Time Simulation with Vehicle Co-Simulator Setup ............131 Anders Anderson (Swedish National Road and Transportation Institute) and Peter Fritzson (Linkoping¨ University) v EOOLT 2013 Organisation Chair: Henrik Nilsson University of Nottingham Steering Committee: David Broman UC Berkeley and Link¨oping University Franc¸ois Cellier ETH Z¨urich Peter Fritzon Link¨oping University Edward A. Lee UC Berkeley Local Arrangements: John Capper University of Nottingham Nadine Holmes University of Nottingham Henrik Nilsson University of Nottingham Program Committee: Bernhard Bachmann University of Applied Sciences, Bielefeld Bert van Beek Eindhoven University of Technology David Broman UC Berkeley and Link¨oping University Francesco Casella Politecnico di Milano Franc¸ois Cellier ETH Z¨urich Olaf Enge-Rosenblatt Fraunhofer Institute, Dresden Peter Fritzson Link¨oping University Michaela Huhn Clausthal University of Technology Edward A. Lee UC Berkeley Pieter Mosterman MathWorks Ramine Nikoukhah INRIA Rocquencourt and Altair Henrik Nilsson (Chair) University of Nottingham