ics - intelligent collaboration system simulator dsl lab, computer science faculty technion israel...
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 environmentTRANSCRIPT
![Page 1: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/1.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/13.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/14.jpg)
Entities Explorer
![Page 15: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/15.jpg)
Entity Details Panel
![Page 16: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/16.jpg)
Log Console
![Page 17: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/17.jpg)
Scenarios counter
![Page 18: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/18.jpg)
Simulation Control
![Page 19: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/19.jpg)
![Page 20: ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion Israel institute of technology Supervisor: Uri Shani Michal](https://reader036.vdocument.in/reader036/viewer/2022082621/5a4d1b6b7f8b9ab0599b332c/html5/thumbnails/20.jpg)
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.