A purge and trap concentrator system that includes a sparge vessel, and includes a variable gas flow valve for controlling the gas pressure in an analytic trap or the sparge vessel; a sensor that detects both a foaming sample state and a high liquid level in the sparge vessel, using one optical sensor; a control scheme that re-directs the purge gases to a second inlet of the sparge vessel during a foaming condition; a control scheme that uses a split flow to enhance the quantity of sample gases passed from an analytic trap; an electrically powered thermal energy source with a fan raising the sparge vessel temperature via thermal convection.