Say the math is more complex. You have a tank with a cone shaped bottom (cone + cylinder). Has a pressure sensor 1/4 the way up on the cone. Customer wants to see volume in that tank as bbl (barrels, think beer fermentation tanks!) and account for specific gravity. Customer supplies drawing geometry of the tank...
Oh, and they also want the level indicator on the HMI screen to fill as close to physical filling of the tank, as they do have separate cooling zones on the cone and the upper part of the tank, so there is value in seeing the fill level w/respect to the temperature probe locations.
Not sure about you but when working this out on paper, my work looks more like ST than it does "boxes".