Child pages
  • Chapter 4: How to run a flood impact model
Skip to end of metadata
Go to start of metadata

This chapter describes ways how to run your own flood impact model with Delft-FIAT, as well as what default model output you can expect.

4.1       Run your model


A flood impact model can be easily run by Delft-FIAT in several ways. Some convenient examples are given below.


4.1.2       Macro (button) in the excel configuration file

In the excel configuration file its possible to specify the location of Delft-FIAT.exe. After that Delft-FIAT can run with a simple button that triggers a macro.

4.1.2       Single run using python command window[1]


Open your command window (like you did in section 2.2).

Run the model by the following command:


<installation folder python>/python.exe <installation folder Delft-FIAT>/ FIAT_rekenhart/ <location config file>




C:/Python27/python.exe C:/FIAT/FIAT_rekenhart/ C:/FIAT/config.xls


The same python script can be amended with arguments in the command line to be able to run the script with an excel configuration and overriding parts of the header. The following arguments are provided:

-rn <result_name>                              : The name to use for the results (B2)

-hf <hazard_filepath>                          : Full path to the hazard file (B4)

-if <incremental_filepath>                   : Full path to the incremental file (D1)

-rf <rise rate filepath>                          : Full path to the rise rate file (D2)

-af <arrival time filepath>                    : Full path to the arrival time file (D3)

-sf <shapefile_path>                           : Full path to the shapefile (D5)

-fd <functions directory>                     : Full path to the functions dir (J3)

-ed <exposure directory>                    : Full path to the exposure grids dir (J4)

-od <output directory>                         : Full path to the output directory (J5)

-gc <grid per category>                       : Output a grid per category (0=no or 1=yes)




C:/Python27/python.exe C:/FIAT/FIAT_rekenhart/ C:/FIAT/config.xls –rn modeltest –hf C:/FIAT/waterdepth.tif –od c:/FIAT/output/modeltest

4.1.3       Multiple run using batch file


Create an empty batch file (.bat). Put the above command(s) in the batch file and do this multiple times if needed on new lines. Multiple config files can be run in sequence. Save the batch file and run that batch file in a command prompt by simply calling its location.

4.1.4       Multiple run within other python script


Open a new python file in the FIAT_rekenhart installation folder. Save the file as runFIATin


The following script will do the magic:

Run the python script.


Be aware that the arguments are related to the cell locations in the config file and not identical to the arguments stated above in 4.1.1.

4.2       Model output


By default, Delft-FIAT produces for each model run the following output:


- total damage grid;

- impact report with summary indicators (as textfile and spreadsheet);


If provided in the config file, the following output can be expected:

- individual damage grids;

- total affected/casualty grids (per timezone);

- shapefile with zonal summary statistics per region

- risk information: summary report and risk grid

4.2.1       Total impact grid


By default a “totaalschade” grid (.tif) is output of the model and represents the total impact grid. The units depend on the configuration file. This file can be viewed in a standard GIS-package.

4.2.2       Impact report


By default two impact reports are produced. The impact reports are in .txt and .xls format and exhibit the same information: total affected units and total damage for each damage categorie. Further, a total flood damage figure is given.


When the special function 2_0001 is used, the number of affected people and casualties are reported, as well.

4.2.3       Individual impact grids (optional)


The user can specify in column ‘H’ in the configuration file whether individual impact grids are output.

4.2.4       Total affected/casualty grids (optional)


When specified  by the user, a total casualty grid and total affected people is calculated. Furthermore, a mortality grid is calculated.

4.2.5       Shapefile with zonal statistics (optional)


When specified by the user in cell ‘E5’, a shapefile is used in calculating zonal statistics on the different impact grids (total and individual impact grids).

4.2.6       Risk information (optional)


When a location with .csv is specified in cell B4 and several waterdepth maps are used as input, Delft-FIAT, makes for each waterdepth a subfolder and calculates a total risk value and total risk map.

Example of a csv file for a risk calculation.

[1] As described in Chapter 2: one can also utilize an executable without the need to install a proper Python; the commands remain te same, except do not call python and change the .py to .exe

This chapter describes ways how to run your own flood impact model with Delft-FIAT, as well as what default model output you can expect.

  • No labels