Skip to main content

An end-to-end dynamic flood simulation.

Project description

Dynamic Flood Simulations

Created in collaboration with Northeastern University

Overview

This end-to-end dynamic flood simulation is intended for use with the Analytics workflow in UVDAT (Urban Visualization and Data Analysis Toolkit). This module consists of three parts: downscaling prediction, hydrological prediction, and hydrodynamic prediction.

Explanation

First, an AI downscaling model uses regional climate projections to determine future local precipitation conditions, such as the intensity of extreme rainstorms. These extreme precipitation levels are fed into a hydrological model, which uses precipitation and evapotranspiration to determine runoff and discharge. Finally, a hydrodynamic model uses discharge to map flood depth over time.

This is a proof of concept for the Charles River in Boston that could be translated to other rivers and cities. The user selects the inputs described below, and the output is a flood simulation, represented as a multiframe stacked GeoTIFF raster, a time-varying map of flood depth with one frame per hour for 24 hours.

Inputs

  1. Time Period: the 20 year time period in which to predict a flood. Options are "2031-2050" and "2041-2060" (the former is the default).

  2. Annual Probability: the probability that a flood of this magnitude will occur in any given year. This value must be greater than 0 and less than 1. The default is 0.04, which represents a 1 in 25 year flood.

  3. Hydrograph: a list of proportions that sum to 1; these represent fractions of the total rainfall volume per timestep.

  4. Potential Evapotranspiration Percentile: Select the 25th, 50th, 75th, or 90th percentile value for potential evapotranspiration

  5. Soil Moisture Percentile: Select the 25th, 50th, 75th, or 90th percentile value for soil moisture

  6. Ground Water Percentile: Select the 25th, 50th, 75th, or 90th percentile value for ground water

Installation

pip install uvdat-flood-sim

Example usage

To run a flood simulation with default inputs:

python -m uvdat_flood_sim

To see the help menu explaining how to use arguments to specify input values:

python -m uvdat_flood_sim --help

Viewing Results

By default, results will be displayed with a matplotlib animation. This animation is saved in the outputs folder as animation.gif. Results are also saved in the outputs folder as a multiframe geospatial tiff called flood_simulation.tif, which can be added to UVDAT for visualization.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvdat_flood_sim-1.0.2.tar.gz (31.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uvdat_flood_sim-1.0.2-py3-none-any.whl (31.3 MB view details)

Uploaded Python 3

File details

Details for the file uvdat_flood_sim-1.0.2.tar.gz.

File metadata

  • Download URL: uvdat_flood_sim-1.0.2.tar.gz
  • Upload date:
  • Size: 31.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for uvdat_flood_sim-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5e1dca00c8f176fb0656f53b0c144b622adcfabc3630ef45947b8ad68b77e22f
MD5 c53b1d8a494e83356d296ec23f213942
BLAKE2b-256 09ce5c9b8223b60cd342046259d3ddcbd9524db5df8a4f7853da15605679e611

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvdat_flood_sim-1.0.2.tar.gz:

Publisher: release.yml on OpenGeoscience/uvdat-flood-sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uvdat_flood_sim-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for uvdat_flood_sim-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d98d769fb574685c17714c0a1479ff762c4c172455d686891eec905332215705
MD5 8ac4333a63d24db6247e0c3c0a284be6
BLAKE2b-256 9d1a5fce1a6e0dded1c07bfff4af81464357fd87dc3109fbe392ca5eaafc5c1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for uvdat_flood_sim-1.0.2-py3-none-any.whl:

Publisher: release.yml on OpenGeoscience/uvdat-flood-sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page