Simulation and Verification of Timed and Hybrid Systems

Size: px
Start display at page:

Download "Simulation and Verification of Timed and Hybrid Systems"

Transcription

1 Simulation and Verification of Timed and Hybrid Systems Bert van Beek and Koos Rooda Systems Engineering Group Eindhoven University of Technology ISC 2007 Delft 11 June 2007 Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 1/27

2 Outline 1. Introduction: Systems Engineering Group and applications 2. Model based engineering 3. Languages for dynamical systems analysis 4. The Chi language 5. Conclusions Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 2/27

3 Systems Engineering Group: Objectives The Systems Engineering group aims to use quantitative methods for the analysis, design and implementation of (embedded) systems exhibiting concurrent behavior. The objectives are to develop theory and techniques, and to build computational tools, inspired by mechanical engineering science, computer science and mathematics, and to apply these in selected cases from industry. Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 3/27

4 Intro MBE Languages Chi Conclusions Application domains Networks: semiconductor plants automotive plants transport systems container terminals Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 4/27

5 Application domains Machines: semiconductor industry front end: lithographic systems back end: chip mounting medical systems printing / paper handling machines Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 5/27

6 Trend The complexity of a high tech embedded system increases considerably with each new generation. This leads to increasing time to market (T ), decreasing quality (Q ), and increasing cost and manpower (C ). How can time to market be decreased (T ), quality be increased (Q ), without increasing cost and man power (C =)? Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 6/27

7 Current (embedded) system development R 1 design D 1 realize Z 1 integrate R design D integrate R 2 design D 2 realize Z 2 integration testing When integrating different interacting subsystems, usually: Requirements (R.. ) are incomplete and ambiguous Designs (D.. ) are incomplete and ambiguous Testing is possible only when realizations (Z.. ) are ready Correcting errors in realizations is costly and time-consuming Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 7/27

8 Model-based engineering realize R 1 design D 1 model M 1 realize Z 1 integrate R design D integrate R 2 design D 2 model M 2 realize Z 2 realize model simulation model verification Simulation allows early detection of presence of model/interface errors Verification allows proof of absence of model errors with respect to properties Controller synthesis allows generation of models that satisfy requirements by definition Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 8/27

9 Model-based engineering Hybrid models realize R 1 design D 1 model M 1 realize Z 1 integrate R design D integrate R 2 design D 2 model M 2 realize Z 2 realize The combination of M 1 and M 2 often leads to hybrid models, e.g: M 1 is a discrete-event model of a supervisory control system M 2 is continuous-time (or hybrid) model of the controlled physical system Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 9/27

10 Model-based engineering Hybrid models Hybrid models are composed of: Continuous-time models (DAEs: differential algebraic equations), including switched or switching sets of DAEs Discrete-time models (e.g. sampled systems) Discrete-event models (timed automata, process algebra), e.g. execution of a sequence of processing steps in a machine Embedded system models can be composed of any combination of the models described above. Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 10/27

11 Model-based engineering Hardware-in-the-loop simulation realize R 1 design D 1 model M 1 realize Z 1 integrate R design D integrate R 2 design D 2 model M 2 realize Z 2 realize hardware -in-the-loop simulation and testing Hardware-in-the-loop simulation allows early detection of the presence of realization errors Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 11/27

12 Model-based engineering Results realize R 1 design D 1 model M 1 realize Z 1 integrate R design D integrate R 2 design D 2 model M 2 realize Z 2 realize final implementation and testing Fewer errors in realizations (Q ) Enabler for automatic code generation (Q, T ) Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 12/27

13 Language requirements for model based engineering Formal compositional semantics Concurrent Executable Modular and hierarchical Scalable Easy to use Stochastic Discrete-event, continuous-time and hybrid Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 13/27

14 Dynamics and control world view Predominantly continuous-time system Modeled by means of DAEs (differential algebraic equations), or by means of a set of trajectories Hybrid phenomena modeled by means of discontinuous functions and/or switched equations, possibly using extended solution concepts (Filippov, Utkin) leading to sliding modes (i = 0 v 0) (v = 0 i 0) DAE model of a diode Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 14/27

15 Computer science world view Predominantly discrete-event system Modeled by means of (timed/hybrid) automaton, process algebra, Petri net, data flow languages, etc. Evolution of a hybrid system: sequence of time transitions and action transitions Discontinuities are represented by actions i = 0 v 0 v = 0 i 0 Automaton model of a diode Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 15/27

16 Simulation languages Ease of modeling = complex languages Verification not an issue, no formal semantics: (no verification) Languages specialize either in the discrete-event (DE) domain or in the continuous-time (CT) domain Hybrid languages usually DE + (E.g. Siman, Simple++) or CT + (E.g. Simulink, Modelica, EcosimPro) Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 16/27

17 Verification formalisms Ease of formal analysis = small languages with formal semantics Ease of modeling not an issue: cumbersome for modeling and simulation Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 17/27

18 overview syntax examples tools Overview of the Chi language (1) Suited to: simulation verification code generation Integrates: discrete-event modeling (CS world view: automata, process algebra) continuous-time modeling, (DC world view: switched differential algebraic equations) discrete-time modeling (DC world view: sampled systems) Formal compositional semantics Consistent equation semantics of Chi ensures that equations are always consistent, comparable to invariants of hybrid automata Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 18/27

19 overview syntax examples tools Overview of the Chi language (2) Is a process algebra d by means of: atomic statements, e.g. assignment (x := 2), DAE (ẋ = x + 1) an orthogonal set of operators, e.g. sequential comp. (;) and parallel comp. ( ) that can be freely combined. Core language small. Ease of use due to many syntactical extensions (all formally d). Modular and hierarchical and scalable by means of process definition and process instantiation (reuse). Stochastic: definition of distributions and sampling. Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 19/27

20 overview syntax examples tools The Chi language definition (1) A Chi model is of the following form: model M(parameter declarations) = [ channel and variable declarations :: p ] where p represents a process term (statement) Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 20/27

21 overview syntax examples tools The Chi language definition (2) Process term Meaning p ::= skip internal action x := e assignment a! e sending a? x receiving delay e delay statement inv u invariant (equations) X recursion variable b -> p guard operator p ; p sequential composition p p parallel composition p p alternative composition *p infinite repetition Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 21/27

22 overview syntax examples tools Controlled tank system (1) Simulation tank on-off controller n Qi 10 8 V Qi Qo n V 6 4 Qo Time model ControlledTank()= [ var n: nat = 0, cont V: real = 10, alg Qi,Qo: real :: inv dot V = Qi - Qo, Qi = n * 5, Qo = sqrt(v) *( V <= 2 -> n:= 1; V >= 10 -> n:= 0 ) ] Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 22/27

23 overview syntax examples tools Controlled tank system (2) Equivalent specification using modes, as in automata model ControlledTank()= [ var n: nat = 0, cont V: real = 10, alg Qi,Qo: real :: inv dot V = Qi - Qo, Qi = n * 5, Qo = sqrt(v) [ mode noinflow = V <= 2 -> n:= 1; inflow, mode inflow = V >= 10 -> n:= 0; noinflow :: noinflow ] ] V<=2 -> n:=1 noinflow inflow V>=10 -> n:=0 Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 23/27

24 overview syntax examples tools Distributor and Machines in D a b M M proc D(chan in?, out1!, out2!: nat) = [ var x: nat :: *( in?x; ( out1!x out2!x ) ) ] proc M(chan in?: nat, val t: real) = [ var x: nat :: *( in?x; delay t ) ] proc DMM2(chan in?: nat) = [ chan a,b: nat :: D(in,a,b) M(a,4) M(b,5) ] Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 24/27

25 overview syntax examples tools Distributor and Machines a M in D a M b M in D proc D(chan in?, out1!, out2!: nat) = [ var x: nat :: *( in?x; ( out1!x out2!x ) ) ] proc M(chan in?: nat, val t: real) = [ var x: nat :: *( in?x; delay t ) ] proc DMM2(chan in?: nat) = [ chan a,b: nat :: D(in,a,b) M(a,4) M(b,5) ] proc D(chan in?, out!: nat) = [ var x: nat :: *( in?x; out!x ) ] proc DMM2(chan in?: nat) = [ chan a: nat :: D(in,a) M(a,4) M(a,5) ] a M Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 24/27

26 overview syntax examples tools Assembler in1 in2 A out proc A( chan in1?, in2?: nat, out!: (nat,nat), val t: real ) = [ var x,y: nat :: *( ( in1?x in2?y ) ; delay t ; out!(x,y) ) ] Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 25/27

27 overview syntax examples tools Tools for Chi simulation verification real-time control Stand-alone symbolic simulator for hybrid and timed Chi (Python) S-function block hybrid Chi simulator for co-simulation in Matlab/Simulink Stand-alone simulator for timed Chi (C) Translation of timed Chi to UPPAAL Translation of timed Chi to mcrl Translation of timed Chi to Promela/Spin Translation of hybrid Chi to PHAVer Prototype state space generator Stand-alone Linux implementation Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 26/27

28 Conclusions Chi language suited to model based engineering of dynamical (embedded) systems Concurrent process algebra allowing free combinations of statements and operators Integrates concepts from the dynamics and control theory with concepts from computer science Formal compositional semantics Integrates ease of modeling, simulation and verification Scalable: allows modular and hierarchical composition Bert van Beek and Koos Rooda TU/e Simulation and Verification of Timed and Hybrid Systems 27/27

Supervisory Control Synthesis the Focus in Model-Based Systems Engineering

Supervisory Control Synthesis the Focus in Model-Based Systems Engineering Supervisory Control Synthesis the Focus in Model-Based Systems Engineering Jos Baeten and Asia van de Mortel-Fronczak Systems Engineering Group Department of Mechanical Engineering November 23, 2011 What

More information

4TC00 Model-based systems engineering 2.8 Scalable solutions - reuse Functions 2.10 Stochastics

4TC00 Model-based systems engineering 2.8 Scalable solutions - reuse Functions 2.10 Stochastics 4TC00 Model-based systems engineering 2.8 Scalable solutions - reuse 2 2.9 Functions 2.10 Stochastics Bert van Beek (dr.ir. D.A. van Beek) Gem-Z 0.120 d.a.v.beek@tue.nl 1 of 26 4TC00 Model-based systems

More information

Formal Foundations of Software Engineering

Formal Foundations of Software Engineering Formal Foundations of Software Engineering http://d3s.mff.cuni.cz Martin Nečaský Pavel Parízek CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Goals of the course Show methods and tools

More information

COMP 522 Modelling and Simulation model everything

COMP 522 Modelling and Simulation model everything Fall Term 2004 COMP 522 Modelling and Simulation model everything Hans Vangheluwe Modelling, Simulation and Design Lab (MSDL) School of Computer Science, McGill University, Montréal, Canada Hans Vangheluwe

More information

The Embedded Systems Design Challenge. EPFL Verimag

The Embedded Systems Design Challenge. EPFL Verimag The Embedded Systems Design Challenge Tom Henzinger Joseph Sifakis EPFL Verimag Formal Methods: A Tale of Two Cultures Engineering Computer Science Differential Equations Linear Algebra Probability Theory

More information

Towards an Integrated System Model for Testing and Verification

Towards an Integrated System Model for Testing and Verification Towards an Integrated System Model for Testing and Verification Benjamin Hummel and Peter Braun MiSE 2008 Domain Development of controller software for production machines Special case of mechatronic system

More information

Techniques for the unambiguous specification of software

Techniques for the unambiguous specification of software Formal Techniques for the unambiguous of software Objectives To explain why formal techniques help discover problems in system requirements To describe the use of algebraic techniques for interface To

More information

tempo2hsal: Converting Tempo Models into HybridSal Tool Description

tempo2hsal: Converting Tempo Models into HybridSal Tool Description tempo2hsal: Converting Tempo Models into HybridSal Tool Description Ashish Tiwari Bruno Dutertre Computer Science Laboratory SRI International Menlo Park CA 94025 USA Report submitted under Honeywell subcontract

More information

Model Checking for Hybrid Systems

Model Checking for Hybrid Systems Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University Hybrid Dynamic Systems Models Dynamic systems with both continuous & discrete state variables Continuous-State Systems differential

More information

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control

Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Massimo Benerecetti and Marco Faella Università di Napoli Federico II, Italy Abstract. We consider the problem

More information

An Introduction to Lustre

An Introduction to Lustre An Introduction to Lustre Monday Oct 06, 2014 Philipp Rümmer Uppsala University Philipp.Ruemmer@it.uu.se 1/35 ES Programming languages Which language to write embedded software in? Traditional: low-level

More information

Modeling Kernel Language (MKL)

Modeling Kernel Language (MKL) Modeling Kernel Language (MKL) A formal and extensible approach to equation-based modeling languages Guest Talk, EECS, Chess, UC Berkeley February 17, 2011 Department of Computer and Information Science

More information

Application: Programming Language Semantics

Application: Programming Language Semantics Chapter 8 Application: Programming Language Semantics Prof. Dr. K. Madlener: Specification and Verification in Higher Order Logic 527 Introduction to Programming Language Semantics Programming Language

More information

Q Body of techniques supported by. R precise mathematics. R powerful analysis tools. Q Rigorous, effective mechanisms for system.

Q Body of techniques supported by. R precise mathematics. R powerful analysis tools. Q Rigorous, effective mechanisms for system. Introduction to Formal Methods 1 Introduction to Formal Methods 2 Formal Specification Requirements specification R notational statement of system services Software specification R formal abstract depiction

More information

The Montana Toolset: OSATE Plugins for Analysis and Code Generation

The Montana Toolset: OSATE Plugins for Analysis and Code Generation Fremont Associates Process Project QA The Montana Toolset: OSATE Plugins for Analysis and Code Generation Oleg Sokolsky University of Pennsylvania AADL Workshop 005 Paris, France October 17-18, 18, 005

More information

Programming Languages Third Edition

Programming Languages Third Edition Programming Languages Third Edition Chapter 12 Formal Semantics Objectives Become familiar with a sample small language for the purpose of semantic specification Understand operational semantics Understand

More information

Hybrid Agent-Landscape Model Composition

Hybrid Agent-Landscape Model Composition Hybrid Agent-Landscape Model Composition Gary Mayer, Hessam Sarjoughian, Eowyn Allen Presented at the 1 st CSE Student Research Expo Hybrid Agent-Landscape Models Hybrid : both the human and environmental

More information

COMP 763. Eugene Syriani. Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science. McGill University

COMP 763. Eugene Syriani. Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science. McGill University Eugene Syriani Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science McGill University 1 OVERVIEW In the context In Theory: Timed Automata The language: Definitions and Semantics

More information

Model Checking Revision: Model Checking for Infinite Systems Revision: Traffic Light Controller (TLC) Revision: 1.12

Model Checking Revision: Model Checking for Infinite Systems Revision: Traffic Light Controller (TLC) Revision: 1.12 Model Checking mc Revision:.2 Model Checking for Infinite Systems mc 2 Revision:.2 check algorithmically temporal / sequential properties fixpoint algorithms with symbolic representations: systems are

More information

Lecture 9: Reachability

Lecture 9: Reachability Lecture 9: Reachability Outline of Lecture Reachability General Transition Systems Algorithms for Reachability Safety through Reachability Backward Reachability Algorithm Given hybrid automaton H : set

More information

DEPARTMENT OF COMPUTER SCIENCE

DEPARTMENT OF COMPUTER SCIENCE Department of Computer Science 1 DEPARTMENT OF COMPUTER SCIENCE Office in Computer Science Building, Room 279 (970) 491-5792 cs.colostate.edu (http://www.cs.colostate.edu) Professor L. Darrell Whitley,

More information

AVERIST: An Algorithmic Verifier for Stability

AVERIST: An Algorithmic Verifier for Stability Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 317 (2015) 133 139 www.elsevier.com/locate/entcs AVERIST: An Algorithmic Verifier for Stability Pavithra Prabhakar

More information

Introduction to Formal Methods

Introduction to Formal Methods 2008 Spring Software Special Development 1 Introduction to Formal Methods Part I : Formal Specification i JUNBEOM YOO jbyoo@knokuk.ac.kr Reference AS Specifier s Introduction to Formal lmethods Jeannette

More information

Programming Embedded Systems

Programming Embedded Systems Programming Embedded Systems Lecture 10 An introduction to Lustre Wednesday Feb 15, 2012 Philipp Rümmer Uppsala University Philipp.Ruemmer@it.uu.se 1/34 Course topic: programming lang. Which language to

More information

Simulink/Stateflow. June 2008

Simulink/Stateflow. June 2008 Simulink/Stateflow Paul Caspi http://www-verimag.imag.fr/ Pieter Mosterman http://www.mathworks.com/ June 2008 1 Introduction Probably, the early designers of Simulink in the late eighties would have been

More information

Denotational Semantics. Domain Theory

Denotational Semantics. Domain Theory Denotational Semantics and Domain Theory 1 / 51 Outline Denotational Semantics Basic Domain Theory Introduction and history Primitive and lifted domains Sum and product domains Function domains Meaning

More information

Distributed Systems Programming (F21DS1) Formal Verification

Distributed Systems Programming (F21DS1) Formal Verification Distributed Systems Programming (F21DS1) Formal Verification Andrew Ireland Department of Computer Science School of Mathematical and Computer Sciences Heriot-Watt University Edinburgh Overview Focus on

More information

Heterogeneous Modeling: Hybrid Systems

Heterogeneous Modeling: Hybrid Systems Heterogeneous Modeling: Hybrid Systems Hybrid Models Automotive Powertrain Languages and Verification Problems Simulink and StateFlow CheckMate Charon Masaccio Motivation Hybrid Systems are becoming a

More information

Hierarchical FSMs with Multiple CMs

Hierarchical FSMs with Multiple CMs Hierarchical FSMs with Multiple CMs Manaloor Govindarajan Balasubramanian Manikantan Bharathwaj Muthuswamy (aka Bharath) Reference: Hierarchical FSMs with Multiple Concurrency Models. Alain Girault, Bilung

More information

Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems

Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems Insup Lee 1, Oleg Sokolsky 1, Anna Philippou 2 1 RTG (Real-Time Systems Group) Department of

More information

Classes and Inheritance in Actor- Oriented Models

Classes and Inheritance in Actor- Oriented Models Classes and Inheritance in Actor- Oriented Models Stephen Neuendorffer Edward Lee UC Berkeley Chess Review May 8, 2003 Berkeley, CA Introduction Component-based design Object-oriented components Actor-oriented

More information

Exception Handling in S88 using Grafchart *

Exception Handling in S88 using Grafchart * Presented at the World Batch Forum North American Conference Woodcliff Lake, NJ April 7-10, 2002 107 S. Southgate Drive Chandler, Arizona 85226-3222 480-893-8803 Fax 480-893-7775 E-mail: info@wbf.org www.wbf.org

More information

Towards a PIM for virtual prototyping

Towards a PIM for virtual prototyping Towards a PIM for virtual prototyping Adel SGHAIER, Thierry SORIANO, Skander TURKI Mechatronics department LIISIM SUPMECA Maison des technologies 83000 Toulon FRANCE Abstract: We work on the way of modelling

More information

challenges in domain-specific modeling raphaël mannadiar august 27, 2009

challenges in domain-specific modeling raphaël mannadiar august 27, 2009 challenges in domain-specific modeling raphaël mannadiar august 27, 2009 raphaël mannadiar challenges in domain-specific modeling 1/59 outline 1 introduction 2 approaches 3 debugging and simulation 4 differencing

More information

Proving the Correctness of Distributed Algorithms using TLA

Proving the Correctness of Distributed Algorithms using TLA Proving the Correctness of Distributed Algorithms using TLA Khushboo Kanjani, khush@cs.tamu.edu, Texas A & M University 11 May 2007 Abstract This work is a summary of the Temporal Logic of Actions(TLA)

More information

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions) By the end of this course, students should CIS 1.5 Course Objectives a. Understand the concept of a program (i.e., a computer following a series of instructions) b. Understand the concept of a variable

More information

HIERARCHICAL DESIGN. RTL Hardware Design by P. Chu. Chapter 13 1

HIERARCHICAL DESIGN. RTL Hardware Design by P. Chu. Chapter 13 1 HIERARCHICAL DESIGN Chapter 13 1 Outline 1. Introduction 2. Components 3. Generics 4. Configuration 5. Other supporting constructs Chapter 13 2 1. Introduction How to deal with 1M gates or more? Hierarchical

More information

Outline HIERARCHICAL DESIGN. 1. Introduction. Benefits of hierarchical design

Outline HIERARCHICAL DESIGN. 1. Introduction. Benefits of hierarchical design Outline HIERARCHICAL DESIGN 1. Introduction 2. Components 3. Generics 4. Configuration 5. Other supporting constructs Chapter 13 1 Chapter 13 2 1. Introduction How to deal with 1M gates or more? Hierarchical

More information

HYBRID PETRI NET MODEL BASED DECISION SUPPORT SYSTEM. Janetta Culita, Simona Caramihai, Calin Munteanu

HYBRID PETRI NET MODEL BASED DECISION SUPPORT SYSTEM. Janetta Culita, Simona Caramihai, Calin Munteanu HYBRID PETRI NET MODEL BASED DECISION SUPPORT SYSTEM Janetta Culita, Simona Caramihai, Calin Munteanu Politehnica University of Bucharest Dept. of Automatic Control and Computer Science E-mail: jculita@yahoo.com,

More information

MONIKA HEINER.

MONIKA HEINER. LESSON 1 testing, intro 1 / 25 SOFTWARE TESTING - STATE OF THE ART, METHODS, AND LIMITATIONS MONIKA HEINER monika.heiner@b-tu.de http://www.informatik.tu-cottbus.de PRELIMINARIES testing, intro 2 / 25

More information

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No 643921. TOOLS INTEGRATION UnCoVerCPS toolchain Goran Frehse, UGA Xavier

More information

Using Hybrid Automata for Early Spacecraft Design Evaluation

Using Hybrid Automata for Early Spacecraft Design Evaluation Seminar Operating Systems: Winter Semester 18/19 Using Hybrid Automata for Early Spacecraft Design Evaluation Jafar Akhundov Motivation Motivation: Spacecraft Modelling Gaia - mission to chart a 3d-map

More information

Using LNT Formal Descriptions for Model-Based Diagnosis

Using LNT Formal Descriptions for Model-Based Diagnosis Using LNT Formal Descriptions for Model-Based Diagnosis Birgit Hofer 1, Radu Mateescu 2, Wendelin Serwe 2, and Franz Wotawa 1 1 TU Graz, Institute for Software Technology 2 Univ. Grenoble Alpes, Inria,

More information

Hybrid System Modeling: Operational Semantics Issues

Hybrid System Modeling: Operational Semantics Issues Hybrid System Modeling: Operational Semantics Issues Edward A. Lee Professor UC Berkeley OMG Technical Meeting Feb. 4, 2004 Anaheim, CA, USA Special thanks to Jie Liu, Xiaojun Liu, Steve Neuendorffer,

More information

Toward Architecture-based Reliability Estimation

Toward Architecture-based Reliability Estimation Toward Architecture-based Estimation Roshanak Roshandel, Nenad Medvidovic Computer Science Department University of Southern California roshande@usc.edu ICSE Workshop on Architecting Dependable System

More information

The UPPAAL Model Checker. Julián Proenza Systems, Robotics and Vision Group. UIB. SPAIN

The UPPAAL Model Checker. Julián Proenza Systems, Robotics and Vision Group. UIB. SPAIN The UPPAAL Model Checker Julián Proenza Systems, Robotics and Vision Group. UIB. SPAIN The aim of this presentation Introduce the basic concepts of model checking from a practical perspective Describe

More information

6. Hoare Logic and Weakest Preconditions

6. Hoare Logic and Weakest Preconditions 6. Hoare Logic and Weakest Preconditions Program Verification ETH Zurich, Spring Semester 07 Alexander J. Summers 30 Program Correctness There are many notions of correctness properties for a given program

More information

Lecture 2. Decidability and Verification

Lecture 2. Decidability and Verification Lecture 2. Decidability and Verification model temporal property Model Checker yes error-trace Advantages Automated formal verification, Effective debugging tool Moderate industrial success In-house groups:

More information

Chapter 27 Formal Specification

Chapter 27 Formal Specification Chapter 27 Formal Specification Chapter 27 Formal Specification Slide 1 Objectives To explain why formal specification helps discover problems in system requirements. To describe the use of: Algebraic

More information

Actor-Oriented Design: Concurrent Models as Programs

Actor-Oriented Design: Concurrent Models as Programs Actor-Oriented Design: Concurrent Models as Programs Edward A. Lee Professor, UC Berkeley Director, Center for Hybrid and Embedded Software Systems (CHESS) Parc Forum Palo Alto, CA May 13, 2004 Abstract

More information

Virtual Plant for Control Program Verification

Virtual Plant for Control Program Verification 2011 International Conference on Circuits, System and Simulation IPCSIT vol.7 (2011) (2011) IACSIT Press, Singapore Virtual Plant for Control Program Verification Sangchul Park 1 + and June S. Jang 2 1

More information

Supervisory control synthesis for a patient support system Theunissen, R.J.M.; Schiffelers, R.R.H.; van Beek, D.A.; Rooda, J.E.

Supervisory control synthesis for a patient support system Theunissen, R.J.M.; Schiffelers, R.R.H.; van Beek, D.A.; Rooda, J.E. Supervisory control synthesis for a patient support system Theunissen, R.J.M.; Schiffelers, R.R.H.; van Beek, D.A.; Rooda, J.E. Published: 01/01/2008 Document Version Publisher s PDF, also known as Version

More information

Algorithmic Verification of Procedural Programs in the Presence of Code Variability

Algorithmic Verification of Procedural Programs in the Presence of Code Variability Algorithmic Verification of Procedural Programs in the Presence of Code Variability Siavash Soleimanifard School of Computer Science and Communication KTH Royal Institute of Technology Stockholm Doctoral

More information

A Composable Simulation Environment to Support the Design of Mechatronic Systems

A Composable Simulation Environment to Support the Design of Mechatronic Systems A Composable Simulation Environment to Support the Design of Mechatronic Systems Antonio Diaz-Calderon Submitted in Partial Fulfillment of the Requirements for the degree of Doctor of Philosophy in Electrical

More information

Petri Nets ~------~ R-ES-O---N-A-N-C-E-I--se-p-te-m--be-r Applications.

Petri Nets ~------~ R-ES-O---N-A-N-C-E-I--se-p-te-m--be-r Applications. Petri Nets 2. Applications Y Narahari Y Narahari is currently an Associate Professor of Computer Science and Automation at the Indian Institute of Science, Bangalore. His research interests are broadly

More information

! Use of formal notations. ! in software system descriptions. ! for a broad range of effects. ! and varying levels of use. !

! Use of formal notations. ! in software system descriptions. ! for a broad range of effects. ! and varying levels of use. ! What Are Formal Methods? David S. Rosenblum ICS 221 Winter 2001! Use of formal notations! first-order logic, state machines, etc.! in software system descriptions! system models, constraints, specifications,

More information

Model Driven Engineering in High Tech Industry

Model Driven Engineering in High Tech Industry Model Driven Engineering in High Tech Industry Mark van den Brand LUCAS-dagen, Lund, October 2016 Short introduction of myself 1992-1997: Assistant professor at UvA (NL) 1997-2005: Senior researcher at

More information

A Model-Driven Approach to Embedded Control System Implementation

A Model-Driven Approach to Embedded Control System Implementation A Model-Driven Approach to Embedded Control System Implementation Jan F. Broenink, Marcel A. Groothuis, Peter M. Visser, Bojan Orlic Control Engineering, CTIT, Faculty EE-M-CS,, Enschede, Netherlands e-mail:

More information

Structure of Abstract Syntax trees for Colored Nets in PNML

Structure of Abstract Syntax trees for Colored Nets in PNML Structure of Abstract Syntax trees for Colored Nets in PNML F. Kordon & L. Petrucci Fabrice.Kordon@lip6.fr Laure.Petrucci@lipn.univ-paris13.fr version 0.2 (draft) June 26, 2004 Abstract Formalising the

More information

Applications of Program analysis in Model-Based Design

Applications of Program analysis in Model-Based Design Applications of Program analysis in Model-Based Design Prahlad Sampath (Prahlad.Sampath@mathworks.com) 2018 by The MathWorks, Inc., MATLAB, Simulink, Stateflow, are registered trademarks of The MathWorks,

More information

Flight Systems are Cyber-Physical Systems

Flight Systems are Cyber-Physical Systems Flight Systems are Cyber-Physical Systems Dr. Christopher Landauer Software Systems Analysis Department The Aerospace Corporation Computer Science Division / Software Engineering Subdivision 08 November

More information

A Real-Time Animator for Hybrid Systems

A Real-Time Animator for Hybrid Systems A Real-Time Animator for Hybrid Systems Tobias Amnell, Alexandre David Wang Yi Department of Computer Systems, Uppsala University {adavid, tobiasa, yi} @docsuuse Abstract In this paper, we present a real

More information

Strand Algebras for DNA Computing

Strand Algebras for DNA Computing Strand Algebras for DNA omputing Microsoft Research DNA 15 onference Fayetteville, 2009-06-10 http://lucacardelli.name How Process Algebra fits in DNA omputing Electronics has electrons o All electrons

More information

Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems

Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems Using Heterogeneous Formal Methods in Model-Based Development LCCC Workshop on Formal Verification of Embedded Control Systems Bruce H. Krogh Carnegie Mellon University in Rwanda Kigali, Rwanda 1 Model-Based

More information

Heterogeneous systems co-simulation: a model-driven approach based on SysML State Machines and Simulink

Heterogeneous systems co-simulation: a model-driven approach based on SysML State Machines and Simulink Heterogeneous systems co-simulation: a model-driven approach based on SysML State Machines and Simulink Massimo Bombino 1 Matthew Hause 2 Patrizia Scandurra 3 1 Atego, Peschiera Borromeo (MI), Italy -

More information

Modeling and Analysis of Fischer s Algorithm

Modeling and Analysis of Fischer s Algorithm Processes and Data, Department of Computer Science, Swansea University Vino - July 2011 Today s Talk 1. Mutual Exclusion Algorithms (recap) 2. Fischer s Algorithm 3. Modeling Fischer s Algorithm 4. Analysis

More information

Model Checking. Automatic Verification Model Checking. Process A Process B. when not possible (not AI).

Model Checking. Automatic Verification Model Checking. Process A Process B. when not possible (not AI). Sérgio Campos scampos@dcc.ufmg.br Why? Imagine the implementation of a complex hardware or software system: A 100K gate ASIC perhaps 100 concurrent modules; A flight control system dozens of concurrent

More information

Test and Evaluation of Autonomous Systems in a Model Based Engineering Context

Test and Evaluation of Autonomous Systems in a Model Based Engineering Context Test and Evaluation of Autonomous Systems in a Model Based Engineering Context Raytheon Michael Nolan USAF AFRL Aaron Fifarek Jonathan Hoffman 3 March 2016 Copyright 2016. Unpublished Work. Raytheon Company.

More information

Specifications and Modeling

Specifications and Modeling 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 Springer, 2010 2012 年 10 月 17 日 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Hypothetical design

More information

Embedded software design with Polychrony

Embedded software design with Polychrony Embedded software design with Polychrony DATE 09 tutorial on Correct-by-Construction Embedded Software Synthesis: Formal Frameworks, Methodologies, and Tools Jean-Pierre Talpin, RIA List of contributors

More information

Analog Mixed Signal Extensions for SystemC

Analog Mixed Signal Extensions for SystemC Analog Mixed Signal Extensions for SystemC White paper and proposal for the foundation of an OSCI Working Group (SystemC-AMS working group) Karsten Einwich Fraunhofer IIS/EAS Karsten.Einwich@eas.iis.fhg.de

More information

Petri-net-based Workflow Management Software

Petri-net-based Workflow Management Software Petri-net-based Workflow Management Software W.M.P. van der Aalst Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O. Box 513, NL-5600 MB, Eindhoven, The Netherlands,

More information

Second release of the COMPASS Tool Tool Grammar Reference

Second release of the COMPASS Tool Tool Grammar Reference Grant Agreement: 287829 Comprehensive Modelling for Advanced Systems of Systems Second release of the COMPASS Tool Tool Grammar Reference Deliverable Number: D31.2c Version: 1.2 Date: January 2013 Public

More information

Module 3. Requirements Analysis and Specification. Version 2 CSE IIT, Kharagpur

Module 3. Requirements Analysis and Specification. Version 2 CSE IIT, Kharagpur Module 3 Requirements Analysis and Specification Lesson 6 Formal Requirements Specification Specific Instructional Objectives At the end of this lesson the student will be able to: Explain what a formal

More information

1.2 Degree Requirements

1.2 Degree Requirements 1.2 Degree Requirements Students in the BEng (Computer Engineering) programme are required to complete a minimum of 160 MCs with a CAP 2.0 to graduate. In the first stage of the programme, students will

More information

these developments has been in the field of formal methods. Such methods, typically given by a

these developments has been in the field of formal methods. Such methods, typically given by a PCX: A Translation Tool from PROMELA/Spin to the C-Based Stochastic Petri et Language Abstract: Stochastic Petri ets (SPs) are a graphical tool for the formal description of systems with the features of

More information

A Formalization of Global Simulation Models for Continuous/Discrete Systems

A Formalization of Global Simulation Models for Continuous/Discrete Systems A Formalization of Global Simulation Models for Continuous/Discrete Systems L. Gheorghe, F. Bouchhima, G. Nicolescu, H. Boucheneb Ecole Polytechnique Montréal luiza.gheorghe@polymtl.ca Keywords: Co-Simulation,

More information

Formal Syntax and Semantics of Programming Languages

Formal Syntax and Semantics of Programming Languages Formal Syntax and Semantics of Programming Languages Mooly Sagiv Reference: Semantics with Applications Chapter 2 H. Nielson and F. Nielson http://www.daimi.au.dk/~bra8130/wiley_book/wiley.html axioms

More information

Intro to UPPAAL. Gerd Behrmann Kim Larsen. BRICS & Aalborg University. Intro to UPPAAL p.1/23

Intro to UPPAAL. Gerd Behrmann Kim Larsen. BRICS & Aalborg University. Intro to UPPAAL p.1/23 Intro to UPPAAL p.1/23 Intro to UPPAAL Gerd Behrmann Kim Larsen BRICS & Aalborg University Intro to UPPAAL p.2/23 Plan of the Lecture 1. UPPAAL Architecture 2. UPPAAL Features 3. Train Gate Example 4.

More information

Translation of Modelica Code into Hybrid Automata

Translation of Modelica Code into Hybrid Automata Research Project Madhumitha Hariharan Translation of Modelica Code into Hybrid Automata December 15, 2016 supervised by: Prof. Dr. Sibylle Schupp Mr. Timo Kamph Hamburg University of Technology (TUHH)

More information

TSIF: Transition System Interchange Format

TSIF: Transition System Interchange Format TSIF: Transition System Interchange Format E. Pastor and M.A. Peña Jan 2004 Department of Computer Architecture Technical University of Catalonia (UPC) Barcelona, Spain Modeling Transition System A model

More information

Proc. XVIII Conf. Latinoamericana de Informatica, PANEL'92, pages , August Timed automata have been proposed in [1, 8] to model nite-s

Proc. XVIII Conf. Latinoamericana de Informatica, PANEL'92, pages , August Timed automata have been proposed in [1, 8] to model nite-s Proc. XVIII Conf. Latinoamericana de Informatica, PANEL'92, pages 1243 1250, August 1992 1 Compiling Timed Algebras into Timed Automata Sergio Yovine VERIMAG Centre Equation, 2 Ave de Vignate, 38610 Gieres,

More information

Distributed Information System as a System of Asynchronous Concurrent Processes

Distributed Information System as a System of Asynchronous Concurrent Processes Distributed Information System as a System of Asynchronous Concurrent Processes Marek Rychlý Jaroslav Zendulka Department of Information Systems Faculty of Information Technology Brno University of Technology

More information

Advanced Tool Architectures. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Tool Projects. Chess Review May 10, 2004 Berkeley, CA

Advanced Tool Architectures. Edited and Presented by Edward A. Lee, Co-PI UC Berkeley. Tool Projects. Chess Review May 10, 2004 Berkeley, CA Advanced Tool Architectures Edited and Presented by Edward A. Lee, Co-PI UC Berkeley Chess Review May 10, 2004 Berkeley, CA Tool Projects Concurrent model-based design Giotto (Henzinger) E machine & S

More information

Exercise Unit 2: Modeling Paradigms - RT-UML. UML: The Unified Modeling Language. Statecharts. RT-UML in AnyLogic

Exercise Unit 2: Modeling Paradigms - RT-UML. UML: The Unified Modeling Language. Statecharts. RT-UML in AnyLogic Exercise Unit 2: Modeling Paradigms - RT-UML UML: The Unified Modeling Language Statecharts RT-UML in AnyLogic Simulation and Modeling I Modeling with RT-UML 1 RT-UML: UML Unified Modeling Language a mix

More information

A Short Introduction to Formal Specifications

A Short Introduction to Formal Specifications A Short Introduction to Formal Specifications Prof. Dr. Hans J. Schneider Lehrstuhl für Programmiersprachen und Programmiermethodik Friedrich-Alexander-Universität Erlangen-Nürnberg 30.11.2000 Methods

More information

Towards checking Stateflow models with mcrl2

Towards checking Stateflow models with mcrl2 Towards checking Stateflow models with mcrl2 Jozef Hooman jozef[dot]hooman[at]esi[dot]nl Embedded Systems Institute (ESI) Radboud University Nijmegen joint work with Remko van Cann & Jan Friso Groote (TU/e)

More information

Technische Universiteit Eindhoven Department of Mathematics and Computer Science. Relationship between Simulink and Petri nets

Technische Universiteit Eindhoven Department of Mathematics and Computer Science. Relationship between Simulink and Petri nets Technische Universiteit Eindhoven Department of Mathematics and Computer Science Relationship between Simulink and Petri nets D. Bera, K.M. van Hee and H. Nijmeijer 14/06 ISSN 0926-4515 All rights reserved

More information

Big-step Operational Semantics (aka Natural Semantics)

Big-step Operational Semantics (aka Natural Semantics) x = 1 let x = 1 in... x(1).!x(1) x.set(1) Programming Language Theory Big-step Operational Semantics (aka Natural Semantics) Ralf Lämmel A big-step operational semantics for While 2 This slide is derived

More information

Fundamentals of Digital System Design ECE 3700, CPSC 3700

Fundamentals of Digital System Design ECE 3700, CPSC 3700 Fundamentals of Digital System Design ECE 3700, CPSC 3700 Instructor: Priyank Kalla (kalla@ece.utah.edu) 4 Credits Tue, Thu 1:25-1:45pm, WEB 1230 Office Hours: Tue, Thu: 2:30-4pm, or by appointment Office:

More information

Petri Nets. Petri Nets. Petri Net Example. Systems are specified as a directed bipartite graph. The two kinds of nodes in the graph:

Petri Nets. Petri Nets. Petri Net Example. Systems are specified as a directed bipartite graph. The two kinds of nodes in the graph: System Design&Methodologies Fö - 1 System Design&Methodologies Fö - 2 Petri Nets 1. Basic Petri Net Model 2. Properties and Analysis of Petri Nets 3. Extended Petri Net Models Petri Nets Systems are specified

More information

Algorithmic Verification. Algorithmic Verification. Model checking. Algorithmic verification. The software crisis (and hardware as well)

Algorithmic Verification. Algorithmic Verification. Model checking. Algorithmic verification. The software crisis (and hardware as well) Algorithmic Verification The software crisis (and hardware as well) Algorithmic Verification Comp4151 Lecture 1-B Ansgar Fehnker Computer become more powerful (Moore s law) The quality of programs cannot

More information

ECDAR: An Environment for Compositional Design and Analysis of Real Time Systems

ECDAR: An Environment for Compositional Design and Analysis of Real Time Systems ECDAR: An Environment for Compositional Design and Analysis of Real Time Systems AlexandreDavid 1,Kim.G.Larsen 1,AxelLegay 2, UlrikNyman 1,AndrzejWąsowski 3 1 ComputerScience,AalborgUniversity,Denmark

More information

Chapter 10 Formal Specification

Chapter 10 Formal Specification Chapter 10 Formal Specification Ian Sommerville 2000 Software Engineering, Chapter 10 Slide 1 Objectives To explain why formal specification helps discover problems in system requirements. To describe

More information

Static Program Analysis

Static Program Analysis Static Program Analysis Thomas Noll Software Modeling and Verification Group RWTH Aachen University https://moves.rwth-aachen.de/teaching/ss-18/spa/ Preliminaries Outline of Lecture 1 Preliminaries Introduction

More information

Outline. SLD challenges Platform Based Design (PBD) Leveraging state of the art CAD Metropolis. Case study: Wireless Sensor Network

Outline. SLD challenges Platform Based Design (PBD) Leveraging state of the art CAD Metropolis. Case study: Wireless Sensor Network By Alberto Puggelli Outline SLD challenges Platform Based Design (PBD) Case study: Wireless Sensor Network Leveraging state of the art CAD Metropolis Case study: JPEG Encoder SLD Challenge Establish a

More information

Formal Methods. CITS5501 Software Testing and Quality Assurance

Formal Methods. CITS5501 Software Testing and Quality Assurance Formal Methods CITS5501 Software Testing and Quality Assurance Pressman, R. Software Engineering: A Practitioner s Approach. Chapter 28. McGraw-Hill, 2005 The Science of Programming, David Gries, 1981

More information

Specification and Analysis of Real-Time Systems Using Real-Time Maude

Specification and Analysis of Real-Time Systems Using Real-Time Maude Specification and Analysis of Real-Time Systems Using Real-Time Maude Peter Csaba Ölveczky1,2 and José Meseguer 1 1 Department of Computer Science, University of Illinois at Urbana-Champaign 2 Department

More information

Transforming Cyber-Physical System Models

Transforming Cyber-Physical System Models Transforming Cyber-Physical System Models Nathan Jarus Ph.D. Candidate Department of Electrical and Computer Engineering Advisors: Dr. Sahra Sedigh Sarvestani and Dr. Ali Hurson ISC Graduate Research Symposium

More information

CS 242. Fundamentals. Reading: See last slide

CS 242. Fundamentals. Reading: See last slide CS 242 Fundamentals Reading: See last slide Syntax and Semantics of Programs Syntax The symbols used to write a program Semantics The actions that occur when a program is executed Programming language

More information