Applying Uml to a Metro Simulator

Applying Uml to a Metro Simulator

SIMUL9: APPLYING UML TO A METRO SIMULATOR J. Montero(a), A. Guasch (b), D. Huguet(c) and J. Figueras(d) (a) LogiSim-LCFIB, Universitat Politècnica de Catalunya (b) LogiSim, Universitat Politècnica de Catalunya (c) Siemens, Mobility Division (d) LogiSim, Universitat Politècnica de Catalunya (a) [email protected], (b) [email protected], (c) [email protected] and (d) [email protected] ABSTRACT specifically developed for the study entitled Custom-designing a simulator in a graphic environment “Optimization and Simulation of Barcelona Line 9”. requires use of two methodologies: one for software 2. L9: BARCELONA’S NEW AUTOMATED engineering and one for modeling of real systems. UML METRO LINE is a methodology geared to the design and specification Line 9 (L9) is slated to be Europe’s longest subway of software that enables visualization, specification, line. Spanning 47.8 km, it will link the cities of Santa construction and documentation of a system; therefore, Coloma de Gramenet, Badalona, Barcelona, it is ideally suited to modeling of real systems. Herein L’Hospitalet de Llobregat and El Prat de Llobregat. are described UML components that proved invaluable Line 9 will serve neighborhoods that currently lack for modeling a real system, namely, for developing a metro service, such as Bon Pastor, Llefià, La Salut, simulator of Line 9 of the Barcelona metro. Singuerlín, Pedralbes and Zona Franca, connecting residents of the five cities that it will pass through. Moreover, it will link strategic hubs, logistics centers, Keywords: metro simulation, manless train operation and major infrastructure or services areas, such as El (MTO), fixed block Prat airport; Zona Franca; La Fira convention center; the Barcelona Port extension; the City of Justice judicial 1. INTRODUCTION complex; the Diagonal university campus; Sagrera high- Conventional metro control systems, known as speed train (TAV) station; Sant Pau Hospital; Park automatic train protection (ATP) systems, are based on Güell; Camp Nou; and Ciutat del Bàsquet basketball the use of a fixed block that ensures a safe distance complex. It will encompass 52 stations, including 20 between two consecutive trains on the same track. transfer stations that will further improve transport Advances in contemporary control systems, combined within the metropolitan area of Barcelona, namely, with automation of certain processes, have reduced the through connections with other branches of the local role of a human operator: thus, at increasing levels of railway network: Rodalíes RENFE suburban rail; high- train automation (i.e. automatic, driverless or manless speed rail (TAV); other metro lines (Lines 1, 2, 3, 4 and train operation [ATO, DTO or MTO]), the 5); FGC suburban rail (Lines 6, 7 and 8), and the responsibilities—and indeed, the mere presence—of an Trambaix and Trambèsos tram lines. operator become less and less significant. Line 9 will be completed by 2014. Transit studies Simulations of ATP systems can be run quite have predicted an average daily ridership of 350,000 synthetically, as a chain of events in the route between passengers, equivalent to 130 million passengers per stations combined with the simulator’s coordination of year. train departures from a given station (in function of accessibility to the fixed block). However, these models 3. SIMUL9 cannot be extrapolated to MTO, in which trains are SimuL9 is a custom-made simulator that runs on allowed to circulate with a variable block (i.e. a variable Windows XP (SP3) and Framework.Net 2.1. It is a distance between two trains traveling in the same specific, object-oriented simulator based on an event- direction, which varies in function of the trains’ scheduling methodology that combines discrete respective accelerations and decelerations). simulation (temporal management of periodic events) Herein are described the design, scheduling events, with continuous simulation (train traction). and experimental validation of a simulator that was Page 67 Owing to its various advantages, including enable visualization, specification, construction and scalability, reusability and parallel task operation, the documentation of a system. Model-View-Controller programming paradigm was Design by UML is built around a series of chosen for development of SimuL9. This paradigm diagrams and documentation practices, including enables separation of a business model’s logic from its conceptual and relational models, class diagrams, use- view, via a controller which communicates the events cases sequences, and collaboration diagrams. that occur. 4.1. Conceptual model 3.1. Control Elements in MTO The UML conceptual model (Figure 2) is used to Line 9 of the Barcelona metro, like most automated identify the major concepts in the subject domain. lines, will be equipped with an array of logic and Based on the objectives defined for the simulator, physical elements to guarantee control and tracking of the significant elements for the simulator’s conceptual the automated trains. These include: model are established. The final objectives for SimuL9 enabled the Controller zone (CZ) railway infrastructure to be treated as a single Automatic train supervisor (ATS) simulation object (Railway) which would contain all of Automatic train control (ATC) the railway segments (Tracks), have the correct Supervisory control and data acquisition parameters, and dictate the logic of the queries from the (SCADA) systems remaining simulation elements. User Sees Uses View Controller Updates Manipulates Model Application Figure 2: Conceptual model Figure 1: Schematic of the Model-View-Controller Connecting all of the railway segments yielded a programming paradigm plot which enables dynamic breakdown of the trains according to operation time. Furthermore, L9 will feature sensors and odometric 4.2. Relational model elements to enable teledetection of the position of The UML relational model is used to establish the logic different trains circulating on the same track. that rules the system’s constituent elements. Obviously, L9 will also require a backup system to The relational model for SimuL9 proved ensure correct operation in the event that the primary invaluable in communication the simulator to the client, system fails. from whom accreditation of the model is pending. Simul9 was designed expressly to behave exactly This model was devised by combining the as an MTO control system would behave. simulator’s conceptual model with the use cases for each element, which generated a list of responsibilities 4. UML and obligations for each simulator element. Developing a specific simulation model requires a firm grasp of the domain to be modeled; the deeper the 4.3. Class diagram programmer’s knowledge on the domain, the easier the Generalizing the aforementioned models provided a programming of the simulator. class diagram, and consequently, the objects that had to Unified Modeling Language (UML) is geared be encoded such that, once queried, they could enable towards the design and specification of software that specific simulations to be run (in this case, of L9 or any Page 68 other automatic train under the same Siemens control 5.1.1 Metro dynamics system). The basic continuous equations used to model the metro Interestingly, objected oriented design facilitates dynamics are: the scalability and specialization of the current model, meaning that other train control systems could be integrated into an expanded version of SimuL9 through T R am (1) specific coding of new simulation elements. 2 R A B vCv 4.4. Application architecture After the definition of the programming paradigm and the specification of the data model, the application Whereby T is the traction effort; R is the resistance architecture has been developed. to the train’s movement; m is the train’s mass; and a is The application has a central database where all the train’s acceleration. The coefficients A, B and C data is stored, from physical model of the network to depend on the mechanical resistance, aerodynamic drag simulation results. As the system uses a MVC schema, and grade resistance, respectively. Using these there are different modules for each activity. They are: equations, the acceleration in traction mode is given by: the simulation kernel, the physical model of the rail network, the statistics module and the representation module. All of them are linked with the database and, of 1 2 a ( vCvBAT ) (2) course, with the Graphical User Interface (GUI). All m these elements are described in Figure 3. The Barcelona metro L9 network uses a moving block control system. Under these systems, computers calculate a safe zone around each moving train, which no other train is allowed to enter. The system requires knowledge of the exact location, speed and direction of each train, which is determined by a combination of several sensors, namely, active and passive markers along the track, plus onboard tachometers and speedometers. With a moving block, lineside signals are not required, and instructions are passed directly to the Figure 3: Application architecture trains. This has the advantage of increasing track capacity by allowing trains to run closer together while maintaining the required safety margins. The physical model module is also in charge of the conversion of CAD models to logic ones and the 5.1.1. Interlocking simulation kernel also uses operation plan to control the When trains circulate over a system of tracks, they rail system. generate circuit routes that must be carefully protected. In SimuL9, this protection was achieved by 5. SIMULATION MODEL dynamically creating petitions from circulating trains. The UML specification enables definition of all the These petitions are managed by the controller zone components required to develop the simulator, as well (CZ), which is responsible for receiving circulation as of the logic that dictates the interactions among them. notifications (i.e. variations in the circuit route) sent to To complete the simulation model, a series of it by the trains over the course of the simulation. Thus, discrete and continuous simulation events had to be when the CZ detects a set of available segments, it managed and linked together.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us