2 - System Modeling Flashcards
(Non-)Deterministic State Machine with Inputs/Outputs
defined by 5-triple M = (Q;I;O;delta;Q0) with Q (set of states) - I/O (I/O messages) - delta (transition function) - Q0 (initial states)
Interfaces
Boundary between system and its context
Abstract Computation Structure
Set of all computation structures that realize same access view + abstract view on support set and available functions
Stream
Communication history of a channel on the discrete time N (data stream: sequence of messages)
Hybrid Automation
real systems: discrete + continuous phenomena - eg. automobile engine (continuous fuel injection + discrete microcontroller)
Behavioral Refinement
s1/s2: s2 => s1
Interface Refinement
allow to change syntactic interface of a system
Computation Structure
Family of support set and functions // PRO: combination of data descriptions and operations & independence of usage/realization
Parts of a system
Scope (defines domains) + Interface (type of interaction)+ Context (sets system environment) + Structure (describes internal system)
Reasons for Using System Models
Clear Notion + Depict Views + State informal descriptions
Types Of State Machines
Deterministic State Machine (DFA) & Non-Deterministic State Machine (NFA)
State View
Modeling of the states of a system and its behavior via transitions
State Machines can be …
partial + total + deterministic + non-deterministic
Model
Abstracted reflection of reality or system that has to be developed
SysML
Systems Modeling Language: UML based standardized modeling language for complex systems
(Non-)Deterministic State Machine with marked Transitions
defined by 4-triple M = (Q;A;delta;Q0) with Q (set of states) - A (set of actions) - delta (transition function) - Q0 (initial states)
In general State Machines are defined as triple. Clarify.
Triple M = (Q; delta; Q0). Q (set of states) - delta (transition function) - Q0 (initial states)
Syntactic Interface describes …
structure & type
System is defined by …
syntactic and semantic interface + architecture specification
Reachable States
R = initial state + every state that can be reached with the transition function
Types of Views
Usage View (Black Box/Access/Interface view) & Implementation View (Glass Box/Realization View)
Data Structure
Internal structure of data element + defines data representation and amount of memory consumption
Semantic Interface describes …
Observable logical and temporal behavior
Views help to … and show the system from …
Views help to design complex systems and show the system from a distinctive perspective
A typical system consists out of views. Name them!
Data View & State View & Interface View
Behavioral Equivalence
s1/s2: s1 <=> s2
Important for System Modeling
Detect Requirements & Inconsistencies + Basis for Implementation + Specification of Functionality & Context Behavior
Difference between Mealy & Moore
Mealy: output depends on current state & input // Moore: output depends only on the current state
Refinements of Interface Modeling
Behavioral Refinement/Equivalence + Interface Refinement/Equivalence
Interface Equivalence
systems are interface compatible with each other (can be replaced by another system with no further consequences)