Technology for operating oil production units