Numerical simulation of the shallow water equations coupled with a precipitation system driven by random forcing