Numerical study on the dynamics of a two-raft wave energy conversion device