The development centers on totalEnergies expects Q3 profit boost as refining margins nearly quadruple.