The volume of fuel left in a cylindrical tilted tank

G. Sperotto

New member
Joined
Sep 4, 2012
Messages
2
[Solved] The volume of fuel left in a cylindrical tilted tank

Hi there.

I've come into a problem these days with a tilted cylindrical tank. I need a formula to calculate the ammount of fuel left inside it, based on the height of the fuel inside the tank.

It should be a simple task, and i know there are lots of examples in the web, but the real problem is that i am trying to write a small software to do this task. I have quite enougth programming background, but my calculum skills are not so good atm, and the scripting language i'm using doesn't have a built-in support to calculate integrals.

So i was actually hoping for a formula to accomplish the task without the use of integrals (and this is the actual problem). After some searching, i've found this website and managed to translate the formula at the bottom to my script. My script is now succesfully calculating the volume (according to their online calculation tool) IF i select upper base and the distance from the base is 0. The reason for this is that the author seems to have removed the references to "d" in the final formula (wich i am using).

So i'm still looking for an improved formula (without integrals) that will allow me to input the distance from the base and still get the results right.

Does anyone have a formula like this?

Thanks beforehand.
 
Last edited:
Hi there again.

Thanks to the help of an user of another forum, i now know how to account for d. Basically, if d is not zero, you can still find the height of the fuel on the upper base level based on d, alpha and the measured height.

HeightToApply := MeasuredHeight - d * tan(angle)

*where angle is the angle between the horizontal ground and the inclined floor of the tank.

Solved.
 
Top