simulation cycle terminates, the controller updates the time-step and starts the next cycle. Notice that, due to themodularity of the above architecture, it is reasonably easy to add as many disaster sub-simulators (e.g., landslides,earthquake, volcanic eruption, etc.) as needed;The Flood-SubSimulatorThe flood sub-simulator goal is to simulate a flood in town of Trento (Italy). The equation defined in its core OKC isbased on flooding levels and flooding timings deduced from a work presented in (Alkema, Cavallin, De Amicis andZanchi, 2001). This study is based on the digital terrain model of the river Adige valley, on historical hydrologicaldata of the flood experienced in Trento in 1966, on the localization of ruptures of the river Adige's dikes and onfloodplain topography changes from year 1966 to year 2000.To the purpose of our test-bed the territory is divided into flooded areas: each area is characterised by the maximumwater height reached during the inundation and the time when this level was touched. We digitalised these floodedareas from (Alkema et al., 2001) analysis assuming that the time required to reach the maximum flood level wasalways one hour. We then stored this digitalised data in different tables in a geographical database. Each table has afield representing x,y coordinates of digitalized points. At simulation time, only the data of the interested area arejoined in a single table using an Open Geospatial Consortium standard spatial SQL query.The flood sub-simulator has been developed in Java and it is fully integrated into the OpenKnowledge kernel. Themain component is an OK peer that subscribes to two interaction models. The first interaction model is enacted atthe beginning of the simulation. It shares the topology (e.g., point of interests and roads) of the world between thecontroller and the flood sub-simulator peers and stores, in the controller local knowledge, the connection state of thesub-simulator. The second interaction model is used by the controller at every time step, in order to get from theflood sub-simulator flood level changes registered at nodes in the topology.The VisualiserThis component enables the GUI used to visualise the simulation. In particular, the GUI shows the informationprovided by the controller through the “visualiser” interaction model. At every time-step, the visualiser receives thechanges and updates its history according to the new information. The update results in a change on the GUI. Figure6 shows the appearance of the GUI in two simulated scenarios.