This document is a master's thesis submitted by Dario Marić that examines the optimization of hydrotechnical systems. Specifically, it aims to determine the optimal configuration and physical parameters of a new hydrotechnical system using optimization synthesis methods. The thesis provides background information on hydrotechnical systems and their history, discusses various types of water sewage systems, and describes the design process for sewer systems with a case study of optimizing a simplified sewer system in Dar es Salaam, Tanzania.