Optimized configuration to reduce H2 carbon footprint in a refinery. (July 2022)