AI Workflows

AI for HEC-RAS Model Setup and Floodplain Analysis

Automation speeds HEC-RAS workflows, but engineers still own regulatory decisions.

Cover illustration for “AI for HEC-RAS Model Setup and Floodplain Analysis”
Cover illustration for “AI for HEC-RAS Model Setup and Floodplain Analysis”

AI for HEC-RAS model setup and floodplain analysis is most useful when applied to specific workflow bottlenecks. Automation and machine learning can assist from terrain ingestion through flood map output, but their maturity and limits differ by stage. Setup and computation work best when they are faster and licensed engineers keep control of every regulatory decision.

Why HEC-RAS modeling is time-consuming and where AI can enter the pipeline

HEC-RAS work is sequential, so time spent resolving one input delays the work that depends on it. A bottleneck in cross section digitizing, flow frequency estimation, or encroachment analysis can hold up the downstream deliverable. The burden is therefore not simply the time required to run a hydraulic simulation. It also includes the manual preparation and interpretation that make that simulation useful.

That burden matters because federal agencies strongly prefer HEC-RAS for hydraulic studies producing flood elevations, velocities, and floodplain widths. It is by far the most common tool in regulatory work, although FEMA also accepts other nationally and locally approved hydraulic models that meet NFIP requirements. Kordi-Karimabadi et al. (2025) also identify computational time as a constraint on effective flood early warning systems. Across these uses, reducing a local bottleneck has value because it releases the next stage of work.

How automated terrain processing and geometry setup reduce the manual burden at model entry

Terrain processing and geometry creation have long taken up much of the time spent on setup. Extracting cross sections, placing them along reaches, and building channel geometry must precede the hydraulic analysis. At this entry stage, rule-based automation is more mature than trained AI models. That distinction matters because a tool that automates geometry preparation is doing a different job from a model that learns relationships from historical streamflow.

GeoHECRAS automates digital cross section cutting using surface and 3D elevation data from a range of sources. It analyzes channel geometry and hydraulic characteristics to position sections along river reaches, eliminating manual digitizing. The immediate benefit is less manual work in translating terrain into model geometry. This is intelligent automation rather than evidence that a trained model has learned how to make every geometry decision. The engineer retains responsibility for the geometry as automation accelerates preparation.

The same distinction applies to moving existing project data into the model. GeoHECRAS integrates directly with Civil 3D, AutoCAD, MicroStation, and ArcGIS, bringing CAD and GIS data into setup and exporting results back to those environments. Existing project files therefore do not have to be rebuilt simply to enter the hydraulic workflow. With Civil 3D integration, HEC-RAS geometry can also change when a design changes, without someone having to rebuild it all by hand.

How LSTM models turn historical streamflow data into flow inputs for HEC-RAS without manual frequency analysis

Estimating peak streamflow for return periods takes a lot of data analysis as well as work to prepare the files. LSTM deep learning models can generate those estimates from historical streamflow records, replacing or augmenting manual frequency analysis.

Kordi-Karimabadi et al. (2025) trained an LSTM model on more than 40 years of daily streamflow data for the Nesa River in Iran. They fed its peak streamflow predictions directly into 2D HEC-RAS to produce flood zone and hazard maps for return periods of 25, 100, and 500 years. The chosen model achieved an R² of 0.98 and Nash-Sutcliffe efficiency of 0.98 during training. During testing, those values were 0.92 and 0.89 respectively. Hydraulic engineers can compare these results with their own calibration standards to judge how well the model works.

The study shows how learned flow estimates feed into hydraulic simulation and then into Difference Flood Hazard maps. For basins with long streamflow records, that connection can compress the flow frequency analysis step and support scenario analysis beyond the observed record. However, generating a scenario beyond the record is not the same as establishing its reliability. LSTM models require substantial historical data, and extreme events absent from that data remain a known constraint.

Why traditional ML models struggle with extreme floods and what the Next-Gen GMDH approach does differently for HEC-RAS inputs

The historical-data constraint becomes critical when an event exceeds the conditions used to train a model. The Ottawa River illustrated that problem in 2019, when discharge surpassed the 100-year threshold. Standard ML models struggle with such extremes because their training data do not represent the conditions they must predict. A longer observed record may help, but the central problem is the absence of representative extreme events.

Qureshi et al. (2025) addressed this gap by using HEC-RAS simulations to generate a synthetic dataset covering extreme return periods. They then trained a Next-Gen Group Method of Data Handling, or Next-Gen GMDH, model to predict channel width, channel depth, and water surface elevation. Unlike the LSTM example, this approach uses hydraulic simulations as the source of training data and predicts hydraulic outputs. It is therefore a different coupling of ML and HEC-RAS, not simply another method for estimating the same flow inputs.

The Next-Gen GMDH incorporates non-adjacent connections and optimized intermediate layers. It achieved a MAPE of 0.06% for water surface elevation and substantially outperformed standard GMDH across all three predicted measures. Its computational complexity was also reduced roughly by two-fifths compared with standard GMDH. These findings demonstrate a technique with practical computational promise.

Synthetic HEC-RAS results let models train on a wider range of conditions than observed records alone can provide, which helps with the lack of historical data. However, that wider range comes from simulated conditions, while observations are still missing for some of the extremes being assessed. The research supports using models in this broader way, but uncertainty remains with synthetic training.

That burden matters because federal agencies strongly prefer HEC-RAS for hydraulic studies producing flood elevations, velocities, and floodplain widths.

How Bayesian networks and probabilistic frameworks extend HEC-RAS simulations to compound flood analysis

Coastal and low-gradient watersheds can experience storm surge, tides, intense rainfall, and river flow acting together. Those drivers interact nonlinearly, so their combined flood depths can exceed what a single-driver analysis predicts. Probabilistic methods address this problem by extending the analysis to combinations of conditions rather than only accelerating an existing calculation.

Liu et al., from Purdue University and the U.S. Army Engineer R&D Center's Coastal and Hydraulics Laboratory, established a multi-tiered Bayesian network compound coastal flood framework. Their New Orleans, LA, case study showed models that vary in how complex they are to suit how much data is available. The framework ranges from storm surge and river flow alone to full meteorological variability and flood antecedent conditions. This tiered structure makes the available data a practical constraint on the scope of the analysis. The work is a research framework in a preprinted manuscript under review and has yet to become a standard HEC-RAS setup feature.

Bartlett et al., from ICEYE, The Water Institute, and Princeton University, extended the Joint Probability Method by coupling stochastic rainfall fields and stochastic antecedent hydrologic conditions with HEC-RAS simulations. Their work in the Lake Maurepas basin in Louisiana showed that compound interactions increased flood depths by up to 0.7 m above single-driver predictions. It also identified a statistically defined compound flood transition zone more than twice the area identified from event-based analyses. For FEMA flood hazard assessments and coastal infrastructure design, the practical deliverables are probabilistic flood hazard curves and response-based design storm selection. Those deliverables can represent interacting drivers in a report rather than treating the dominant driver as the whole flood problem.

What the HEC-RAS 2025 solver changes and its new API mean for AI-driven modeling pipelines

These analytical approaches still depend on executing hydraulic simulations and extracting usable results. HEC-RAS 2025 is designed to shorten the simulation stage by exploiting all available CPU cores simultaneously. A large 2D floodplain model that runs for hours on a standard workstation in HEC-RAS 6.6 is designed to run significantly faster under this solver approach. The gain is a platform-level improvement with unchanged model inputs.

HEC-RAS 2025 also introduces a documented public C# API for a selected set of functionality, with specifics subject to change. The API enables programmatic model creation, simulation execution, and result extraction. GPU acceleration is planned for a future release cycle and is separate from the API introduced in HEC-RAS 2025.

Without programmatic access, an AI tool can generate geometry or flow inputs while still leaving a person to load files, configure a run, and export results. With the API, those handoffs become scriptable where the required functionality is available. This creates a route from analytical assistance to an automated execution workflow. Faster solvers reduce computation time, while programmatic access reduces the manual work surrounding that computation.

How automated floodplain encroachment analysis and flood map output close the pipeline

After a run, the hydraulic results must be used to make maps, determinations, and supporting documents. Floodplain encroachment analysis determines how much a structure or fill encroaches on the floodway and is a required FEMA deliverable. Historically, this work involved iterative manual adjustments. Automating the computation addresses a final major source of manual effort, where consistency is especially important because the results support regulatory findings.

GeoHECRAS automates floodplain encroachment computation, FEMA floodplain encroachment analysis, and engineering report creation. The same workflow can therefore produce encroachment results and their supporting documentation. The platform also automates bridge and culvert sizing and designing, so it handles both mapping and structure design that uses hydraulic results. As at model entry, these capabilities are automation.

Kordi-Karimabadi et al. The maps carry the analytical work through to a reporting deliverable. However, automated generation does not turn a map or report into an approved regulatory finding. Encroachment limits and floodway determinations still require licensed engineer review and approval.

Where licensed engineer review remains non-negotiable across the automated pipeline

A licensed professional engineer must review and approve every HEC-RAS output that will be used for regulatory purposes. That requirement covers flood elevations, floodway limits, encroachment determinations, and hazard maps submitted to FEMA. An algorithm cannot be the named responsible party on a regulatory hydraulic submittal. The engineer reviewing and stamping the work remains the accountability layer, regardless of how much preparation or computation is automated.

Reducing time spent on setup, runs, and map generation leaves engineers more time to evaluate results, test alternatives, and exercise judgment. Tools that work inside Civil 3D, HEC-RAS, and ArcGIS can support that allocation by presenting results for inspection within the firm's existing environment. Tools that require uninspected acceptance of outputs do not fit regulatory practice. The governing principle is that AI fits the firm, not the other way around.

For firms applying AI across this workflow, technical assistance is most useful when it also understands the regulatory context. A partner who works on-site with engineers can learn the project standards already in use and help the team keep up as HEC-RAS and AI tooling change. That support belongs within the review process. The value of the automated pipeline is less time spent moving and computing information, with licensed engineers retaining ownership of the decisions that carry a stamp.

Sources

  1. A Multi-Tiered Bayesian Network Coastal Compound Flood Analysis Framework

    Supplied the multi-tiered Bayesian network framework for compound coastal flooding and the New Orleans case study.

  2. Extending the Joint Probability Method to Compound Flooding: Transition Zone Delineation, Flood Depth Attribution, and Design Event Selection

    Provided the Joint Probability Method extension, the Lake Maurepas findings on added flood depth, and the transition zone results.

  3. Coupling HEC-RAS and AI for River Morphodynamics Assessment Under Changing Flow Regimes: Enhancing Disaster Preparedness for the Ottawa River

    Described the Next-Gen GMDH approach coupled with HEC-RAS synthetic data for Ottawa River extreme floods, including its error and complexity results.

  4. Climate-driven flood hazard assessment in data-scarce mountainous basins using a GIS-based machine learning and hydrodynamic modelling under CMIP6 SSP scenarios

    Supplied the LSTM-to-2D HEC-RAS workflow for the Nesa River, including performance metrics and hazard mapping for 25, 100, and 500-year return periods.

Marcus Tieu

More in AI Workflows

← Front page