Semi-implicit scheme in shallow water wave model