Simulating the discharge of the Chao Phraya River taking into account reservoir operation