Method and processor for replacing components in a compressor based on reliability

By judging the spare parts condition and average failure rate of compressor components, and using the genetic algorithm optimization model to determine the optimal ordering and replacement time of spare parts, the problem of high cost of compressor spare parts inventory management is solved, and the economy of compressor components is realized Run efficiently and efficiently.

CN117592594BActive Publication Date: 2024-12-20CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311393809.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2024-12-20
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

In the prior art, the inventory management cost of compressor spare parts is too high, mainly due to the redundant or insufficient number of spare parts and the unreasonable procurement time and replacement time.

Method used

By judging whether there are spare parts for the compressor components, determining the reliability based on the average failure rate, and using genetic algorithms to optimize the model to determine the optimal ordering and replacement time for spare parts, ensuring that spare parts are purchased on demand and reducing inventory management costs.

Benefits of technology

Through the intelligent optimization model, the optimal ordering and replacement time for spare parts is determined, and the on-demand procurement of spare parts of compressor parts is realized, which significantly reduces the inventory management cost of spare parts and ensures the operating efficiency and economicality of the compressor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117592594B_ABST
    Figure CN117592594B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method and processor for replacing components in a compressor based on reliability. The method includes: for any component in the compressor, after the compressor starts to run, determining whether there are spare parts corresponding to the component stored in the spare parts storage warehouse; if there are no spare parts corresponding to the component stored in the spare parts storage warehouse, determining the average failure rate of the compressor according to the average failure interval of the compressor; determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor; inputting the reliability of each moment into the intelligent optimization model, so as to solve the intelligent optimization model through a genetic algorithm to obtain the best ordering time and the best replacement time of the spare parts; purchasing spare parts according to the best ordering time, and replacing the components with spare parts according to the best replacement time, so as to reduce the inventory management cost of spare parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device management, and in particular to a method, storage medium and processor for replacing components in a compressor based on reliability. Background Art

[0002] Centrifugal compressors are the "heart" of natural gas pipeline transportation. Their stable operation and safety and reliability are crucial to ensuring the safety of gas supply in the pipeline system. At present, in terms of spare parts inventory management for compressor components, pipeline companies often adopt a relatively conservative spare parts inventory management method, that is, regardless of the price and frequency of use of spare parts, they are reserved, and the number of spare parts is sufficient, so that spare parts can be used for replacement and maintenance when compressor parts fail. However, if this method is used, if the number of spare parts is redundant or insufficient, and the procurement and replacement time of spare parts is unreasonable, the inventory management cost of spare parts will be too high. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, storage medium and processor for replacing components in a compressor based on reliability, so as to solve the problem of excessively high inventory management costs of compressor spare parts in the prior art.

[0004] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for replacing components in a compressor based on reliability, comprising:

[0005] For any component in the compressor, after the compressor starts to run, it is determined whether a spare part corresponding to the component is stored in the spare parts storage warehouse;

[0006] In the case where there are no spare parts corresponding to the components stored in the spare parts storage warehouse, determining the average failure rate of the compressor according to the average failure interval time of the compressor;

[0007] Determine the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor;

[0008] Input the reliability at each moment into the intelligent optimization model, and solve the intelligent optimization model through genetic algorithm to obtain the optimal ordering time and optimal replacement time of spare parts;

[0009] Spare parts are purchased according to the optimal ordering time, and components are replaced with spare parts according to the optimal replacement time.

[0010] In an embodiment of the present application, the method also includes: before inputting the reliability at each moment into the intelligent optimization model, constructing an intelligent optimization model based on the objective function and constraints; wherein the constraints include the reliability constraint of the compressor and the maintenance time constraint of the spare parts, and the objective function is constructed based on the expected maintenance time of the components and the expected maintenance cost within the expected maintenance time; the expected maintenance cost includes the total planned replacement cost and the total failure replacement cost of the components, as well as the delivery time of the spare parts and the total holding cost and total shortage cost generated by the spare parts arriving at the spare parts storage warehouse before and after the failure of the components.

[0011] In the embodiment of the present application, the expression of the reliability constraint is shown in formula (1):

[0012] t r ≥t o +T (1)

[0013] Among them, t r refers to the spare parts replacement time of the spare parts, t0 refers to the spare parts ordering time of the spare parts, and T refers to the delivery time of the spare parts;

[0014] The expression of maintenance time constraint is shown in formula (2):

[0015] R t ≥R s (2)

[0016] R t It refers to the reliability of the compressor at time t, R s Refers to the target reliability of the compressor.

[0017] In the embodiment of the present application, the expression of the objective function is shown in formula (3):

[0018]

[0019] Where C refers to the average cost rate per unit time required to replace components in the compressor, E(C) refers to the expected maintenance cost of components in the compressor, and E(L) refers to the expected maintenance time of components in the compressor.

[0020] In the embodiment of the present application, the expression of the expected maintenance cost is shown in formula (4):

[0021] E(C)=C1+C2+C3+C4 (4)

[0022] Wherein, E(C) refers to the expected maintenance cost of the components in the compressor, C1 refers to the total planned replacement cost of the components in the compressor, C2 is the total replacement cost of the failed components in the compressor, C3 is the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, and C4 is the total holding cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse before the components fail.

[0023] In the embodiment of the present application, the expression of the planned total replacement cost is shown in formula (5):

[0024] C1=c p R(t r ) (5)

[0025] Where C1 is the total planned replacement cost of the compressor components, c p It refers to the unit planned replacement cost of the components in the compressor, R(t r ) refers to the time t when the compressor is replaced with spare parts r The reliability function of

[0026] The total cost of failure replacement is expressed as formula (6):

[0027] C2=c f F(t r ) (6)

[0028] Where C2 refers to the total cost of replacing failed components in the compressor, c p It refers to the unit failure replacement cost of the components in the compressor, F(t r ) refers to the time t when the compressor is replaced with spare parts r The cumulative distribution function, F(t r )=1-R(t r );

[0029] The expression of total shortage cost is shown in formula (7):

[0030]

[0031] Among them, C3 refers to the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, k s It refers to the unit shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail. t0 refers to the spare parts ordering time, T refers to the delivery time of the spare parts, and F(t) refers to the cumulative distribution function of the partial failure time of the compressor. It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T;

[0032] The expression of total holding cost is shown in formula (8):

[0033]

[0034] Among them, C4 is the total holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, k refers to the unit holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, Refers to the reliability function R(t) from time t0+T to spare part replacement time t r The value obtained after integration.

[0035] In the embodiment of the present application, the expression of the expected maintenance duration is shown in formula (9):

[0036]

[0037] Where E(L) is the expected maintenance time of the components in the compressor, t r Refers to the spare parts replacement time of spare parts. It refers to the reliability function R(t) from time 0 to spare part replacement time t r The value obtained after integration, t0 refers to the spare parts ordering time, T refers to the spare parts delivery time, F(t) refers to the cumulative distribution function of the partial failure time of the compressor, It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T.

[0038] In the embodiment of the present application, determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor includes: determining the reliability of the compressor at each moment from the start of operation based on the reliability function of the compressor, wherein the expression of the reliability function is shown in formula (10):

[0039] R(t)=e -λt (10)

[0040] Wherein, R(t) refers to the reliability function of the compressor, t refers to each moment from the start of operation, and λ refers to the average failure rate of the compressor.

[0041] A second aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned reliability-based method for replacing components in a compressor.

[0042] A third aspect of the present application provides a processor configured to execute the above-mentioned reliability-based method for replacing components in a compressor.

[0043] Through the above technical scheme, for any component in the compressor, after the compressor starts to run, it is determined whether the spare parts corresponding to the component are stored in the spare parts storage warehouse; when the spare parts corresponding to the component are not stored in the spare parts storage warehouse, the average failure rate of the compressor is determined according to the average failure interval time of the compressor; the reliability of the compressor at each moment from the start of operation is determined according to the average failure rate of the compressor; the reliability of each moment is input into the intelligent optimization model, so as to solve the intelligent optimization model through genetic algorithm to obtain the best ordering time and the best replacement time of the spare parts; the spare parts are purchased according to the best ordering time, and the components are replaced with spare parts according to the best replacement time. The best ordering time and the best replacement time of the spare parts can be determined according to the reliability of the compressor, and the spare parts corresponding to the components in the compressor can be purchased on demand while ensuring the operating efficiency and operating benefits of the compressor, thereby greatly reducing the inventory management cost of the spare parts.

[0044] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0046] Figure 1 A schematic diagram of a process flow of a method for replacing components in a compressor based on reliability according to an embodiment of the present application is shown;

[0047] Figure 2 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0049] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0050] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0051] Figure 1 The flowchart of the method for replacing components in a compressor based on reliability according to an embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a method for replacing components in a compressor based on reliability is provided, comprising the following steps:

[0052] Step 101: for any component in the compressor, after the compressor starts to run, determine whether a spare part corresponding to the component is stored in a spare parts storage warehouse.

[0053] The compressor may be any compressor in a compressor system. The compressor may be a centrifugal compressor. The compressor may include multiple components such as a dry gas sealing component. For each component, when it needs to be replaced, it may consume a corresponding spare part, and the spare part may be stored in a spare parts storage warehouse. For any component in the compressor, after the compressor starts running, the processor may determine whether a spare part corresponding to the component is stored in the spare parts storage warehouse.

[0054] Step 102: When there is no spare part corresponding to the component stored in the spare parts storage warehouse, determine the average failure rate of the compressor according to the average failure interval duration of the compressor.

[0055] When there are no spare parts corresponding to the component stored in the spare parts storage warehouse, that is, the spare parts corresponding to the component adopt a zero inventory strategy, at this time, the processor can determine the average failure rate of the compressor based on the average failure interval of the compressor. The average failure rate can be used to measure the reliability of the compressor. In one embodiment, the ratio between the total number of compressor failures in the compressor system where the compressor is located and the total number of life units of all compressors can be determined as the average failure interval of the compressor. Among them, the total number of life units refers to the total operating time of all compressors, which can be expressed in hours, days, months or other units. Specifically, it can be customized according to actual conditions. Afterwards, through Determine the average failure rate of the compressor. Wherein, λ is the average failure rate, in h, and MTBF is the mean time between failures, in h. That is, the reciprocal of the mean time between failures can be determined as the average failure rate of the compressor.

[0056] Step 103: Determine the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor.

[0057] The processor may determine the reliability of the compressor at each moment since the start of operation according to the average failure rate of the compressor.

[0058] In an embodiment of the present application, determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor includes: determining the reliability of the compressor at each moment from the start of operation based on the reliability function of the compressor, wherein the expression of the reliability function is shown in formula (10):

[0059] R(t)=e -λt (10)

[0060] Wherein, R(t) refers to the reliability function of the compressor, t refers to each moment from the start of operation, and λ refers to the average failure rate of the compressor.

[0061] Step 104: Input the reliability at each moment into the intelligent optimization model, so as to solve the intelligent optimization model through a genetic algorithm to obtain the optimal ordering time and the optimal replacement time of spare parts.

[0062] After determining the reliability of the compressor at each moment since the start of operation, the processor can input the reliability at each moment into the intelligent optimization model to solve the intelligent optimization model through a genetic algorithm to obtain the optimal ordering time and optimal replacement time of spare parts.

[0063] In an embodiment of the present application, the method also includes: before inputting the reliability at each moment into the intelligent optimization model, constructing an intelligent optimization model based on the objective function and constraints; wherein the constraints include the reliability constraint of the compressor and the maintenance time constraint of the spare parts, and the objective function is constructed based on the expected maintenance time of the parts and the expected maintenance cost within the expected maintenance time; the expected maintenance cost includes the total planned replacement cost and the total failure replacement cost of the parts, as well as the delivery time of the spare parts and the total holding cost and total shortage cost generated when the spare parts arrive at the spare parts storage warehouse before and after the failure of the parts.

[0064] Before inputting the reliability at each moment into the intelligent optimization model, the processor can construct the intelligent optimization model according to the objective function and the constraint conditions. Among them, the constraint conditions include the reliability constraint of the compressor and the maintenance time constraint of the spare parts. The reliability constraint can be determined according to the current reliability of the compressor and the target reliability. In the embodiment of the present application, the expression of the reliability constraint is shown in formula (1):

[0065] t r ≥t o +T (1)

[0066] Among them, t r It refers to the spare parts replacement time of spare parts, t0 refers to the spare parts ordering time of spare parts, and T refers to the delivery time of spare parts.

[0067] The maintenance time constraint can be determined according to the spare parts replacement time, spare parts ordering time and spare parts delivery time. In the embodiment of the present application, the expression of the maintenance time constraint is shown in formula (2):

[0068] R t ≥R s (2)

[0069] R t It refers to the reliability of the compressor at time t, R s Refers to the target reliability of the compressor.

[0070] The objective function is constructed based on the expected maintenance time of the components and the expected maintenance cost within the expected maintenance time. The expected maintenance time refers to the time period from the start of the compressor operation to the time when the compressor fails to the time when the spare parts of the compressor are replaced, that is, the time from the normal operation of the compressor to the failure and then to the restoration of normal operation. In the embodiment of the present application, the expression of the objective function is shown in formula (3):

[0071]

[0072] Where C refers to the average cost rate per unit time required to replace components in the compressor, E(C) refers to the expected maintenance cost of components in the compressor, and E(L) refers to the expected maintenance time of components in the compressor.

[0073] The expected maintenance cost includes the total planned replacement cost and the total replacement cost of the failed parts, as well as the delivery time of spare parts and the total holding cost and shortage cost of spare parts arriving at the spare parts warehouse before and after the failure of the parts. The delivery time of spare parts refers to the time period from the time the spare parts are ordered to the time when the spare parts arrive at the spare parts warehouse.

[0074] In the embodiment of the present application, the expression of expected maintenance cost is shown in formula (4):

[0075] E(C)=C1+C2+C3+C4 (4)

[0076] Wherein, E(C) refers to the expected maintenance cost of the components in the compressor, C1 refers to the total planned replacement cost of the components in the compressor, C2 is the total replacement cost of the failed components in the compressor, C3 is the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, and C4 is the total holding cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse before the components fail.

[0077] The total planned replacement cost refers to the total cost of preventive maintenance of the compressor. In the embodiment of the present application, the expression of the total planned replacement cost is shown in formula (5):

[0078] C1=c p R(t r ) (5)

[0079] Where C1 is the total planned replacement cost of the compressor components, c p It refers to the unit planned replacement cost of the components in the compressor, R(t r ) refers to the time t when the compressor is replaced with spare parts r The reliability function of .

[0080] The total cost of failure replacement refers to the total cost of repairing the compressor due to failure. In the embodiment of the present application, the expression of the total cost of failure replacement is shown in formula (6):

[0081] C2=c f F(t r ) (6)

[0082] Where C2 refers to the total cost of replacing failed components in the compressor, c p It refers to the unit failure replacement cost of the components in the compressor, F(t r ) refers to the time t when the compressor is replaced with spare partsr The cumulative distribution function, F(t r )=1-R(t r ).

[0083] The total shortage cost refers to the inventory shortage cost increased by the shortage of spare parts corresponding to the compressor components. For example, a compressor component has failed and the spare parts warehouse has been rented, but the spare parts have not been purchased yet. At this time, there are no spare parts that need to be stored in the spare parts warehouse, which may incur unnecessary spare parts warehouse rental costs.

[0084] In the embodiment of the present application, the expression of the total shortage cost is shown in formula (7):

[0085]

[0086] Among them, C3 refers to the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, k s It refers to the unit shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail. t0 refers to the spare parts ordering time, T refers to the delivery time of the spare parts, and F(t) refers to the cumulative distribution function of the partial failure time of the compressor. It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T.

[0087] The total holding cost refers to the inventory storage cost of the spare parts corresponding to the compressor components. For example, the spare parts have been purchased, but the corresponding compressor parts have not yet failed. At this time, the spare parts need to be stored in the spare parts storage warehouse, which may incur unnecessary spare parts storage warehouse rental fees and / or spare parts storage fees.

[0088] In the embodiment of the present application, the expression of the total holding cost is shown in formula (8):

[0089]

[0090] Among them, C4 is the total holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, k refers to the unit holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, Refers to the reliability function R(t) from time t0+T to spare part replacement time t r The value obtained after integration.

[0091] In the embodiment of the present application, the expression of the expected maintenance duration is shown in formula (9):

[0092]

[0093] Where E(L) is the expected maintenance time of the components in the compressor, t r Refers to the spare parts replacement time of spare parts. It refers to the reliability function R(t) from time 0 to spare part replacement time t r The value obtained after integration, t0 refers to the spare parts ordering time, T refers to the spare parts delivery time, F(t) refers to the cumulative distribution function of the partial failure time of the compressor, It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T.

[0094] Step 105: Purchase spare parts according to the best ordering time, and replace components with spare parts according to the best replacement time.

[0095] After determining the optimal time to order and the optimal time to replace the spare parts, the spare parts can be purchased according to the optimal time to order, and the components can be replaced with spare parts according to the optimal time to replace.

[0096] Taking the centrifugal compressor of model A as an example, its average failure interval is 9118h, the planned replacement cost within one cycle cp = 1 million yuan, and the failure replacement cost within one cycle cf = 2 million yuan. Among them, one cycle refers to the time from normal operation of the compressor to failure and then to normal operation. The shortage cost per unit time ks = 200,000 yuan caused by the arrival of spare parts after the failure of the component, the holding cost per unit time kh = 100,000 yuan caused by the arrival of spare parts before the failure of the component, and the delivery time of spare parts T = 70h. If the product life of the compressor follows an exponential distribution, the average failure rate of the compressor λ = 0.0001 is determined based on the average failure interval MTBF, and then the reliability function of the centrifugal compressor is obtained as: R(t) = e -0.0001t If the target reliability of the centrifugal compressor is R s =0.8, its objective function and constraints are: in, On this basis, Python language programming is used to solve the optimization problem using genetic algorithm, and it is concluded that the optimal spare parts ordering time is 1397h and the optimal spare parts replacement time is 1467h.

[0097] In one embodiment, when replacing key components in a compressor, the exponential distribution model and the mean time between failures can be used to obtain a reliability model of the centrifugal compressor. Then, the current reliability of the centrifugal compressor can be calculated in combination with the reliability model of the centrifugal compressor. Then, the intelligent optimization mathematical model of spare parts for key components of the centrifugal compressor can be determined, and the problem can be solved using a genetic algorithm to obtain the optimal ordering time and optimal replacement time of spare parts for key components of the centrifugal compressor.

[0098] Through the above technical scheme, for any component in the compressor, after the compressor starts to run, it is determined whether the spare parts corresponding to the component are stored in the spare parts storage warehouse; when the spare parts corresponding to the component are not stored in the spare parts storage warehouse, the average failure rate of the compressor is determined according to the average failure interval time of the compressor; the reliability of the compressor at each moment from the start of operation is determined according to the average failure rate of the compressor; the reliability of each moment is input into the intelligent optimization model, so as to solve the intelligent optimization model through genetic algorithm to obtain the best ordering time and the best replacement time of the spare parts; the spare parts are purchased according to the best ordering time, and the components are replaced with spare parts according to the best replacement time. The best ordering time and the best replacement time of the spare parts can be determined according to the reliability of the compressor, and the spare parts corresponding to the components in the compressor can be purchased on demand while ensuring the operating efficiency and operating benefits of the compressor, thereby greatly reducing the inventory management cost of the spare parts.

[0099] Figure 1 FIG. 1 is a flow chart of a method for replacing components in a compressor based on reliability in one embodiment. It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0100] In one embodiment, there is provided an apparatus for replacing a component in a compressor, comprising:

[0101] a memory configured to store instructions; and

[0102] The processor is configured to call instructions from the memory and implement the above method for replacing components in the compressor when executing the instructions.

[0103] An embodiment of the present application provides a storage medium having a program stored thereon, which, when executed by a processor, implements the above-mentioned reliability-based method for replacing components in a compressor.

[0104] An embodiment of the present application provides a processor, which is used to run a program, wherein the program executes the above-mentioned method for replacing components in a compressor based on reliability when running.

[0105] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 2 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data such as the best ordering time and the best replacement time. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for replacing components in a compressor based on reliability is implemented.

[0106] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0107] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: for any component in the compressor, after the compressor starts to run, determine whether a spare part corresponding to the component is stored in a spare parts storage warehouse; if a spare part corresponding to the component is not stored in the spare parts storage warehouse, determine the average failure rate of the compressor according to the average failure interval duration of the compressor; determine the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor; input the reliability of each moment into an intelligent optimization model, so as to solve the intelligent optimization model through a genetic algorithm to obtain the optimal ordering time and the optimal replacement time of the spare parts; purchase spare parts according to the optimal ordering time, and replace the components with spare parts according to the optimal replacement time.

[0108] In one embodiment, the method also includes: before inputting the reliability at each moment into the intelligent optimization model, constructing an intelligent optimization model based on the objective function and constraints; wherein the constraints include the reliability constraint of the compressor and the maintenance time constraint of the spare parts, and the objective function is constructed based on the expected maintenance time of the parts and the expected maintenance cost within the expected maintenance time; the expected maintenance cost includes the total planned replacement cost and the total failure replacement cost of the parts, as well as the delivery time of the spare parts and the total holding cost and total shortage cost of the spare parts when they arrive at the spare parts storage warehouse before and after the failure of the parts.

[0109] In one embodiment, the expression of the reliability constraint is shown in formula (1):

[0110] t r ≥t o +T (1)

[0111] Among them, t r refers to the spare parts replacement time of the spare parts, t0 refers to the spare parts ordering time of the spare parts, and T refers to the delivery time of the spare parts;

[0112] The expression of maintenance time constraint is shown in formula (2):

[0113] R t ≥R s (2)

[0114] R t It refers to the reliability of the compressor at time t, R s Refers to the target reliability of the compressor.

[0115] In one embodiment, the objective function is expressed as shown in formula (3):

[0116]

[0117] Where C refers to the average cost rate per unit time required to replace components in the compressor, E(C) refers to the expected maintenance cost of components in the compressor, and E(L) refers to the expected maintenance time of components in the compressor.

[0118] In one embodiment, the expected maintenance cost is expressed as shown in formula (4):

[0119] E(C)=C1+C2+C3+C4 (4)

[0120] Wherein, E(C) refers to the expected maintenance cost of the components in the compressor, C1 refers to the total planned replacement cost of the components in the compressor, C2 is the total replacement cost of the failed components in the compressor, C3 is the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, and C4 is the total holding cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse before the components fail.

[0121] In one embodiment, the expression of the planned total replacement cost is shown in formula (5):

[0122] C1=c p R(t r ) (5)

[0123] Where C1 is the total planned replacement cost of the compressor components, c p It refers to the unit planned replacement cost of the components in the compressor, R(t r ) refers to the time t when the compressor is replaced with spare parts r The reliability function of

[0124] The total cost of failure replacement is expressed as formula (6):

[0125] C2=c f F(t r ) (6)

[0126] Where C2 refers to the total cost of replacing failed components in the compressor, c p It refers to the unit failure replacement cost of the components in the compressor, F(t r ) refers to the time t when the compressor is replaced with spare parts r The cumulative distribution function, F(t r )=1-R(t r );

[0127] The expression of total shortage cost is shown in formula (7):

[0128]

[0129] Among them, C3 refers to the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, k s It refers to the unit shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail. t0 refers to the spare parts ordering time, T refers to the delivery time of the spare parts, and F(t) refers to the cumulative distribution function of the partial failure time of the compressor. It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T;

[0130] The expression of total holding cost is shown in formula (8):

[0131]

[0132] Among them, C4 is the total holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, k refers to the unit holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, Refers to the reliability function R(t) from time t0+T to spare part replacement time t r The value obtained after integration.

[0133] In one embodiment, the expression of expected maintenance duration is shown in formula (9):

[0134]

[0135] Where E(L) is the expected maintenance time of the components in the compressor, t r Refers to the spare parts replacement time of spare parts. It refers to the reliability function R(t) from time 0 to spare part replacement time t r The value obtained after integration, t0 refers to the spare parts ordering time, T refers to the spare parts delivery time, F(t) refers to the cumulative distribution function of the partial failure time of the compressor, It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T.

[0136] In one embodiment, determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor includes: determining the reliability of the compressor at each moment from the start of operation based on a reliability function of the compressor, wherein the expression of the reliability function is as shown in formula (10):

[0137] R(t)=e -λt (10)

[0138] Wherein, R(t) refers to the reliability function of the compressor, t refers to each moment from the start of operation, and λ refers to the average failure rate of the compressor.

[0139] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initiating the method steps of replacing components in a compressor based on reliability.

[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0145] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0146] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0147] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0148] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for replacing components in a compressor based on reliability, characterized in that: The method comprises: For any component in the compressor, after the compressor starts to operate, determining whether a spare part corresponding to the component is stored in a spare parts storage warehouse; In the case where the spare parts storage warehouse does not store the spare parts corresponding to the component, determining the average failure rate of the compressor according to the average failure interval duration of the compressor; Determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor; Inputting the reliability at each moment into the intelligent optimization model, so as to solve the intelligent optimization model through a genetic algorithm to obtain the optimal ordering moment and the optimal replacement moment of the spare parts; Purchasing the spare parts according to the optimal ordering time, and replacing the components with the spare parts according to the optimal replacement time; Wherein, before inputting the reliability at each moment into the intelligent optimization model, the intelligent optimization model is constructed according to the objective function and the constraint conditions; Wherein, the constraint conditions include the reliability constraint of the compressor and the maintenance time constraint of the spare parts, and the objective function is constructed according to the expected maintenance time of the components and the expected maintenance cost within the expected maintenance time; The expected maintenance cost includes the total planned replacement cost and the total failure replacement cost of the component, as well as the delivery time of the spare parts and the total holding cost and total shortage cost of the spare parts arriving at the spare parts storage before and after the failure of the component; The expression of the maintenance time constraint is shown in formula (1): t r ≥t o +T (1) Among them, t r refers to the spare parts replacement time of the spare parts, t0 refers to the spare parts ordering time of the spare parts, and T refers to the delivery time of the spare parts; The expression of the reliability constraint is shown in formula (2): R t ≥R s (2) R t It refers to the reliability of the compressor at time t, R s It refers to the target reliability of the compressor; The objective function is expressed as formula (3): Where C refers to the average cost per unit time required to replace the components in the compressor, E(C) refers to the expected maintenance cost of the components in the compressor, and E(L) refers to the expected maintenance time of the components in the compressor; The expected maintenance cost is expressed as formula (4): E(C)=C1+C2+C3+C4 (4) Wherein, E(C) refers to the expected maintenance cost of the components in the compressor, C1 refers to the total planned replacement cost of the components in the compressor, C2 is the total replacement cost of the failed components in the compressor, C3 is the total shortage cost of the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, and C4 is the total holding cost of the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse before the components fail; The expression of the total cost of the planned replacement is shown in formula (5): C1=c p R(t r ) (5) Where C1 is the total planned replacement cost of the compressor components, c p It refers to the unit planned replacement cost of the components in the compressor, R(t r ) refers to the time t when the compressor is replaced with spare parts r The reliability function of The total cost of failure replacement is expressed as formula (6): C2=c f F(t r ) (6) Where C2 refers to the total cost of replacing failed components in the compressor, c f It refers to the unit failure replacement cost of the components in the compressor, F(t r ) refers to the time t when the compressor is replaced with spare parts r The cumulative distribution function, F(t r )=1-R(t r ); The expression of the total shortage cost is shown in formula (7): Among them, C3 refers to the total shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail, k s It refers to the unit shortage cost caused by the spare parts corresponding to the components in the compressor arriving at the spare parts storage warehouse after the components fail. t0 refers to the spare parts ordering time, T refers to the delivery time of the spare parts, and F(t) refers to the cumulative distribution function of the partial failure time of the compressor. It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T; The expression of the total holding cost is shown in formula (8): Among them, C4 is the total holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, k refers to the unit holding cost of the spare parts corresponding to the compressor components arriving at the spare parts storage warehouse before the components fail, Refers to the reliability function R(t) from time t0+T to spare part replacement time t r The value obtained after integration; The expression of the expected maintenance duration is shown in formula (9): Where E(L) is the expected maintenance time of the components in the compressor, t r Refers to the spare parts replacement time of spare parts. It refers to the reliability function R(t) from time 0 to spare part replacement time t r The value obtained after integration, t0 refers to the spare parts ordering time, T refers to the spare parts delivery time, F(t) refers to the cumulative distribution function of the partial failure time of the compressor, It refers to the value obtained by integrating the cumulative distribution function F(t) from the spare parts ordering time t0 to the time t0+T.

2. The method for replacing components in a compressor based on reliability according to claim 1, characterized in that: Determining the reliability of the compressor at each moment from the start of operation according to the average failure rate of the compressor comprises: The reliability of the compressor at each moment from the start of operation is determined based on the reliability function of the compressor, wherein the expression of the reliability function is shown in formula (10): R(t)=e -λt (10) Wherein, R(t) refers to the reliability function of the compressor, t refers to each moment from the start of operation, and λ refers to the average failure rate of the compressor.

3. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for causing a machine to execute the method for replacing components in a compressor based on reliability according to claim 1 or 2.

4. A processor, characterized in that: The method is configured to perform the method for replacing components in a compressor based on reliability according to claim 1 or 2.