The membrane reactor of the present invention generates a desired gas such
as hydrogen produced by steam reforming liquid fuels. The membrane
reactor provides thermal integration between the heating source and the
reaction catalyst by heat conduction through a solid medium. A gas
purification system extracts energy from the waste gases to heat the
membrane reactor. This, in concert with other control mechanisms provided
results in a more efficient gas purification process.