Ships stability simulator