Hardware-in-the-loop implementation for an active heave compensated drawworks