Risk Toolkit

Software and tools for tsunami risk analysis

The Tsunami Risk Modeller’s Toolkit (TRMTK) ( DOI ), is a library of Matlab and Python scripts and Jupyter notebooks (to compute and visualize the empirical fragility assessment using generalized linear regression model and Bayesian model class selection).

The latest version of the Toolkit can be found at: Tsunami Risk Modeller’s Toolkit (TRMTK)

To contribute, you can establish your branch on ETRiS GitHub repository

ComputeFrag (Version 1, Version 2)

DOI

ComputeFrag is a code for computing robust fragility curves using a generalized regression model considering Hierarchical fragility modeling. This code calculates fragility curves based on maximum likelihood estimation methods (basic and hierarchical modeling) or using Bayesian model class selection (BMCS) to estimate fragility curves with their corresponding confidence bands for a set of mutually exclusive and collectively exhaustive damage states and different classes of buildings or infrastructure. The code utilizes Bayesian model class selection (BMCS) to identify the best link model to employ in the generalized linear regression scheme.

More information about the code: README.md

Jupyter Notebooks: VisualizeFragility and VisualizeVulnerability

The Jupyter notebook “VisualizeFragility.ipynb” is utilized for the visualization of fragility curves accessible on this service. Simply place the desired .csv file (downloaded from either the EPOS-ICS platform or directly from our Github repository) in the same directory of the code and update its name within the notebook.
To visualize the statistics of the fragility curves, it’s necessary to specify the fragility curve corresponding to the desired damage level. An example .csv file has been provided in the notebook directory.
Similarly, the Jupyter notebook “Visualize Vulnerability.ipynb” serves for visualizing the vulnerability curves available on this service.

You can also check our Docker repository

i) Install Docker Desktop from Docker repository
ii) Pull the image from Docker hub using the following command:
docker pull eurotsunamirisk/bayesian-fragility-standalone-app
iii) Create a new folder to save the results. (e.g. C:\computefragresults\ (Windows) or /home/user/computefragresults (Linux)).
iv) Place the input file (e.g. the test input file: buildingclass1.csv from the repository).
v) Execute the application using one of the following commands, depending on your operating system:
docker run --rm -v C:\computefragresults:/tmp eurotsunamirisk/bayesian-fragility-standalone-app/tmp/buildingclass1.csv
docker run --rm -v /home/user/computefragresults:/tmp eurotsunamirisk/bayesian-fragility-standalone-app/tmp/building_class_1.csv

After using the Risk Toolkit, click here to share your feedback.

This website is developed and maintained by researchers at the University College London and University of Naples Federico II.
License
Media use
© 2025 – European Tsunami Risk Service (ETRiS)

EPOS GeoInquire