SysML v2 Formalism Requirements Formalism WG September 15, 2016.

Slides:



Advertisements
Similar presentations
Major Influences on the Design of ODM Dan Chang (IBM) Elisa Kendall (Sandpiper) MDSW 2004.
Advertisements

Language Specification using Metamodelling Joachim Fischer Humboldt University Berlin LAB Workshop Geneva
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel.
Automated Test Design ™ © 2011 Conformiq, Inc. CONFORMIQ DESIGNER On ES v1.2.1 Stephan Schulz MBT Working Meeting/MTS#56, Göttingen.
Hydra (A General Framework for Formalizing UML with Formal Languages for Embedded Systems*) *from the Ph.D. thesis of William E. McUmber Software Engineering.
ISBN Chapter 3 Describing Syntax and Semantics.
Winter 2007SEG2101 Chapter 41 Chapter 4 SDL – Structure and Behavior.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Describing Syntax and Semantics
End-to-End Design of Embedded Real-Time Systems Kang G. Shin Real-Time Computing Laboratory EECS Department The University of Michigan Ann Arbor, MI
Design Management: When Model Driven Engineering Embraces the Semantic Web NECSIS 2012, Gatineau, QC 27 June 2012 Maged Elaasar.
Romaric GUILLERM Hamid DEMMOU LAAS-CNRS Nabil SADOU SUPELEC/IETR.
Proceso kintamybių modeliavimas Modelling process variabilities Donatas Čiukšys.
Understanding Advanced UML Concepts Gerd Wagner
Architecture Ecosystem Foundation (AEF) RFP aesig/ Draft RFP Presentation June 2010.
Mathematical Modeling and Formal Specification Languages CIS 376 Bruce R. Maxim UM-Dearborn.
Introduction to MDA (Model Driven Architecture) CYT.
Assessing the Suitability of UML for Modeling Software Architectures Nenad Medvidovic Computer Science Department University of Southern California Los.
Introduction to Formal Methods Based on Jeannette M. Wing. A Specifier's Introduction to Formal Methods. IEEE Computer, 23(9):8-24, September,
What is MOF? The Meta Object Facility (MOF) specification provides a set of CORBA interfaces that can be used to define and manipulate a set of interoperable.
Diagram Definition A Case Study with the UML Class Diagram MoDELS 2011, Wellington, NZ By Maged Elaasar 1,2 (Presenter) and Yvan Labiche.
Specializing and extending the UML
1 Devon M. Simmonds Metadata & The UML Metamodel SLIDES include some from tvarious sources including: (1)
SaveUML System design. System overview Possible...
Uml is made similar by the presence of four common mechanisms that apply consistently throughout the language. After constructing or developing the architecture.
XASTRO Metamodel. CCSDS SAWG2 Presentation Outline XASTRO-1 Metamodel XASTRO-2 Metamodel Alignment with Model Driven Architecture.
Automata Based Method for Domain Specific Languages Definition Ulyana Tikhonova PhD student at St. Petersburg State Politechnical University, supervised.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
UML Profile BY RAEF MOUSHEIMISH. Background Model is a description of system or part of a system using well- defined language. Model is a description.
14 October 2002GGF6 / CGS-WG1 Working with CIM Ellen Stokes
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML: UML 2 Metamodel Note to Instructor: The material in this.
Using OWL 2 For Product Modeling David Leal Caesar Systems April 2009 Henson Graves Lockheed Martin Aeronautics.
Interpreting the Object Constraint Presented by: Ed Kausmeyer.
International Workshop 28 Jan – 2 Feb 2011 Phoenix, AZ, USA Ontology in Model-Based Systems Engineering Henson Graves 29 January 2011.
Modeling Formalism Modeling Language Foundations System Modeling & Assessment Roadmap WG SE DSIG Working Group Orlando – June 2016.
1 Modeling Formalism (Modeling Language Foundations) System Modeling Assessment & Roadmap Working Group Meeting – SE DSIG Reston – March, 2016 Yves BERNARD.
Language = Syntax + Semantics + Vocabulary
SysML 2.0 Formalism: Semantics Introduction, Requirements & Benefits/Use Cases Formalism WG March 21, 2017.
SysML 2.0 Requirements for Visualization
Modeling Formalism Modeling Language Foundations
Describing Syntax and Semantics
SysML-Modelica: A Redefinition & Modification Use Case
Systems Engineering Concept Model (SECM) Update
Introduction to Formal Methods
Common MBSE Modeling Questions and How Ontology Helps
Integrating SysML with OWL (or other logic based formalisms)
Developing an Algebraic Structure Over Relationships (or Enabling Model Users to Build Inference Engines in Their Models)
SysML 2.0 Requirements for Visualization
SysML 2.0 Formalism Requirements and Potential Language Architectures
SysML 2.0 Formalism: Requirement Benefits, Use Cases, and Potential Language Architectures Formalism WG December 6, 2016.
SysML v2 Formalism: Requirements & Benefits
SysML v2 Usability Working Session
Syntactic Requirements
Web Ontology Language for Service (OWL-S)
Business Process Measures
Proposed SysML v2 Submission Plan
Where does one end and the other start?
SysML 2.0 Concept and Needs for Visualization
Introduction to SysML v.2.0 Metamodel (KerML)
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
Domain Specific Product Description Exchange
Introduction to UML.
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Model-Driven Semantic Web Rule Engineering
Software Architecture & Design
Presentation transcript:

SysML v2 Formalism Requirements Formalism WG September 15, 2016

Overview Driving Requirements Background on Formalism Formalism Requirements

Overview Driving Requirements Background on Formalism Formalism Requirements

Driving Requirements Specification shall – Include precise semantics that reduces ambiguity and enables concise representation of the concepts. – Derive language from a well-specified logical formalism that can leverage the model for a broad range of analysis and model checking.

Analysis and Model Checking Broad range of analysis and model checking, including: – Validating that the model is logically consistent, answering questions such as the impact of a requirement or design change, or assess how a failure could propagate through a system. – Enabling integration with a diverse range of equation solvers, provers, and execution environments, including for quantitative data.

Overview Driving Requirements Background on Formalism Formalism Requirements

Language = Syntax + Semantics + Vocabulary Syntax – Concrete: What you see (rectangles, lines, text). – Abstract: What you say (“block”, “item flow”) – Interchange/API: What computers read/write. Semantics – What’s possible to conclude about the things being modeled when using the syntax. Vocabulary (libraries) – Predefined syntactic (modeling) elements. 7

Language Specifications Language Specification SyntaxSemantics Concrete Interchange/ API Graphical Textual Operational Declarative Abstract Model Theoretic / Denotational Vocabulary / Libraries Application Independent Application Dependent 8

Overview Driving Requirements Background on Formalism Formalism Requirements

Requirements (General) Uniform syntactic interpretation – Everyone looking at SysML diagrams should Describe them the same way (using SysML terminology). Agree on whether they are“legal” SysML (well-formedness). Uniform semantic interpretation – Everyone looking at SysML diagrams should Reach the same conclusions about the things being modeled. Including whether it is possible to draw any conclusions at all (consistency). 10

Who’s “Everyone”? Modelers, teachers, consultants, spec writers. – They understand each others’ models the way the authors intended. Modeling tool builders – Their tools instantiate abstract syntax the same way (MIWG) for all diagrams. Analysis tool builders – Their tools produce same results for all instances of abstract syntax. 11

Syntactic Requirements (Specific) Abstract syntax and library specifications – Shall be notation-independent. Concrete syntax specification – Shall include model and interchange/API for diagram/text information that is not included in abstract syntax, but linked to abstract syntax (eg, DD’s DI/DG). – All examples shall be accompanied by a model for them, as above. 12

Semantic Requirements (Specific) Semantics shall be: – expressed in mathematical logic – or a translation to mathematical logic. Semantics shall be modelled: – Shall include domain-independent model libraries. – Abstract syntax shall specify patterns of (automatically) using library elements with instances of abstract syntax. 13

Mathematical Logic Example From UML 2.5 Specification: UML Generalization How can this be specified more precisely? Vehicle Car “Every instance of car is an instance of vehicle”

Mathematical Logic Example OWL SubClassof From OWL 2 Direct Semantics: CE denotes a class expression; ⋅ C is the class interpretation function that assigns to each class C ∈ V C a subset (C) C ⊆ Δ I Vehicles = a thing Cars subset of SubClassOf(Car, Vehicle)

Modeling Semantics Example act TakePicture FocusShoot Modelers see: Modelers mean: “Focus before shooting when taking a picture” How do tool (builder)s know that?

Modeling Semantics Example bdd SysML Model Library « activity » TakePicture step1 : Focus : happensBefore happensBefore happens During step2 : Shoot « activity » Activity Occurrence SysML provides a library of temporal relations… …and specifies how tools use it when instantiating the metamodel:

Modeling Semantics step2 step1 Focus Meta model owned attribute Class owned action Activity Property Action Take Picture happensDuring -1 Activity Occurrence Shoot Model Library System Model step1 Focus 3/15/ amET : step2 Shoot 3/15/ pmET : : happensBefore TakePicture step1 : Focus : happensBefore owned attribute owned action Activity Property Action happensBefore happens During Meta model Modeling tools Library of temporal relations…... used to give model semantics step2 : Shoot Class Simulation tools & operators Activity Occurrence TakePicture 3/15/ pmET : SysML Model Library System Model happens Before happens During Activity Occurrence

Semantic and Syntactic Requirements (Specific) Where SysML v2 is extensible, semantics and syntax shall also be extensible.

Formalism Requirements: Semantics: 1) SysML v2 shall have at least a declarative semantics expressed in mathematical logic or have a translation to mathematical logic. (Definition: Classically, mathematical logic is considered to be made up of set theory, model theory, recursion theory, proof theory, and construction mathematics (constructivism). In addition, we are also considering category theory and type theory.) ExampleExample 2) Semantics shall be modelled; specifically, SysML v2 shall include domain-independent model libraries, and abstract syntax shall specify patterns of (automatically) using them with instances of abstract syntax. Abstract Syntax: 1) The SysML v2 abstract syntax shall be independent of notation. Concrete Syntax: 1) Any SysML v2 concrete syntax shall include a model and interchange format/API for diagram/text information that is not included in the abstract syntax, but is linked to the abstract syntax (e.g., DD’s DI/DG). 2) All examples of concrete syntax in the specification shall be accompanied by a model for them, as above. Semantics and Syntax: 1) If SysML v2 is extensible, the syntax and semantics shall both be extensible. Formalism Feature: 1) SysML v2 shall enable model users to define derived properties and relationships in their models without necessarily using a constraint language. ExampleExample

Questions / Comments?

Not Used

Formalism Feature SysML v2 shall enable modelers to define derived properties and relationships in their models without using a constraint language.

Mathematical Logic Example From UML 2.5 Specification: UML Generalization vs. OWL SubClassof From OWL 2 Direct Semantics: CE denotes a class expression; ⋅ C is the class interpretation function that assigns to each class C ∈ V C a subset (C) C ⊆ Δ I Back

Modeling Semantics act TakePicture FocusShoot Modeler sees: step1 Focus 3/15/ amET : step2 Shoot 3/15/ pmET : : happensBefore TakePicture step1 : Focus : happensBefore owned attribute owned action Activity Property Action happensBefore happens During Meta model Modeling tools see: Library of temporal relations…... used to give model semantics step2 : Shoot Class Simulation tools / Operators see: Activity Occurrence TakePicture 3/15/ pmET :

Things Being Modeled Things being modeled: – Cars built (structure) – Driven around (behavior). Compare things being modeled to a model, eg, cars might not – Cars might not be built as model directs. – Might not behave as modeled.

Declarative & Operational Semantics Declarative – Tells whether a thing being modeled actually obeys the model. Operational – Creates a thing being modeled that obeys the models (ie, satisfies declarative semantics).

Consider these potential approaches to the SysML v2 metamodel foundations: Approaches that Maintain Connection to UML: Use UML without replacing anything -> Profile + equivalent MOF model (extension->generalization & stereotypes->metaclasses). Potentially replace XMI with OWL or RDF (potentially via MOF2RDF). Use UML without changing the metamodel -> Add additional representation of UML/SysML semantics as a mathematical representation (model theory/type theory/category theory/etc.) Otherwise, same as above. Use UML without changing the concrete classes -> specialize UML metamodel from formal language (e.g., OWL, IDEAS Foundations). Treat SysML v2 as a branch of UML -> Similar foundations, but SysML v2 metaclasses replace some UML metaclasses/SysML v1.x stereotypes and open the potential to make changes to the foundations of the UML metamodel.

Consider these potential approaches to the SysML v2 metamodel foundations (cont): Approaches that completely break from UML: Brand new everything->Go back to 1989 (‘87 if we reinvent state machine diagrams). Develop a language from the ground up that has concrete syntax that will have mappings to implementations (SysML v2 Language->UML profile, SysML v2 Language->Vitech schema, etc.) Mostly brand new everything -> Derive SysML v2 metamodel from pre-existing non-UML foundations (e.g., OWL 2, IDEAS Foundations, etc.) Focus on abstract syntax/semantics->Leave implementation (concrete syntax) up to vendors, e.g., UML profile, Vitech schema(s), whatever tools that don’t focus on diagrams do, etc.