CAPÍTULO 1 SIC : A 1 D HYDRODYNAMIC MODEL FOR RIVER AND IRRIGATION CANAL MODELING AND REGULATION