ics - intelligent collaboration system simulator dsl lab, computer science faculty technion israel...

20
ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion – Israel institute of technology Supervisor: Uri Shani Michal Hashavit Naty Leiser Submission: November 2006

Upload: rosa-clarke

Post on 18-Jan-2018

215 views

Category:

Documents


0 download

DESCRIPTION

Design summary  Implementation in Java programming language  Integrated with AMiT as the rules based engine  Several packages with minimal dependencies forming the entire system  Multi-threaded synchronized environment

TRANSCRIPT

Page 1: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

ICS - Intelligent Collaboration system Simulator

DSL lab, computer science facultyTechnion – Israel institute of technology

Supervisor: Uri Shani

Michal HashavitNaty LeiserSubmission: November 2006

Page 2: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Overview

Event notification processing and handling system, operating in the medical domain.

Simulation of 5 basic scenarios Notification Feedback Spontaneous virtual meetings Emergency meetings Casting by skills Paramedic personnel allocation

Project full details, design and implementation can be found at:http://t2.technion.ac.il/~smichalh/ICSProject/

Page 3: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Design summary

Implementation in Java programming language

Integrated with AMiT as the rules based engine

Several packages with minimal dependencies forming the entire system

Multi-threaded synchronized environment

Page 4: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Components

AMiT Communication Hospital modeling Runtime Location GUI

Page 5: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

AMiT

Rules based system running as a separate thread, needed in order to run the simulation.

5 lifespans (corresponding to the 5 simulated scenarios)

12 situation types 18 event types

Page 6: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Communication

Middle tier between AMiT and the other components, abstracting the messages and alerts transmission

Centralized communication between AMiT and Clients of the Hospital package, using Publish-Subscribe mechanism

Currently support execution on a single host

Extending scalability of the simulation to run on several hosts requires upgrading this package

Page 7: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Hospital

Collection of hierarchical classes, modeling real-world entities operating in a hospital

Major classes: Hospital, Floor StaffMember: Doctor, Nurse Room: BedRoom, OperatingRoom,

Elevator, Lounge…

Page 8: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Runtime

Simulation bootstrap Marshalling hospital entities objects

to act repeatedly 3 major threads

God AMiT StaffLocator

Temporary short-term threads for handling situation alerts

Page 9: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Location

Modeling coordinators system suitable for hospital layout

Defines distance between locations Modeling of the LocationService

device, assumed to be present at the hospital, which monitors mobile devices location.

Page 10: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

GUI

Showing graphical representation of the simulation using 2.5D view

Presenting real-time counters and informative messages during simulation

Handling input from the user during simulation, in order to change simulation parameters or inspect objects’ state

Page 11: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Running the simulation

Execute “ics.bat” within the project folder

Simulation initial parameters saved in a configuration XML file. 3 preliminary files supplied with the simulator: RoutineHospital.xml UrgentHospital.xml BigHospital.xml

Page 12: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Simulation configuration file<Config>

<Initialization>  <Param name="SIMULATION_DIM_X" value="950" type="int" />   <Param name="SIMULATION_DIM_Y" value="615" type="int" />   <Param name="NUMBER_OF_FLOORS" value="3" type="int" />   <Param name="NUM_OF_DOCTORS" value="12" type="int" />   <Param name="NUM_OF_NURSES" value="6" type="int" />   <Param name="BEDS_LOAD_PRECENTAGE" value="60" type="byte" />   <Param name="DOCTOR_INITIAL_NUM_BEDS" value="8" type="int" />

…    <Param name="OPERATING_ROOM_CAPACITY" value="4" type="int" />   <Param name="ELEVATOR_CAPACITY" value="4" type="int" /> </Initialization><RunTimeConfig>

… (RunTime parameters)</RunTimeConfig>

</Config>

Page 13: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

2.5D Simulation view

Page 14: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Entities Explorer

Page 15: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Entity Details Panel

Page 16: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Log Console

Page 17: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Scenarios counter

Page 18: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Simulation Control

Page 19: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal
Page 20: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion  Israel institute of technology Supervisor: Uri Shani Michal

Summary

We strived to design an easily extendible object model, to allow a simulation of more scenarios in the future.

Extending the communication package to support networking, with some changes of the Hospital main container, will allow the simulation to be distributed over several machines.

Special thanks to Alexander Kofman and Yonit Magid for helping us with the AMiT system.