Skip to main content

Introduction

SysML models readily connect structure, behaviors, requirements, and analysis in a single model. We started to show behaviors back in Part 1 with a series of simple state machine behaviors. In this blog post, we show how SysML interaction elements and sequence diagrams can be used to model the message-based communication between different parts of a Railway Control System (RCS), such as between the control center and trains passing control points in a railway system.

Capturing RCS Behaviors

Figure 1 Trains Passing Scenario, Siding Example, SysML sequence diagram (MagicDraw)

One such example is in Figure 1, describing a scenario of two trains passing using a Siding subsystem. This is a SysML sequence diagram. The parts of the Siding model are shown as green boxes across the top with dashed line vertical tails below; these are the same parts shown in Figures 2 and 3 in Part 3 of this series. The messages are horizontal arrows from one part to another, read from the top down. In Figure 2, we have magnified the upper left quadrant of Figure 1 for better readability. The first message is from the ControlCenter to the first ControlPoint_2Way on the left side, setting the incoming signal to green to allow a train from the left to enter into Block b1. The second message allows a second train to enter Block b4 from the right. Both messages represent the same transition trigger in Figure 3 in Part 1, but with a different destination. The third message comes from the occupancy sensor on Block b1, reporting to the ControlCenter that this block is now occupied by a train.

Figure 2 Trains Passing Scenario, Siding Example, SysML sequence diagram, upper left corner (Enterprise Architect)

A total sequence of 32 messages is required to allow the two trains to pass and exit the siding subsystem in opposite directions. Each of those messages represents a call or signal from the primitive state machines in the individual elements. While this effort represents some effort in the formulation, the overall behavior is yet another module, that can be re-used to build more complex behaviors for larger systems.

Next Steps

The SysML model can be extended in multiple directions from this point. Project requirements can be related to system elements that satisfy them and test cases to verify them. SysML parametrics can be added to calculate system reliability and cost. However, in the final part of this series, we will look at how the SysML model can work with other software tools for design and analysis, specifically transforming a SysML model in MagicDraw into Simulink. Here we are working toward our final Model-Based Engineering objective of a single digital model distributed over multiple data repositories.

Related posts:


[widget id="blog_subscription-3"]

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