Conversion of refinery bottom-of-the-barrel products can provide hydrogen and power requirements cost-effectively