Self learning tank monitoring system for diesel fuel