chemical tank level measurement