Implementation of Simulation Modeling of Single and High-Volume Machine-Building Productions

: The authors of this article analyze the existing methods and models of technological preparation of machine-building industries. The structure of a three-level simulation model with network-centric control, the structures of individual elements of the simulation model, and the process of simulation modeling are described. The criteria for choosing a rational option for the processing technological route have been determined. During this research, a simulation program was implemented in C++. It allows you to select the optimal scenario for the operation of a production site based on two criteria: time and cost. The volume of implementation is about 2 × 10 3 lines of code. A diagram of the modeling algorithm for the implemented program and a description of the classes and their interactions are given in the article. The developed simulation model was tested at a machine-building enterprise using the example of the “Pusher” part, manufactured under single-unit production conditions. The technological equipment used for the manufacture of this part was formed in the form of input data of the simulation model. The results of simulation modeling for the selected part are described. For each variant of the technological processing route, the values of variable costs and the duration of the production cycle were determined.


Introduction
The prevailing trend in modern production organization involves shifting towards sophisticated digital, intelligent production technologies, and robotic systems.Embedded within this trend is the defining direction for the future of material goods and service production, which revolves around employing production networks featuring networkcentric control [1].Examples of modern production sites are complexes of multifunctional computer numerical control (CNC) machines, 3D printers, and robots, which are integrated into a network to create conditions for effective planning and optimal implementation of parallel technological processes [2][3][4][5].
One characteristic of technological processes is their ability to adapt to small-scale or custom production in various fields such as mechanical engineering, raw material processing, assembly of multi-component products, and so forth [6,7].
Technological preparation of production (hereinafter referred to as TPP) is one of the most important stages of the process for the production of parts.The Chamber of Commerce and Industry provides options for solving problems in many areas: for instance, guaranteeing the feasibility of product design; planning technological processes and crafting technological documentation; designing and producing technological equipment; and the organization and management of the process of technological preparation of production [8].Typically, production automation and manufacturing processes involve standardizing design elements and technological procedures [9], although in situations of individual or small-scale production, this strategy might not be efficient due to the significant preparatory expenses [10].
The objective of this endeavor is to construct a simulation model aimed at diminishing the duration and labor intensity involved in the technological preparation of individual and small-scale production, thereby enhancing the efficiency of production processes.
To build a new simulation model, it is necessary to use an analysis of various technological processing routes and the corresponding technological machinery used.One of the most effective methods for assessing the many options for technological processes and selecting the most suitable one is simulation modeling of production processes and multi-criteria analysis based on a selected set of criteria [11,12].When speaking about the technological preparation of production, the authors will further refer to its model.
One of the factors for increasing the efficiency of an enterprise and its competitiveness is the automation of production processes [13].Production processes also include technological preparation of production, the automation of which through digitalization ensures not only a reduction in production preparation time, but also optimizes the overall costs of manufacturing products.In addition, such automation ensures and allows you to adapt the technological process to changes in external conditions and quickly recalculate the technological process [14].
The main approaches of modern TPP models include the theory of computational complexity, analysis of design and technological elements, analysis of the similarity of design solutions, and a scheduling system.
Complexity theory, as the basis of TPP, allows one to calculate the complexity of a system based on the complexity of the elements included in the system [14][15][16][17][18].The complexity of the system (S) can be represented as the sum of the products of the complexity of an element of a certain type (S i ) and the number of such typical elements (k i ): Along with the complexity of individual elements of the system, an assessment is made of the complexity of the relationships between them and the load on the system with connections.
This theory was used as the basis for a number of techniques aimed at increasing the efficiency of the TPP.These methods allow for, based on the analysis of time indicators, the duration of the production cycle and the frequency of inter-operational pauses, while facilitating the design of numerous technological processing routes for a product batch do not enable the estimation of production costs for manufacturing the batch [19].
The theory, based on the analysis of design and technological elements (hereinafter referred to as DTE), makes it possible to increase the efficiency of TPP through various strategies and selection of equipment [20][21][22].If we imagine the final product as a set of DTEs, i.e., an elementary surface or a set of elementary surfaces that have a common design purpose and are characterized by a common manufacturing route, then the DTE can be described by characteristic parameters.These include the diameter of the DTE, the ratio of the length of the DTE to the total axial length of the part, the location of the material for cylindrical surfaces (inside/outside), the shape of the generatrix for surfaces obtained by rotating the generatrix around the axis of rotation of the part or other features of the shape of the DTE, and the location of the DTE in detail.Assessing the degree of compliance of a cutting tool with a number of criteria allows one to set an algorithm for selecting the optimal set of tools [23].
Designs 2024, 8, 24 3 of 22 Different strategies for using a selected set of tools allow you to construct a set of possible outcomes, that is, the order in which these tools are used.Strategies take into account machine processing time and tool change time, its cost, and other costs (for example, the cost of processing an elementary surface).
Using a mathematical apparatus, a multi-criteria optimization problem was formulated, setting the significance of the criteria described above by weighting coefficients (a i ) [24]: where f i (x)-one of the criteria for the processing strategies under consideration.This technique makes it possible to construct instrumental strategies for processing DTEs and determine the parameters of the tools used in them.However, this technique does not take into account an important parameter-the accuracy of DTE processing.
The methodology for analyzing the similarity of design solutions during the technological preparation of production is based on the formalization and comparison of design and technological solutions [25][26][27].The basic concept of this technique includes a technological complex (hereinafter referred to as the T-complex), which is a set of various standard surfaces for which there is a trajectory in which these surfaces can be processed together.Such complexes correspond to certain technological methods, used separately or in combination, depending on the expected production conditions and workmanship.T-complexes are characterized by types of incoming surfaces; indicators of production and operational quality; and external attributes of the connection of this complex with the others.These connections can be represented in the form of a model-a graph, the nodes of which are the identifiers of the selected T-complexes, and the edges are the corresponding connections between them.The connection graph makes it possible to estimate constructive similarity in two ways, including by the composition of T-complex models and the structure of connections of T-complexes [28,29]: where S-the value of the selected assessment of the design similarity of the part models.Depending on the selected method, different values are associated with the parameters.The disadvantages of this approach include incomplete consideration of the design of the part and its technical parameters and the inability to evaluate many alternative pathways for technological processing.As a result, the length of time for completing the production cycle and the amount of production costs are not determined accurately.
The TPP scheduling system is based on the calculation of time intervals between already planned operations for a given set of parts planned for production in the time period under consideration [30][31][32].In the process of scheduling, the complexity of performing each operation on specific equipment is assessed: processing time for individual technological operations, as well as the total processing time for a given technological route, and equipment downtime during the processing of technological routes.Thus, based on the results of successfully implemented technological routes, it is possible to determine the most suitable equipment that has the best performance for still unprocessed routes.The criterion of minimizing service time is a solution to the problem of optimizing the production process [33]: where W ij -time interval between the end of the (j − 1)-th and the beginning of the j-th operation of the i-th part; I s -many order details S.
Planning is carried out taking into account the loading of technological equipment for processing the ith part.
Minimization of the time required to complete all work on a given set of parts is carried out using the following formula [20]: where R ik -the amount of work that needs to be performed on the i-th order detail S.
With this theory, the planning of technological processes is conducted utilizing the foundation of available data on successful implementations of similar or identical technological processes.Single and small-scale production involves the production of complex products in a small series or single copy, which makes it impossible to use this model.The use of equipment with the highest productivity for all identical technological routes does not allow for optimizing the overall duration of the production cycle, as well as the loading of all available equipment.In addition, this model does not take into account production costs.
Thus, methods based on complexity theory make it possible to design many technological processing routes, but do not allow for estimating production costs for the manufacture of a given batch of products.The methodology for analyzing design and technological elements makes it possible to determine strategies for processing DTE and the necessary parameters and tools used in them.Unfortunately, the parameters used do not take into account the accuracy of DTE processing.Methods based on the method of similarity of design solutions do not allow taking into account the design features and technical parameters of the product.In addition, the methodology does not allow us to evaluate many options for technological processing routes, as well as determine the precise length of the production cycle.The scheduling method does not allow for the correction of the start time of already existing technological routes.This constraint results in a notable limitation on the overall number of potential production scenarios and prevents the selection of the most optimal production process variant.
Therefore, the scientific novelty of this work is the construction of a simulation model that describes the method for selecting the best option for the production process of technological preparation of single and small-scale production based on multi-criteria analysis.The purpose of the article is to enhance the effectiveness of preparing technology for single and small-scale production based on simulation modeling of technological processes.The objectives of the study are to identify the main criteria for choosing a rational variant of the technological process, implement a simulation program for individual and limited-scale production with the possibility of multi-criteria analysis based on selected criteria, and test the implemented program for simulating the manufacture of the "Pusher" part.

Materials and Methods
The main task of creating a model is to choose the most suitable scenario for the operation of a production site using the provided information.
It must be taken into account that, depending on the equipment used and processing methods, the same product may have many solutions [34,35].
As part of the work, a generator of implementations of technological processes for the production of a given range of products on a given equipment (hereinafter referred to as ITTP) was built.The main task of the ITTP is to generate the largest possible number of possible implementation options at both the structural and parametric levels.
The generation of various implementations occurs by searching through all possible priorities of processing operations for given technological processes.Each technological process, as well as equipment, is given priority in the form of positive integers.Moreover, as the number increases, the priority increases.The given preferences within the technological process influence the choice of application, while the preferences regarding the equipment determine the sequence in which equipment is selected for executing the technological route.If a request with higher priority arrives while servicing an application, the current application is not interrupted, and the incoming application awaits its turn.
Likewise, priorities establish the order for choosing applications from sources, representing parts associated with specific technological processes, and dictate the sequence for their processing on designated technological equipment.
Upon completing these procedures, the ITPP yields a comprehensive array of implementations, from which suitable options must be chosen to satisfy the relevant decision-maker.
Hence, we encounter a multi-criteria problem with m objective functions delineated on a finite set D [36].
Problems of multi-criteria optimization of technological processes arise at different stages of modeling.Within the framework of a given specific structural implementation of a technological process, "continuous" problems may arise related to the multi-criteria choice in the space of such continuous variables as the processing time of parts on various machines, processing costs, cost of machine downtime, etc.Similar problems can be solved for all possible (generated) structural implementations.At the next level of modeling, when all particular implementations have been optimized according to their controllable parameters, we have a finite set of implementations and each element of this set has a vector estimate-the duration required for executing the technological process, the cost of implementation, the downtime of machines, etc.The number of structural implementations generated can be quite significant.
Thus, the task arises of automating the decision-making process for choosing a rational option for implementing a technological process in accordance with the system of preferences of the decision maker.Such problems belong to "discrete" multi-criteria selection problems.

Structure of the Simulation Model and Description of the Simulation Process
The research methodology and multi-criteria solution are based on the application of Pareto principles and the associated concepts of effective (Pareto optimal) and suboptimal solutions [40][41][42].We examine a multi-objective optimization issue of the form: Hence, m functions or functionals f i are provided, which map the set of Dn-dimensional vectors x = (x 1 , . ..,) to real numbers R. The selection of optimal values for the controlled parameters (x) is not performed across the entire n-dimensional space Rn, but solely within its subset D.
Equation ( 8) can be depicted as the optimal parameter selection problem (x 1 , . .., x n ) for a system, evaluated based on quality metrics (f 1 , . .., f m ).In this context, the constraint x ∈ D signifies our technological and other constraints that determine the feasible values for x i .In particular, the processing times for parts on machines and other equipment are obviously non-negative.Certain limitations can be established based on the existing information, which makes it possible to exclude obviously unsuccessful option x from consideration.
To address the outlined multi-criteria problem in this research, we will employ the linear convolution approach.This technique of "scalarization" (convolution) of Equation ( 8) enables us to substitute the vector optimality criterion f = (f 1 , . ..,) with a scalar criterion J: D → R. It relies on the linear amalgamation of all partial objective functionals f 1 , . .., into one [43]: Designs 2024, 8, 24 6 of 22 In this case, the weighting coefficients α i can be viewed as indicators of the relative significance of individual criterion functionals f i .Giving more weight to a criterion f j implies it should contribute more to the overall sum, hence requiring a higher value for α j .When dealing with significantly disparate criteria, determining the final set of coefficients αi is often challenging and typically relies on informal considerations, typically stemming from the outcomes of expert analysis.
The method outlined above for tackling the posed multi-criteria problem does not pinpoint a single optimal solution.Solutions associated with different sets of weighting coefficients are equally valid elements within sets of effective and suboptimal solutions.These solutions, as per the general framework of the decision problem, represent the cores of the respective binary relations (Pareto's principle and Slater's condition), thus fulfilling the requisite criteria.However, from a practical standpoint, such as in problems involving the selection of rational options for organizing technological processes, additional insights into the decision maker's preferences should be factored in.In this context, the Pareto principle merely serves to refine the pool of potential solution candidates, eliminating clearly inferior options from consideration.
Methods for selecting a single solution to a multi-criteria problem exist and are associated with the use of models and procedures designed to structure and quantitatively describe the subjective opinion of the decision maker (technologist).These methods are not discussed in this paper.

Description of the Methodology for the Simulation Modeling Process and Development of the Structure of the Simulation Model
The main task is to analyze the maximum possible number of options for processing technological routes for given products, in order to select the optimal work scenario according to two criteria: time and cost of processing.
A simulation model of technological preparation of production can be presented as a model structured into three tiers with network-centric management [43][44][45]: Level 1: Management of technological macro-operations (hereinafter referred to as MO-these are sequences of messages exchanged between the built-in controllers of firstlevel objects and second-level computers that control the implementation of the technology) of machine tools and robots.Every component of the production system is supervised, involving evaluating the present condition of each system component, verifying the accurate implementation of ongoing tasks for each component, and transmitting data indicating the beginning or completion of any actions of elements of the production system, as well as errors in their operation.At the first level, control of each element of the production system is carried out.
Level 2: Management and control of technological processes, described in the form of sequences of macro-operations: the interaction of elements of the production system is monitored, as well as the transmission of data on the state of network objects and their environment to the third level.At the second level, the interaction of elements of the production system is monitored, as well as the transmission of data on the state of network objects and their environment to the third level.
Level 3: Hierarchical optimization and planning involving multiple criteria of production processes.At the third level, the "data lake" is analyzed, on the basis of which dynamic planning of the workshop is carried out.When planning, the execution of MO by production network objects is optimized, which takes into account the possibilities of parallel execution of MO, their synchronization, areas of acceptable values of state parameters, conditions for reliable execution of the plan, etc.Since specific success criteria are defined for each operating mode of each network object, the third level must solve the problems of multi-criteria planning, as well as deriving new or changing existing control rules or assessing the state parameters of network objects.
Within the framework of this study, the third level of the model is considered, at which the modeling and analysis of various options for the process of determining the technological processing paths and the corresponding technological equipment utilized for each batch of components is conducted.The model being discussed will be realized in the form of a queuing system, abbreviated as QS [46].
QS are models of systems into which applications (requirements) are received at random times from outside or inside.Each application received into the system must be serviced by the system.The service system is a set of maintenance equipment and personnel with the appropriate organization of the maintenance process.The basic concepts of QS include [47]: A source that generates applications, and a set of sources create the input flow of applications into the system.As a rule, sources can be of two types, finite and infinite, which differ in the methods of generating requests.2.
Buffer memory (storage location of the request queue).As a rule, it is divided into two types: general and zone.The shared memory stores requests from various sources, and the order in which they are recorded is determined only by the buffering discipline.
Zone memory is a buffer divided into zones, each of which records requests only from a specific source.Thus, the quantity of zones aligns with the number of sources.

3.
Devices that service requests and create an output stream of requests after servicing.4.
Arrangement manager: sends a request for service or to buffer memory if there are no free devices and organizes the refusal or knocking out of an application from the buffer memory if there are no free places left in the buffer.

5.
Selection manager: selects the device on which applications will be processed and selects a request from the memory buffer, if it exists there.
Figure 1 shows the standard structure of the QS: technological processing paths and the corresponding technological equipment for each batch of components is conducted.The model being discussed will be rea the form of a queuing system, abbreviated as QS [46].QS are models of systems into which applications (requirements) are receive dom times from outside or inside.Each application received into the system mus viced by the system.The service system is a set of maintenance equipment and pe with the appropriate organization of the maintenance process.The basic concep include [47]: A source that generates applications, and a set of sources create the input applications into the system.As a rule, sources can be of two types, finite and which differ in the methods of generating requests.Buffer memory (storage location of the request queue).As a rule, it is divid two types: general and zone.The shared memory stores requests from sources, and the order in which they are recorded is determined only by the b discipline.Zone memory is a buffer divided into zones, each of which rec quests only from a specific source.Thus, the quantity of zones aligns with the of sources.

3.
Devices that service requests and create an output stream of requests after se 4.
Arrangement manager: sends a request for service or to buffer memory if t no free devices and organizes the refusal or knocking out of an application f buffer memory if there are no free places left in the buffer.

5.
Selection manager: selects the device on which applications will be proces selects a request from the memory buffer, if it exists there.
Figure 1 shows the standard structure of the QS: Unlike the standard structure, the following changes were made to the imple model: 1.
In the model, the sources are represented by technological processes (referr TP).TP denotes a precise sequence of tasks, starting from the delivery of raw als and tools from the warehouse to the machines, and concluding with the of finished products of specific types at the warehouse.Moreover, the dura all tasks are explicitly defined.

3.
The system operates seamlessly as it cannot bypass any stages of the process 4.
The quantity of devices in the system is contingent upon the designated techn equipment required for executing the specified technological processes.

5.
During the modeling process, applications are generated-a separate stag technological process.Simultaneously, the system handles one occurrence Unlike the standard structure, the following changes were made to the implemented model: 1.
In the model, the sources are represented by technological processes (referred to as TP).TP denotes a precise sequence of tasks, starting from the delivery of raw materials and tools from the warehouse to the machines, and concluding with the storage of finished products of specific types at the warehouse.Moreover, the durations of all tasks are explicitly defined.
The system operates seamlessly as it cannot bypass any stages of the process.4.
The quantity of devices in the system is contingent upon the designated technological equipment required for executing the specified technological processes.5.
During the modeling process, applications are generated-a separate stage of the technological process.Simultaneously, the system handles one occurrence of each technological process.Consequently, the quantity of applications within the system does not surpass the overall count of technological processes.

Result Algorithmization of Simulation Modeling
To analyze the widest range of potential technological processing routes for designated products and subsequently select the optimal operational scenario based on processing time and cost criteria, the simulation algorithm can be delineated into four primary phases: user input processing, preparatory phase, generation of implementation options, and selection of the optimal operational scenario (refer to Figures 2 and 3).

Algorithmization of Simulation Modeling
To analyze the widest range of potential technological processing routes for designated products and subsequently select the optimal operational scenario based on processing time and cost criteria, the simulation algorithm can be delineated into four primary phases: user input processing, preparatory phase, generation of implementation options, and selection of the optimal operational scenario (refer to Figures 2 and 3).A compilation of TPs along with the number of implementations for each, comprising the operation type, time required, and implementation cost.User Input: Input data are provided to the simulation model to ensure its proper functioning: 1.
A compilation of TPs along with the number of implementations for each, comprising the operation type, time required, and implementation cost.

2.
A collection of technological equipment-where one unit of a specified piece of equipment corresponds to one or more types of operations conducted.
Preparatory Stage: this involves the creation of processors and request sources, considering the user-provided information.
Designs 2024, 8, 24 9 of 22 plementation scenarios by enumerating the priorities of operations for processing given data.Priorities allow you to set the sequence of selecting applications from sources, that is, parts corresponding to certain technological processes, as well as the sequence of their processing on specified equipment (machines) [48,49].
The optimal operational scenario is determined utilizing the linear convolution technique [50,51].Main Stage: This stage encompasses the operation of the ITTP.The process of generating implementation options allows you to generate the largest number of possible implementation scenarios by enumerating the priorities of operations for processing given data.Priorities allow you to set the sequence of selecting applications from sources, that is, parts corresponding to certain technological processes, as well as the sequence of their processing on specified equipment (machines) [48,49].
The optimal operational scenario is determined utilizing the linear convolution technique [50,51].
A simulation model consists of a set of simple elements, designed as basic abstractions.Based on these concepts, it is possible to formulate a basic algorithm for the implemented component of the simulation model.To implement the TP, it is necessary to consistently perform all its stages.Each such stage can be represented in the form of a simulation model application.The application must contain the following information: 1.
The TP's identification number implemented within the system (indicated by the id_ field); 2.
The sequence number of the operation within this TP (id_); 3.
The implementation number of the TP (id_); 4.
The time when the application enters the system (birth_time_).
Fresh requests within the system await the availability of technological equipment capable of executing the relevant technological operation.Upon submitting a service request, the waiting duration (wait_time_) and the contractor's identifier (exec_id_) are logged.Consequently, for each implementation of a technological process, it becomes feasible to compute the delay time for executing technological operations.A comprehensive diagram of the Request class is depicted in Figure 4.
1.The TP s identification number implemented within the system (indicated by the id_ field); 2. The sequence number of the operation within this TP (id_); 3. The implementation number of the TP (id_); 4. The time when the application enters the system (birth_time_).
Fresh requests within the system await the availability of technological equipment capable of executing the relevant technological operation.Upon submitting a service request, the waiting duration (wait_time_) and the contractor s identifier (exec_id_) are logged.Consequently, for each implementation of a technological process, it becomes feasible to compute the delay time for executing technological operations.A comprehensive diagram of the Request class is depicted in Figure 4.
TPs are portrayed in the system as application sources, which monitor the number of implementations of a particular TP and generate a unique application identifier.The execution of the TP process is reiterated until the designated number of implementations is accomplished.As the TP stages unfold sequentially, each source furnishes only one application at a time.Consequently, the quantity of requests within the system corresponds to the number of concurrent processing operations.This pool of orders can be managed: for example, you can select orders of a certain type of operation.TPs are portrayed in the system as application sources, which monitor the number of implementations of a particular TP and generate a unique application identifier.The execution of the TP process is reiterated until the designated number of implementations is accomplished.As the TP stages unfold sequentially, each source furnishes only one application at a time.Consequently, the quantity of requests within the system corresponds to the number of concurrent processing operations.This pool of orders can be managed: for example, you can select orders of a certain type of operation.
The management of the application pool is overseen by the Device_union class.Order sources are depicted through the Device class, while TPs are portrayed by the Process class.The technological equipment is embodied by the Machine class, encompassing the following details: 1.
The designation of the process equipment (captured by the name_ attribute); 2.

The categories of operations it can execute (line_).
The resources associated with a specific piece of technological equipment are overseen by the Consumer class, which retains data regarding the most recent completed request.The information contained within the application is sufficient for determining the readiness of a particular piece of technological equipment to handle the subsequent application.
Throughout the modeling procedure, the Consumer_union class facilitates the allocation of the requisite unit of technological equipment based on the chosen request, considering the priorities and availability status of the units of technological equipment.
Below is a detailed UML diagram of technological equipment and application processors (Figure 6).The technological equipment is embodied by the Machine class, encompassing the following details: 1.
The designation of the process equipment (captured by the name_attribute); 2.
The categories of operations it can execute (line_).
The resources associated with a specific piece of technological equipment are overseen by the Consumer class, which retains data regarding the most recent completed request.The information contained within the application is sufficient for determining the readiness of a particular piece of technological equipment to handle the subsequent application.
Throughout the modeling procedure, the Consumer_union class facilitates the allocation of the requisite unit of technological equipment based on the chosen request, considering the priorities and availability status of the units of technological equipment.
Below is a detailed UML diagram of technological equipment and application processors (Figure 6).
The complete class diagram is shown in Figure 7.The complete class diagram is shown in Figure 7.

Discussion
In existing models based on queuing systems, the production manager sends requests either directly for service or to buffer memory.If there are no free devices, the dispatcher organizes a refusal or the request from the buffer memory.If there are no free

Discussion
In existing models based on queuing systems, the production manager sends requests either directly for service or to buffer memory.If there are no free devices, the dispatcher organizes a refusal or the request from the buffer memory.If there are no free places left in the buffer the selection manager selects the device on which the requests will be processed, selects the request from the memory buffer if it is there.This whole process, in turn, makes it difficult to parameterize the state of the network according to specific success criteria for each operating mode of a certain model object.In the model proposed, the quantity of devices within the system is contingent upon the specified technological equipment essential for executing the designated technological processes.Consequently, in this model, there exists no buffer memory, thereby preventing the system from bypassing individual stages of the technological process and ensuring flawless operation.Throughout the modeling phase, applications are generated as a distinct step of the technological process.Concurrently, the system handles a singular instance of each technological process.Hence, the generation of applications within the system is managed in such a manner as to not exceed the overall count of technological processes.The developed simulation model was utilized in simulating the technological preparation of production for mimicking the production of the "Pusher" component.
Table 1 describes the types of machines and their method for processing technological units.Four types of machines are involved in the processing route: • Thun-universal lathes; • Tchpu-lathes with numerical control; • TFNC-turning and milling machines with numerical control; • KSh-cylindrical grinding machines.
For each block of surfaces, the following sequence of processing of the design and technological elements included in their composition was determined: For the "Pusher" part, the following sequence of processing of surface blocks was defined: MB(1/2) → MB(2/1) → MB(1/1) → MB(2/2) → MB(4/1).Technological elements are included in the design and technological elements are processed sequentially.
The given surface blocks were divided into final operations (Table 2): Table 3 shows the relationship between processing methods and their cost and execution time: In accordance with relation (7) and Tables 2 and 3, the TP input data for the simulation model were formulated, and the input data of the simulation model for a given technological process are as follows:
-No.-number of implementations of a given TP.
The output of the simulation model is presented in MRD (Machine-readable Data) format, where: id: details concerning the application; name: TP name; num: current TP part number; step: operation number in progress; type: type of ongoing operation; birth: timestamp of when the current request entered the system; price: cost of the ongoing operation; wait: start time of processing the current request; executor: details regarding the equipment processing the application: name: name of the equipment processing the current request; num: equipment number processing the current request; execution: completion time of application processing; impl_price: cost after the application is processed.
A listing of the final schedule of the simulation model with the main set of cutting tools: As a result of simulating the production of the "Pusher" part, the optimal scenario for the operation of the production site was selected according to the two criteria of time and cost.The final duration of the production cycle was 471 working hours, and the final value of variable costs was 175,000 conventional units, which confirms that the created algorithm and simulation model are adequate under the conditions of a single production.In the future, it is planned to develop a simulation model with an alternative set of cutting tools.Typically, the choice of cutting tool affects the processing time of the part and its cost.

Conclusions
In this article, the authors solved the problem of automating the decision-making process of choosing a rational option for implementing a technological process in accordance with the system of preferences of the decision maker.Such problems belong to "discrete" multi-criteria selection problems.

1.
The manuscript scrutinized technological production preparation models outlined in both Russian and international literature.In delving into the scientific literature, models focusing on complexity theory, scrutiny of individual design and technological facets, examination of design solution similarities, and scheduling were analyzed.
Through the examination of various methods and models aimed at enhancing the efficiency of production technological preparation, the following observations emerged: Multi-criteria analysis is notably absent in the majority of production technological preparation models.The selection of optimal technological processing routes and processing strategies for individual part elements is not elaborated upon; rather, decisions are predominantly based on analyzing production cycle duration or production cost assessments.

2.
Methods for estimating the value of inter-operational breaks, based on the method of mathematical statistics, do not allow an accurate assessment of the duration of the production cycle and a highly accurate prediction of the production time of the product.

3.
Approaches relying on the similarity of design solutions during the design of a technological process fail to consider all the design intricacies of the component and its technical specifications.Moreover, they do not facilitate the assessment of numerous processing route options or the determination of production duration with high precision.4.
A number of the described methods use a production process planning method based on the analysis of identical operations that have already been implemented in the conditions of a particular enterprise.This method does not provide high accuracy in single and small-scale production types due to the wide variety of design and technological solutions.5.
In the model of technological production preparation, based on the scheduling method, when forming a production schedule, adjustments to the start time of already existing technological operations are not allowed, which significantly limits the number of simulated production scenarios.Consequently, this does not allow for choosing the most rational option for the production process.
To build a new simulation model, the authors used an analysis of various technological processing routes and the technological equipment used.One of the most effective methods for assessing multiple options for technological processes and selecting the most suitable one is simulation modeling of production processes and multi-criteria analysis based on a selected set of criteria.
Unlike the standard structure, the following changes were made to the implemented model: 1.
In the model, the sources are represented by technological processes (referred to as TP).TP embodies a strict sequence of operations, encompassing the delivery of raw materials and tools from the warehouse to the machines, culminating in the retrieval of finished products of specified types at the warehouse.Additionally, the durations of all operations are precisely defined.

2.
There is no provision for buffer memory.3.
The system operates flawlessly as it cannot bypass individual stages of the process.4.
The quantity of devices within the system is contingent upon the designated technological equipment essential for executing the specified technological processes.5.
Throughout the modeling process, applications are generated as a distinct step of the technological process.Concurrently, the system handles a singular instance of each technological process.Consequently, the number of applications within the system does not exceed the overall count of technological processes.Following the analysis, a simulation model algorithm was devised, and UML diagrams were crafted to delineate the system structure, classes, attributes, methods, and object relationships.

6.
A simulation program was developed in C++ specifically tailored for single and small-scale production, with the objective of automating the technological processing process by automatically generating a plethora of work scenarios and subsequently selecting the optimal scenario for the production site based on two criteria: time and cost.7.
Upon simulating the production of the "Pusher" component, the resultant production cycle lasted 471 working hours, with variable costs totaling 175,000 conventional units.
In the future, based on the obtained structures and algorithms of the network-centered simulation model, and created UML diagrams, it is planned to develop a new software product that will combine the functions of production preparation systems (technical processes, equipment preparation, route development, preparation of operational maps) and MES (production control, schedule tracking, planning, and optimization).The peculiarity of this development will be that it will not be a direct competitor to large narrowly focused products that have a significant cost and in most cases are not available to small and medium-sized businesses, this software product offers a private solution to a number of mechanical engineering problems with low labor intensity of use.
In the following works, the purpose of rational cutting modes will be considered, based on the calculation of the total processing error and the quality loss function according to the Taguchi theory.The issues of assembly production will also be covered.It is planned to develop a methodology for selecting a rational option for the assembly technological route, and the variables that wield the most substantial influence on them, to implement the developed simulation model: mathematical dependencies for determining the production cycle, mathematical dependencies for determining the duration of the production cycle, and mathematical dependencies for determining the amount of costs.

Figure 3 .
Figure 3. Scheme of the technology process description algorithm (TP).

Figure 3 .
Figure 3. Scheme of the technology process description algorithm (TP).

Figure 4 .
Figure 4. UML diagram of the Request class.

Figure 4 .
Figure 4. UML diagram of the Request class.

Figure 5 22 Figure 5 .
Figure 5. UML diagram of technological processes and sources of requests.

Figure 5 .
Figure 5. UML diagram of technological processes and sources of requests.

Figure 6 .
Figure 6.UML diagram of technological equipment and application processors.

Figure 6 . 22 Figure 7 .
Figure 6.UML diagram of technological equipment and application processors.Designs 2023, 7, x FOR PEER REVIEW 13 of 22

Figure 7 .
Figure 7. UML diagram of the complete simulation model.

Table 1 .
Varieties of machine tools utilized and their machining techniques.

Table 1 .
Varieties of machine tools utilized and their machining techniques.

Table 2 .
Analysis of surface blocks for final operations.

Table 3 .
Correlation of processing methods with cost and execution time.