Embodiments are described for receiving first data related to an amount of a first component in a multi-component liquid. A gain may be determined based on the first data. The multi-component liquid may be separated into at least two components. The gain may then be used to control a position of an interface between two separated components of the multi-component liquid, such as by using the gain in changing a speed of a pump pumping at least one of the components.