Font Size: a A A

Research & Implementation Of Fire Escaping Simulation System Based On Erlang

Posted on:2011-01-28Degree:MasterType:Thesis
Country:ChinaCandidate:F ZhaoFull Text:PDF
GTID:2178360305499381Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Based on the writer's acknowledgment and experiences of a real computer simulation application for fire escaping, and the study of Erlang as well, this thesis introduces the whole processes of implementing a pratical computer simulation system. First, it introduces the concepts, theories and methodologies of parallel processing and concurrent programming. Then analyzes and summarizesthe requirements of the system. After that, put emphasis on the system architecture designs and implementing details. Finally presents the source code summary the GUI of the system runtime. At the end of the thesis, concludes the successs and deficiency of the system and presents a powerful concurrent programming tool-Erlang, and concurrent oriented programming practices and skills in accordance.The simulation application is a cross-platform application which runs both on Windows and Linux (e.g Fedora Release 12). Erlang runtime R13B01, Eclipse 3.5 plus erlIDE 0.7 as development environment.This application intends to help the architecters and fire brigade to simulate the scene of fire in advance, evaluate the security of the building and aid to make plan of vacancy the scene.The framework of this thesis is as below:1. As background information, introducing the theories and methodologies of Parallel Processing and Computer Simulation, the presence and trends in this industry. Introducing the major features of Erlang and its successful application cases;2. Introducing the background image and requirements of fire escaping simulation system. This system will be an auxiliary tool for simulating fire escaping and escaping plan designing for the fire brigade. It must be able to simulate massive scenarios, simulation should be as real as possible, and also scenarios must be configurable. Based on the Erlang features and system requirements, we take Model/View/Control (MVC) pattern as the system architecture due to its high cohesion and low coupling between the functional modules;3. Explaining the two core algorithms in the system implementation and valuable implementing details as well. One is based on the Monte Carlo Method to calculate the area of several overlapped irregular shapes, this is a statistical method of the solution which both simple and effective way to calculate area of the shapes. The other is based on a weighed matrix which called Direction Matrix (DM) to make decision of which way to go on the next step for a person. DM is an ideal solution for a adjustable way to include some more factors concerned for direction selection;4. Pointing out the limitation and potential promotion in current application, analyzing the possibilities of enchancements in future.
Keywords/Search Tags:Parallel Processing, Concurrent Programming, Concurrent Oriented Programming, Functional Programming Language, Computer Simulation
PDF Full Text Request
Related items