Abstract: A device, system, and method are provided for blending multiple fuels in multiple states and optimizing the blended fuel for parameters including cost, energy content, pressure, etc. In a primary fuel/supplemental fuel system, the present invention allows a user to consume as much primary fuel as possible even if the primary fuel is hampered by inconsistent pressure or quality issue, thus ensuring a downstream engine runs continuously.