MDE: Modelling the DEVS formalism

Size: px
Start display at page:

Download "MDE: Modelling the DEVS formalism"

Transcription

1 MDE: Modelling the DEVS formalism Yentl Van Tendeloo January 24, / 25

2 The problem: Difficult to comprehend c l a s s Root ( CoupledDEVS ) : d e f i n i t ( s e l f ) : CoupledDEVS. i n i t ( s e l f ) s e l f. gen = s e l f. addsubmodel ( G e n e r a t o r ( ) ) s e l f. seg1 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. seg2 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. seg3 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. c o l = s e l f. addsubmodel ( C o l l e c t o r ( ) ) s e l f. c o n n e c t P o r t s ( s e l f. gen. Q send, s e l f. seg1. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. gen. c a r o u t, s e l f. seg1. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. Q sack, s e l f. gen. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. Q send, s e l f. seg2. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. c a r o u t, s e l f. seg2. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. Q sack, s e l f. seg1. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. Q send, s e l f. seg3. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. c a r o u t, s e l f. seg3. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg3. Q sack, s e l f. seg2. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg3. c a r o u t, s e l f. c o l. c a r i n ) 2 / 25

3 The problem: Difficult to comprehend c l a s s Root ( CoupledDEVS ) : d e f i n i t ( s e l f ) : CoupledDEVS. i n i t ( s e l f ) s e l f. gen = s e l f. addsubmodel ( G e n e r a t o r ( ) ) s e l f. seg1 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. seg2 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. seg3 = s e l f. addsubmodel ( RoadSegment ( ) ) s e l f. c o l = s e l f. addsubmodel ( C o l l e c t o r ( ) ) s e l f. c o n n e c t P o r t s ( s e l f. gen. Q send, s e l f. seg1. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. gen. c a r o u t, s e l f. seg1. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. Q sack, s e l f. gen. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. Q send, s e l f. seg2. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. seg1. c a r o u t, s e l f. seg2. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. Q sack, s e l f. seg1. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. Q send, s e l f. seg3. Q recv ) s e l f. c o n n e c t P o r t s ( s e l f. seg2. c a r o u t, s e l f. seg3. c a r i n ) s e l f. c o n n e c t P o r t s ( s e l f. seg3. Q sack, s e l f. seg2. Q rack ) s e l f. c o n n e c t P o r t s ( s e l f. seg3. c a r o u t, s e l f. c o l. c a r i n ) Solution: Graphical representation 2 / 25

4 The problem: Different simulators i n t main ( i n t, c h a r a r g v ){ adevs : : Digraph<Event > dig ; Generator gen = new Generator ( ) ; RoadSegment seg1 = new RoadSegment ( ) ; RoadSegment seg2 = new RoadSegment ( ) ; RoadSegment seg3 = new RoadSegment ( ) ; C o l l e c t o r c o l = new C o l l e c t o r ( ) ; d i g. add ( gen ) ; d i g. add ( seg1 ) ; d i g. add ( seg2 ) ; d i g. add ( seg3 ) ; d i g. add ( c o l ) ; dig. couple ( gen, gen >Q send, seg1, seg1 >Q recv ) ; d i g. c o u p l e ( gen, gen >c a r o u t, seg1, seg1 >c a r i n ) ; dig. couple ( seg1, seg1 >Q sack, gen, gen >Q rack ) ; dig. couple ( seg1, seg1 >Q send, seg2, seg2 >Q recv ) ; d i g. c o u p l e ( seg1, seg1 >c a r o u t, seg2, seg2 >c a r i n ) ; dig. couple ( seg2, seg2 >Q sack, seg1, seg1 >Q rack ) ; dig. couple ( seg2, seg2 >Q send, seg3, seg3 >Q recv ) ; d i g. c o u p l e ( seg2, seg2 >c a r o u t, seg3, seg3 >c a r i n ) ; dig. couple ( seg3, seg3 >Q sack, seg2, seg2 >Q rack ) ; d i g. c o u p l e ( seg3, seg3 >c a r o u t, c o l, c o l >c a r i n ) ; 3 / 25

5 The problem: Different simulators i n t main ( i n t, c h a r a r g v ){ adevs : : Digraph<Event > dig ; Generator gen = new Generator ( ) ; RoadSegment seg1 = new RoadSegment ( ) ; RoadSegment seg2 = new RoadSegment ( ) ; RoadSegment seg3 = new RoadSegment ( ) ; C o l l e c t o r c o l = new C o l l e c t o r ( ) ; d i g. add ( gen ) ; d i g. add ( seg1 ) ; d i g. add ( seg2 ) ; d i g. add ( seg3 ) ; d i g. add ( c o l ) ; dig. couple ( gen, gen >Q send, seg1, seg1 >Q recv ) ; d i g. c o u p l e ( gen, gen >c a r o u t, seg1, seg1 >c a r i n ) ; dig. couple ( seg1, seg1 >Q sack, gen, gen >Q rack ) ; dig. couple ( seg1, seg1 >Q send, seg2, seg2 >Q recv ) ; d i g. c o u p l e ( seg1, seg1 >c a r o u t, seg2, seg2 >c a r i n ) ; dig. couple ( seg2, seg2 >Q sack, seg1, seg1 >Q rack ) ; dig. couple ( seg2, seg2 >Q send, seg3, seg3 >Q recv ) ; d i g. c o u p l e ( seg2, seg2 >c a r o u t, seg3, seg3 >c a r i n ) ; dig. couple ( seg3, seg3 >Q sack, seg2, seg2 >Q rack ) ; d i g. c o u p l e ( seg3, seg3 >c a r o u t, c o l, c o l >c a r i n ) ; Solution: Independent language 3 / 25

6 Global overview Source: Hongyan Song. Infrastructure for devs modelling and experimentation. Master s thesis, McGill University, / 25

7 Overview: Modelling In AToM 3 Compliant to a metamodel Should have a code generation feature For intermediate language (Modelica) Automatically generated environment! 5 / 25

8 Intermediate Language: Modelica Modelling language Relatively mature Language features for both continuous and discrete models Standard library Re-usability 6 / 25

9 Modelica Example c l a s s G e n e r a t o r extends AtomicDEVS ; output DevsPort p o u t ; G e n e r a t o r S t a t e s t a t e ( ) ; f u n c t i o n timeadvance output I n t e g e r t i m e s p a n ; a l g o r i t h m... end timeadvance ; end G e n e r a t o r ; c l a s s Root extends CoupledDEVS ; output DevsPort p o u t ; P r o c e s s o r i n s 2 ( ) ; e q u a t i o n c o n n e c t ( i n s 2. p o u t, p o u t ) ; end Root ; 7 / 25

10 Overview: Verification Use the µmodelica compiler 1 Statically check the model No accesses to inaccessible variables Possibly perform optimisations Currently (nearly) no verification happens 1 Weigao Xu. The design and implementation of the modelica compiler. Master s thesis, McGill University, / 25

11 Overview: Simulation Use the PythonDEVS simulator 2 Save the trace file Text output XML output VCD output 2 Jean-Sébastien Bolduc and Hans Vangheluwe. The modelling and simulation package pythondevs for classical hierarchical devs. Technical report, MSDL Technical Report, / 25

12 Overview: Validation Compare the output of the simulation to the specifications Textual simulation traces are unclear Visualize! 10 / 25

13 Overview: Validation (example) Source: Hongyan Song. Infrastructure for devs modelling and experimentation. Master s thesis, McGill University, / 25

14 Overview: Features Model reuse At AToM 3 level At Modelica level At PythonDEVS level Clear boundaries Open structure 12 / 25

15 My contribution Modelling Updating the existing metamodel Include experiment data Verification Update the µmodelica compiler Introduce a flattening phase 13 / 25

16 Modelling in AToM 3 : metamodel hasstate atomicdevsv2 containmodelv2 Actions: > connect > disconnect Attributes: coupleddevsv2 - name :: String Attributes: - isvisible :: Boolean - name :: String Actions: > connect < disconnect DevsExperiment Attributes: - experimentname :: String - model :: String - classvariables :: List - isvisible :: Boolean - package :: String DevsState Attributes: - name :: String - attributes :: List - parameters :: List - attributes :: List - init :: Text - exttransition :: Text - inttransition :: Text - outputfunc :: Text - timeadvance :: Text - classvariables :: List - parameters :: List - attributes :: List - init :: Text - ismainmodel :: Boolean insdevsv2 Attributes: - name :: String - type :: String - parameters :: Text - isvisible :: Boolean - parameters :: Text - end_time :: Float - verbose :: Boolean - trace :: Boolean containsportv2 containsstatev2 Actions: portdevsv2 internaltransitionv2 Actions: > connect Attributes: Attributes: > connect < disconnect - name :: String - condition :: Text < disconnect - porttype :: Enum - action :: Text eventdevsv2 externaltransitionv2 Attributes: - condition :: Text - action :: Text statedevsv2 Attributes: - name :: String - initial :: Boolean - timeadvance :: Text - output :: Text - extaction :: Text - intaction :: Text Attributes: - name :: String - classvariables :: List channelv2 - parameters :: List Actions: - attributes :: List > connect - init :: Text < disconnect - str :: Text < checkvalidity - otherfunc :: Text 14 / 25

17 Modelling in AToM 3 : example model Generator generating p_out idle p_out Processor processing Experiment: Model: Root Experiment TimeAdvance: timespan := 1; Output:evt := Job(0.3); poke(p_out, evt); p_in TimeAdvance: timespan := INFINITY; Output: TimeAdvance: timespan := event.jobsize; Output: poke(p_out, event); Package: Parameters: End time: Verbose: True Trace: False Root Job Parameters: p_out ins_7 : Generator ins_6 p_in CoupledProcessor : p_out p_in ins_2 : Processor p_out p_out jobsize type=float init.value=3.5 Attributes: CoupledProcessor p_in ins_3 p_in : Processor p_out ins_4 : Processor p_out p_in p_out 15 / 25

18 DEVS: Messages 16 / 25

19 Verification: Flattening What is flattening? Perform the closure under coupling on a real model Together with direct connection Use of flattening Increased performance The proof was right! 17 / 25

20 Verification: Direct connection What is direct connection? Remove the complete hierarchy Just 1 coupled model Connections become one-step Problems! 3 Z functions need to be rewritten select functions need to be rewritten 3 Bin Chen and Hans Vangheluwe. Symbolic flattening of devs models. In 2010 Summer Simulation Multiconference, SummerSim 10, pages , San Diego, CA, USA, Society for Computer Simulation International 18 / 25

21 Verification: Direct connection 19 / 25

22 Verification: Compilation Still need to compile the generated modelica code Some slight changes were done here 20 / 25

23 Evaluation Simulation time of Wide models using the Old PyDEVS 70 Flattened Quadratic Non-Flattened 60 Quadratic Simulation time of Wide models using the New PyDEVS 40 Flattened Quadratic 35 Non-Flattened Linear Time (s) Time (s) Width Width 21 / 25

24 Evaluation Simulation time of Deep models using the Old PyDEVS 11 Flattened 10 Quadratic Non-Flattened Constant 9 Simulation time of Deep models using the New PyDEVS 0.33 Flattened Linear 0.32 Non-Flattened Constant Time (s) 6 5 Time (s) Depth Depth 22 / 25

25 Evaluation: Gain These optimisations are simulator-independent! Optimisations will propagate Difference depends on the simulator This comparison was with an optimised simulator 4 4 Yentl Van Tendeloo. Research internship 1: Optimizing pydevs. Technical report, MSDL, / 25

26 Future work Different dimensions Optimise flattening Implement Verifications Implement other back-ends Some details were ignored Z and select function 24 / 25

27 Demo Time for a demo! 25 / 25

28 Jean-Sébastien Bolduc and Hans Vangheluwe. The modelling and simulation package pythondevs for classical hierarchical devs. Technical report, MSDL Technical Report, Bin Chen and Hans Vangheluwe. Symbolic flattening of devs models. In 2010 Summer Simulation Multiconference, SummerSim 10, pages , San Diego, CA, USA, Society for Computer Simulation International. Hongyan Song. Infrastructure for devs modelling and experimentation. Master s thesis, McGill University, Yentl Van Tendeloo. Research internship 1: Optimizing pydevs. Technical report, MSDL, Weigao Xu. The design and implementation of the modelica compiler. 25 / 25

29 Master s thesis, McGill University, / 25

Causal Block Diagrams: Compiler to LaTeX and DEVS

Causal Block Diagrams: Compiler to LaTeX and DEVS Causal Block Diagrams: Compiler to LaTeX and DEVS Nicolas Demarbaix University of Antwerp Antwerp, Belgium nicolas.demarbaix@student.uantwerpen.be Abstract In this report I present the results of my project

More information

Parallel DEVS. An Introduction Using PythonPDEVS. Yentl Van Tendeloo, Hans Vangheluwe

Parallel DEVS. An Introduction Using PythonPDEVS. Yentl Van Tendeloo, Hans Vangheluwe Parallel DEVS An Introduction Using PythonPDEVS Yentl Van Tendeloo, Hans Vangheluwe Introduction Cellular Automata Process Interaction Discrete Event State Charts Petri Nets Activity Scanning Discrete

More information

Modelica An Object-Oriented Language for Physical System Modeling

Modelica An Object-Oriented Language for Physical System Modeling Modelica An Object-Oriented Language for Physical System Modeling by Steven Xu Feb 19, 2003 Overview The Modelica design was initiated by Hilding Elmqvist in Sept. 1996 Has been designed by the developers

More information

INTRODUCTION TO PARALLEL DEVS MODELLING AND SIMULATION

INTRODUCTION TO PARALLEL DEVS MODELLING AND SIMULATION INTRODUCTION TO PARALLEL DEVS MODELLING AND SIMULATION Yentl Van Tendeloo University of Antwerp, Belgium Yentl.VanTendeloo@uantwerpen.be Hans Vangheluwe University of Antwerp, Belgium Flanders Make, Belgium

More information

The Discrete EVent System specification (DEVS) formalism

The Discrete EVent System specification (DEVS) formalism The Discrete EVent System specification (DEVS) formalism Hans Vangheluwe The DEVS formalism was conceived by Zeigler [Zei84a, Zei84b] to provide a rigourous common basis for discrete-event modelling and

More information

CPSA and Formal Security Goals

CPSA and Formal Security Goals CPSA and Formal Security Goals John D. Ramsdell The MITRE Corporation CPSA Version 2.5.1 July 8, 2015 Contents 1 Introduction 3 2 Syntax 6 3 Semantics 8 4 Examples 10 4.1 Needham-Schroeder Responder.................

More information

Deterministic Finite Automaton (DFA)

Deterministic Finite Automaton (DFA) 1 Lecture Overview Deterministic Finite Automata (DFA) o accepting a string o defining a language Nondeterministic Finite Automata (NFA) o converting to DFA (subset construction) o constructed from a regular

More information

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc.

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc. [Type text] [Type text] [Type text] ISSN : 0974-7435 Volume 10 Issue 11 BioTechnology 2014 An Indian Journal FULL PAPER BTAIJ, 10(11), 2014 [5576-5583] Research on the probability of extended UML state

More information

Performing Advanced Cartography with Esri Production Mapping

Performing Advanced Cartography with Esri Production Mapping Esri International User Conference San Diego, California Technical Workshops July 25, 2012 Performing Advanced Cartography with Esri Production Mapping Tania Pal & Madhura Phaterpekar Agenda Outline generic

More information

UML. Design Principles.

UML. Design Principles. .. Babes-Bolyai University arthur@cs.ubbcluj.ro November 20, 2018 Overview 1 2 3 Diagrams Unified Modeling Language () - a standardized general-purpose modeling language in the field of object-oriented

More information

Contents. 6.1 Conditional statements 6.2 Iteration 6.3 Procedures and flow control

Contents. 6.1 Conditional statements 6.2 Iteration 6.3 Procedures and flow control Introduction This reference manual gives an essentially complete description of the standard facilities available in SMP. Extensive illustrative examples are included. The same text is given without these

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

More information

Information System Design IT60105

Information System Design IT60105 Information System Design IT60105 Lecture 8 Use Case Diagrams Lecture #8 What is a use-case diagram? Example: On-line purchase (OLP) system Use-case diagram of OLP system Different components in a use-case

More information

A GUI FOR EVOLVE ZAMS

A GUI FOR EVOLVE ZAMS A GUI FOR EVOLVE ZAMS D. R. Schlegel Computer Science Department Here the early work on a new user interface for the Evolve ZAMS stellar evolution code is presented. The initial goal of this project is

More information

Using Happens-Before Relationship to debug MPI non-determinism. Anh Vo and Alan Humphrey

Using Happens-Before Relationship to debug MPI non-determinism. Anh Vo and Alan Humphrey Using Happens-Before Relationship to debug MPI non-determinism Anh Vo and Alan Humphrey {avo,ahumphre}@cs.utah.edu Distributed event ordering is crucial Bob receives two undated letters from his dad One

More information

Creation and modification of a geological model Program: Stratigraphy

Creation and modification of a geological model Program: Stratigraphy Engineering manual No. 39 Updated: 11/2018 Creation and modification of a geological model Program: Stratigraphy File: Demo_manual_39.gsg Introduction The aim of this engineering manual is to explain the

More information

4th year Project demo presentation

4th year Project demo presentation 4th year Project demo presentation Colm Ó héigeartaigh CASE4-99387212 coheig-case4@computing.dcu.ie 4th year Project demo presentation p. 1/23 Table of Contents An Introduction to Quantum Computing The

More information

KISSsys Tutorial: Two Stage Planetary Gearbox. Using this tutorial

KISSsys Tutorial: Two Stage Planetary Gearbox. Using this tutorial KISSsys Tutorial: Two Stage Planetary Gearbox KISSsys Tutorial: Two Stage Planetary Gearbox Using this tutorial This tutorial illustrates how a two stage planetary gearbox can be modelled in KISSsys. Some

More information

Creation and modification of a geological model Program: Stratigraphy

Creation and modification of a geological model Program: Stratigraphy Engineering manual No. 39 Updated: 02/2018 Creation and modification of a geological model Program: Stratigraphy File: Demo_manual_39.gsg Introduction The aim of this engineering manual is to explain the

More information

Change Management within SysML Requirements Models

Change Management within SysML Requirements Models Change Management within SysML Requirements Models David ten Hove Master's thesis University of Twente Faculty of Electrical Engineering, Mathematics and Computer Science Department of Computer Science

More information

SDS developer guide. Develop distributed and parallel applications in Java. Nathanaël Cottin. version

SDS developer guide. Develop distributed and parallel applications in Java. Nathanaël Cottin. version SDS developer guide Develop distributed and parallel applications in Java Nathanaël Cottin sds@ncottin.net http://sds.ncottin.net version 0.0.3 Copyright 2007 - Nathanaël Cottin Permission is granted to

More information

ECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview

ECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview 407 Computer Aided Design for Electronic Systems Simulation Instructor: Maria K. Michael Overview What is simulation? Design verification Modeling Levels Modeling circuits for simulation True-value simulation

More information

Safe to Save? Archive Options for Geodatabases. Jeff Essic North Carolina State University Libraries

Safe to Save? Archive Options for Geodatabases. Jeff Essic North Carolina State University Libraries Safe to Save? Archive Options for Geodatabases Jeff Essic North Carolina State University Libraries 2011 ESRI International Users Conference July 13, 2011 GeoMAPP Geospatial Multistate Archive and Preservation

More information

Software Verification

Software Verification Software Verification Grégoire Sutre LaBRI, University of Bordeaux, CNRS, France Summer School on Verification Technology, Systems & Applications September 2008 Grégoire Sutre Software Verification VTSA

More information

M/CD++: modeling continuous systems using Modelica and DEVS

M/CD++: modeling continuous systems using Modelica and DEVS M/CD++: modeling continuous systems using Modelica and DEVS Mariana C. D Abreu Computer Science Department Universidad de Buenos Aires Pabellón I, Ciudad Universitaria (1428) Buenos Aires, ARGENTINA. mdabreu@ciudad.com.ar

More information

The Cellular Automata Formalism and its Relationship to DEVS

The Cellular Automata Formalism and its Relationship to DEVS The Cellular Automata Formalism and its Relationship to DEVS Hans L.M. Vangheluwe and Ghislain C. Vansteenkiste School of Computer Science McGill University, Montréal, Québec, Canada e-mail: hv@cs.mcgill.ca

More information

Lecture 1: Finite State Automaton

Lecture 1: Finite State Automaton Lecture 1: Finite State Automaton Instructor: Ketan Mulmuley Scriber: Yuan Li January 6, 2015 1 Deterministic Finite Automaton Informally, a deterministic finite automaton (DFA) has finite number of s-

More information

CSE 140 Lecture 11 Standard Combinational Modules. CK Cheng and Diba Mirza CSE Dept. UC San Diego

CSE 140 Lecture 11 Standard Combinational Modules. CK Cheng and Diba Mirza CSE Dept. UC San Diego CSE 4 Lecture Standard Combinational Modules CK Cheng and Diba Mirza CSE Dept. UC San Diego Part III - Standard Combinational Modules (Harris: 2.8, 5) Signal Transport Decoder: Decode address Encoder:

More information

System Design: Architectures and Archetypes. Stephen J. Mellor Project Technology, Inc.

System Design: Architectures and Archetypes. Stephen J. Mellor Project Technology, Inc. System Design: Architectures and Archetypes Stephen J. Mellor Project Technology, Inc. http://www.projtech.com Properties Executable UML models Separation of application from architecture Translation according

More information

The Proof of IP = P SP ACE

The Proof of IP = P SP ACE The Proof of IP = P SP ACE Larisse D. Voufo March 29th, 2007 For a long time, the question of how a verier can be convinced with high probability that a given theorem is provable without showing the whole

More information

Formal Methods in Software Engineering

Formal Methods in Software Engineering Formal Methods in Software Engineering Modeling Prof. Dr. Joel Greenyer October 21, 2014 Organizational Issues Tutorial dates: I will offer two tutorial dates Tuesdays 15:00-16:00 in A310 (before the lecture,

More information

Modeling and Analysis of Communicating Systems

Modeling and Analysis of Communicating Systems Modeling and Analysis of Communicating Systems Lecture 5: Sequential Processes Jeroen Keiren and Mohammad Mousavi j.j.a.keiren@vu.nl and m.r.mousavi@hh.se Halmstad University March 2015 Outline Motivation

More information

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa CS:4330 Theory of Computation Spring 2018 Regular Languages Finite Automata and Regular Expressions Haniel Barbosa Readings for this lecture Chapter 1 of [Sipser 1996], 3rd edition. Sections 1.1 and 1.3.

More information

Cactus Tools for Petascale Computing

Cactus Tools for Petascale Computing Cactus Tools for Petascale Computing Erik Schnetter Reno, November 2007 Gamma Ray Bursts ~10 7 km He Protoneutron Star Accretion Collapse to a Black Hole Jet Formation and Sustainment Fe-group nuclei Si

More information

Math 205, Summer I, Week 3a (continued): Chapter 4, Sections 5 and 6. Week 3b. Chapter 4, [Sections 7], 8 and 9

Math 205, Summer I, Week 3a (continued): Chapter 4, Sections 5 and 6. Week 3b. Chapter 4, [Sections 7], 8 and 9 Math 205, Summer I, 2016 Week 3a (continued): Chapter 4, Sections 5 and 6. Week 3b Chapter 4, [Sections 7], 8 and 9 4.5 Linear Dependence, Linear Independence 4.6 Bases and Dimension 4.7 Change of Basis,

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Fall 2016 http://cseweb.ucsd.edu/classes/fa16/cse105-abc/ Today's learning goals Sipser Ch 3 Trace the computation of a Turing machine using its transition function and configurations.

More information

Orange Visualization Tool (OVT) Manual

Orange Visualization Tool (OVT) Manual Orange Visualization Tool (OVT) Manual This manual describes the features of the tool and how to use it. 1. Contents of the OVT Once the OVT is open (the first time it may take some seconds), it should

More information

Learning outcomes. Palettes and GIF. The colour palette. Using the colour palette The GIF file. CSM25 Secure Information Hiding

Learning outcomes. Palettes and GIF. The colour palette. Using the colour palette The GIF file. CSM25 Secure Information Hiding Learning outcomes Palettes and GIF CSM25 Secure Information Hiding Dr Hans Georg Schaathun University of Surrey Learn how images are represented using a palette Get an overview of hiding techniques in

More information

Computational complexity and some Graph Theory

Computational complexity and some Graph Theory Graph Theory Lars Hellström January 22, 2014 Contents of todays lecture An important concern when choosing the algorithm to use for something (after basic requirements such as correctness and stability)

More information

How to deal with uncertainties and dynamicity?

How to deal with uncertainties and dynamicity? How to deal with uncertainties and dynamicity? http://graal.ens-lyon.fr/ lmarchal/scheduling/ 19 novembre 2012 1/ 37 Outline 1 Sensitivity and Robustness 2 Analyzing the sensitivity : the case of Backfilling

More information

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

More information

198:538 Complexity of Computation Lecture 16 Rutgers University, Spring March 2007

198:538 Complexity of Computation Lecture 16 Rutgers University, Spring March 2007 198:538 Complexity of Computation Lecture 16 Rutgers University, Spring 2007 8 March 2007 In this lecture we discuss Shamir s theorem that PSPACE is the set of languages that have interactive proofs with

More information

UML Model Refactoring

UML Model Refactoring UML Model Refactoring Viktor Stojkovski University of Antwerpen, Faculty of Computer Science, Master Studies - Software Engineering, Antwerpen, Belgium Abstract Creating a complex UML statechart diagrams

More information

Erly Marsh - a Model-Based Testing tool. Johan Blom, PhD

Erly Marsh - a Model-Based Testing tool. Johan Blom, PhD Erly Marsh - a Model-Based Testing tool Johan Blom, PhD 1 Motivation Mobile Arts Develops server software for mobile telecom operators (Location server, SMSC etc.) Implementations rather big and complicated

More information

Plasma: A new SMC Checker. Axel Legay. In collaboration with L. Traonouez and S. Sedwards.

Plasma: A new SMC Checker. Axel Legay. In collaboration with L. Traonouez and S. Sedwards. Plasma: A new SMC Checker Axel Legay In collaboration with L. Traonouez and S. Sedwards. 1 Plasma Lab A PLAtform for Statistical Model Analysis A library of statistical model-checking algorithms (Monte-Carlo,

More information

PRISM An overview. automatic verification of systems with stochastic behaviour e.g. due to unreliability, uncertainty, randomisation,

PRISM An overview. automatic verification of systems with stochastic behaviour e.g. due to unreliability, uncertainty, randomisation, PRISM An overview PRISM is a probabilistic model checker automatic verification of systems with stochastic behaviour e.g. due to unreliability, uncertainty, randomisation, Construction/analysis of probabilistic

More information

Overview key concepts and terms (based on the textbook Chang 2006 and the practical manual)

Overview key concepts and terms (based on the textbook Chang 2006 and the practical manual) Introduction Geo-information Science (GRS-10306) Overview key concepts and terms (based on the textbook 2006 and the practical manual) Introduction Chapter 1 Geographic information system (GIS) Geographically

More information

Adders, subtractors comparators, multipliers and other ALU elements

Adders, subtractors comparators, multipliers and other ALU elements CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Instructor: Mohsen Imani UC San Diego Slides from: Prof.Tajana Simunic Rosing

More information

Math-2A Lesson 13-3 (Analyzing Functions, Systems of Equations and Inequalities) Which functions are symmetric about the y-axis?

Math-2A Lesson 13-3 (Analyzing Functions, Systems of Equations and Inequalities) Which functions are symmetric about the y-axis? Math-A Lesson 13-3 (Analyzing Functions, Systems of Equations and Inequalities) Which functions are symmetric about the y-axis? f ( x) x x x x x x 3 3 ( x) x We call functions that are symmetric about

More information

A BASE SYSTEM FOR MICRO TRAFFIC SIMULATION USING THE GEOGRAPHICAL INFORMATION DATABASE

A BASE SYSTEM FOR MICRO TRAFFIC SIMULATION USING THE GEOGRAPHICAL INFORMATION DATABASE A BASE SYSTEM FOR MICRO TRAFFIC SIMULATION USING THE GEOGRAPHICAL INFORMATION DATABASE Yan LI Ritsumeikan Asia Pacific University E-mail: yanli@apu.ac.jp 1 INTRODUCTION In the recent years, with the rapid

More information

Logarithmic space. Evgenij Thorstensen V18. Evgenij Thorstensen Logarithmic space V18 1 / 18

Logarithmic space. Evgenij Thorstensen V18. Evgenij Thorstensen Logarithmic space V18 1 / 18 Logarithmic space Evgenij Thorstensen V18 Evgenij Thorstensen Logarithmic space V18 1 / 18 Journey below Unlike for time, it makes sense to talk about sublinear space. This models computations on input

More information

Ivy: Safety Verification by Interactive Generalization

Ivy: Safety Verification by Interactive Generalization Ivy: Safety Verification by Interactive Generalization Oded Padon Verification Day 1-June-2016 [PLDI 16] Oded Padon, Kenneth McMillan, Aurojit Panda, Mooly Sagiv, Sharon Shoham. Ivy: Safety Verification

More information

VK5DJ_sunmoon.dll - how to use it

VK5DJ_sunmoon.dll - how to use it VK5DJ_sunmoon.dll - how to use it The version using extended variables is no longer supported as it was a problem keeping two versions up to date. To enable access by users of C compilers I have decided

More information

ESPRIT Feature. Innovation with Integrity. Particle detection and chemical classification EDS

ESPRIT Feature. Innovation with Integrity. Particle detection and chemical classification EDS ESPRIT Feature Particle detection and chemical classification Innovation with Integrity EDS Fast and Comprehensive Feature Analysis Based on the speed and accuracy of the QUANTAX EDS system with its powerful

More information

Introductory MPI June 2008

Introductory MPI June 2008 7: http://people.sc.fsu.edu/ jburkardt/presentations/ fdi 2008 lecture7.pdf... John Information Technology Department Virginia Tech... FDI Summer Track V: Parallel Programming 10-12 June 2008 MPI: Why,

More information

Specification of Basic Tools and Platform

Specification of Basic Tools and Platform Project IST-511599 RODIN Rigorous Open Development Environment for Complex Systems RODIN Deliverable 3.3 (D10) Specification of Basic Tools and Platform Editor: Laurent Voisin (ETH Zürich) Public Document

More information

MODIFICATION IN ADINA SOFTWARE FOR ZAHORSKI MATERIAL

MODIFICATION IN ADINA SOFTWARE FOR ZAHORSKI MATERIAL MODIFICATION IN ADINA SOFTWARE FOR ZAHORSKI MATERIAL Major Maciej Major Izabela Czestochowa University of Technology, Faculty of Civil Engineering, Address ul. Akademicka 3, Częstochowa, Poland e-mail:

More information

Examples of Regular Expressions. Finite Automata vs. Regular Expressions. Example of Using flex. Application

Examples of Regular Expressions. Finite Automata vs. Regular Expressions. Example of Using flex. Application Examples of Regular Expressions 1. 0 10, L(0 10 ) = {w w contains exactly a single 1} 2. Σ 1Σ, L(Σ 1Σ ) = {w w contains at least one 1} 3. Σ 001Σ, L(Σ 001Σ ) = {w w contains the string 001 as a substring}

More information

The complexity of Boolean formula minimization

The complexity of Boolean formula minimization The complexity of Boolean formula minimization Dave Buchfuhrer Chris Umans July 7, 2008 Formula Minimization Problem You wish to compute some function f Formula Minimization Problem You wish to compute

More information

Physical Modeling of Hybrid Systems with Rand Model Designer

Physical Modeling of Hybrid Systems with Rand Model Designer Physical Modeling of Hybrid Systems with Rand Model Designer D. Inihov,* Y. Kolesov,** Y. Senichenkov*** *MvSoft, Moscow, Russia, (e-mail: inihov@mail.ru) **R F C A, Moscow, Russia (e-mail: ybk2@mail.ru)

More information

Data to Datafordeleren

Data to Datafordeleren Data to Datafordeleren Infrastructure, architecture and design FME World tour Copenhagen 21 May 2015 SIDE 1 Who am I Peter Laulund Certified FME professional since 2007 Works at Geodatastyrelsen - The

More information

Spatial Effects on Current and Future Climate of Ipomopsis aggregata Populations in Colorado Patterns of Precipitation and Maximum Temperature

Spatial Effects on Current and Future Climate of Ipomopsis aggregata Populations in Colorado Patterns of Precipitation and Maximum Temperature A. Kenney GIS Project Spring 2010 Amanda Kenney GEO 386 Spring 2010 Spatial Effects on Current and Future Climate of Ipomopsis aggregata Populations in Colorado Patterns of Precipitation and Maximum Temperature

More information

CityGML XFM Application Template Documentation. Bentley Map V8i (SELECTseries 2)

CityGML XFM Application Template Documentation. Bentley Map V8i (SELECTseries 2) CityGML XFM Application Template Documentation Bentley Map V8i (SELECTseries 2) Table of Contents Introduction to CityGML 1 CityGML XFM Application Template 2 Requirements 2 Finding Documentation 2 To

More information

Inverse problems. High-order optimization and parallel computing. Lecture 7

Inverse problems. High-order optimization and parallel computing. Lecture 7 Inverse problems High-order optimization and parallel computing Nikolai Piskunov 2014 Lecture 7 Non-linear least square fit The (conjugate) gradient search has one important problem which often occurs

More information

October 6, Equivalence of Pushdown Automata with Context-Free Gramm

October 6, Equivalence of Pushdown Automata with Context-Free Gramm Equivalence of Pushdown Automata with Context-Free Grammar October 6, 2013 Motivation Motivation CFG and PDA are equivalent in power: a CFG generates a context-free language and a PDA recognizes a context-free

More information

WRF Modeling System Overview

WRF Modeling System Overview WRF Modeling System Overview Louisa Nance National Center for Atmospheric Research (NCAR) Developmental Testbed Center (DTC) 27 February 2007 1 Outline What is WRF? WRF Modeling System WRF Software Design

More information

COM364 Automata Theory Lecture Note 2 - Nondeterminism

COM364 Automata Theory Lecture Note 2 - Nondeterminism COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly

More information

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4 CSE 20 Lecture 4: Introduction to Boolean algebra Reminder First quiz will be on Friday (17th January) in class. It is a paper quiz. Syllabus is all that has been done till Wednesday. If you want you may

More information

A Julia Framework for Bayesian Inference

A Julia Framework for Bayesian Inference A Julia Framework for Bayesian Inference Dahua Lin Dahua Lin A Julia Framework for Bayesian Inference 1 / 16 Motivation Writing procedure to perform estimation or inference over complex graphical models

More information

Defining and validating the behavior of component interfaces in navigation software

Defining and validating the behavior of component interfaces in navigation software Eindhoven University of Technology MASTER Defining and validating the behavior of component interfaces in navigation software Josquin, G.J. Award date: 2014 Link to publication Disclaimer This document

More information

CityBES: A Data and Computing Platform for City Buildings

CityBES: A Data and Computing Platform for City Buildings CityBES: A Data and Computing Platform for City Buildings Yixing Chen, Tianzhen Hong, Mary Ann Piette, Xuan Luo Building Technology and Urban Systems Division Urban Infrastructures NSF Workshop New York

More information

Propositional Logic and Semantics

Propositional Logic and Semantics Propositional Logic and Semantics English is naturally ambiguous. For example, consider the following employee (non)recommendations and their ambiguity in the English language: I can assure you that no

More information

Implementing Parallel Cell-DEVS

Implementing Parallel Cell-DEVS Implementing Parallel Cell-DEVS Alejandro Troccoli Gabriel Wainer Departamento de Computación. Department of Systems and Computing Pabellón I. Ciudad Universitaria Engineering, Carleton University. 1125

More information

New Accessibility Features in MathJax

New Accessibility Features in MathJax MathJax Consortium (University of Birmigham, UK; Progressive Accessibility Solutions, Ltd.) joint work with Davide Cervone and Peter Krautzberger This work was supported by the Alfred P. Sloan Foundation.

More information

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras Introduction to Model Checking Debdeep Mukhopadhyay IIT Madras How good can you fight bugs? Comprising of three parts Formal Verification techniques consist of three parts: 1. A framework for modeling

More information

ITI Introduction to Computing II

ITI Introduction to Computing II (with contributions from R. Holte) School of Electrical Engineering and Computer Science University of Ottawa Version of January 9, 2019 Please don t print these lecture notes unless you really need to!

More information

Agent Verification. Louise Dennis and Michael Fisher. Centre for Autonomous Systems Technology University of Liverpool

Agent Verification. Louise Dennis and Michael Fisher. Centre for Autonomous Systems Technology University of Liverpool Agent Verification Louise Dennis and Michael Fisher Centre for Autonomous Systems Technology University of Liverpool Verifying Agent-Based Autonomous Systems Tutorial - Part IV (A)JPF Quick Overview of

More information

Music as a Formal Language

Music as a Formal Language Music as a Formal Language Finite-State Automata and Pd Bryan Jurish moocow@ling.uni-potsdam.de Universität Potsdam, Institut für Linguistik, Potsdam, Germany pd convention 2004 / Jurish / Music as a formal

More information

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: Automata, State machines, Circuits Stavros Tripakis University of California, Berkeley Stavros

More information

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München Complexity Theory Jörg Kreiker Chair for Theoretical Computer Science Prof. Esparza TU München Summer term 2010 Lecture 5 NP-completeness (2) 3 Cook-Levin Teaser A regular expression over {0, 1} is defined

More information

An Empirical Study on the Developers Perception of Software Coupling

An Empirical Study on the Developers Perception of Software Coupling An Empirical Study on the Developers Perception of Software Coupling Gabriele Bavota Bogdan Dit Rocco Oliveto Massimiliano Denys Di Penta Poshyvanyk Andrea De Lucia Coupling Module 1 Module 2 Coupling

More information

Distributed Memory Parallelization in NGSolve

Distributed Memory Parallelization in NGSolve Distributed Memory Parallelization in NGSolve Lukas Kogler June, 2017 Inst. for Analysis and Scientific Computing, TU Wien From Shared to Distributed Memory Shared Memory Parallelization via threads (

More information

md5bloom: Forensic Filesystem Hashing Revisited

md5bloom: Forensic Filesystem Hashing Revisited DIGITAL FORENSIC RESEARCH CONFERENCE md5bloom: Forensic Filesystem Hashing Revisited By Vassil Roussev, Timothy Bourg, Yixin Chen, Golden Richard Presented At The Digital Forensic Research Conference DFRWS

More information

Turing s Thesis. Fall Costas Busch - RPI!1

Turing s Thesis. Fall Costas Busch - RPI!1 Turing s Thesis Costas Busch - RPI!1 Turing s thesis (1930): Any computation carried out by mechanical means can be performed by a Turing Machine Costas Busch - RPI!2 Algorithm: An algorithm for a problem

More information

Automata Theory CS S-FR2 Final Review

Automata Theory CS S-FR2 Final Review Automata Theory CS411-2015S-FR2 Final Review David Galles Department of Computer Science University of San Francisco FR2-0: Halting Problem e(m) e(w) Halting Machine takes as input an encoding of a Turing

More information

YYT-C3002 Application Programming in Engineering GIS I. Anas Altartouri Otaniemi

YYT-C3002 Application Programming in Engineering GIS I. Anas Altartouri Otaniemi YYT-C3002 Application Programming in Engineering GIS I Otaniemi Overview: GIS lectures & exercise We will deal with GIS application development in two lectures. Because of the versatility of GIS data models

More information

Outline F eria AADL behavior 1/ 78

Outline F eria AADL behavior 1/ 78 Outline AADL behavior Annex Jean-Paul Bodeveix 2 Pierre Dissaux 3 Mamoun Filali 2 Pierre Gaufillet 1 François Vernadat 2 1 AIRBUS-FRANCE 2 FéRIA 3 ELLIDIS SAE AS2C Detroit Michigan April 2006 FéRIA AADL

More information

Embedded Systems 2. REVIEW: Actor models. A system is a function that accepts an input signal and yields an output signal.

Embedded Systems 2. REVIEW: Actor models. A system is a function that accepts an input signal and yields an output signal. Embedded Systems 2 REVIEW: Actor models A system is a function that accepts an input signal and yields an output signal. The domain and range of the system function are sets of signals, which themselves

More information

ITI Introduction to Computing II

ITI Introduction to Computing II (with contributions from R. Holte) School of Electrical Engineering and Computer Science University of Ottawa Version of January 11, 2015 Please don t print these lecture notes unless you really need to!

More information

Industrial Automation (Automação de Processos Industriais)

Industrial Automation (Automação de Processos Industriais) Industrial Automation (Automação de Processos Industriais) Discrete Event Systems http://users.isr.ist.utl.pt/~jag/courses/api1516/api1516.html Slides 2010/2011 Prof. Paulo Jorge Oliveira Rev. 2011-2015

More information

Calculus from Graphical, Numerical, and Symbolic Points of View, 2e Arnold Ostebee & Paul Zorn

Calculus from Graphical, Numerical, and Symbolic Points of View, 2e Arnold Ostebee & Paul Zorn Calculus from Graphical, Numerical, and Symbolic Points of View, 2e Arnold Ostebee & Paul Zorn Chapter 1: Functions and Derivatives: The Graphical View 1. Functions, Calculus Style 2. Graphs 3. A Field

More information

BASIC TECHNOLOGY Pre K starts and shuts down computer, monitor, and printer E E D D P P P P P P P P P P

BASIC TECHNOLOGY Pre K starts and shuts down computer, monitor, and printer E E D D P P P P P P P P P P BASIC TECHNOLOGY Pre K 1 2 3 4 5 6 7 8 9 10 11 12 starts and shuts down computer, monitor, and printer P P P P P P practices responsible use and care of technology devices P P P P P P opens and quits an

More information

Lexical Analysis. Reinhard Wilhelm, Sebastian Hack, Mooly Sagiv Saarland University, Tel Aviv University.

Lexical Analysis. Reinhard Wilhelm, Sebastian Hack, Mooly Sagiv Saarland University, Tel Aviv University. Lexical Analysis Reinhard Wilhelm, Sebastian Hack, Mooly Sagiv Saarland University, Tel Aviv University http://compilers.cs.uni-saarland.de Compiler Construction Core Course 2017 Saarland University Today

More information

PROJECT LEADER TIP #6 HOW TO ADD SAMPLING UNITS

PROJECT LEADER TIP #6 HOW TO ADD SAMPLING UNITS PROJECT LEADER TIP #6 HOW TO ADD SAMPLING UNITS Before beginning, it is important to understand that sampling locations are set-up hierarchically. For example, Pacific Flyway Shorebird Survey the hierarchy

More information

Black-Box Testing Techniques III

Black-Box Testing Techniques III Black-Box Testing Techniques III Software Testing and Verification Lecture 6 Prepared by Stephen M. Thebaut, Ph.D. University of Florida Another Cause-Effect Example: Symbol Table Storage Specification

More information

Computer-Aided Program Design

Computer-Aided Program Design Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,

More information

Principles of Program Analysis: A Sampler of Approaches

Principles of Program Analysis: A Sampler of Approaches Principles of Program Analysis: A Sampler of Approaches Transparencies based on Chapter 1 of the book: Flemming Nielson, Hanne Riis Nielson and Chris Hankin: Principles of Program Analysis Springer Verlag

More information

Introduction to IsoMAP Isoscapes Modeling, Analysis, and Prediction

Introduction to IsoMAP Isoscapes Modeling, Analysis, and Prediction Introduction to IsoMAP Isoscapes Modeling, Analysis, and Prediction What is IsoMAP To the user, and online workspace for: Accessing, manipulating, and analyzing, and modeling environmental isotope data

More information

Forward Veto MARLIN processor for ILC beam calorimeter

Forward Veto MARLIN processor for ILC beam calorimeter Forward Veto MARLIN processor for ILC beam calorimeter Marc Montull, DESY summer student program October 18, 2008 Abstract This report describes the work I did for the FLC group during the eight weeks

More information

Supporting Information. Kekule.js: An Open Source JavaScript Chemoinformatics Toolkit

Supporting Information. Kekule.js: An Open Source JavaScript Chemoinformatics Toolkit Supporting Information Kekule.js: An Open Source JavaScript Chemoinformatics Toolkit Chen Jiang, *, Xi Jin, Ying Dong and Ming Chen Department of Organic Chemistry, China Pharmaceutical University, Nanjing

More information