Multi-agent system for the automated design of sucker rod threaded connections

Authors

  • V. B. Kopei Ivano-Frankivsk National Technical University of Oil and Gas, Carpathians Street 15, Ivano-Frankivsk, UA 76019 Ukrainee
  • О. І. Protsiv Ivano-Frankivsk National Technical University of Oil and Gas, Carpathians Street 15, Ivano-Frankivsk, UA 76019 Ukrainee
  • І. V. Proniuk Ivano-Frankivsk National Technical University of Oil and Gas, Carpathians Street 15, Ivano-Frankivsk, UA 76019 Ukrainee
  • S. К. Nazarenko Ivano-Frankivsk National Technical University of Oil and Gas, Carpathians Street 15, Ivano-Frankivsk, UA 76019 Ukrainee

DOI:

https://doi.org/10.31471/1993-9965-2025-2(59)-101-114

Keywords:

threaded connection, automated design, multi-agent system, optimization

Abstract

Threaded connections of sucker rods are used in oil production with rod pumping units and are designed to connect individual rods into a single string. During the operation of sucker rod threaded connections, numerous problems arise due to cyclic loads and high stress concentration in the thread region, leading to fatigue cracks, failures, and string breakage. The strength of these connections is influenced by many design factors, which can be investigated using the finite element method. This paper outlines the principles for developing and utilizing a multi-agent system for the automated design of sucker rod threaded connections. To create modules for automating the construction of geometric and axisymmetric finite element models of the threaded connection, open-source software CalculiX, Gmsh, and Python packages CadQuery and PyCalculiX were used. These packages significantly simplify the creation of parametric finite element models suitable for fully automated design optimization based on stress and strain criteria. Using these modules and an actor-based model for parallel computing (based on the Python package Ray), a multi-agent system was enhanced for the parametric optimization of the threaded connection design according to the criterion of minimum equivalent stress. The system incorporates agents with opposing optimization rules (implementing grid and stochastic search methods), enabling efficient search for minima in multi-dimensional spaces. There is also the possibility of easily creating agents with other rules and finding their effective combinations. Using this system, the stress-strain state of the ShN19 threaded connection was investigated under emergency conditions of missing preload, which occurs in case of connection self-loosening. The influence of the thread runout groove radius and the coupling outer diameter on equivalent stresses was also studied. The code of the developed automated design system is published on GitHub under the free GPL-3.0 license.

 

Downloads

Download data is not yet available.

References

1. ChampionX Artificial Lift. (n.d.). Sucker rod failure analysis. Norris Rods. https://www.championx.com/contents/NOR_Sucker%20Rod%20Failure%20Analysis_BR_0322.pdf

2. Kopei, V. B., & Kopei, B. V. (2021). Design and strength of sucker rod strings and connections made of polymer composites: Monograph (B. V. Kopei, Ed.; Vol. 12). IFNTUNG. [in Ukrainian]

3. Fukuoka, T. (2022). The mechanics of threaded fasteners and bolted joints for engineering and design. Elsevier.

4. Moysyshyn, V. M., & Sirenko, V. V. (2010). Casing pipes and their connections: assortment analysis, assessment of stress-strain state. Scientific Bulletin of IFNTUNG, (1), 57–66. https://nv.nung.edu.ua/index.php/nv/article/view/56 [in Ukrainian]

5. Kopey, B. V., Maksymuk, A. V., & Shcherbyna, N. N. (2000). Analysis of contact stresses in structural joints of composite shell with steel banding. Mechanics of Composite Materials, 36(1), 67–74. https://doi.org/10.1007/BF02681779

6. Shatskyi, I., Ropyak, L., & Velychkovych, A. (2020). Model of contact interaction in threaded joint equipped with spring-loaded collet. Engineering Solid Mechanics, (8), 301–312. https://doi.org/10.5267/j.esm.2020.4.002

7. Medvid, I., Onysko, O., Pituley, L., Odosii, Z., & Kornuta, O. (2024). The influence of the geometry of high-performance cutters on the profile accuracy of large-pitch tapered threads: Theoretical study. In Advances in Design, Simulation and Manufacturing VII. DSMIE 2024 (Lecture Notes in Mechanical Engineering). Springer. https://doi.org/10.1007/978-3-031-61797-3_25

8. Balytskyi, O. I., Kolesnikov, V. O., & Eliasz, J. (2013). Study of the wear resistance of high-nitrogen steels under dry sliding friction. Materials Science, (48), 642–646. https://doi.org/10.1007/s11003-013-9549-7

9. Hoffman, E. L. (1997). Finite element analysis of sucker rod couplings with guidelines for improving fatigue life (Sandia Report). Sandia National Laboratories. https://doi.org/10.2172/537261

10. Mykhailiuk, V. V. (2010). Development of sucker rod threaded connection with uniform distribution of forces between the threads. Scientific Bulletin of IFNTUNG, (4), 61–65. https://nv.nung.edu.ua/index.php/nv/article/view/460 [in Ukrainian]

11. Mykhailiuk, V. V., Yurvch, A. R., Deineha, R. O., Kravchuk, R. S., Pinchak, R. A., & Kharlamov, B. V. (2018). Improvement and research of sucker rod threaded connection. Scientific Bulletin of IFNTUNG, (1), 81–88. https://doi.org/10.31471/1993-9965-2018-1(44)-81-88 [in Ukrainian]

12. Zhu, X., & Zhi, Z. (2017). Design of an ultra-high torque double shoulder drill-pipe tool joint for extended reach wells. Natural Gas Industry B, 4(5), 374–381. https://doi.org/10.1016/j.ngib.2017.10.002

13. Kopei, V. B., Onysko, O. R., & Zhyhuts, Y. Y. (2019). Substantiation of the use of double-shoulder threaded connections of hollow sucker rods. Scientific Bulletin of IFNTUNG, (1), 7–15. https://doi.org/10.31471/1993-9965-2019-1(46)-7-15 [in Ukrainian]

14. Kopei, V. B., Onysko, O. R., Panchuk, V. G., Odosii, Z. M., & Kusyi, Y. M. (2023). Increasing the fatigue strength of threaded joints of oil and gas equipment by plastic deformation of the thread under high load before make-up. Journal of Physics: Conference Series, 2540, 012033. https://doi.org/10.1088/1742-6596/2540/1/012033

15. Dhondt, G. (2004). The finite element method for three-dimensional thermomechanical applications. Wiley. https://doi.org/10.1002/0470021217

16. Geuzaine, C., & Remacle, J. F. (2009). Gmsh: A three-dimensional finite element mesh generator with built-in pre- and post-processing facilities. International Journal for Numerical Methods in Engineering, 79(11), 1309–1331. https://doi.org/10.1002/nme.2579

17. Black, J. (2025). Pycalculix. GitHub. https://github.com/spacether/pycalculix

18. Open CASCADE Technology. (2025). Collaborative development portal. https://dev.opencascade.org

19. CadQuery contributors. (2025). CadQuery (v2.6.1) [Software]. Zenodo. https://doi.org/10.5281/zenodo.14590990

20. Wikipedia. (2025). Metaheuristic. https://en.wikipedia.org/wiki/Metaheuristic

21. Wooldridge, M., & Jennings, N. R. (1995). Intelligent agents: Theory and practice. The Knowledge Engineering Review, 10(2), 115–152. https://doi.org/10.1017/S0269888900008122

22. Kopei, V., Onysko, O., Barz, C., Dašić, P., & Panchuk, V. (2023). Designing a multi-agent PLM system for threaded connections using the principle of isomorphism of regularities of complex systems. Machines, 11(2), 263. https://doi.org/10.3390/machines11020263

23. Moritz, P., Nishihara, R., Wang, S., Tumanov, A., Liaw, R., Liang, E., Elibol, M., Yang, Z., Paul, W., Jordan, M. I., et al. (2018). Ray: A distributed framework for emerging AI applications. Proceedings of the 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI ’18), 561–577. https://www.usenix.org/conference/osdi18/presentation/moritz

24. Kopei, V., & Protsiv, O. (2025). ThreadMAS. GitHub. https://github.com/vkopey/ThreadMAS

Published

2025-12-30

How to Cite

Kopei, V. B., Protsiv О. І., Proniuk І. V., & Nazarenko S. К. (2025). Multi-agent system for the automated design of sucker rod threaded connections. Scientific Bulletin of Ivano-Frankivsk National Technical University of Oil and Gas, (2(59), 101–114. https://doi.org/10.31471/1993-9965-2025-2(59)-101-114