Dynamical system model with predation risk in patchy habitats and its numerical simulation research