@cockney steve
An electronic system of fuel tank contents measurement is not fit
Seems a bit harsh. Capacitance based sensors seem problematic. There are alternative solid state methods.
e.g. Ultrasonic, optical pulse/time based, optical refractive, thermal using differential heat conductance of air vs fuel.