ecms_neu_mini.png

Digital Library

of the European Council for Modelling and Simulation

 

Title:

DEVS Graph In Modelica For Real-Time Simulation

Authors:

Alfonso Urquia, Carla Martin-Villalba, Mohammad Moallemi,

Gabriel A. Wainer

Published in:

 

(2012).ECMS 2012 Proceedings edited by: K. G. Troitzsch, M. Moehring, U. Lotzmann. European Council for Modeling and Simulation. doi:10.7148/2012 

 

ISBN: 978-0-9564944-4-3

 

26th European Conference on Modelling and Simulation,

Shaping reality through simulation

Koblenz, Germany, May 29 – June 1 2012

 

Citation format:

Urquia, A., Martin-Villalba, C., Moallemi, M., & Wainer, G. A. (2012). DEVS Graph In Modelica For Real-Time Simulation. ECMS 2012 Proceedings edited by: K. G. Troitzsch, M. Moehring, U. Lotzmann (pp. 157-163). European Council for Modeling and Simulation. doi:10.7148/2012-0157-0163

DOI:

http://dx.doi.org/10.7148/2012-0157-0163

Abstract:

Two new Modelica libraries are presented. The first li- brary, named GGADLib, supports the DEVS graph no- tation in Modelica. The second Modelica library, na- med UDPLib, allows sending and receiving data using the User Datagram Protocol (UDP). GGADLib uses UDPLib. As a result, DEVS graph models composed using GGADLib can receive and send data (input and output events, according to DEVS terminology) using UDP. This feature allows Modelica DEVS graph mo- dels to communicate with hardware and with other mo- dels, e.g., with models developed using other langua- ges and tools, and running in other computers. The implementation of UDPLib and GGADLib is discussed in this paper. Their use is illustrated by means of a case study: evaluating an obstacle avoidance controller for the e-puck mobile robot. The UDPLib and GGAD- Lib Modelica libraries can be freely downloaded from http://www.euclides.dia.uned.es/

Full text: