Resumen: Water quality control and the control of contaminant spill in water in particular are becoming a primary need today. Gradient descent sensitivity methods based on the adjoint formulation have proved to be encouraging techniques in this context for river and channel flows. Taking into account that most channels and rivers include junctions with other branches, the objective of this study is to explore the adjoint technique on a channel network to reconstruct the upstream boundary condition of the convection-reaction equation. For this purpose, the one-dimensional shallow water equations and the transport equation for a reactive solute are considered. The control is formulated through the gradient-descent technique supplied with a first-order iterative process. Both the physical and the adjoint equations are supplied with suitable internal boundary conditions at the junction and are numerically solved using a finite volume upwind scheme. The results reveal that the adjoint technique is capable of reconstructing the inlet solute concentration boundary condition in an acceptable number of iterations for both steady state and transient configurations using a downstream measurement location. It was also observed that the reconstruction of the boundary condition tends to be less effective the further away the measurement station is from the target. Idioma: Inglés DOI: 10.3390/math10010093 Año: 2022 Publicado en: Mathematics 10, 1 (2022), 93 [19 pp.] ISSN: 2227-7390 Factor impacto JCR: 2.4 (2022) Categ. JCR: MATHEMATICS rank: 23 / 329 = 0.07 (2022) - Q1 - T1 Factor impacto CITESCORE: 3.5 - Engineering (Q2) - Mathematics (Q1) - Computer Science (Q2)