Recycle, Bypass and Purge Calculations with Chemical Reactions