Commit 80b5ae88 authored by Eduardo Varas's avatar Eduardo Varas
Browse files
parents 08e2853c b69a077c
UbikSim has been developed by:
* Juan A. Bota , juanbot[at] um.es
* Juan A. Bota , juanbot[at] um.es
* Pablo Campillo, pablocampillo[at] um.es
* Francisco Campuzano, fjcampuzano[at] um.es
* Emilio Serrano, emilioserra [at] dit.upm.es
......@@ -24,3 +23,54 @@ This file is part of UbikSimIDE.
You should have received a copy of the GNU General Public License
along with UbikSimIDE. If not, see <http://www.gnu.org/licenses/>
Ubiksim-MOSI
For the project MOSI-AGIL we have introduced the emergencies situation,
where we can define different parameters for its configuration. Also have
been defined some actuation codes for the groups of people in order to find
the one with the best performance. In order to achieve this the Ubik class
has been extended as EscapeSim, which introduces the emergency and people
behaviour (during emergencies).
Simulation configuration:
For the simulation's configuration it is needed to modify the file
config.props. In this file are defined the people to be placed in the
simulation, and the emergency characteristics.
config.props configuration:
Emergency configuration:
The emergency offers 5 configuration parameters
* xfire & yfire: Where we can set the coordinates for the emergency initial
point.
* sizefire: This variable sets the original size of the emergency
* speedfire: This variable sets the spread speed for the fire
* delayfire: This variable sets the time before the fire starts in the
simulation.
All this variables are load when the simulation parameters are setted, load
in Ubik.class in the constructor of the Ubik object and then requested in
the fire.java class in the constructor for the fire configuration.
For the people insertion and their behaviour we have the following values:
* personloc: this variable is used for the place or people in defined
coordinates. It follows the following format:
personloc=/x1,y1/x2,y2/x3,y3/x4,y4/
* population: defines a number of people to be setted around the map in
random coordinates.
* behavior: it offers a different set of behaviors to choose specified in
the config.props file (mindist, maxdistfire, leastload, bestsol)
This variables are also loaded at the ubik constructor and used at the
start method in the EscapeSim.class
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment