Resumen
Retention and detention basins are engineering constructions with multiple objectives; e.g., flood protection and irrigation. Their performance is highly location-dependent, and thus, optimization strategies are needed. LOCASIN (Location detection of retention and detention basins) is an open-source MATLAB tool that enables automated and rapid detection, characterization and evaluation of basin locations. The site detection is based on a numerical raster analysis to determine the optimal dam axis orientation, the dam geometry and the basin area and volume. After selecting a reasonable basin combination, the results are summarized and visualized. LOCASIN represents a user-friendly and flexible tool for policy makers, engineers and scientists to determine dam and basin properties of optimized positions for planning and research purposes. It can be applied in an automated way to solve small and large scale engineering problems. The software is available on GitHub.