Design of Specialized Software for the Operational Calculation of Hydrocarbon Losses in Reservoirs



Ensuring modern storage of hydrocarbons is not a trivial task. The existing requirements imposed by environmental and fire protection legislation, as well as the economics of production, oblige the owners of tank farms to take measures for calculation and reduction of petroleum products losses. For solvation of this problem, a group of calculation methods has been formed. They are allow to determine the volume of hydrocarbon losses during large and small breaths in tank farms. At the same time, carrying out calculations and selecting the appropriate equipment to reduce losses is quite difficult for the engineering and technical personnel of oil storages. In this regard, based on the calculation methods of V.I. Chernikin, F.F. Abuzova and N.N. Konstantinov the software for calculating hydrocarbon losses in reservoirs from large and small respirations was developed. Software has the ability to store data for a month daily and with a system of issuing recommendations regarding the use of means to reduce hydrocarbon losses. To write the program code, C# was used in Visual Studio 2022. The demo version of the program allows to calculate the volume of losses of petroleum products in vertical steel tanks of various sizes and under changing environmental conditions, and also, based on the embedded database, recommend the necessary means of losses reduction for installation on the tank

General Information

Keywords: hydrocarbon losses, reservoir, quality management, process control, software development, calculation methods, C#

Journal rubric: Software

Article type: scientific article


Received: 26.03.2024

For citation: Shcherban P.S., Abu-Hamdi R.V. Design of Specialized Software for the Operational Calculation of Hydrocarbon Losses in Reservoirs. Modelirovanie i analiz dannikh = Modelling and Data Analysis, 2024. Vol. 14, no. 1, pp. 155–169. DOI: 10.17759/mda.2024140110. (In Russ., аbstr. in Engl.)


  1. Yuryev V.I., Petrov A.P., Shvyrkov S.A., Vorobyov V.V. To assess the fire hazard of “large” breathing tanks of the RVS type // Technologies of technosphere safety. – 2017. – No. 4(74). – pp. 54-58. – EDN LBNPXV.
  2. Lesnykh K. E., Korshak. A.A., Khafizov N.N., Kuznetsov A.A. Methodological approaches to modeling the conditions for the formation of technological losses of oil and oil products during evaporation from reservoirs // Science and technology of pipeline transport of oil and oil products. – 2020. – T. 10, No. 4. – P. 386-393. – DOI 10.28999/2541-9595-2020-10-4-386-393. – EDN MPJJBP.
  3. Korshak, A. A. Forecasting losses of oil and petroleum products from evaporation / A. A. Korshak. – Novosibirsk: Akademizdat, 2022. – 252 p. – ISBN 978-5-6048425-3-9. – EDN VCTWGX.
  4. Yuryev V.I., Petrov A.P., Sheikina V.A., Trubitsyna A.A. The problem of analytical assessment of the pressure of saturated gasoline vapors when analyzing the fire hazard of “large” breathing tanks // Problems of technospheric safety: international materials scientific and practical conference of young scientists and specialists. – 2017. – No. 6. – P. 148-153. – EDN GGKCYN.
  5. Tyutyaev, A.V. Research on the causes of ignition of a gas-air mixture of petroleum products when filling tanks with diesel fuel / A.V. Tyutyaev, A.S. Dolzhikov, I.S. Zvereva // Fundamental Research. – 2013. – No. 6-4. – pp. 873-876. – EDN QASRHB.
  6. Pleshakov, A. V. Analysis of existing means of reducing losses from evaporation in tanks / A. V. Pleshakov // Scientific electronic journal Meridian. – 2019. – No. 10(28). – pp. 150-152. – EDN YGRASX.
  7. Levitsky I. N., Silinsky A. V., Batraev A. V. Comparative analysis of methods for calculating losses of oil products from tanks // Modern fundamental and applied research. – 2017. – No. 4-1(27). – pp. 146-150. – EDN YPBVCI.
  8. Korshak, A. A. Updating the methodology for predicting losses of petroleum products from “small breathing” of tanks / A. A. Korshak, I. M. Rufanova // Problems of collection, preparation and transport of oil and petroleum products. – 2021. – No. 2(130). – P. 60-69. – DOI 10.17122/ntj-oil-2021-2-60-69. – EDN LLBBSR.
  9. Tsvinkaylo, P. S. Automation of engineering calculations / P. S. Tsvinkaylo // Economics and society. – 2022. – No. 3-1(94). – pp. 524-532. – EDN ACQWHP.
  10. Korobeinikov, A. G. Development and research of multidimensional mathematical models using computer algebra systems / A. G. Korobeinikov, A. Yu. Grishentsev. – St. Petersburg: St. Petersburg National Research University of Information Technologies, Mechanics and Optics, 2014. – 100 p. – EDN VZPXLT.
  11. Gorodnyaya, L. V. Functional programming. Paradigm, models and methods / L. V. Gorodnyaya; Russian Academy of Sciences, Siberian Branch of the Institute of Informatics Systems named after. A. P. Ershova. – Novosibirsk: Siberian Branch of the Russian Academy of Sciences, 2022. – 482 p. – ISBN 978-5-6047823-0-9. – DOI 10.53954/9785604782309. – EDN FOUPRH.
  12. Lutsenko, E. V. Knowledge engineering and intelligent systems: textbook / E. V. Lutsenko. – Krasnodar: Virtual Center for Systemic Cognitive Research “Eidos”, 2020. – 642 p. – DOI 10.13140/RG.2.2.28085.91364. – EDN GXJMAO.
  13. Tkachenko, K. Software implementation of a tool to support calculations of information characteristics of physical systems in C# and Windows Forms / K. Tkachenko // System Administrator. – 2021. – No. 12(229). – P. 34-49. – EDN AAEGZW.
  14. Smolentsev, N. K. MATLAB. Programming in Visual C#, Borland C#, JBuilder, VBA (2nd edition): Training course / N.K. Smolentsev. – Moscow: DMK Press, 2014. – 456 p. – ISBN 978-5-94074-771-0. – EDN UGOZYP.
  15. Kudrina, E. V. Fundamentals of algorithmization and programming in the C# language / E. V. Kudrina, M. V. Ogneva. – Moscow: Limited Liability Company “YURAYT Publishing House”, 2019. – 322 p. - (Professional education). – ISBN 978-5-534-10772-2. – EDN PDPFXO.
  16. Trofimov V.V., Ilyina O.P., Saitov A.V. Computer Science: Textbook in 2 volumes Ed. Professor V.V. Trofimova. – 3rd edition, revised and expanded. – Moscow: Limited Liability Company “YURAYT Publishing House”, 2017. – 406 p. – (Vocational education; 2). – ISBN 978-5-534-02519-4. – EDN ZSXFZN.
  17. Korenevsky, N. A. Automated control systems for chemical technological processes: Textbook / N. A. Korenevsky, L. P. Lazurina, L. V. Starodubtseva. – Stary Oskol: LLC “Subtle Science-Intensive Technologies”, 2021. – 244 p. – ISBN 978-5-94178-717-3. – EDN YYXULK.
  18. Ivanova, A. K. Databases. Database management systems / A.K. Ivanova, A.L. Kulentsan // Collection of scientific works of Russian universities “Problems of economics, finance and production management”. – 2023. – No. 52. – P. 110-114. – EDN GVIXFD.
  19. Lazickas, E. A. Databases and database management systems: Textbook / E. A. Lazickas, I. N. Zagumennikova, P. G. Gilevsky. – Minsk: Republican Institute of Vocational Education (RIPO), 2016. – 268 p. – ISBN 978-985-503-558-0. – EDN ZUZHKH.
  20. Okulovsky, D. V. Optimization of tank farm operation / D. V. Okulovsky, R. E. Levitin // Internauka. – 2020. – No. 47-1(176). – pp. 91-93. – EDN UQPRSD.

Information About the Authors

Pavel S. Shcherban, PhD in Engineering, Associate Professor, Baltic Federal University. I. Kant (BFU), Kaliningrad, Russia, ORCID:, e-mail:

Reda V. Abu-Hamdi, Master student, Moscow Institute of Physics and Technology. Phystech School of Applied Mathematics and Informatics (MFTI), Moscow, Russia, ORCID:, e-mail:



Total: 18
Previous month: 11
Current month: 7


Total: 20
Previous month: 10
Current month: 10