ardly:
This website will let you calculate the volume of fuel in the end caps;
http://www.ambrsoft.com/TrigoCalc/Sphere/Cap/SphereCap.htm#cap
I don't see why the ultrasonics would not work with diesel. You could probably do a test using a PVC pipe filled with fuel.
Thank you so much for that link. I still am unsure whether I can get that big R over there. and the angles, its an actual 15kL tank. I can get on top of it but I guess I would need to draw some geometrical lines on it?
or am I missing something? is there another way to find all that?
The things I know is the cap height and cape base radius. Other stuff through geometry?
Hutkikz:
I agree with @ardly the density is not an issue as the ultrasonic works off of the surface reflection. As I said before I would be much more concerned about the harsh environment.
No matter how accurate the calculations, without testing and calibration you are just guessing. It is a necessary part of the development cycle. You will not be able to avoid it if you want to have any idea of it's accuracy.
It would be more of a portable meter. You go over there you test you bring it back, yes diesel has fumes but I inquired about that and I guess the meter I il make will only have the ultrasonic exposed. Will try to save it as much as I can but that is a secondary issue. As for accuracy, something is better than nothing at this stage. + - 50 L should be okay.
ardly:
Printed Circuit Boards are glass fibre reinforced epoxy resin. The diesel will not affect the glass fibre and, accroding to this site, it will also not affect the resin;
Epoxy - Chemical Resistance
However diesel will act as a solvent for rubber and plastics and may speed the corrosion of some metals.
Like @Hutkikz I would be concerned about the effect of the diesel fumes on electronics, particularly the ultrasonic transponder and coatings on any discrete components. Regular inspections will show if this is a problem or not.
@Hutkiz is also correct that you will need to perform some tests and calibrations to prove your volume calculations and software. The obvious thing to do is to wait until the tank level is low then use a dipstick to measure the depth as known volumes of fuel are added to the tank.
I il check if wood is fine above diesel. As for rest, if ultrasonic sensors are okay, rest should be fine.
As for that last thing you wrote, that is the problem.
We need a known volume for some 5k Litres or 1k litres and then do this drama to add it to tank that is calibrated and then use a pump to put it into the main tank. In the place where I am, I don't think they would do such a thing.
They have this tanker guy who comes and fills it up, depending on his flow meter isn't something I want them to do. I also checked that low flow rate meters are inaccurate.
I will proceed with the ultrasonics, if anything comes up let me know, thank you all for the great help, I will update here my results soon. Will check on monday for the rest of the values for the spherical cups.