SysML Modelica Integration Working Group Meeting 3/4/09

Slides:



Advertisements
Similar presentations
Integration of MBSE and Virtual Engineering for Detailed Design
Advertisements

Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
OMG Systems Modeling Language (OMG SysML™) Matthew Hause ARTiSAN Software Tools Some slides reused from the OMG SysML™ Tutorial with permission.
Detailed Design Kenneth M. Anderson Lecture 21
1 Programming for Engineers in Python Autumn Lecture 5: Object Oriented Programming.
Essentials of class models. 2 A very simple class model In UML, a class is shown in a class diagram as a rectangle giving its name.
THE OBJECT-ORIENTED DESIGN WORKFLOW Interfaces & Subsystems.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Chapter 18 Testing Conventional Applications
Chapter 2: Algorithm Discovery and Design
SysML: A Modeling Language for Systems of Systems
Deployment of SysML in Tools and Architectures: an Industry Perspective Rick Steiner Raytheon IDS, San Diego
1 MBSE Copyright © Georgia Tech. All Rights Reserved. Model-Based Systems Engineering with SysML: Problem Definition, Simulation and Optimization.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Invitation to Computer Science, Java Version, Second Edition.
Lecture 9: Chapter 9 Architectural Design
ECE 2300 Circuit Analysis Lecture Set #6 The Node Voltage Method with Voltage Sources.
High Integrity Ada in a UML and C world Peter Amey, Neil White Presented by Liping Cai.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Salman Marvasti Sharif University of Technology Winter 2015.
Managing Difficult Patrons with A Course Tips and Highlights from.
CHAPTER 14 Classes, Objects, and Games XNA Game Studio 4.0.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
SysML-Modelica Transformation Specification (SE DSIG Meeting, Jacksonville, 3/22/2010) Chris Paredis Georgia Tech On behalf of the SysML-Modelica Working.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
International Workshop 28 Jan – 2 Feb 2011 Phoenix, AZ, USA SysML and Ontology in Biomedical Modeling Henson Graves Yvonne Bijan 30 January 2011.
SysML Modelica Integration Working Group Report (SE DSIG Meeting, San Antonio, TX, 9/15/2009) Chris Paredis Georgia Tech 1.
1 Ontological Foundations For SysML Henson Graves September 2010.
SysML and Modelica Integration Working Group Meeting 3/11/09 Peter Fritzson Wladimir Schamai.
SysML-Modelica WG Meeting Robot Example Chris Paredis Georgia Tech Update by S. Friedenthal
SysML Modelica Integration Working Group Meeting 8/12/09 Chris Paredis 1.
Interface Concepts Modeling Core Team Marc Sarrel Steve Hetfield June 23, 2016.
1 Modeling Formalism (Modeling Language Foundations) System Modeling Assessment & Roadmap Working Group Meeting – SE DSIG Reston – March, 2016 Yves BERNARD.
SysML v2 Formalism Requirements Formalism WG September 15, 2016.
SysML-Modelica Integration Working Group Report (SE DSIG meeting, Washington DC 3/24/2009) Chris Paredis Georgia Tech 1.
Language = Syntax + Semantics + Vocabulary
IBM Rational Rhapsody Advanced Systems Training v7.5
SysML-Modelica: A Redefinition & Modification Use Case
Welcome to M301 P2 Software Systems & their Development
Clarification of typing a binding connector
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 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
Chris Paredis Georgia Tech
Object-Oriented Programming
Chris Paredis Georgia Tech
Extending SysML for Integration with Solver-based Simulation Tools
COIT20235 Business Process Modelling
Software Requirements analysis & specifications
12 Systems of Linear Equations and Inequalities.
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
Definitions Constraint blocks provide a mechanism for integrating engineering analysis with other SysML models. Constraint blocks can be used to specify.
Lecture 15 (Notes by P. N. Hilfinger and R. Bodik)
Event-Based Architecture Definition Language
Verification Concepts for SysmL v2
SysML-based Reference Models for Fluid Power Components
Solving Multi-Step Equations
Seminar 2 Design of Informatics Systems
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Chapter 3: Selection Structures: Making Decisions
Rational Rose 2000 Instructor Notes Use Case Realization Structure
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Chapter 3: Selection Structures: Making Decisions
Use Case Analysis – continued
Modeling Modelica Interfaces with SysML v1.3
Using Physical Quantities in SysML
LTP Port and Spec enhancements for “2.0” Preparing to make the change
Presentation transcript:

SysML Modelica Integration Working Group Meeting 3/4/09 Chris Paredis Make note of web-sites that Sandy included. Talk to Peter Fritzson – align both short-term and long-term perspectives. Issue: causality into parametrics – propose a solution (for this RTF: officially on May 25; work something out and discuss with Russell) Create a plan for a face-to-face meeting: decide whether we need it and then decide We are not trying to align terminology – Read-only as property to reflect “constant”

Notes from previous calls Organizational: We need to set up a private wiki, but outside the OMG members-only wiki (AI: Roger, Chris) Once we have some initial result, we should post them on the following websites: sysml-modelica.[org;net;com] modelica-sysml.[org;net;com] Add Objective to focus/scope statement: leverage the strengths of both languages and integrating them to create a more expressive and formal MBSE language. Make sure that both short- and long-term objectives of all stakeholders are in line. Semantic comparison: Flows in Modelica refer to anything that satisfies Kirchhoff’s laws (not just energy) One may be able to map parameters to read-only quantities in SysML (clarification by Sandy) We should standardize the sign conventions for flow variables in SysML — rather than leave it completely free to library developers Conclusions: We do not need to consider ACT diagrams any longer Mapping to PAR and IBD needs further discussion

Case 2 (updated!): Modelica  PAR Equivalent Modelica Model Notes: Not all constraint parameters are shown According to the spec, «constraint» should not appear on the constrain blocks in a PAR diagram, but if I turn it off in MagicDraw, then «ModelicaModel» disappears also «constraint» should not appear – could be a MagicDraw problem Binding connectors have very different semantics Check kirchhoff’s Law

Structure BDD and IBD Example has been updated to make it more easily comparable to Sandy’s example Consider a simplified model for a car body connected to a car suspension

Analysis Context To describe the dynamic behavior, the structural components are related to corresponding dynamic model components in a «ModelicaModel» A «Describe» stereotype (based on Dependency) is used to establish this relationship NOTE: It was pointed out last time that it would be better for the Modelica models to be called “SpringEquations” or so rather than just “Spring” to avoid the potential confusion with a structural component for a spring. However, if we want to build on the Modelica Standard Library, then we almost have to stick to the model names used in that library. As an alternative, I could set the presentation options in MagicDraw such that the qualified type name shows up (e.g., Modelica::Mechanics::Translational::Components::Spring); this would make it clear that it is a Modelica model (rather than a structural model), but would make the name so long that the diagram would quickly become unreadable.

Parametric Diagram (see next slide) The «ModelicaModel» components are related to each other by connecting the «ModelicaConnectors» The «ModelicaParameters» are bound to the properties of the structural components Other «ModelicaParameters» may be bound to properties defined in this particular analysis context

We could

Questions for Discussion One could argue that we are using constraint parameters to “define” variables rather than just “constrain” them. For instance, mass1model::L has a default value of 0 in Modelica and could thus be left unbound in the diagram. Is this a good idea? What are the alternatives? Can constraint properties include “state”? According to Roger only for integrator states. Note: that this would be the case in the Modelica Model if all the Modelica parameters were bound to properties We use constraint parameters to represent “internal” variables (e.g., the position, s, of mass1model) — these variables are fully constrained through the model equations (e.g., v = der(s)), and should never be further constrained by binding them to other parameters. Is it acceptable to model these variables as constraint parameters? The meaning of a binding connector in the diagram has been changed — it now reflects Kirchhoff semantics for flow variables. Is this acceptable? (it violates the strict semantics of a stereotype). What are the alternatives?

Questions for Discussion Is it meaningful to bind structural properties to time-varying variables? It seems that the value of such a property would then be ill-defined or ambiguous outside a specific analysis context. If so, would it not make sense to define it only inside the analysis context? In a «ModelicaModel» we using types defined in the Modelica Standard Library. In the structural model, we may use equivalent units/dimensions but defined as different ValueTypes. How do we best reconcile these differences? Translating the current «ModelicaModel» into the Modelica language would require resolving all the bindings to external properties first. This may be difficult if there are complex relationships between these properties that need to be resolved first. It is likely that certain properties in the structural model need to be bound to simulation results rather than model variables (e.g., the settling time of the suspension can only be determined through simulation). How do we best handle this?

Parametrics are not meant to carry state We are defining the variables rather than just constraining them Spring should really be called SpringEquation

Case 3: Modelica  IBD+PAR Maintain value properties

Spring Mass System - IBD Ask questions about the values of properties in Blocks and values in

Analysis Context for Spring Mass System - BDD

Spring Mass System - Parametrics Same structure as ibd, but added constraints and represented flange properties Much of this model would be abstracted away with SysML4Modelica stereotypes for constraining across and through variables