# Development of a Digital Well Management System
## 3 Results
### Module \"Ensuring the Flow Rate of the Well\"  
The most important technological parameter of a production well is its production rate. One of the main tasks of a subsoil user is to maintain this parameter at the regime level required for the efficient and planned development of an oil field. Well flow rate assurance module provides:  
1. Automatic control of actual measurements and well flow rate management based on information from an automatic group metering unit and the result of a virtual flow rate measurement;
2. Automatic control of the filling factor of the SRP pump and regulation of the flow rate of the installations;
3. Identification of flow rate deviations from regime values, issuance of an informational (in the \"advisor\" mode) or a control signal (in the automatic mode of operation) aimed at restoring the flow rate.  
The first point involves the analysis of data with an automatic group metering unit on the flow rate of wells, and if they deviate from the regime value by more than the set value, the activation of the \"Virtual flow meter\" function to clarify the correct operation of the automatic group metering unit. If the calculated value of the flow rate corresponds to the measured one, then it is necessary to identify the cause of the deviation (functionality of the \"Complications\" module). If the calculated value of the flow rate differs from the measured value of the automatic group metering unit, control continues, a recommendation is issued for steaming, revision of the automatic group metering unit and re-measurement.  
The second point involves the registration of indirect parameters of operation by installing a sucker rod pump to calculate the value of the filling factor and timely control this value. Provides a change in the frequency of rotation of the pumping unit drive motor when the pump fill factor drops below the specified value.  
The third point involves analyzing the deviation of the well flow rate from the regime value, determining the cause of such a deviation, and restoring the flow rate.  
An example of an algorithm for identifying the cause of a debit deviation is shown in Figure 4.  
According to the algorithm, the system can automatically eliminate some of the causes of deviations, which it can check automatically. The system analyzes well flow rates and equipment operation parameters. The initial action is to check the operability of the automatic group metering plant as a source of metering data. So, with a simultaneous increase or decrease in the flow rate for all production wells without a significant change in the parameters of the downhole pumping equipment, the most likely cause may be a malfunction of the automatic group metering unit (waxing of measuring instruments). Then, the parameters of the well operation are analyzed and possible violations are determined, among them are: leakage of the pipe, lack of patency in the pipe or flow line, check valve malfunction, clogging of the working parts of the pump or inlet filter, clogging of the nozzle, decrease in bottomhole pressure and others. According to the above algorithm, the ACS evaluates which deviation is most likely in the current conditions. After determining the list of possible reasons for the deviation, the system downloads a list of solutions to problems from the database and offers them to the operator or sends a control signal, depending on the operating mode.  
The operation of the module allows you to determine the cause of the well flow rate deviation and quickly correct it. So, if all the wells on the cluster experience a decrease in flow rate, the system will automatically offer to revise the metering unit.