The invention discloses a rod pumped well time-sharing optimization design method and
system based on edge calculation, and relates to the field of rod pumped well time-sharing optimization, and the method comprises the following steps: S1, constructing an edge sensing layer, and collecting data in real time; s2, edge layer
data extraction and working condition diagnosis; s3, time-of-use
electricity price response and working condition prediction; s4, generating an edge end real-
time control strategy; s5, edge-cloud collaborative
reinforcement learning optimization is carried out; and S6, performing dynamic evaluation and strategy correction. According to the time-sharing optimization design method and
system for the rod-pumped well based on edge calculation, self-
adaptive control over high-
stroke-frequency yield increase in the valley period and low-
stroke-frequency peak avoidance in the peak period can be achieved, and the phenomenon of empty pumping in the high
electricity price period can be avoided; when the liquid supply is sufficient in the valley period, the
stroke frequency can be increased, the liquid production capacity in the low-
electricity-price period can be maximized, and the problem that timing control is disjointed with the actual working condition is fundamentally solved.