Abstract
This planned study asks whether a learned emulator, trained only on one city's own solver runs, can answer what-if questions in seconds with honest uncertainty, and when it must hand back to the full solver. We describe the candidate models built with PhysicsNeMo, the training data we will generate, the evaluation protocol and the rules for using such a model safely. No experiments have been run yet; results will be published after evaluation.
Problem
Planners ask many small questions in one meeting. What if this culvert is doubled? What if that road is raised? What if the storm is a little heavier? Each answer needs a full simulation. Even a fast GPU solver takes minutes for a district, which breaks the flow of a discussion. A surrogate that gives an approximate maximum-depth map in seconds would let people explore, and then confirm the chosen option with the full solver.
Approach
We plan to compare three model families that PhysicsNeMo supports. A Fourier neural operator learns a mapping from inputs on a grid (terrain, roughness, rainfall totals, scenario edits) to the maximum-depth field. A U-Net style convolutional model with the same inputs serves as a strong, simple baseline. A graph-based model operating on the drain network plus a coarse surface mesh tests whether explicit connectivity helps where drains dominate.
Inputs are rasterised on a coarser grid than the solver, with the solver's maximum-depth result as the target. Rainfall is encoded as a small set of statistics of the hyetograph rather than the full series. Scenario edits, such as a raised road segment, enter as changes to the terrain and roughness channels, so the model sees the same kind of information the solver does.
Uncertainty will come from a small ensemble of models trained with different seeds; the spread between members is reported per cell. If the spread is above a threshold anywhere that matters, or the inputs fall outside the range seen in training, the console runs the full solver instead and says why.
Training data
For each test catchment we will generate a library of Omnizyro Flow runs that varies storm intensity and duration, initial drain blockage, and a set of plausible interventions. The library is split by scenario family, not at random, so that the test set contains interventions the model has never seen. All runs carry their manifest, so the dataset is reproducible.
Evaluation design
We will evaluate on synthetic catchments first, where ground truth is the solver itself, then on a design partner's catchment. Metrics: mean and 95th percentile absolute error in maximum depth over wet cells; agreement of the wet area above 10 cm and above 30 cm measured with a critical success index; error at named critical assets; calibration of the uncertainty, meaning whether stated spreads contain the solver answer as often as they claim; and inference latency after export to ONNX and optimisation with TensorRT, served by Triton Inference Server on named GPUs. The full solver run time on the same hardware will be reported alongside, so the speed-up is measured rather than assumed.
A drift check will run in production: a sample of surrogate answers is periodically recomputed with the solver, and a model.drift_detected event switches the surrogate off for that project until someone reviews it.
Risks and limits
A surrogate can be confidently wrong outside its training range, which is why the fallback rule matters more than the model. It does not transfer between cities without retraining. Maximum depth is a summary; questions about timing still need the solver. If the evaluation shows the uncertainty is poorly calibrated, we will not ship the engine, and the status on this site will say so.
Next steps
Generate the synthetic run library once drain coupling in Omnizyro Flow is stable, train the three families, and publish the comparison including failures.
References
- Fourier neural operator for parametric partial differential equations
- U-Net: convolutional networks for biomedical image segmentation
- Learning mesh-based simulation with graph networks
- Simple and scalable predictive uncertainty estimation using deep ensembles