ErrorSim: A tool for error propagation analysis of Simulink models

Mustafa Saraoğlu, Andrey Morozov*, Mehmet Turan Söylemez, Klaus Janschek

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

17 Citations (Scopus)


This paper introduces a new lightweight tool for simulative error propagation analysis of Simulink models. The tool allows a user to inject different types of faults that are common for embedded control systems and analyze error propagation to critical system parts and outputs. The intended workflow comprises the following three steps: (i) setup faulty and critical blocks of a Simulink model, (ii) setup and run simulations, and (iii) observe and examine the obtained results. The tool is implemented in MATLAB using the callback block functions from the Simulink API. The graphical user interface allows the injection of several types of faults including computing hardware faults such as single and multiple bit-flips, sensor faults such as offsets, stuck-at faults, and a noise, and network faults such as time delays and packet drops. The fault occurrence and duration can be specified either with the classical reliability metrics like mean time to failure and mean time to repair, or failure rates with classical (normal, exponential, Poisson, Weibull etc.) or custom user-defined probability distributions. The error propagation to the selected critical blocks is reported with several statistical metrics including the mean number of errors, failure rate, and mean error value, as well as performance indexes such as integral squared error, integral absolute error, and integral time-weighted absolute error. The reported numerical results support standard reliability and safety assessment methods such as fault tree analysis and failure mode and effects analysis. The paper demonstrates the tool with a case study Simulink model of fault-tolerant control for a passenger jet.

Original languageEnglish
Title of host publicationComputer Safety, Reliability, and Security - 36th International Conference, SAFECOMP 2017, Proceedings
EditorsFriedemann Bitsch, Stefano Tonetta, Erwin Schoitsch
PublisherSpringer Verlag
Number of pages10
ISBN (Print)9783319662657
Publication statusPublished - 2017
Event36th International Conference on Computer Safety, Reliability, and Security, SAFECOMP 2017 - Trento, Italy
Duration: 13 Sept 201715 Sept 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10488 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Conference36th International Conference on Computer Safety, Reliability, and Security, SAFECOMP 2017

Bibliographical note

Publisher Copyright:
© Springer International Publishing AG 2017.


  • Control
  • Dependability
  • Error propagation
  • Fault injection
  • Model-based analysis
  • Reliability
  • Safety
  • Simulink
  • Stability


Dive into the research topics of 'ErrorSim: A tool for error propagation analysis of Simulink models'. Together they form a unique fingerprint.

Cite this