It allows for controlling the quality characteristics of the technological process for cleaning bottom water and formation water from residual oil, which will help reduce oil losses, as well as decrease costs for cleaning formation water, and consequently preserve the reservoir properties of the formation in EOR systems.