Introducing Α UML model For Faster-than-Real-Time Simulation Dimosthenis Anagnostopoulos 1, Vassilis Dalakas 2, George- Dimitrios Kapos 1, Mara Nikolaidou.

Slides:



Advertisements
Similar presentations
UML an overview.
Advertisements

Object-Oriented Software Development CS 3331 Fall 2009.
Objectives Explain the purpose and various phases of the traditional systems development life cycle (SDLC) Explain when to use an adaptive approach to.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
© 2005 Prentice Hall7-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Basic OOP Concepts and Terms
Modeling State-Dependent Objects Using Colored Petri Nets
1/31 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2005] January 22, 2009.
© Copyright Eliyahu Brutman Programming Techniques Course.
Use Case Analysis – continued
Object Oriented Analysis and Design Using the UML
An Introduction to Rational Rose Real-Time
Computer Systems & Architecture Lesson Software Product Lines.
What is Software Architecture?
Introduction To System Analysis and design
Chapter 10 Architectural Design
S/W Project Management
UML - Development Process 1 Software Development Process Using UML (2)
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain the purpose and various phases of the traditional systems development.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 12 Object-Oriented.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
These slides are designed to accompany Web Engineering: A Practitioner’s Approach (The McGraw-Hill Companies, Inc.) by Roger Pressman and David Lowe, copyright.
A Development Process Lecture Oo13 Objectory based method.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
SOFTWARE DESIGN.
Lecture 7: Requirements Engineering
Systems Analysis and Design in a Changing World, 3rd Edition
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
Rational Unified Process Fundamentals Module 5: Implementing RUP.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Basic OOP Concepts and Terms. In this class, we will cover: Objects and examples of different object types Classes and how they relate to objects Object.
Rational Unified Process Fundamentals Module 7: Process for e-Business Development Rational Unified Process Fundamentals Module 7: Process for e-Business.
Lab 5 CPIT 250 System Analysis and Design.
OMT Modeling 1. Object Model : presented by the object model and the data dictionary. 2. Dynamic Model: presented by the state diagrams and event flow.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Yazd University, Electrical and Computer Engineering Department Course Title: Advanced Software Engineering By: Mohammad Ali Zare Chahooki The Rational.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
Winter 2011SEG Chapter 11 Chapter 1 (Part 1) Review from previous courses Subject 1: The Software Development Process.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
Chapter 3: Introducing the UML
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.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
Analysis Classes. What Is an Analysis Class?  A class that represents initial data and behavior requirements, and whose software and hardware-oriented.
TTCN-3 Testing and Test Control Notation Version 3.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
Model-based design inspection based on traceability information models and design slicing Shiva Nejati April 15, 2015.
OPERATING SYSTEMS CS 3502 Fall 2017
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Systems Analysis and Design With UML 2
Chapter 11 Object-Oriented Design
Unified Modeling Language
System Design and Modeling
Introduction to Unified Modeling Language (UML)
Software Project Planning &
Chapter 20 Object-Oriented Analysis and Design
Presented By: Darlene Banta
Basic OOP Concepts and Terms
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Presentation transcript:

Introducing Α UML model For Faster-than-Real-Time Simulation Dimosthenis Anagnostopoulos 1, Vassilis Dalakas 2, George- Dimitrios Kapos 1, Mara Nikolaidou 12 1 Harokopion University of Athens 2 Dept. of Informatics, University of Athens WSC 2005, Orlando Florida

Outline FRTS Scope and Benefits Experimentation Phase - Timing issues Building FRT Simulators UML and RT-UML An RT-UML model for FRTS experimentation Benefits Overall Model FRT Coordinator Model Simple Case Study Remarks –Future work

Faster than Real Time Simulation - FRTS Scope: Study the behavior of real-world systems in the near future Characteristics Simulation runs concurrently with the real world system Simulation time advances faster than real time Simulation model interacts with the real world system during experimentation Test model validity Adjustment to system changes  Focus on Experimentation Phase

FRTS Experimentation Concurrent system and model Execution Monitoring System and model coordination Compare system and model states (Auditing) State Set of attributes describing the model and the system at specific time instances Attributes are defined as Monitoring Variables Describe the system structure, operation parameters and input data

FRTS Experimentation Auditing Auditing Determine System reformations System/model deviation Whether the model may considered as valid RemodellingPlan Scheduling Initiate Remodelling or Plan Scheduling Performed at specific time points Performed at specific time points

 Model Execution  Monitoring  Auditing  Remodeling Auditing at tn-1,tn, tn+1, … Auditing interval is constant: [tn-1, tn], [tn, tn+1] Prediction: Sim(tx)=tn, tn>tx Sim(tn)=ty, ty>tn FRTS Experimentation

Is itself a complex “real-time system” Strong time restrictions are imposed on Model Execution (faster than the real system) Auditing (auditing and remodeling must be executed really fast)

Activities accomplished in RT -Monitoring: TExec (model execution) -Auditing: TAudit -Remodeling: TRemodel -Model initialization: TInit -Auditing interval: AudInt Timing issues

FRTS Experimentation Is itself a complex “real-time system” Strong time restrictions are imposed on Model Execution (faster than the real system) Auditing (auditing and remodeling must be executed really fast) Must be effectively implemented Supported by custom FRT Simulators

FRT Simulators Mainly support experimentation phase Usually have object-based architecture Interact with the real-world system Must perform monitoring and auditing May or may not include simulation model execution environment

Modeling an FRT Simulator Modeling/Remodeling and Model Execution are system specific Monitoring and Auditing are common to all FRTS implementations Monitoring and Auditing impose strong real time and concurrency constraints IMPORTANT to model and study them in detail prior FRT Simulator implementation  Creation of an FRT Simulator model  Emphasize monitoring and auditing not domain-oriented Establish common guidelines for FRT Simulator development

Modeling FRTS Experimentation Adopt UML for modeling purposes Is widely used in software engineering Facilitates researchers built their own implementation of the model in different platforms using a variety of existing tools Sequence Activity Different diagrams may be used to describe different aspects of Experimentation Process (Sequence and Activity proven very useful) Sequence Sequence: Interaction between Experimentation Process activities and sub-activities Activity Activity: Detail description of activities/subactivies

FRTS First level description Sequence Diagram

FRTS System Overview Use Case Diagram

Modeling FRTS Experimentation Adopt UML for modeling purposes Is widely used in software engineering Facilitates researchers built their own implementation of the model in different platforms using a variety of existing tools sequence activity Different diagrams may be used to describe different aspects of Experimentation Process (sequence and activity proven very useful) RT-UML Depict synchronization requirements and time constraints Lead to standardized implementations that meet strict time requirements auditing

RT- UML Overview UML Profile for Schedulability, Performance and Time Issues – RT-UML Facilitates annotation of UML models with properties related to modeling of time and time-related aspects Includes specific subprofiles emphasizing on time and concurrency issues Extends UML notation using stereotypes

RT- UML Overview

Useful RT- UML stereotypes in FRTS RTaction Applied to Activity, Method Additional tags: RTStart, RTDuration Used in Activity and Sequence diagrams RTtimer Models timer mechanisms Applied to Class Additional tags:RTDuration, RTPeriodic Used in Class diagrams CRcuncurrent Denotes concurrent execution of objects Applied to Class Additional method:CRmain Used in Class diagrams

Main FRTS classes Operate independently and occasionally concurrently

Auditing Audit must be completed within a small fraction of the auditing interval. RT-UML modeling facilitates Detail estimation of Audit duration Identification of factors/ processes affecting it and their relationships Comparing it to other crucial time-related attributes, e.g. auditing interval. Audit State Audit: determine reformations Full Audit: determine both reformations and deviations

State Auditing Inspects the current state of the real time system to detect reformations Compares current and previous value of each monitoring variable Defining the state of the real time system

State Monitoring Variables Depicted in Experiment specifications class diagram

State Auditing Inspects the current state of the real time system to detect reformations Compares current and previous value of each monitoring variable Defining the state of the real time system Invokes Remodelling  Performed by “audit” method of the State Auditor

State Audit – Activity Diagram MAX MAX duration of the state audit is 5*b+e*(4*b+d)+net1 ms

Sequence Diagram – State Audit

FRTS UML Model Evaluation A Simulator is implemented in Java using FRTS Experimentation model To contact FRTS experiments successfully, execution time of specific activities must be similar to the time estimations reported in the model To evaluate model richness and flexibility Simple FRTS are used as examples

FRT Simulator Implementation Simulation Environment and simulation models also constructed in Java. Usability Interaction with simulation execution environments is seamlessly performed Implementation (using Rational Rose platform) Coding effort was minimized

FRTS Example Two node web site second node is used only in cases of heavy load (that is when FRTS predicts that first node load is over a certain threshold) Modeled as a Multi-Queue, Multi-Server System

FRTS Example Detailed description of Monitoring Variables and Remodeling Conditions was needed during the initialization MV(3).mvname = servers.type = integer.ctechnique = integer.compParam = 1.indication = STRUCTURE.stateMonitoringIndication = TRUE.rcondition.rcname = “server change” MV(4).mvname = lamda1.type = real.ctechnique = real.compParam = 0.1.indication = OPERATION_PARAMETER.stateMonitoringIndication = FALSE.rcondition.rcname = “ia1 parameter”.rcondition.weight = 0.1

FRTS UML Model Evaluation FRT Simulator model and implementation are compared using specific parameters Duration (avg,min,max) in msec Theoretical EstimationMeasured Time Time for basic operation Computer depended (b) ,0.0011, State audit interval1000, 1000, , 891, 1106 State audit duration0.565, 0.017, , 0.087, 10.70

Conclusions Objective: Introduce a specification, establishing common guidelines for developing FRTS systems not domain-oriented Remarks RT-UML enabled the description of time constraints imposed in FRTS The modeling process was straightforward, while no extensions were needed to describe FRTS The FRT Simulator model is quite accurate and complete Based on current implementation results