To maintain a competitive edge as one of the leading suppliers of fuels while minimizing its carbon footprint, this 1970s Aramco refinery underwent a five-year strategic Fourth Industrial Revolution transformation, implementing and integrating use cases at scale including an AI-based clean fuels optimizer, an AI-powered operation decision system and a digital twin dynamic model. As a result, on-spec fuel production has reached 99%, greenhouse gas (GHG) emissions have been reduced by 23% and operational availability has improved by 17%.