The purpose of the paper was to present selected techniques for the control of river flow and sediment transport computations with the programming language Python. The base software for modeling of river processes was the well-known and widely used HEC-RAS. The concepts were tested on two models created for a single reach of the Warta river located in the central part of Poland. The ideas described were illustrated with three examples. The first was a basic simulation of a steady flow run from the Python script. The second example presented automatic calibration of model roughness coefficients with Nelder-Mead simplex from the SciPy module. In the third example, the sediment transport was controlled by Python script. Sediment samples were accessed and changed in the sediment data file stored in XML format. The results of the sediment simulation were read from HDF5 files. The presented techniques showed good effectiveness of this approach. The paper compared the developed techniques with other, earlier approaches to control of HEC-RAS computations. Possible further developments were also discussed.
The main purpose of the present research is to develop software for reconstruction of the river bed on the basis of sparse cross-section measurements. The tools prepared should support the process of hydrodynamic model preparation for simulation of river flow. Considering the formats of available data and the requirements of modern modeling techniques, the prepared software is fully integrated with the GIS environment. The scripting language Python 2.7 implemented in ArcGIS 10.5.1 was chosen for this purpose. Two study cases were selected to validate and test the prepared procedures. These are stream reaches in Poland. The first is located on the Warta river, and the second on the Ner river. The data necessary for the whole procedure are: a digital elevation model, measurements of the cross-sections in the form of points, and two polyline layers representing an arbitrary river centerline and river banks. In the presented research the concept of a channel-oriented coordinate system is applied. The elevations are linearly interpolated along the longitudinal and transversal directions. The interpolation along the channel is implemented in three computational schemes linking different tools available in ArcGIS and ArcToolbox. A simplified comparison of memory usage and computational time is presented. The scheme linking longitudinal and spatial interpolation algorithms seems to be the most advantageous.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.