Air pump (source code)

= Air pump
{wiki}

An <air pump> transfers <air> into or out of a vessel by doing mechanical <work> on the gas. In a simple displacement design, a piston or flexible chamber changes its internal <volume>, while valves select the direction in which gas enters and leaves. Repeating the cycle moves gas against a <pressure difference>.

Evacuating a sealed vessel removes molecules and lowers its <pressure>, but the achievable pressure depends on the pump's operating principle, leakage and gas released by internal surfaces. Compressing air into a receiver instead increases its stored <internal energy> and can raise its <temperature>. A pressure-versus-time record therefore probes both pumping and the vessel's gas balance. The device supplies the mechanical means for changing the state; a <gas law> and an <energy> balance are needed to predict the resulting <pressure> and <temperature>.