John D. McGregor Session 5 Error Modeling

Slides:



Advertisements
Similar presentations
Immigrant Integration as a Complex Adaptive Social Systems Agnes Meinhard, PhD.
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Identifying, Modifying, Creating, and Removing Monitor Rules for SOC Ricardo Contreras Andrea Zisman
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
Sponsored by the U.S. Department of Defense © 2005 by Carnegie Mellon University 1 Pittsburgh, PA Dennis Smith, David Carney and Ed Morris DEAS.
K.M. Corker, Ph.D.Industrial & Systems Engineering System Engineering ISE 222 Spring 2005 Notes & Course Materials
The Architecture Design Process
Self Adaptive Software
CSC 402, Fall Requirements Analysis for Special Properties Systems Engineering (def?) –why? increasing complexity –ICBM’s (then TMI, Therac, Challenger...)
Organization Development: Concept and Process -Tarak Bahadur KC, PhD
1 FM Overview of Adaptation. 2 FM RAPIDware: Component-Based Design of Adaptive and Dependable Middleware Project Investigators: Philip McKinley, Kurt.
Systems Dynamics and Equilibrium
System Design Chapter 8. Objectives  Understand the verification and validation of the analysis models.  Understand the transition from analysis to.
CPSC 871 John D. McGregor Module 1 Session 2 Requirements Elicitation/analysis.
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
1 OM2, Supplementary Ch. D Simulation ©2010 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
CPSC 871 John D. McGregor Module 6 Session 3 System of Systems.
Approaching a Problem Where do we start? How do we proceed?
CPSC 372 John D. McGregor Module 2 Session 1 More on requirements and the Investment Decision.
Introduction CS 3358 Data Structures. What is Computer Science? Computer Science is the study of algorithms, including their  Formal and mathematical.
Requirements Capture. Four Steps of requirements capture List candidate requirements Understand system context Capture functional requirements Capture.
Systems Thinking © Jane Qiong Zhang and Linda Vanasupa 1 Storyboard 3 properties that determine system behavior Open vs. closed thermodynamic systems.
CPSC 872 John D. McGregor Session 30 ULS and Complex Adaptive Systems, cont’d.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
CPSC 871 John D. McGregor Module 3 Session 1 Architecture.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
CPSC 873 John D. McGregor Session 9 Testing Vocabulary.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Mahmut Ali GÖKÇEIndustrial Systems IEU Introduction to System Engineering ISE 102 Spring 2007 Notes & Course Materials Asst. Prof. Dr. Mahmut.
CPSC 873 John D. McGregor Session 6 Preparing for Architecture V & V.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
CPSC 873 John D. McGregor Session 3 Requirements V & V.
Systems Thinking Storyboard 3 properties that determine system behavior Open vs. closed thermodynamic systems Map events Link events in causal loops Events.
Ali Alkhalaf ALM Zarudeen Michelle Corby Yu Kyoung Park WF ED 597 March 23, 2012.
CPSC 875 John D. McGregor C16.
John D. McGregor C10 – Error architecture
Chapter3:Software Processes
An Overview of Requirements Engineering Tools and Methodologies*
UML Diagrams: Class Diagrams The Static Analysis Model
Chapter 4: Business Process and Functional Modeling, continued
Software Architecture
TQS - Teste e Qualidade de Software (Software Testing and Quality) Test Case Design – Model Based Testing João Pascoal.
Course Outcomes of Object Oriented Modeling Design (17630,C604)
John D. McGregor Session 9 Testing Vocabulary
Architecture Concept Documents
Input Space Partition Testing CS 4501 / 6501 Software Testing
CPSC 875 John D. McGregor C16.
Software Processes (a)
Requirements: Use Case Models and Narratives
John D. McGregor Session 9 Testing Vocabulary
John D. McGregor Quality attributes
John D. McGregor Session 9 Testing Vocabulary
John D. McGregor C15.1 – Process/AUTOSAR
Introduction to Software Testing
Logical architecture refinement
Component-Based Software Engineering
John D. McGregor Session 6 Preparing for Architecture V & V
Software Design Lecture : 15.
Architecture Description Languages
An Introduction to Software Architecture
Design Yaodong Bi.
John D. McGregor Quality attributes
Software Development Process Using UML Recap
Segments Introduction: slides minutes
From Use Cases to Implementation
Luca Simoncini PDCC, Pisa and University of Pisa, Pisa, Italy
Presentation transcript:

John D. McGregor Session 5 Error Modeling CPSC 873 John D. McGregor Session 5 Error Modeling

System types Agnes Meinhard, PhD

A Complex System Scaling formal verification up to system architectures requires compositional approaches. Compositional approaches require both logical foundations and engineering support. Your How is My What: in large-scale systems, requirements vs. design is a often matter of perspective

Properties Multiplicities Interdependencies Diversity

Characteristics 1. Non-linearity This construct means that small actions can stimulate large reactions (otherwise known as the butterfly effect) in which highly improbable, unpredictable and unexpected events have huge impacts. 2. Emergence The appearance of patterns occurs due to the collective behavior What emerges cannot be planned or intended. The whole of the interactions becomes greater than the sum of the separate parts. 3. Dynamical systems change Interactions within, between and among subsystems and parts are volatile, turbulent, and cascade rapidly and unpredictably

Characteristics - 2 4. Adaptation Interacting elements respond and adapt to each other so that what emerges and evolves is a function of ongoing adaptation among both interacting elements and the elements and their environment. 5. Uncertainty Processes and outcomes are unpredictable, uncontrollable and unknowable in advance. There is no clear idea what might happen or how likely possible outcomes are. 6. Co-evolutionary As interacting and adaptive agents self organize, ongoing connections emerge that become co-evolutionary as the agents evolve together (co-evolve) within and as part of the whole system over time.

System verification Reusable Verification: PATTERN & COMP SPEC LIBRARY SYSTEM MODELING ENVIRONMENT INSTANTIATE ARCHITECTURAL PATTERNS SYSTEM MODEL AUTO GENERATE SYSTEM IMPLEMENTATION ARCH PATTERN MODELS COMPONENT MODELS ANNOTATE & VERIFY MODELS COMPONENT SPECIFICATION SYSTEM DEVELOPMENT FOUNDRY COMPOSITIONAL REASONING & ANALYSIS Reusable Verification: Proof of component and pattern requirements (guarantees) and specification of context (assumptions) Instantiation: Check structural constraints, Embed assumptions & guarantees in system model Compositional Verification: System properties are verified by model checking using component & pattern contracts 1/14/2019 AADL and AGREE - Mike Whalen

Error slips – when a correct "solution" to a required action has been formulated but a slip is made in its execution. rule errors - pieces of knowledge of the form "if condition then do action" knowledge errors - solving, in which the solver has to resort to step-by-step reasoning from first principles https://cseweb.ucsd.edu/~howden/MyPapers/Error%20Models%20and%20Software%20Certification%20Sept%2027%202011.pdf

A component/system Environmental Assumptions Requirements Guarantees Precondition Postcondition Invariant Implementation constraints Interaction contract: match input assumption with guarantee

Error modeling A deviation from expected result Some errors are “implementation dependent and some are not” It is a feature of an aircraft that it lands on tires (excluding special features) The tire on a plane may go flat If the occurrence of an error could result in death or serious injury the requirements are referred to as safety requirements

Overview

Top Level system generic features input : requires bus access common::pressure.i; output : provides bus access common::pressure.i; annex EMV2 {** use types error_library; use behavior error_library::simple; error propagations input : in propagation {NoService}; output : out propagation {NoService}; flows f1 : error path input{NoService} -> output; end propagations; **}; end generic;

Separately defined error types end types; error behavior ThreeState NoPower : type; NoService : type; ValueError: type; NoValue: type extends ValueError; PlatformFailure: type; HardwareFailure: type extends PlatformFailure; SoftwareFailure: type extends PlatformFailure; end types; error behavior ThreeState states Operational: initial state; NonCriticalModeFailure: state; CriticalModeFailure: state; end behavior;

AADL EMV2 Error Ontology https://wiki.sei.cmu.edu/aadl/images/1/13/ErrorModelOverview-Sept222011-phf.pdf Replication errors Timing errors Value errors Rate errors Sequence errors Service errors

Safety Analysis http://santoslab.org/pub/mdcf-architect/HazardAnalysis.html

Errors in control systems Leveson pattern

Here’s what you are going to do. Read http://repository.cmu.edu/sei/811/ Look at the WBS Create a fault model for the wbs Use wbs description to create error flows using diagrams Create error flows as part of developing the AADL error annex spec Write requirements to mitigate the errors and add to your reqspec model.. Add these to your requirements set Submit by 11:59PM Sept 11th

CDR – model of complete system Integration – implementation of complete system (eventually) System – solution to a customer’s problem What stays the same and what varies from one system to the next?

Conformance testing

Error Modeling

Testing Perspective Skeptical Objective Thorough Systematic