# Development of a Digital Well Management System
## 3 Results
### Module \"Electricity Consumption Optimization  
As mentioned earlier, mechanical oil production is the most energy-intensive process in the oil field. Reduction of specific energy consumption per unit of extracted product is an important direction in the work of the subsoil user. The module \"Optimization of electricity consumption\" will allow, when managing the production well stock, to ensure the minimum specific energy consumption by:  
1. Automatic maintenance of the operating point for downhole equipment;
2. Implementation of automatic calculation and change of operating mode (transition from periodic to continuous mode and vice versa);
3. Optimization of the time and mode of operation during the day of the periodic stock of wells;
4. Ensuring the planned average daily flow rate with minimal energy consumption during hours of high cost of electricity;
5. Optimization of power consumption of the sucker rod pump installation when the plunger moves down.  
As part of the implementation of this module, all actions for managing the production fund are aimed at assessing and achieving the minimum specific energy consumption for the production of a unit of well production. This module makes it possible to estimate, taking into account the parameters of the reservoir-well system, the recommended level of well production, which ensures the minimization of energy consumption within the potential of the reservoir and downhole pumping equipment. When optimizing the operation of periodic wells, it is proposed to calculate the start time based on the loading of the collection and transport system in order to reduce backpressure and friction pressure losses with large volumes of pumping through the system. The module provides for the implementation of the function of reducing the instantaneous production rate of wells during hours of high tariff rates for electricity, while ensuring the planned average daily production. The minimum required productivity of downhole equipment is estimated, which ensures the production of well products in the allowable range of specific energy consumption. It is possible to adapt the speed of submersible electric motors based on the recommended intervals for the maximum and minimum load on the enterprise's power grid, taking into account the mutual influence of wells in the collection system.  
When working with a sucker rod pump unit, pumping cycles are optimized by slowing down and accelerating the engine when passing the top and bottom dead centers, respectively. It is possible to optimize the operation of the electric motor due to the algorithm for avoiding the generator mode--taking into account the technological feasibility, the minimum descent speed and the permissible range of the plunger ascent speed are determined.  
An example of the application of the technique will be presented in Section 3.5. In general, optimizing the operation of the well allows you to maintain its operation at maximum efficiency in conditions of constantly changing operating conditions. Also, the operation of the periodic well stock can be optimized to reduce friction pressure losses. So, if there are 4 wells on the well cluster in a periodic mode, the system will offer to extract oil in the most debit wells at night, during which the energy cost is lower, and distribute the work of the remaining wells during the day to reduce the friction pressure consumption.