Railway Scale Model Simulator

  • Pierre Breguet
  • Luigi Zaffalon
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1622)


The Ada programming language has been used for more than 12 years in our classes of concurrent and real time programming. This teaching includes also programming assignment based on various equipment and in particular on railway scale models. Moreover, students have had inexpensive Ada 95 programming environments on PC/Windows at their disposal for several years. They are therefore able to prepare the assignment at home and use the laboratory equipment intensively. The last step was to provide them with a simulator of a railway scale model. This software completely simulates the behaviour of real models and like real models, it illustrates the concepts inherent of concurrent and real time programming. Furthermore, the students are very enthusiastic about its use. The writing of programs controlling trains is based upon the Ada tasks and the new features provided with the 95 version of the language (protected objects, requeue, System Annex).


Education and training simulation concurrency resource management protected objects rendez-vous 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Ada, Manuel de référence du langage de programmation, Presses polytechniques et universitaires romandes (1987)Google Scholar
  2. [2]
    Ada 95 Rationale, The Language, The Standard Libraries, Intermetrics Inc. (1995)Google Scholar
  3. [3]
    ANSI/ISO Standard, Ada 95 Reference Manual, The Language, The Standard Libraries, Intermetrics Inc. (1995)Google Scholar
  4. [4]
    ObjectAda for Windows 95 and Windows NT, Aonix (1997)Google Scholar
  5. [5]
    Breguet P., Girardet M.: Simulateur de maquette v. 3.1, Documentation utilisateur, Polycopié (1999)Google Scholar
  6. [6]
    Breguet P., Zaffalon L.: Analyse et programmation en Ada 95, Polycopié (1998)Google Scholar
  7. [7]
    Burns A., Wellings A.: Real-Time Systems and Programming Languages, Addison-Wesley (1997)Google Scholar
  8. [8]
    Burns A., Wellings A.: Concurrency in Ada, Cambridge University Press (1998)Google Scholar
  9. [9]
    Girardet Ph.: Interface graphique pour un simulateur de maquettes de trains, Polycopié (1997)Google Scholar
  10. [10]
    Girardet Ph.: Documentation pour le créateur de fichiers décrivant les maquettes, Polycopié (1998)Google Scholar
  11. [11]
    Neider J., Davis T., Woo M.: OpenGL Programming Guide, Addison-Wesley (1995)Google Scholar
  12. [12]
    Zaffalon L., Breguet P.: Programmation concurrente et temps réel en Ada 95, Polycopié (1998)Google Scholar

Copyright information

© SpringerVerlag Berlin Heidelberg 1999

Authors and Affiliations

  • Pierre Breguet
    • 1
  • Luigi Zaffalon
    • 2
  1. 1.School of Engineering Vaud (EIVd)University of Applied Sciences HES-SOYverdon-les-BainsSwitzerland
  2. 2.School of Engineering Genève (EIG)University of Applied Sciences HES-SOGenèveSwitzerland

Personalised recommendations