Increasing the accuracy and efficiency of bilge water monitoring