Time-domain simulation for marine propulsion applications