by allowing diffusion of components through a porous wall and measuring a pressure or volume difference