Database Issues




Creating simulations using fire modeling techniques is a time consuming process. For fire fighting personnel, it would be helpful if there is a visual depiction of the growth and spread of fire. But it would be prohibitive to use fire modeling techiques in real time, since time is of essence. Our solution is to create a database of simulations carried out apriori, connect this database to the sensors in a building and provide visual depictions of predicted futures (based on retrieving the simulations which best match the fire).

The database is mainly constrained by the need for fast access and retrieval.

The schema for the database is shown below. There are two tables based on the following considerations:


Spatial distance between sensors

Sensors (s_id:int, neighbour1:int, neighbour2 :int, neighbour3:int)


Temporal distance between sensors in each simulation

Firedata (sim_id:int, s_id:int, going_off:int, time:float)



Matching real fires and simulations

The database is queried to retrieved simulations which are similar to a real fire situation. The input parameters to the querying algorithm are the activated sensors along with the activation times. It is highly important to have an efficient matching algorithm since time is a critical factor for fire fighting personnel. The paper, Matching Fires and Simulations by Jayesh Govindrajan, Prof. Matthew Ward and Prof. Jonathan R. Barnett looks into several considerations for the matching algorithm.