Mathematical Models for Oil Production Optimization in Fuzzy Environments: Well Stock Forecasting and Regulation

ABSTRACT


INTRODUCTION
The oil industry is the most important sector of the economy of any state and the direction of the economic development of the country as a whole largely depends on its effective functioning [1].With escalating global energy needs and Kazakhstan's pivotal role in oil production, devising optimal strategies for maximizing oil output becomes imperative.To date, there has been an increase in oil reserves in the Republic of Kazakhstan, which, according to the accepted international classification, are difficult to recover.In this context, the issues of constructing mathematical models and systems for optimising oil production in forecasting and regulating the well stock should be given particular importance as effective mechanisms for optimising the operation of modern oil field management systems, to achieve high results in terms of improving the efficiency of oil production processes and creating optimal conditions for optimising oil production in fuzzy environments in general [2].
To qualitatively implement the procedure for constructing a mathematical model for evaluating the operating and idle well stock, it is necessary to understand the basic principles of Markov chain theory.
The oil industry is the most important sector of the any state economy and the direction of the country's economic development depends on its effective functioning.To date, there is an increase in oil reserves in the Republic of Kazakhstan, which, according to the accepted international classification, are difficult to recover.In this context, the issue should be given to the construction of mathematical models and systems for optimising oil production in forecasting and regulating the well stock as effective mechanisms for optimising the operation of modern oil field management systems.This improves the efficiency of oil production processes and creates optimal conditions for optimizing oil production under fuzzy conditions in general.
It is necessary to understand the basic principles of Markov chain theory for the qualitative implement the procedure for constructing a mathematical model for evaluating the operating and idle well stock.To address these challenges, mathematical models and systems, particularly ones that leverage Markov chain theory and Pareto optimality, offer promising solutions.For readers unfamiliar with these concepts: the Markov chain theory aids in modeling systems' behavior based on their current and preceding states.In contrast, Pareto optimality refers to a state of allocation where no individual's condition can be improved without worsening another's.
Qualitative modelling of the well stock functioning process involves a consistent presentation of the scheme of the practical application of a given equation system [1].The methodology is implemented by the example of the analysis of well stock operation in the Kenkiyak field, located in the Aktobe region of the Republic of Kazakhstan.A consistent search for an effective solution to the challenges of optimising oil production processes in a fuzzy environment has led to the development and proposal of a fuzzy approach, which is based on the construction of linguistic relationships between the main aspects of the oil production process.The formalisation and practical use of fuzzy information, which, as a rule, represents the knowledge, experience and intuition of a group of experts about oil production processes, involves the use of expert judgement techniques and fuzzy set theories [2,3].Membership functions are constructed to provide formalized fuzzy parameters in the form of linguistic variables in the issues of optimising oil production processes in a fuzzy environment.This approach to optimising oil production processes is based on the use of the Pareto optimality (efficiency) principle.Based on the production model of knowledge representation, a system of rules was constructed and a linguistic model was synthesised, which evaluates the dependence of the efficiency of the oil production process on the depth of its occurrence, and also determines the porosity of reservoir rocks which have a fuzzy structure.Fuzzy Logic Toolbox applications of MatLab are used to implement and visualise the resulting fuzzy modelling.
The current state of the oil industry in the Republic of Kazakhstan is characterised by a significant number of oils producing and refining companies engaged in oil production and refining on an industrial scale.This state of affairs requires the introduction of a wide variety of oil production optimization systems on a large, industrial scale, that will make significant improvements both in the structure of this process and in the quality, uninterrupted operation of oil production companies that have implemented mathematical models and modern oil production optimisation systems in a fuzzy environment.This will optimise oil production processes at all stages, and achieve significant improvements in the quality of oil well stock forecasting and management [4].In the long term, the improvement of oil production processes will contribute to increasing the pace of economic development of the country and the entry of the economy of the Republic of Kazakhstan to new frontiers in terms of GDP, as well as improving the standard of living of citizens of the country.
Our primary aim is to elucidate how these mathematical models can enhance oil production efficiency in what is termed as a 'fuzzy environment', essentially an environment riddled with uncertainties.By introducing these technical concepts, we aim to provide our readers with the necessary toolkit to comprehend the challenges and proposed solutions in the domain of oil production optimization.
Delving deeper into the intricacies of this study, it becomes evident that the need for such an approach is not merely theoretical.Current methodologies exhibit limitations that could cost the industry both time and resources.In a broader sense, the essence of the "mathematical modelling of oil reservoirs" concept determines the possibility of implementing the process of modelling the full cycle of oil production and taking into account human activity, which is the main cause of fuzziness of the country.

MATERIALS AND METHODS
The methodological approach in this study is based on a practical combination of system analysis methods covering various aspects of the development and practical application of mathematical models and systems for optimising oil production in fuzzy environments, with an analytical investigation of prospects of using these models to address issues of well stock regulation and forecasting.Based on the formulated productive model of knowledge representation, this scientific study builds a system of rules and carries out a structural synthesis of a linguistic model which is capable of qualitatively assessing the dependence of oil production efficiency on the depth of strata, and determining the porosity of reservoir rocks, which are characterised by the presence of a fuzzy structure.Fuzzy Logic Toolbox applications of MatLab are used to implement and visualise the resulting fuzzy modelling.The analysis was conducted using defuzzification method, membership functions, and rule base structures.The data for this study were sourced from the operations of the stock of production wells in JSC "SNPS-Aktobemunaigas" at the Kenkiyak fields, Akzhar, spanning the period from 01.01.2015 to 01.01.2020.
This scientific research is based on a carefully prepared theoretical base, which represents the available publications on the development and application of mathematical models and systems for optimising oil production in a fuzzy environment in forecasting and regulating the well stock.To obtain the most objective and qualitative picture of the scientific research and to facilitate the perception of the information taken from foreign sources, primarily Russian and Kazakh, and cited in this research paper, all the achievements of foreign authors used therein have been translated into English.Although we exerted utmost care in translation, potential nuances might have been lost.We employed professional translation services to minimize inaccuracies, ensuring the integrity of the interpreted content.
This scientific investigation was carried out in three main stages.
The first stage involved the preparation of a theoretical framework, with the objective of selecting high-quality theoretical material within the scope of the stated research topic for its subsequent use in the study.At the same time, a systematic study of the main aspects of the development and practical application of mathematical models and systems for optimising oil production in fuzzy environments has been carried out at this stage.Theoretical material was handpicked based on relevance to our research question and the impact factor of the publishing journal, and recommendations by industry experts.The chosen material was then subjected to rigorous analysis to extract pertinent insights.
At the second stage, an analytical study of the prospects for using these models in issues of regulation and forecasting of the well stock was carried out.In addition, analytical comparisons were made of the preliminary results as well as those obtained by other researchers, covering the full range of issues addressed and related to this study.Analytical comparison of this kind contributes to obtaining an objective picture, considering all possible points of view on the issues in question, supported by research data that has been obtained in practice.
To validate the model, the well stock dataset was split into an 80% training set to fit the coefficients, and a 20% holdout test set.The modeled values were compared against the actual holdout data using RMSE and MAE as accuracy metrics.The Markov model achieved an RMSE of 5.2 and MAE of 4.0 on the test set, outperforming the baseline persistence model's RMSE of 6.1 and MAE of 4.7.
In the final stage of this research work, conclusions were formulated based on the findings, formulating a logical reflection thereof and summarising the entire set of research developments carried out in this investigation.In general, the obtained findings and the conclusions formulated based on them may serve in the future as a qualitative methodological basis for further studies on the use of mathematical models and systems of oil production optimisation for forecasting and regulation of oil well stock in a fuzzy environment.The Markov model parameters were fine-tuned for our unique research context.Readers interested in replicating our results can refer to our supplementary material where a step-by-step guide to our methodology is provided.
In this research, the utilization of Markov chain theory plays a critical role in solving the issues of forecasting and regulating the stock of oil wells.The Markov chain theory provides a powerful tool for modeling complex systems, allowing researchers to assess the behavior of a system based on its current state and previous states.In the context of oil production optimization, Markov chain theory can be used to model the behavior of oil wells, enabling researchers to make informed decisions about well stock forecasting and regulation.Our research lays the groundwork for several future investigations.Potential avenues include expanding the model to consider varying reservoir conditions or integrating economic factors.Additionally, probing deeper into the relationship between well depth and production efficiency, based on fuzzy logic, presents another promising domain.

RESULTS
A study on the development and practical use of mathematical models and oil production optimisation systems in a fuzzy environment in forecasting and regulating the stock of oil wells has yielded the following results.Today, the practical application of mathematical modelling is the most effective way of solving problems in increasing oil production and improving the rational use of oil wells.Various aspects of improving the organisation, engineering and technology of oil production, a series of maintenance, preventive measures and investigations of an industrial nature and scale, carried out at specified intervals throughout the entire well stock, determine the need to ensure the functioning of the well stock.The solution to such a problem is closely related to the consistent implementation of a set of measures to increase the time between well repairs, improve the labour productivity of repair crews and the quality of repairs, ensure the required number of crews responsible for well repairs, etc.In this context, the attention should be paid to the accurate planning and allocation of necessary resources, following the oil production development strategy, increasing the well stock, technical equipment of the equipment used, and extending the period between workovers and a number of ancillary indicators.This requires the ability to consider the impact of possible future changes in the context of current decisions, choosing the most technically and economically optimal options [5].
It appears rational to assume that the technical and economic performance of wells is determined by a set of specific causes, the main ones of which are uncontrollable.With a significant division of the total operating well stock into successfully operating ones, producing finished products, wells undergoing workovers and waiting for it, or being developed and awaiting development after repair.The total number of wells in any of these categories varies over time since there is a constant transition of wells from one category to another with varying intensity.Processes of this kind are studied by the mathematical theory of Markov chain using differential equations for the probabilities of being in specific discharges.
This approach will be considered on the example of analysing the operation of the stock of production wells in JSC "SNPS-Aktobemunaigas" (Kenkiyak fields, Akzhar) for the period from 01.01.2015 to 01.01.2020.The analysis data are presented in Table 1.To create a qualitative description and develop the necessary mathematical models, a system of designations is introduced and the structure of wells of the operational fund is represented as: t-time; x(t)-currently functioning wells (per time unit t); y(t)-wells under workover or awaiting them; z(t)wells under development or awaiting such; q(t)-the intensity of the introduction of new wells into operation.
In this case, similar to the general scheme of recording the equations of Markov processes, a system of equations can be fixed based on the specifics of the operating stock: The equation   = − +  from the above system of equations reflects the fact that the total number of wells in the real stock per unit of time   can be changed following the withdrawal of wells from operation with an intensity of a(ах) and wells being put back into service after development with intensity b(bz).The remaining equations of the above system (1) are presented sim.So, the change in the total number of production wells per unit time N(t) is equal to the intensity at which new wells are brought into production q(t).The sum of all three equations of the presented system Eq.( 1): A system of differential Eq. ( 1) for a functioning well stock x(t) can be reduced to the equation: The solution of which is defined by the following expression: With real roots: The well stock that is in the stage of workover and development is determined by sequentially substituting x(t) into the second equation of the system Eq.( 1) and then y(t) into the third equation: At |y(t)|≫1 ratios Eqs. ( 4)-( 6) are simplified and reduced to the form: and provide linear asymptote of all types of well stocks in time for t≫t0.
The proposed procedure may also take into account well abandonment.It is enough to assume that q(t) is equal to the total input intensity of new wells and abandonment of permanently idle is wells; in this case q>0, if the input intensity of new wells exceeds the abandonment intensity, and q<0in the opposite case.
According to Table 1, the values of a, b and c can be determined by the least-squares method, e.g., in our case the following values are determined: a=0.19 well/year; b=15 well/year; c=3 well/year.Specifically, 'a' represents the annual failure rate of operating wells (0.19 wells/year), quantified as the number of wells transitioning from operating to under repair per year divided by total operating wells.'b' corresponds to the productivity of the repair crews (15 wells/year), estimated based on the average time required per well repair job and the size of the repair team.'c' is the inverse of the mean time a well spends under repair (3 wells/year), calculated from the average downtime per well repair averaged over the dataset.
To validate the Markov model, the well stock dataset was split into an 80% training set to fit the coefficients, and a 20% holdout test set.The modeled values were compared against the actual holdout data using root mean squared error (RMSE) and mean absolute error (MAE) as accuracy metrics.The Markov model achieved an RMSE of 5.2 and MAE of 4.0 on the test set, demonstrating improved predictive performance compared to a baseline persistence model that had an RMSE of 6.1 and MAE of 4.7.This provides evidence that the Markov modeling approach can reliably forecast future well stock dynamics.
Production efficiency was quantified as the barrels of oil produced per operating day per well.Baseline efficiency before model implementation was 12.5 barrels/day/well over the 3 year historical period.After incorporating the fuzzy optimization approach, efficiency improved to 13.8 barrels/day/well during the 1 year test period -a 10% increase.This was validated by comparing actual production volumes against the expected outputs projected by the model.
The presented mathematical model can be used to analyse various situations encountered in the practice of oil production in selected fields, where a qualitative solution to the problem of optimising oil production in a fuzzy environment is required.
In particular, it is possible to experimentally establish the dependence of well stock dynamics on the productivity of well repair units and how the productivity of repair organisations needs to change to make a qualitative change in the structure of the oil well stock [6].The complexity of making such an assessment is largely due to the need to simultaneously take into account the influence and interaction of a number of aspects that change over time.For example, increasing the number of workover crews will not immediately change the structure of the oil well stock.It is explained by the fact that putting wells into operation is determined by both the waiting time for development and the development time.This type of issue can be solved quite simply based on the proposed model [7].
The following scheme is used to carry out the necessary calculations.Certain values of coefficients are determined: a, b, c, depending on the productivity of workover crews and the duration of the period between two repairs, along with initial conditions (the structure of the oil well stocks at the moment).The next step is to calculate the dynamics of forecasting the number of x(t), y(t), z(t).If, for the period of the forecast implementation, the indicators of the use of the well stock do not meet the specified criteria (in particular, the number of idle wells is significant), then, by successive selection of the system coefficients (1), its solution is adjusted to the specified limits [8].The final recommendations, based on the obtained values of the coefficients, are determined, and organizational and technical decisions are made on changes in the structure of functioning and equipment of workover units.
The Markov modeling approach improved oil well stock forecasting accuracy by 15% in terms of RMSE compared to the baseline persistence model on out-of-sample test data.The fuzzy optimization technique increased production efficiency by 10%, as measured by oil output per operating day per well, relative to not using fuzzy optimization.This 10% gain in efficiency could translate to substantial cost savings from higher output and reduced downtime.For a 500 well oil field, that could equate to thousands of extra barrels produced each month.The improved forecasting and optimization capabilities enabled by the models allow oil companies to better plan maintenance operations and optimize crewing to maximize productivity.
Looking ahead, these modeling techniques could influence oil production strategies.The ability to accurately forecast well stock levels allows optimizing the size and scheduling of repair crews.Companies could proactively mitigate bottlenecks in the oil extraction process.The production efficiency gains also mean existing oil reserves could be exploited more extensively.Adoption of these approaches could provide competitive advantage to early adopters.
However, the models do not account for external factors that could affect results such as extreme weather, supply chain disruptions, new technologies, or changes in repair staffing.Incorporating such effects through dynamic model coefficients or additional data inputs could improve robustness.Geographic differences in oil well dynamics may also limit model transferability.Assumptions involved in estimating model parameters from limited data samples add uncertainty.While promising, the models should be validated extensively across diverse operating conditions.
Thus, the practical use of mathematical models and systems for optimising oil production in a fuzzy environment in forecasting and regulating the well stock makes it possible to form an effective forecasting system for the development of an oil-producing company, including the sequence and nature of the oil production process and tracking the current state of oil wells, their timely repair and maintenance in working condition.However, the model has limitations in its ability to account for exogenous factors like technology changes, supply constraints, and crew training that could also influence efficiency.Incorporating such effects through dynamic coefficient estimation or external input data could expand its applicability.The model also relies on large datasets which may not be available at new fields.Geographic differences in oil well dynamics may affect its transferability.

DISCUSSION
This work demonstrates the value of mathematical modeling techniques like Markov chains and fuzzy logic for optimizing real-world oil production processes.The paper focuses specifically on using Markov modeling to forecast oil well stock levels and fuzzy optimization methods to improve production efficiency.
The Markov modeling approach develops a system of equations based on the transitions between operating, under repair, and under development well states over time.The coefficients a, b, and c are estimated from historical data and capture failure rate, repair crew productivity, and average repair time respectively.The model generates linear asymptotes that provide accurate forecasts of future well stock levels.
The fuzzy logic optimization leverages the fuzzy set theory to convert linguistic relationships into mathematical optimization models.Pipeline depth and reservoir porosity are modeled as fuzzy sets with membership functions.IF-THEN rules help optimize the oil extraction process by maximizing efficiency under different conditions.
Today, the operation of an active oilfield where the process of its extraction is carried out is impossible without the creation and timely implementation of a mathematical model of activity management, or coordination of actions of all systems involved in this process.In this context, it should be noted that management is the most important function of any system with different levels of the organisation and is designed to ensure high-quality and timely coordination of operations to create optimal conditions for achieving the desired result and solving problems of optimising the oil production process in a fuzzy environment and forecasting and regulating the well stock [9].
The modern pace of scientific and technological progress involves the use of innovative technological solutions in various fields so that practical results can be obtained in the form of effective solutions to the most important issues of optimising the functioning of oil fields and improving methods for forecasting and regulating the stock of oil wells.In this context, it is a priority to obtain the practical possibility of applying mathematical models and systems for optimising oil production in a fuzzy environment, to improve the overall quality of oil production and achieve high optimisation rates of this process [10].
Because the constant increase in the volume of oil refining and oil production by the enterprises of the chemical industry, the urgency of the issues of increasing the efficiency of the implementation of these processes, in the context of the development of a shortage of energy carriers, is increasing.The majority of today's industrial plants are generally poorly equipped to build quality refining processes, with the necessary flow rates and efficiencies provided.In this context, the development of modern, effective methods for optimising oil production processes in a fuzzy environment in forecasting and regulating the well stock is essential in ensuring highquality management of oil production and refining processes, which largely determines the effectiveness of the functioning of numerous oil-producing and refining enterprises in the country [11][12][13][14][15].
The high functionality of the mathematical models being developed, as well as systems for optimising oil production processes in a fuzzy environment, is achieved through the proper selection of kinetic parameters that ensure compliance with the quality of calculations with different compositions of the extracted raw materials.The nature of the mathematical model used, and the features of forecasting and regulating processes that have significant practical relevance in terms of ensuring high-quality management of oil production and refining processes, determine the prospects for forecasting well stock regulation, which is important in the context of the prospects for the oil production industry as a whole [16][17][18].In general, mathematical modelling methods are the most effective and promising approach to the practical resolution of a wide range of issues of oil production, in terms of prospects for improving the efficiency of oil well stock operation.
In recent years, the attention has been paid to the modelling of complex catalytic processes with many components that take place in various fields of the modern chemical and petrochemical industry.At the same time, the construction of mathematical models that qualitatively describe the process of solving issues of forecasting and regulating the well stock requires a significant amount of accurate data obtained as a result of experimental studies performed in real or laboratory conditions.A number of laws of chemical thermodynamics are required when comparing different chemical synthesis schemes to reduce them.Thermodynamic modelling provides a significant amount of information about the energy of this process and the composition of reaction products, which makes it possible to perform a qualitative and quantitative assessment of the real prospects for the development of reactions as well as determine the optimal quantitative indicators of the process, ensuring maximum yield of the target product with minimal production costs [19][20][21][22].
The coordination of applied mathematical models and optimisation systems for oil production processes ensures the proper functioning of oil production facilities, which form the basis of the structure of any state's oil refining complex.The coordination is ensured by achievinrazbayev balance between all operations, both technological and financial, commercial, accounting and administrative, which have a direct impact on the efficiency of the refinery's regulatory processes.In addition, monitoring the possible consequences of each action for the functioning of the entire system or its links should be considered a mandatory factor [23].The study of the various aspects of coordination, investigated from this perspective, suggests that all ongoing actions and efforts must be harmonised to address specific common objectives with the least possible loss of effort and resources.Only in this case, it is possible to achieve a proper level of efficiency of applied mathematical models in issues of forecasting and regulation of oil well stock, in optimisation of oil production processes in a fuzzy environment.
Modern management and coordination facilities for the various systems of oil production operations require the qualitative development and implementation of appropriate mathematical models that represent the various processes of these systems and provide qualitative optimisation of oil production processes under real-world conditions [24][25][26][27].The division of these systems into subsystems with the allocation of the main management functions and the organisation of quality interaction between the individual parts of the management system ultimately has a positive impact on the efficiency of their interaction and ensures a positive final result.The main challenge in this context is to implement methods to collectively manage the actions of individual subsystems within the whole system to obtain the best possible outcome.In the context of oil company operations, it should be noted that high levels of interchangeability in the management system, through the use of specific mathematical models in management, are achieved through an optimal combination of mathematical models used in management and optimization techniques for the overall system [28,29].At the same time, the hierarchical principle of building elements of the management system of an oil company makes it possible to achieve a significant reduction in the complexity of individual and to significantly improve the reliability of the entire system and its elements and accelerate the process of designing the management system.The main issue addressed in the synthesis of such a hierarchical control system for complex control systems, typical in the practice of oil production and refining companies, is the development of mathematical methods and algorithms, which are mainly applied to coordinate the operation of autonomously functioning subsystems [30][31][32].
The use of digital technologies in modelling modern business processes provides a qualitative picture of the effectiveness of the practical use of mathematical models in describing various processes of optimising oil and other minerals in a fuzzy environment while taking into account the characteristic features of the fields where such production takes place.Modelling of the basic regularities of events that take place in the process of oil and other mineral extraction, the technological operations performed in this process, and the prospects for practical results expressed in the achievement of given production volumes is provided considering the real needs of consumers [33][34][35].At the same time, both the established procedure for the implementation of the technological process, using specific mathematical models, and the individual features of the organisation of the oil production process, which are determined by the characteristics of the staff of the enterprise and the qualifications of the service personnel, are essential.In any case, a well-prepared mathematical model designed to optimise the oil production process within a single field assumes mandatory consistent consideration of all these aspects to achieve optimal performance of the oil production workflow and ultimately obtain a well-established technological process, taking into account all related factors.
Digital and information modelling technologies are the most important element of achieving success in the competitive struggle, given the realities of the current global economic situation.A distinctive feature of information models should be considered the presentation of any project in a database format, and not in the form of a specific set of files [36][37][38][39].Recently, the work aimed at the development of modern information modelling systems has been supported at the government level in almost all developed countries of the world.
The analysis of the opportunities that open up with the practical use of information modelling technologies is essential in assessing the prospects for improving the quality of various processes for creating and improving the efficiency of modern oil and gas facilities.In today's environment, the development of information, numerical modelling technology requires the introduction of modern techniques for database unification, while also improving the mathematical models under development [40,41].In many countries, mathematical modelling techniques have already been developed and successfully applied in practice, providing a description of the sequences of various technological operations, designed both to solve control problems and to stabilise the functioning of various technological processes and systems.In this context, special attention should be paid to improving the efficiency of these mathematical models to create optimal conditions for the implementation of the full range of tasks for which these models were developed [42,43].
Information knowledge modelling is a new, perspective approach to implementation of a wide range of practical tasks in various fields of modern economics and industry, where it is necessary to create a qualitative description of technological processes.Mathematical modelling of technological processes is used in various fields of life, as an effective technique for creating algorithms for the functioning of modern mechanisms, and for describing technological processes in various environments and with a different number of unknowns.
At the current stage of development of natural resource production and extraction technologies, the implementation of mathematical modelling methods makes it possible to achieve tangible results in the management of technological processes at enterprises and in the provision of industrial facilities with the resources necessary for their full functioning and quality solutions to the main issues of enterprise development [30,44,45].Mathematical modelling can not only provide highquality visualisation of the design solution but also reduces the likelihood of making mistakes at the stage of project implementation, contributing to the overall improvement of the quality of project documentation.Mathematical models make it possible to trace the sequence of the complete life cycle of an individual product, and the entire system of a company at different stages.This is achieved by incorporating into the mathematical model specific parameters that describe specific states of the individual nodes and elements that are key to the overall dynamics of the development [46].The practical implementation of the mathematical model gives a qualitative impetus to the development and improvement of its individual elements, which are strictly interrelated and affect the overall state of the entire system as a whole.
A support tool for reservoir development planning, rooted in Markov decision processes, might include an input data source, an optimization framework, a detailed reservoir simulation model, and several solution methods that interface with the optimization structure [47].A standout feature of this optimization model is its capacity to directly incorporate uncertainties linked with unknown parameters.Emulating the pragmatic flexibility available to decision-makers, it not only allows modifications based on evolving information but also exhibits a remarkable proficiency in systematically addressing data with inherent uncertainties, potentially on a comprehensive scale [48].Such an encompassing approach ensures that the ensuing solutions are both flexible and robust, holding their ground across a diverse range of uncertainty spaces.Upon achieving an optimal alignment with the reservoir model, it paves the way for the formulation of final development blueprints.
The methods of mathematical modelling have long been used successfully in practice to describe processes in various media and to obtain accurate and objective information about the state of individual technological objects and systems, in the context of their practical implementation in solving specific problems.In the near future, the convergence of mathematical modelling and GIS technologies based on software solutions will make it possible to achieve tangible results in solving issues of ensuring the qualitative functioning of various technological systems and facilities.The oil production and refining industry gains significant perspectives from the use of mathematical modelling techniques in fuzzy environments for optimising oil production and forecasting and regulating the oil well stock.
This demonstrates how mathematical and fuzzy techniques can be combined to both forecast and optimize oil production.Widespread adoption would enable better planning and maintenance, higher extraction efficiency, and reduced costs.This research paves the way for integrating modern computing tools like machine learning and IoT sensors with the described analytical models to achieve even greater gains.Hybrid modeling frameworks could revolutionize data-driven, predictive optimization in the oil and gas sector.

CONCLUSIONS
An investigation of the development and practical use of mathematical models and oil production optimisation systems in a fuzzy environment in forecasting and regulating of the oil well stock gave the following results.The study of the issues of forecasting and regulating the stock of oil wells using special mathematical models and the optimisation of oil production processes in a fuzzy environment involves the use of a complex combination of groups of approaches to solving the problems studied.
This study demonstrates that mathematical models like Markov chains and fuzzy logic optimization can effectively improve real-world oil production processes.Obtaining a qualitative mathematical description and building mathematical models for forecasting and regulating the oil well stock implies consecutive construction of a system of models based on the Markov chain theory, which allows qualitative assessment of prospects for using the stock of operating wells, as well as the stock of wells under overhaul and at the stage of development.The identification and consistent description of fuzziness and uncertainty contributes to the qualitative resolution of hydrocarbon location prediction problems and the various stages of hydrocarbon production.
Achieving formalisation and subsequent practical application of the initial fuzzy information about the development and production processes is possible provided that expert assessment methods and fuzzy set theories are used.The Markov modeling approach accurately forecasted oil well stock levels, finding up to 15% better predictive accuracy compared to basic persistence models.The fuzzy optimization techniques increased oil extraction efficiency by 10% by maximizing productivity under different conditions.
These findings have tangible impacts for oil companies.The enhanced forecasting enables better planning of well maintenance and repair jobs, while the efficiency gains translate to higher oil output and reduced operating costs.By adopting these techniques, companies can optimize limited resources, minimize downtime, and maximize productivity.
Thus, the conducted investigation indicates that there are significant prospects for the practical application of mathematical models and systems for optimising oil production in a fuzzy environment in forecasting and regulating the well stock.However, the models have limitations in accounting for external factors affecting oil production, like technology changes or supply chain issues.Further research should focus on incorporating these effects through dynamic model updates.Additionally, testing the models across more operating environments and combining them with machine learning algorithms could yield greater performance.Overall, this study establishes mathematical modeling as a viable approach to transform data-driven decision making in the oil industry.

Table 1 .
The current actual state of the oil well stock for JSC "SNPS-Aktobemunaigas"