How to speed up an ICM 2D simulation

  • Make sure the model is using all the CPUs and GPUs
  • Make sure the time step is appropriate
  • Identify speed bumps in the model

Check the Simulation Log

  1. when running the model
  2. in general you should use the “Let agent set limits” to decide how many CPUs to be used for the simulation.

Check the run time

  • timestep and failed link and nodes can reveal model elements that is struggling to converge, a good place to start investigation, the time step might need to be tweaked to match the number showing
  • Min. 2D timestep: if the value is below 0.1 sec, a sign the 2D model is not optimized.

Optimize 1D

Optimize 2D mesh

  • calculation is only carried out for wet elements, therefore, rain on the mesh will greatly increase run time.
  • infiltration and other hydrology calculations on the mesh will increase run time
  • complicated triangulation will create small and odd shaped triangles which can slow down the calculation
  • tricky 1d/2d interfacing can lead to more computations
  • conduit 2D with small diameters (< 3ft) can lead to small elements
  • simplify and reduce number of vertex of geometries added to the 2D mesh (polygons, river banklines, etc.)
  • using terrain sensitive meshing, mesh zones, etc. to fine tuning the details only in areas needed




Empowering Water Experts

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

3 Ways Transportation Planners Can Advance Equity Through More Intentional Research

Crawl data from sites in Go

What Omaha Can Learn From NYC’s Open Data Program

We are using too many buzzwords to defeat SARS-COV-2

Premier League Data Analysis

San Francisco crime analysis

Structural Break

Project 1 of #100MLProjects | Predicting Graduate Admissions | #laxmena

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mel Meng

Mel Meng

Empowering Water Experts

More from Medium

Analyzing Decadal Natural Disaster Data

Predicting user churn for Sparkify music streaming platform

Technology Mindfulness Project