DEVS-Centered Modeling and Simulation: Core Concepts for Engineering Education Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation.

Slides:



Advertisements
Similar presentations
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Modeling Social Cognition in a Unified Cognitive Architecture.
Advertisements

Illustrating System Entity Structure For Building Simulation Bernard Zeigler RTSync Corp ACIMS C4I Center, GMU April 2011.
Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
Integrating Educational Technology into the Curriculum
Dealing with Complexity Robert Love, Venkat Jayaraman July 24, 2008 SSTP Seminar – Lecture 10.
The Experience Factory May 2004 Leonardo Vaccaro.
Object-Oriented Analysis and Design
DEVS-Based Simulation Web Services for Net-Centric T&E Saurabh Mittal, Ph.D. Jose L. Risco-Martin*, Ph.D. Bernard P. Zeigler, Ph.D. Arizona Center for.
Chapter 4 DECISION SUPPORT AND ARTIFICIAL INTELLIGENCE
Managing Data Resources
CPSC 695 Future of GIS Marina L. Gavrilova. The future of GIS.
© 2005 Prentice Hall12-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
CS /29/2004 (Recitation Objectives) and Computer Science and Objects and Algorithms.
Replacing Hardware With Software Analysis and simulation of existing hardware using Discrete Event System Specification. By:Philip Felber Aman Gupta Imaduddin.
DEVS and DEVS Model Dr. Feng Gu. Cellular automata with fitness.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Developed by Reneta Barneva, SUNY Fredonia Component Level Design.
Feedback Control Systems (FCS)
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
TEST CASE DESIGN Prepared by: Fatih Kızkun. OUTLINE Introduction –Importance of Test –Essential Test Case Development A Variety of Test Methods –Risk.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Chapter 5 Teaching with Software Tools: Beyond the Basic Programs
1.Knowledge management 2.Online analytical processing 3. 4.Supply chain management 5.Data mining Which of the following is not a major application.
 1. Which is not one of the six principles that address crucial issues fundamental to all school math programs? A. Curriculum B. Assessment C. Measurement.
Chapter 6 System Engineering - Computer-based system - System engineering process - “Business process” engineering - Product engineering (Source: Pressman,
Lecture 1 What is Modeling? What is Modeling? Creating a simplified version of reality Working with this version to understand or control some.
CPIS 357 Software Quality & Testing
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
By Manuel C. Salas Advisor: Dr. Bernard P. Zeigler University of Arizona 2008.
DEVSView: A DEVS Visualization Tool Wilson Venhola.
Purpose of study A high-quality computing education equips pupils to use computational thinking and creativity to understand and change the world. Computing.
© Yilmaz “Agent-Directed Simulation – Course Outline” 1 Course Outline Dr. Levent Yilmaz M&SNet: Auburn M&S Laboratory Computer Science &
DEVS Namespace for Interoperable DEVS/SOA
1 Issues in Assessment in Higher Education: Science Higher Education Forum on Scientific Competencies Medellin-Colombia Nov 2-4, 2005 Dr Hans Wagemaker.
SOFTWARE DESIGN.
Simulating Human Agropastoral Activities Using Hybrid Agent- Landscape Modeling M. Barton School of Human Evolution and Social Change College of Liberal.
Parallel and Distributed Simulation Introduction and Motivation.
Software Engineering Saeed Akhtar The University of Lahore Lecture 6 Originally shared for: mashhoood.webs.com.
Formalized Model Development & Test Generation: Key Role of Abstraction Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation (ACIMS)
Why building models? n Cannot experience on the real system of interest n Cost n Danger n The real system does not exist Why using simulation? n Reduced.
Unifying Discrete and Continuous Simulation with Discrete Events: DEVS as the Next Modeling Standard Bernard P. Zeigler Arizona Center for Integrative.
DUNIP: DEVS Unified Process Integrated Development and Testing in Service Oriented Architecture Dissertation Defense Saurabh Mittal April 20, 2007 ECE.
Generic Tasks by Ihab M. Amer Graduate Student Computer Science Dept. AUC, Cairo, Egypt.
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
DEVS and SES as a Framework for Modeling and Simulation Tool Development Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Transforming DEVS to Non-Modular Form For Faster Cellular Space Simulation Arizona Center for Integrative Modeling and Simulation Electrical and Computer.
RULES Patty Nordstrom Hien Nguyen. "Cognitive Skills are Realized by Production Rules"
DEVS-based Modeling and Simulation References: 1.B. P. Zeigler, Hessam S. Sarjoughian, Introduction to DEVS Modeling and Simulation with JAVA: Developing.
Lecture VIII: Software Architecture
Approach and Techniques for Building Component-based Simulation Models Bernard P. Zeigler, Ph.D. Hessam S. Sarjoughian, Ph.D. Arizona Center for Integrative.
Review n System dynamics : A sequence of state transition n model : A set of rules for state transition System S X Y Discrete event system FSM (Automata)
Teaching Roles for Instructional Software Eric Sharp EDMS 6474.
Modeling & Simulation of Dynamic Systems (MSDS)
Key understandings in mathematics: synthesis of research Anne Watson NAMA 2009 Research with Terezinha Nunes and Peter Bryant for the Nuffield Foundation.
PDEVS Protocol Performance Prediction using Activity Patterns with Finite Probabilistic DEVS DEMO L. Capocchi, J.F. Santucci, B.P. Zeigler University of.
Www. senseglobal.com 1 MS4 Modeling Environment (MS4 Me) System Entity Structure based DEVS Modeling and Simulation environment July, 2015 MS4 Systems,
Extension du formalisme SES pour l’intégration de la hiérarchie d’abstraction et la granularité temporelle au sein de la modélisation et la simulation.
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
Artificial Intelligence
Managing Data Resources File Organization and databases for business information systems.
Continuity and Change (Activity) Are Fundamentally Related In DEVS Simulation of Continuous Systems Bernard P. Zeigler Arizona Center for Integrative Modeling.
Object-Oriented Software Engineering Using UML, Patterns, and Java,
Teaching with Instructional Software
Foundations of Technology Mr. Brooks
Approach and Techniques for Building Component-based Simulation Models
Department of Computer Science Abdul Wali Khan University Mardan
DEVS Background DEVS = Discrete Event System Specification
Lecture One: Automata Theory Amjad Ali
Presentation transcript:

DEVS-Centered Modeling and Simulation: Core Concepts for Engineering Education Bernard P. Zeigler Arizona Center for Integrative Modeling and Simulation University of Arizona, Tucson and RTSync Corporation 1 Presented to: Center for Sceince and Math Education University of Texas, Austin, April 2009.

Outline and Claims Intro to Discrete Event Systems Specification (DEVS) Why it is a good basis for generic, domain independent education in modeling and simulation How can we foster such generic abstraction-based concepts while providing concrete tool-based experience? Inherent hurdles can be overcome with appropriate concept sequencing and user-friendly feedback tools Can we learn from recent video game trends? Recent DEVS-based environments provide some clues 2

Background: DEVS M&S Framework Discrete Event Systems Specification (DEVS) Based on mathematical formalism using system theoretic principles Separation of Model, Simulator and Experimental Frame Atomic and Coupled types Hierarchical modular composition Level Name System Specification at this level 4Coupled Systems System built from component systems with coupling recipe. 3I/O System Structure System with state and state transitions to generate the behavior. 2I/O Function Collection of input/output pairs constituting the allowed behavior partitioned according to initial state of the system. The collection of I/O functions is infinite in principle because typically, there are numerous states to start from and the inputs can be extended indefinitely. 1I/O Behavior Collection of input/output pairs constituting the allowed behavior of the system from an external Black Box view. 0I/O FrameInput and output variables and ports together with allowed values. Source System Simulator Model Experimental Frame Simulation Relation Modeling Relation message 3

Scuba Diver Example 4 LevelName System Specification at this level 4 Coupled Systems System built from component systems with coupling recipe. System consisting of diver, diver’s air supply, dive boat, and water environment 3 I/O System Structure System with state and state transitions to generate the behavior. Diver’s decision algorithm to execute planned dive 2I/O Function Collection of input/output pairs constituting the allowed behavior partitioned according to initial state of the system. Diver’s planned dive trajectory – levels and time at each level starting on surface 1I/O Behavior Collection of input/output pairs constituting the allowed behavior of the system from an external Black Box view. Diver’s outputs under the surface over time in response to external inputs 0I/O FrameInput and output variables and ports together with allowed values. Diver’s receivable signals (inputs) and generatable signals (output)

Atomic Models Ordinary Differential Equation Models Spiking Neuron Models Coupled Models Petri Net Models Cellular Automata n-Dim Cell Space Partial Differential Equations Self Organized Criticality Models Processing/ Queuing/ Coordinating Processing Networks Networks, Collaborations Physical Space can be components in a coupled model Multi Agent Systems Discrete Time/ StateChart Models Quantized Integrator Models Spiking Neuron Networks Stochastic Models Reactive Agent Models Fuzzy Logic Models Some Types of Models Represented in DEVS 5

Co-Model Development Methodology* 6 Recognizes Domain, M&S, and Computational Engineers Collaborative Development * Tag Gon Kim, “Co-modeling method for the development of domain-specific models”, DEVS Symposium, SpringSim, 2009

Sequencing the Introduction to DEVS with Finite DEVS Finite DEVS : Atomic models – Ports: input, output – States, including starting state – Functions: time advance, internal transition, external transition, output Behavior of Finite DEVS – Injecting inputs – Observing state transitions, outputs Compositions of Finite DEVS – Coupled models via automated port-matching coupling Behavior of Coupled Models: – Message exchange – State trajectory – Output trajectory 7 Can we develop student-friendly feedback tools that support progress from step to step?

Interactive Tutorials – Define DEVS models within a restricted class 8 DevsTut orial Traffic Light Control System

DEVS Tracking – Selectable Visual Display in Real Time 9

Systems Problem Types 10 Systems ProblemDoes source of the data exist? What are we trying to learn about it? Which level transition is involved? systems analysisThe system being analyzed may exist or may be planned. In either case we are trying to understand its behavioral characteristics. moving from higher to lower levels, e.g., using simulation to generate a model’s behavior systems designThe system being designed does not yet exist in the form that is being contemplated. We are trying to come up with a good design for it. moving from lower to higher levels, e.g. having a means to generate observed data, synthesizing it with components taken off the shelf. systems diagnosisThe system exists but is not behaving correctly. We are trying to infer what is wrong by observations of its responses to selected inputs or structure changes moving from errant behavior to the possible causes as departures from the correct structure systems inferenceThe system exists. We are trying to infer how it works from observations of its behavior. moving from lower to higher levels, e.g., having data, finding a means to generate it

More radical approaches: Figuring out the Video Game Recent games are challenging players to figure out what the rules are, rather then developing the skill Serious games seek to teach traditional subjects Can we learn from these trends to develop educational technology? 11

Different from – debugging in that the system was not of your making – diagnosing in that there are no prescribed inference patterns to follow Try something and see what happens – Continue experimenting until exhausted or convinced that you need some help Consult with others – Go to the knowledge base web site – Google to see if prior issue like this has been discussed Read the manual – as a last resort – it has too much that is irrelevant to immediate concern 12 Incidental Learning in trying to figure out how it works and why it is not working The result is knowledge about the system that is not of the classical lecture or book study variety Can we foster this kind of “learning by experimenting” in a more deliberate way?

But what kind of knowledge could this be? Surface knowledge – Rule-based/ condition/action – Procedural/ how to knowledge – case based reasoning – does not go far beyond the base, like knowing only a few routes though a city – so can’t take alternative routes, can’t get outside familiar limits Deep knowledge – integrative – Understands global structures and relationships – can go beyond the base, like having put together a conceptual map of a city, – so can take detours, navigate in general directions 13

Fostering “learning by experimenting” or “active learning” Objective: foster acquisition of deep knowledge about systems and models Use the conceptual framework of systems concepts and M&S Provide computer environment and software tool set that – illustrates abstract concepts in concrete terms – make it easy to experiment – provide rich visualization – provide extensive feedback Encourage experimentation through incentive structures that reward learning from mistakes (without overly encouraging mistakes) 14

Automating Test Frame Development 15 FDDEVS specification DEVSJAVA implementa- tion TEST Frame Specification DEVSJAVA implementa- tion TEST Frame Implementa- tion Legend: = automated

Automating Test Frame Feedback to a student experimenter DEVSJAVA implementa- tion TEST Frame Implementa- tion FDDEVS specification DEVSJAVA implementa- tion 30 Student can edit the original The test frame remains the same The test frame reports differences in the behavior resulting from student's edits Text is displayed in progressive order with state related lines grouped together for easier understanding FDDEVS

Summary DEVS-based instruction provides a generic, domain independent approach to education in modeling and simulation The inherent hurdles can be overcome with appropriate concept sequencing and user-friendly feedback tools The major benefits include: – ability to understand systems and develop transdisciplinary models – provide M&S support for Systems (and systems of systems) engineering approaches – openness to creative approaches to highly complex problems Can we foster video game “learning by experimenting” in a more deliberate way? 17

devsworld.org Books and Web Links 18

More Demos and Links NTAC_DEMO (Marketplace_demo, MarketplaceObserver_demo)Marketplace_demoMarketplaceObserver_demo Integrated Development and Testing Methodology: AutoDEVS (ppt) & DEMO – Natural language-based Automated DEVS model generation – BPMN/BPEL-based Automated DEVS model generation – Net-centric SOA Execution of DEVS models – DEVS Unified Process for Integrated Development and Testing of SOA Intrusion Detection System on DEVS/SOA 19