Dynamic simulation of marine propulsion plants