Real time simulations of a wave power system