Skip to main content

Introduction

In many respects, railway control systems (RCS) can be thought of as a pre-digital progenitor of the Internet-of-Things, a distributed network of sensors, actuators and intelligent control that work together to respond to a variety of situations. While there are many different approaches to RCS, modern systems are increasingly based on Centralized Traffic Control (CTC) with computer control and monitoring under overall human supervision. Given the safety-critical nature of railway networks, modeling and simulating such systems is a high priority.

Software available for such purposes has historically been highly specialized. As such, it tends to be relatively inflexible beyond its primary purposes and relatively expensive, as it must solve general problems for a narrow market segment. An alternate approach would be to use a more generic system modeling tool to capture overall architecture and connect it to the more specialized tools for specific purposes. This would allow users to apply the best practices of modern Model-Based Systems Engineering (MBSE), such as OMG SysML (Systems Modeling Language), to the RCS domain.

In this series of blog posts, we describe some preliminary results for such an approach, using several representative SysML modeling tools (MagicDraw from No Magic Inc, IBM Rational Rhapsody, and Enterprise Architect from Sparx Systems). These models will be made available for download with the last post of the series, which will also show how the Intercax MBSE platform Syndeia can connect these models with Simulink (The MathWorks, Inc.) for simulation.

Components of an RCS

SysML is an object-oriented modeling language. We start by modeling basic elements of a system and incrementally build up more and more complex subsystems with repeated use of those basic elements.

fundamental-building-blocks-for-rcs

Figure 1 Fundamental building blocks of RCS model (MagicDraw)

In Figure 1, we show three of those fundamental elements.

  • Block is a section of track, characterized by two ends and an occupancy sensor that determines whether the Block is currently Clear or Occupied by a train. It is also characterized by value properties, that might be fixed, such as length or grade, or variable, such as visibility. Blocks are bi-directional, as indicated by the proxy ports. (Note that block is also a term used in the SysML language representing a common type of modeling element or stereotype. We will use capitalized Block to stand for the railway element, lower case block for the SysML term)
  • LightSignal is a three-way signal (red/yellow/green) visible to an oncoming train, controllable by a digital message from a remote controller.
  • Switch is a railway switch with two positions, also remotely controllable.

SysML also allows us to model the behavior of these fundamental structural elements. In Figure 2, a Block can be in one of two states, Clear or Occupied. Similar state machine behavior is shown in Figure 3 and Figure 4 for LightSignal and Switch, respectively.

fig-2-State-Machine-Block-Rhapsody Figure 2 State machine, Block (Rhapsody)

figure-3-statemachine-lightsignal Figure 3 State machine, LightSignal (Rhapsody)

state-machine-switch-rhapsody-ibm Figure 4 State machine, Switch (Rhapsody)

Next Steps

From these simple elements, we will build more complex elements in Part 2 and then simple rail systems in Part 3. The final two parts planned for the blog series will consider behavior, as captured in SysML sequence diagrams, and generation of simulation models, such as in Simulink, from the SysML-based architecture model.

Related Posts:

Related Posts

Syndeia AI Agents – Part 1

Hello and welcome to a preview of Syndeia AI, a swarm of AI agents that are powered by Syndeia Cloud. These AI agents can take natural language inputs, fetch latest data from your ...
Manas Bajaj

Santa’s Mission 2024 with 8.2 billion landings made possible by Digital Threads (Day 5)

Santa has just returned from his whirlwind journey, and the workshop erupts in cheers. Elves spill into the command center, their faces glowing with joy and pride as they take in ...
Manas Bajaj

SDS Hardware, Software, and Verification Digital Threads go live (Day 4)

The air hums with the sound of high-tech enchantments and the cheerful chatter of elves hard at work. Twinkling fairy lights hang from the rafters, casting a warm, festive glow. ...
Manas Bajaj

3D Sleigh Assembly model coordinated with System Architecture (Day 3)

It is Day 3 and Tony Sparkgear (Chief-Hardware-Elf) had his team of elves are working hard to create a 3D model in NX parametric software to represent the Sleigh Assembly as shown ...
Manas Bajaj

Sleigh Delivery System – Architecture & Digital Thread Dashboard (Day 2)

It is 7 AM and North Pole is bathing in the first light of dawn reflecting from the snow. The Great Hall, ground zero of operations and logistics, is hustling and bustling with ...
Manas Bajaj

North Pole Calls Intercax for Digital Mission Possible (Day 1)

Today, Intercax received a call from Mrs. Claus, the heart and soul of operations and logistics at North Pole. Seven days from the finale and at a time when hope and love cannot ...
Manas Bajaj

SysML v2 and Digital Threads with Syndeia

SysML v2 is the next generation Systems Modeling Language for modeling complex systems that significantly enhances precision, expressiveness, usability, interoperability, and ...
Manas Bajaj

Digital Thread Conference 2024: A Milestone for Digital Engineering

AI for DT & DE | Part 1 – Connecting with OpenAI as a service in Syndeia®

Introduction – AI for Digital Threads and Integrated Digital Engineering Welcome to our new blog series – Artificial Intelligence (AI) for Digital Threads and Integrated Digital ...
Manas Bajaj