Presentation is loading. Please wait.

Presentation is loading. Please wait.

Conceptual Modelling – Behaviour

Similar presentations


Presentation on theme: "Conceptual Modelling – Behaviour"— Presentation transcript:

1 Conceptual Modelling – Behaviour
Class T08 Conceptual Modelling – Behaviour Flow-Based Behavior References: Conceptual Modeling of Information Systems (Chapters 11 and 12) A practical guide to SysML (chapter 8) OMG Systems Modeling Language (OMG SysML) (Chapter 11)

2 Program T01-T02 – Module 1 - Introduction to Systems Modeling
T03-T06 – Module 2 - Conceptual Modeling – Domain T07-T11 – Module 3 - Conceptual Modeling – Behavior Overview Flow-Based Behavior Message Based Behavior Event Based Behavior Revision T12-T15 – Module 4 - Ontology T16-T19 – Module 5 - Conceptual Modeling – Architecture T20-T21 – Module 6 - Conceptual Modeling – Methodologies T22-T23 – Module 7 - Ontology: Advanced T24-T25 - Conceptual Modeling – Global Revisions; Exercises, … Modelação

3 Behavior in UML and SyML
Flow-based behavior UML SysML Event-based behavior Message-based behavior Modelação

4 Behavior – Activity Diagrams
Flow-based behavior Modelação

5 The behavioral schema “The structural schema defines the types of the facts contained in the information base. These facts change over time, but they cannot change in any arbitrary way. Only some changes of the information base are permissible. These changes are called domain events. The definition of the domain event types is the most important part of the behavioral schema.” Conceptual Modeling of Information Systems, page 247 Modelação

6 Systems and states… (…) The state of a domain at any given point in time is the set of instances of the relevant entity and relationship types that exist in the domain at that time. (…) Most domains change over time, and therefore their state changes too. When the state of a domain changes, the information base must change accordingly. Of course, a domain cannot change in an arbitrary way. Only some changes are acceptable. The acceptable changes are called domain events. This concept (of a domain event) can be defined precisely in terms of a more basic concept, called a structural event (…) Conceptual Modeling of Information Systems, page 248 Modelação

7 Systems, states and events…
(…) We say that the state of the domain at time t changes if the domain state at that time, t, is different from the domain state at the previous time, t -1. Both states must satisfy all static constraints. A state change is a set of one or more structural events. A structural event is an elementary change in the population of an entity or relationship type. The precise number and meaning of structural events depend on the conceptual modeling language used. Conceptual Modeling of Information Systems, page 248 In a more generic sense we can say that: In a conceptual modeling project the precise number and meaning of structural events depend on the purpose of the project under way… Modelação

8 Events as Activities… “Activity modeling emphasizes the inputs, outputs, sequences, and conditions for coordinating other behaviors. It provides a flexible link to blocks owning those behaviors.” OMG Systems Modeling Language (OMG SysML) (Page 85) “Activity is some work that is carried out; it might overlap several Use Cases or form only a part of one Use Case.” Enterprise Architecture User Guide Modelação

9 Activities and actions…
An Activity organizes and specifies the participation of subordinate behaviors, such as sub-Activities or Actions, to reflect the control and data flow of a process. Activities are used in Activity diagrams for various modeling purposes, from procedural-type application development for system design, to business process modeling of organizational structures or work flow. Enterprise Architecture User Guide In simple terms: Activities are made of other Activities or of Actions. Actions are Activities that are not decomposed. Modelação

10 Activities and actions…
The following simple diagram of an Activity contains Action elements and includes input parameters and output parameters: Enterprise Architecture User Guide Modelação

11 Activity Diagrams (UML)
An activity diagram is used to display the sequence of activities involving one or more entities of the system. They show an workflow detailing the decision paths. Activity diagrams are useful for business modeling where they are used for detailing the processes involved in business activities. Modelação

12 Activity Diagrams… Modelação

13 Activity Elements and Connectors
Modelação

14 Graphical Nodes on Activity Diagrams
Actions (atomic activities) Activities Modelação

15 Refinement of Activity elements
Enterprise Architect uses this symbol to represent refinement Modelação

16 Graphical Nodes on Activity Diagrams
Actions: Initial Final Actions: Preconditions Postconditions Modelação

17 Graphical Nodes on Activity Diagrams
Simple transitions Transitions with object flow Fork and Join Decision Merge Modelação

18 Graphical Nodes on Activity Diagrams
Partition lanes can provide context… … or it can be made clear in the activity box itself Modelação

19 Activities and Partitions
Activities always must have a context, represented by the system’s entity responsible for its execution (this points the specific entity for this activity; we assume the rest of the diagram belongs to the context of other entity). Activity diagrams can use partitions (lanes) to represent multiple contexts Context of the activity (a class of the domain) Modelação

20 More examples with partitions (lanes)
Modelação

21 Activities in UML and SysML…
Main semantic differences are: In UML Activities, control can only enable actions to start. SysML extends control to support disabling of actions that are already executing. A control value is an input or output of a control operator, which is how control acts as data. A control operator can represent a complex logical operation that transforms its inputs to produce an output that controls other actions See section 8.6 of “A practical guide to SysML” for more details… For all the rest, Activities are quite the same in UML and SysML… Modelação

22 An example of an Activity Diagram in SysML
Modelação

23 Aggregating activities in SysML
Activities can be aggregated in block diagrams to represent all the activities of a specific context Modelação


Download ppt "Conceptual Modelling – Behaviour"

Similar presentations


Ads by Google