Automation for the petroleum Industry in accordance with ASTM D4052