An lecturer who left his job after complaining about flooding was awarded more than £44,000 in compensation.