Calculation of osmotic pressure difference across membranes in hyperfiltration