Product allocation method and device and computer equipment
By accurately calculating the parameters of the base and specified raw materials, and combining them with the content of the finished product components, the product blending process is automated and intelligent, solving the problem of flexible and varied blending strategies and improving production efficiency and product quality stability.
Patent Information
- Application Number
- CN202510958187.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-07-11
AI Technical Summary
In existing technologies, product allocation strategies are flexible and varied, but human response capabilities are limited, resulting in low efficiency and high operational difficulty.
By acquiring relevant parameters of basic and specified raw materials and combining them with the viscosity component content in the finished product, the mixing amount is accurately calculated to achieve automated mixing. When the constrained component exceeds the standard, it automatically switches to multi-component mixing mode to dynamically optimize the mixing scheme.
It has achieved automation and intelligence in the blending process, reduced operational difficulty and reliance on manual labor, improved production efficiency and product quality stability, and has good adaptability and economic benefits.
Smart Images

Figure CN120853706A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of chemical production technology, specifically to a product blending method, apparatus, and computer equipment. Background Technology
[0002] The main production process for a certain grade P product in the separation process is as follows: mother liquor receiving → maturation and stabilization → blending calculation → multi-component blending. The mother liquor receiving stage mainly involves receiving fresh mother liquor from the distillation column into the product tank. The maturation and stabilization stage involves allowing the fresh mother liquor in the product tank to stand and stir for 24 hours to ensure that the viscosity of the mother liquor no longer increases and tends to stabilize. The blending calculation mainly involves sampling and analyzing the current viscosity of the fresh mother liquor, and then calculating how to optimally blend it to the target viscosity. The multi-component blending mainly involves blending the mother liquor according to the optimal calculation results to ensure product quality. Currently, the main difficulties in manual production are concentrated in the blending calculation and multi-component blending parts. The blending calculation part involves a large amount of work, requiring repeated trial and error by personnel, with calculations up to 14 times per tank; the blending process is highly flexible, involving multiple types of blending tanks.
[0003] The blending calculation involves four products, X1 to X4, participating in the blending of product P. 1) The calculation principles are: Product X1 has the lowest value and is a mandatory blending option; it should be used as much as possible. Product X2 is generally not blended, but if it cannot be sold in the market, it needs to be blended to clear inventory. Product X3 has a narrow range of indicators and only participates in blending during start-up and shutdown. Product X4 should be used as little as possible, as its value is higher than product P. 2) The calculation objective is: Product P's indicators are mainly affected by viscosity components and constrained components. Throughout the blending period, the viscosity must be blended to the target value, and the constrained component requirements must not be exceeded. Only product X3 contains viscosity components, while products X1 to X4 all contain constrained components, with the content decreasing in the order of X1 > X2 > X3 > X4. Therefore, the daily blending strategy is to blend only X1; if blending only X1 causes constrained components to exceed the limit, then a combination of X1 & X4 is used; if X2 or X3 needs to be addressed promptly, then a combination of X1 & X2 & X3 & X4 is used.
[0004] The combination allocation involves the allocation of the four product categories X1 to X4 mentioned above. The actual allocation process is more random and flexible due to the variability in the order of allocation, the types of products involved, and the timing of allocation. For example, under a certain working condition, the allocation calculation may determine the optimal combination of X1, X2, and X4. However, if X4 itself is already in a package and needs to be allocated later, and X2 has a temporary order plan and cannot participate in the allocation, the allocation calculation method needs to be adjusted in time, using X1 & X4 for allocation, with X4 being allocated last. Summary of the Invention
[0005] In view of this, the present invention provides a product allocation method, apparatus and computer equipment to solve the problem that the current product allocation strategy is flexible and varied, but the human response capability is limited.
[0006] In a first aspect, the present invention provides a product blending method, comprising the following steps: obtaining the viscosity component content in a base raw material, the available amount of the base raw material, the viscosity component content in a specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product; calculating the product production quantity and the product blending quantity based on the viscosity component content in the base raw material, the available amount of the base raw material, the viscosity component content in the specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product; obtaining constraint conditions and the constraint component content in the finished product; determining the theoretical constraint component content when blending using one of the blending raw materials based on the product production quantity, the product blending quantity, and the constraint conditions; when the theoretical constraint component content is greater than the constraint component content in the finished product, determining the theoretical blending quantity of the first blending raw material and the theoretical blending quantity of the second blending raw material when blending simultaneously using two of the blending raw materials based on the product production quantity, the product blending quantity, and the constraint conditions.
[0007] This invention provides a product blending method that automates the blending process by acquiring relevant parameters of basic and specified raw materials and accurately calculating the blending amount based on the viscosity component content in the finished product. Furthermore, it automatically identifies and switches to a multi-component blending mode when blending a single raw material might cause the constrained component to exceed the limit, dynamically optimizing the blending scheme and effectively avoiding the inefficiency caused by repeated manual trial and error. In addition, this invention fully considers the application priority of different raw materials and changes in actual working conditions, possessing good adaptability and flexibility. It can achieve optimal blending in various complex scenarios, ensuring stable and qualified product quality. Overall, it improves the intelligence level of blending operations, reduces operational difficulty and reliance on manual labor, and has significant economic benefits and application value.
[0008] In some optional embodiments, the product blending method further includes the following steps: when the content of the theoretically constrained component is less than or equal to the content of the constrained component in the finished product, the product blending amount is taken as the first theoretical blending amount of the blending raw material, and 0 is taken as the second theoretical blending amount of the blending raw material.
[0009] This invention simplifies the blending decision-making process and improves computational efficiency and ease of operation by directly allocating all the blending quantity to the first blending raw material and setting the theoretical blending quantity of the second blending raw material to zero, provided that the constraint component content meets the constraint component content in the finished product. This implementation method effectively avoids unnecessary multi-component blending operations, reduces blending complexity and resource consumption while ensuring product quality, facilitates automated control and optimal scheduling of the blending process, and enhances the system's responsiveness and operational stability.
[0010] In some optional implementations, calculating the product production quantity and product blending quantity based on the viscosity component content in the base raw materials, the available quantity of the base raw materials, the viscosity component content in the specified raw materials, and the available quantity of the specified raw materials includes: inputting the viscosity component content in the base raw materials, the available quantity of the base raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product into a preset first formula to calculate the product production quantity; determining the product blending quantity based on the product production quantity, the available quantity of the base raw materials, and the available quantity of the specified raw materials; the first formula is: SUM=(V1×M1+Vm×Mm) / V0; where SUM represents the product production quantity, V1 represents the viscosity component content in the base raw materials, M1 represents the available quantity of the base raw materials, Vm represents the viscosity component content in the specified raw materials, Mm represents the available quantity of the specified raw materials, and V0 represents the viscosity component content in the finished product.
[0011] This invention introduces a first formula to weight the viscosity and available quantity of basic and specified raw materials, and combines this with the viscosity component content in the finished product to derive the production quantity, making the blending calculation more scientific and accurate. This formula effectively reflects the influence of each component on the final product viscosity, providing a reliable basis for determining the blending quantity and improving the data-driven and model-based level of the blending process. Simultaneously, by deducing the blending quantity from the production quantity, the rationality and operability of the blending strategy are further enhanced, contributing to efficient control and quality stability in the blending process, significantly reducing manual intervention, and improving production automation and resource utilization efficiency.
[0012] In some optional implementations, when one of the raw materials in the blending process is the first blending raw material, and the constraints include the content of constrained components in the base raw materials, the content of constrained components in the first blending raw material, and the content of constrained components in the specified raw material, determining the theoretical content of constrained components when using one of the raw materials for blending, based on the product production quantity, product blending quantity, and constraints, includes: inputting the product production quantity, product blending quantity, the content of constrained components in the base raw materials, the available quantity of the base raw materials, the content of constrained components in the first blending raw material, the content of constrained components in the specified raw material, and the available quantity of the specified raw material into a preset... The second formula calculates the theoretical constrained component content when using one of the raw materials in the blending process; the second formula is: CA=(C1×M1+C2×ADJUST+Cm×Mm) / SUM; where CA represents the constrained component content when using the first blending raw material, C1 represents the constrained component content in the basic raw material, M1 represents the available amount of the basic raw material, C2 represents the constrained component content in the first blending raw material, ADJUST represents the product blending amount, Cm represents the constrained component content in the specified raw material, Mm represents the available amount of the specified raw material, and SUM represents the product production amount.
[0013] This invention introduces a second formula to accurately calculate the content of constrained components under a given raw material blending condition, fully considering the impact of the constrained values and available quantities of the base raw material, blending raw material, and designated raw material on the final product quality. This calculation method can accurately assess whether the current blending scheme meets product quality constraints, improving the scientific nature and reliability of blending decisions. By combining the synergistic calculations of the first and second formulas, it achieves effective control of constrained components while meeting viscosity standards, further enhancing the intelligence and adaptability of the blending strategy. This contributes to achieving stable and controllable product quality, reducing manual intervention, and improving production efficiency and resource utilization.
[0014] In some optional embodiments, when the two raw materials in the blending raw materials are a first blending raw material and a second blending raw material, and the constraints include the content of constrained components in the base raw material, the content of constrained components in the first blending raw material, the content of constrained components in the second blending raw material, and the content of constrained components in the specified raw material, when the theoretical content of constrained components is greater than the content of constrained components in the finished product, the theoretical blending amount of the first blending raw material and the theoretical blending amount of the second blending raw material when blending the two raw materials simultaneously are determined based on the product production quantity, the product blending quantity, and the constraints. This includes considering the content of constrained components in the finished product, the product production quantity, the content of constrained components in the base raw material, the available quantity of the base raw material, the content of constrained components in the specified raw material, the available quantity of the specified raw material, the content of constrained components in the first blending raw material, and the content of constrained components in the second blending raw material. The product blending quantity is input into the preset third formula to determine the theoretical blending quantity of the first blending raw material; the theoretical blending quantity of the second blending raw material is obtained based on the product blending quantity and the theoretical blending quantity of the first blending raw material; the third formula is: ADJUST1=(C7×SUM-C1×M1-Cm×Mm-C3×ADJUST) / (C2-C3); where ADJUST1 represents the theoretical blending quantity of the first blending raw material, C7 represents the content of the constrained component in the finished product, SUM represents the product production quantity, C1 represents the content of the constrained component in the basic raw material, M1 represents the available quantity of the basic raw material, Cm represents the content of the constrained component in the specified raw material, Mm represents the available quantity of the specified raw material, C2 represents the content of the constrained component in the first blending raw material, C3 represents the content of the constrained component in the second blending raw material, and ADJUST represents the product blending quantity.
[0015] This invention, by introducing a third formula, can quickly and accurately calculate the optimal blending amount of the first blending raw material when the blending of one raw material cannot meet the content of the constrained components in the finished product. The optimal blending amount of the second blending raw material is then derived by combining this with the total blending amount. This method fully considers the mutual influence between the constrained values of each component during multi-component synergistic blending, achieving the technical requirement of strictly controlling the constrained components to within limits while meeting viscosity targets. Through mathematical modeling, the automatic switching and optimization of blending strategies are realized, which not only improves blending accuracy and efficiency but also effectively reduces manual intervention and trial-and-error costs, enhances the system's adaptability to complex working conditions, and further promotes the intelligent and automated development of product blending processes, demonstrating promising engineering application prospects.
[0016] In some optional implementations, after obtaining the theoretical allocation quantities of the first and second raw materials, the method further includes: obtaining the theoretical allocation quantity of the current raw material; when the theoretical allocation quantity is greater than 0, obtaining the actual allocation quantity of the current raw material for each allocation, and determining the cumulative allocation quantity based on the actual allocation quantity; when a stop instruction is received, determining the target allocation quantity based on the theoretical allocation quantity and the cumulative allocation quantity; when a continue allocation instruction is received, allocating the current raw material according to the target allocation quantity; when the theoretical allocation quantity is equal to 0 or the cumulative allocation quantity reaches the theoretical allocation quantity, obtaining the next raw material in a preset allocation sequence, using the next raw material as the new current raw material, and returning to the step of obtaining the theoretical allocation quantity of the current raw material, until both the specified raw material and the allocated raw material have been adjusted.
[0017] This invention effectively improves the accuracy and stability of component preparation by dynamically adjusting the target preparation amount; it also supports resuming preparation after interruption, enhancing the flexibility and fault tolerance of process control; combined with preset preparation sequence, it realizes automatic continuous preparation of multiple components, reducing manual intervention, improving production efficiency, and is applicable to various formulations and industry scenarios, with good practicality and scalability.
[0018] Secondly, the present invention provides a product blending device, comprising a first acquisition module, a product quantity determination module, a second acquisition module, a constraint component content determination module, and a blending quantity determination module; wherein the first acquisition module is used to acquire the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product; the product quantity determination module is used to calculate the product production quantity and the product blending quantity based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product; the second acquisition module is used to acquire the constraint conditions and the constraint component content in the finished product; the constraint component content determination module is used to determine the theoretical constraint component content when blending using one of the blending raw materials, based on the product production quantity, the product blending quantity, and the constraint conditions; the blending quantity determination module is used to determine the theoretical blending quantity of the first blending raw material and the theoretical blending quantity of the second blending raw material when blending two of the blending raw materials simultaneously, based on the product production quantity, the product blending quantity, and the constraint conditions, when the theoretical constraint component content is greater than the constraint component content in the finished product.
[0019] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the product dispensing method described in the first aspect or any corresponding embodiment thereof.
[0020] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the product dispensing method described in the first aspect or any corresponding embodiment thereof.
[0021] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the product dispensing method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0022] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a product blending method according to an embodiment of the present invention;
[0024] Figure 2This is a flowchart of another product blending method according to an embodiment of the present invention;
[0025] Figure 3 This is a flowchart of the product optimization allocation strategy according to an embodiment of the present invention;
[0026] Figure 4 This is a flowchart illustrating the method for implementing the product optimization allocation strategy in a DCS according to an embodiment of the present invention.
[0027] Figure 5 This is a structural block diagram of a product dispensing device according to an embodiment of the present invention;
[0028] Figure 6 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] According to an embodiment of the present invention, a product dispensing method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] This embodiment provides a product blending method that can be used with computer equipment. Figure 1 This is a flowchart of a product blending method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0032] Step S101: Obtain the viscosity component content in the basic raw materials, the available amount of the basic raw materials, the viscosity component content in the specified raw materials, the available amount of the specified raw materials, and the viscosity component content in the finished product.
[0033] For example, in the separation process of a certain P-grade product, the mother liquor is the base raw material, X2 and X3 are designated raw materials, and X1 and X4 are blending raw materials.
[0034] Step S102: Calculate the production quantity and blending quantity of the product based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product.
[0035] In one optional implementation, calculating the product production quantity and product blending quantity based on the viscosity component content in the base raw materials, the available quantity of the base raw materials, the viscosity component content in the specified raw materials, and the available quantity of the specified raw materials includes the following steps:
[0036] (a1) Input the viscosity component content in the basic raw material, the available amount of the basic raw material, the viscosity component content in the specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product into the preset first formula to calculate the production quantity of the product.
[0037] The first formula is: SUM=(V1×M1+Vm×Mm) / V0
[0038] Where SUM represents the production quantity of the product, V1 represents the viscosity component content in the base raw material, M1 represents the available quantity of the base raw material, Vm represents the viscosity component content in the specified raw material, Mm represents the available quantity of the specified raw material, and V0 represents the viscosity component content in the finished product.
[0039] For example, when no raw material needs to be specified, the available quantity of raw material can be 0.
[0040] (a2) Determine the product blending quantity based on the product production quantity, the available quantity of basic raw materials, and the available quantity of specified raw materials.
[0041] For example, the product allocation quantity can be obtained using the formula ADJUST = SUM - M1 - Mn.
[0042] In other words, based on the viscosity characteristics and quantity of existing raw materials, combined with the viscosity standard of the target product, we estimate the total amount of finished product that can be produced and the additional amount of blending required to meet production needs.
[0043] Step S103: Obtain the constraints and the content of the constraint components in the finished product.
[0044] Specifically, the constraints include: the content of constrained components in the basic raw materials, the content of constrained components in the blended raw materials, and the content of constrained components in the specified raw materials.
[0045] Step S104: Determine the theoretical constraint component content when using one of the raw materials for blending, based on the product production volume, product blending volume, and constraints.
[0046] In one optional implementation, when one of the raw materials in the blending is the first blending raw material, and the constraints include the content of the constrained component in the basic raw material, the content of the constrained component in the first blending raw material, and the content of the constrained component in the specified raw material, determining the theoretical constrained component content when using one of the raw materials in the blending according to the product production quantity, the product blending quantity, and the constraints includes: inputting the product production quantity, the product blending quantity, the content of the constrained component in the basic raw material, the available quantity of the basic raw material, the content of the constrained component in the first blending raw material, the content of the constrained component in the specified raw material, and the available quantity of the specified raw material into a preset second formula to calculate the theoretical constrained component content when using one of the raw materials in the blending.
[0047] The second formula is: CA=(C1×M1+C2×ADJUST+Cm×Mm) / SUM
[0048] Wherein, CA represents the content of the constrained component when using the first blending raw material, C1 represents the content of the constrained component in the basic raw material, M1 represents the available amount of the basic raw material, C2 represents the content of the constrained component in the first blending raw material, ADJUST represents the product blending amount, Cm represents the content of the constrained component in the specified raw material, Mm represents the available amount of the specified raw material, and SUM represents the product production amount.
[0049] This is because, in industrial production, the product with the lowest cost (such as X1) is prioritized for blending. However, if X1 contains too high a "constraint component," blending with it alone may lead to the final product exceeding the constraint component limit. Therefore, by calculating the constraint component content CA in a single blending operation, it is possible to quickly determine whether a single product (usually X1) can be used directly to complete the blending task.
[0050] Step S105: Determine whether the content of the theoretically constrained component is greater than the content of the constrained component in the finished product. If the content of the theoretically constrained component is greater than the content of the constrained component in the finished product, proceed to step S106; if the content of the theoretically constrained component is less than or equal to the content of the constrained component in the finished product, proceed to step S107.
[0051] Step S106: Determine the theoretical mixing quantities of the first and second mixing raw materials when mixing two raw materials simultaneously, based on the product production quantity, product mixing quantity, and constraints.
[0052] In one optional implementation, when the two raw materials in the blending are a first blending raw material and a second blending raw material, and the constraints include the content of constrained components in the base raw material, the content of constrained components in the first blending raw material, the content of constrained components in the second blending raw material, and the content of constrained components in the specified raw material, when the theoretical content of constrained components is greater than the content of constrained components in the finished product, the theoretical blending amount of the first blending raw material and the theoretical blending amount of the second blending raw material are determined based on the product production quantity, the product blending quantity, and the constraints, including:
[0053] (b1) Input the content of the constrained component in the finished product, the production quantity of the product, the content of the constrained component in the basic raw material, the available quantity of the basic raw material, the content of the constrained component in the specified raw material, the available quantity of the specified raw material, the content of the constrained component in the first blending raw material, the content of the constrained component in the second blending raw material, and the product blending quantity into the preset third formula to determine the theoretical blending quantity of the first blending raw material.
[0054] The third formula is:
[0055] ADJUST1=(C7×SUM-C1×M1-Cm×Mm-C3×ADJUST) / (C2-C3)
[0056] Wherein, ADJUST1 represents the theoretical amount of the first blending raw material, C7 represents the content of the constrained component in the finished product, SUM represents the production amount of the product, C1 represents the content of the constrained component in the basic raw material, M1 represents the available amount of the basic raw material, Cm represents the content of the constrained component in the specified raw material, Mm represents the available amount of the specified raw material, C2 represents the content of the constrained component in the first blending raw material, C3 represents the content of the constrained component in the second blending raw material, and ADJUST represents the product blending amount.
[0057] (b2) The theoretical amount of the second blending raw material is obtained based on the product blending amount and the theoretical blending amount of the first blending raw material.
[0058] For example, the theoretical amount of the second blending raw material can be calculated using ADJUST2 = ADJUST - ADJUST1.
[0059] When using a single low-cost product (such as X1) to prepare a product results in an excess of the constrained component, it is necessary to introduce another product with a lower content of the constrained component (such as X4) for dilution. However, the combination cannot be arbitrary; it must be done while meeting quality requirements and considering cost-effectiveness. By using the above method, the low-cost product (such as X1) can be used as much as possible, while controlling the amount of high-cost product (such as X4), thus finding the optimal cost structure while meeting quality indicators.
[0060] Step S107: Use the product blending quantity as the theoretical blending quantity of the first blending raw material, and use 0 as the theoretical blending quantity of the second blending raw material.
[0061] The product blending method provided in this embodiment achieves data-driven and model-based processing by acquiring relevant parameters of basic and specified raw materials and accurately calculating the blending amount based on the viscosity component content in the finished product. When blending a single raw material may cause the constrained component to exceed the limit, this method can automatically determine and switch to a multi-component blending mode, dynamically optimizing the blending scheme and effectively avoiding the inefficiency caused by repeated manual trial and error. Furthermore, this invention fully considers the application priority of different components and changes in actual working conditions, possessing good adaptability and flexibility. It can achieve optimal blending in various complex scenarios, ensuring stable and qualified product quality. Overall, it improves the intelligence level of blending operations, reduces operational difficulty and reliance on manual labor, and has significant economic benefits and application value.
[0062] This embodiment provides a product blending method that can be used with computer equipment. Figure 2 This is a flowchart of another product blending method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:
[0063] Step S201: Obtain the viscosity component content in the basic raw materials, the available amount of the basic raw materials, the viscosity component content in the specified raw materials, the available amount of the specified raw materials, and the viscosity component content in the finished product.
[0064] Step S202: Calculate the production quantity and blending quantity of the product based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product.
[0065] Step S203: Obtain the constraints and the content of the constraint components in the finished product.
[0066] Step S204: Determine the theoretical constraint component content when using one of the raw materials for blending, based on the product production volume, product blending volume, and constraints.
[0067] Step S205: Determine whether the content of the constrained component is greater than the content of the constrained component in the finished product. If the theoretical content of the constrained component is greater than the content of the constrained component in the finished product, proceed to step S206; if the theoretical content of the constrained component is less than or equal to the content of the constrained component in the finished product, proceed to step S207.
[0068] Step S206: Determine the theoretical mixing quantities of the first and second mixing raw materials when mixing two raw materials simultaneously, based on the product production quantity, product mixing quantity, and constraints.
[0069] Step S207: Use the product blending quantity as the theoretical blending quantity of the first blending raw material, and use 0 as the theoretical blending quantity of the second blending raw material.
[0070] Step S208: Obtain the theoretical amount of raw materials to be blended;
[0071] Step S209: Determine whether the theoretical allocation amount is greater than 0. If the theoretical allocation amount is greater than 0, proceed to step S210; otherwise, proceed to step S212.
[0072] Step S210: Obtain the actual amount of raw materials to be mixed each time, and determine the cumulative amount of raw materials to be mixed based on the actual amount of raw materials to be mixed.
[0073] Step S211: When a stop instruction is received, the target allocation amount is determined based on the theoretical allocation amount and the cumulative allocation amount; when a continue allocation instruction is received, the current raw materials are allocated according to the target allocation amount.
[0074] Step S212: When the theoretical mixing quantity is equal to 0 or the cumulative mixing quantity reaches the theoretical mixing quantity, determine whether there is a next raw material for the current raw material according to the preset mixing order; if there is, proceed to step S213; if there is not, proceed to step S214.
[0075] Specifically, the allocation order can be adjusted as needed.
[0076] Step S213: Use the next raw material as the new current raw material and return to step S208.
[0077] Step S214: Determine that both the specified raw materials and the blended raw materials have been adjusted.
[0078] To explain the product allocation method of the present invention more clearly, an optimal product allocation strategy and its implementation method in DCS (Distributed Control System) are provided.
[0079] like Figure 3 As shown, the product optimization allocation strategy includes:
[0080] To meet the product allocation needs under multiple operating conditions, an optimal allocation calculation table is designed. The allocation strategy calculation part includes two parts: optimal calculation and specified calculation, as shown in the table below.
[0081]
[0082] The blending optimization calculation table includes viscosity components, constrained components, and canned inventory information (i.e., usable quantity). The first row contains intermediate quality inspection analysis information; the second and third rows are used for optimization calculations, with the second row maximizing the blending quantity and the third row ensuring the product blending result does not exceed the constrained component content C0. For example, the second and third rows represent the blending strategy for products X1 & X4, therefore V2 and V3 have default values of 0; the fourth and fifth rows represent specified calculations, where the market decides whether to participate in blending, such as specified blending for products X2 & X3; the sixth row contains the final product composition and production quantity information that satisfies the product indicator constraints; the seventh row contains the product indicator constraints.
[0083] The specific calculation steps include:
[0084] a) The first step is to calculate the expected production volume and the expected distribution volume of the product under the current intermediate product and specified raw material allocation conditions.
[0085] Estimated production volume SUM = (V1×M1 + V4×M4 + V5×M5) / V0
[0086] Expected product allocation quantity ADJUST = SUM - M1 - M4 - M5
[0087] b) The second step involves performing an optimal single-use allocation calculation, using only one product in the optimization calculation, and calculating the content of the constraint component under this strategy. This content is then used for condition judgment in the fourth step. The constraint component content CA under the optimal single-use allocation is:
[0088] CA=(C1×M1+C2×ADJUST+C4×M4+C5×M5) / SUM
[0089] c) The third step involves performing optimal combination allocation calculations, which means using both products simultaneously in the optimization calculations and calculating the corresponding allocation quantities under this strategy. The goal is to maximize the allocation quantity of the first product (ADJUST1) while satisfying the allocation quantity of the second product (ADJUST2) under the constraint of component content:
[0090] ADJUST1=(C7×SUM-C1×M1-C4×M4-C5×M5-C3×ADJUST) / (C2-C3);
[0091] ADJUST2 = ADJUST - ADJUST1
[0092] d) The fourth step is to recommend the final optimal blending strategy based on the content of the constrained components.
[0093] If CA≤C0, then M2=ADJUST; M3=0, which means the single allocation is optimized.
[0094] If CA > C0, then M2 = ADJUST1; M3 = ADJUST2, which means the optimal combination allocation.
[0095] e) The fifth step is to calculate the final product results.
[0096] M6 = M1 + M2 + M3 + M4 + M5;
[0097] C6=(C1×M1+C2×M2+C3×M3+C4×M4+C5×M5) / M6;
[0098] V6=(V1×M1+V2×M2+V3×M3+V4×M4+V5×M5) / M6.
[0099] like Figure 4 As shown, the implementation method of the optimal allocation strategy in DCS includes the following steps:
[0100] a) After the program starts, the results of the optimal allocation calculation table M2, M3, M4, and M5 are automatically obtained and assigned to the program parameters MA, MB, MC, and MD respectively. The allocation order, allocation amount, and allocation number can be modified manually according to the actual working conditions.
[0101] b) First Raw Material Allocation. The component adjustment flag is automatically calculated to be 1. If the allocation quantity MA corresponding to component 1 is zero, the program will begin the second allocation cycle. If the allocation quantity MA corresponding to component 1 is greater than zero, MA-FQ1 will be used as the allocation target, with FQ1 initially set to zero. During allocation, the actual allocation quantity ACFQ is recorded throughout. After allocation is completed or stopped, the cumulative allocation quantity FQ1 of component 1 is calculated as FQ1 = FQ1 + ACFQ. If allocation is not stopped, the cumulative allocation quantity FQ1 of component 1 is less than the allocation target MA, so MA-FQ1 will continue to be used as the allocation target. This continues until the cumulative allocation quantity FQ1 of component 1 reaches the allocation target MA, at which point the second allocation cycle is executed.
[0102] c) Second Raw Material Allocation. The component adjustment flag is automatically calculated to be 2. If the allocation quantity MB corresponding to component 2 is zero, the program will begin the third allocation cycle. If the allocation quantity MB corresponding to component 2 is greater than zero, MB-FQ2 will be used as the allocation target, with FQ2 initially set to zero. During allocation, the actual allocation quantity ACFQ is recorded throughout. After allocation is completed or stopped, the cumulative allocation quantity FQ2 of component 2 is calculated as FQ2 = FQ2 + ACFQ. If allocation is stopped, the cumulative allocation quantity FQ2 of component 2 is less than the allocation target MB, so MB-FQ2 will continue to be used as the allocation target. This continues until the cumulative allocation quantity FQ2 of component 2 reaches the allocation target MB, at which point the third allocation cycle is executed.
[0103] d) Third Component Allocation. The component adjustment flag is automatically calculated to be 3. If the allocation quantity MC corresponding to component 3 is zero, the program will begin the fourth allocation cycle. If the allocation quantity MC corresponding to component 3 is greater than zero, MC-FQ3 will be used as the allocation target, with FQ3 initially set to zero. During allocation, the actual allocation quantity ACFQ is recorded throughout. After allocation is completed or stopped, the cumulative allocation quantity FQ3 of component 3 is calculated as FQ3 = FQ3 + ACFQ. If allocation is stopped, the cumulative allocation quantity FQ3 of component 3 is less than the allocation target MC, so MC-FQ3 will continue to be used as the allocation target. This continues until the cumulative allocation quantity FQ3 of component 3 reaches the allocation target MC, at which point the fourth allocation cycle is executed.
[0104] d) Component 4 Allocation. The component adjustment flag is automatically calculated to be 4. If the allocation quantity MD corresponding to component 4 is zero, the entire allocation procedure ends. If the allocation quantity MD corresponding to component 4 is greater than zero, then MD-FQ4 is used as the allocation target to begin allocation, where the initial value of FQ4 is zero. During the allocation process, the actual allocation quantity ACFQ is recorded throughout. After the allocation is completed or stopped, the cumulative allocation quantity FQ4 of component 4 is calculated as FQ4 = FQ4 + ACFQ. If the allocation is stopped, the cumulative allocation quantity FQ4 of component 4 is less than the allocation target MD, so MD-FQ4 is used as the allocation target to continue allocation. The entire allocation procedure ends when the cumulative allocation quantity FQ4 of component 4 reaches the allocation target MD.
[0105] To further illustrate the product preparation method of the present invention more clearly, the present invention provides the following five examples.
[0106] Example 1: The intermediate product under a certain working condition consists of 3% constrained component and 60% viscosity component, with a usable quantity of 850t. The final product target after blending is ≤4.8% constrained component and 50% viscosity component. The optimization calculation results show that 147.8t of product X1 and 22.2t of product X4 are needed respectively, thus maximizing the utilization of X1.
[0107]
[0108] Example 2: Based on the intermediate product composition and product objectives in Example 1, further maximize the recovery of X2 product. Currently, there are 70t of X2 product. The calculation results show that a maximum of 42.67t of X2 product can be recovered, and 127.33t of X4 product is also needed to participate in the allocation, which can meet the product indicators.
[0109]
[0110] Example 3: Based on Example 2, 80t of X3 product is further recycled. The calculation results show that a maximum of 15.25t of X2 product can be recycled, and 106.75t of X4 product is also needed to participate in the allocation, which can meet the product indicators.
[0111]
[0112] Example 4: Based on the calculation results of Example 1, introduce the implementation process on the DCS side. (1) First, obtain the allocation calculation results MA=M1=147.8t, MB=M2=22.2t, MC=M3=0, MD=M4=0; (2) Since the allocation of product X1 is large, it needs to be delayed. Therefore, the allocation order can be adjusted manually. The new allocation is MA=22.2t, MB=147.8t, MC=0, MD=0. (3) First allocation of raw materials. MA>0, so 22.2t is taken as the allocation target. After the allocation is completed, the second allocation of raw materials begins. (4) Second allocation of raw materials. MB>0, so 147.8 is initially set as the allocation target. However, tank 1 only has 50t, so allocation is stopped and tank 2 needs to be replaced. Therefore, 147.8-50 is set as the next allocation target. If tank 2 only has 30t, tank 3 needs to be replaced. Therefore, 147.8-80 is set as the next allocation target. After allocation is completed, the third component allocation begins. (5) Third component allocation. If MC=0, the fourth component allocation begins. (5) Fourth component allocation. If MD=0, allocation is completed.
[0113] Example 5: Based on the calculation results of Example 3, introduce the implementation process on the DCS side. (1) First, obtain the allocation calculation results MA=M1=15.25t, MB=M2=106.75t, MC=M3=0, MD=M4=80; (2) The actual tank inventory meets the allocation quantity, and the allocation order is not adjusted. (3) First allocation of raw materials. MA>0, so 15.25 is first used as the allocation target. After the allocation is completed, the second allocation of raw materials begins. (4) Second allocation of raw materials. MB>0, so 106.75 is first used as the allocation target. After the allocation is completed, the third component allocation begins. (5) Third component allocation. MC=0, then the fourth component allocation begins. (6) Fourth component allocation. MD>0, so 80 is first used as the allocation target. After the allocation target is reached, the product allocation is completed.
[0114] In summary, the product optimization allocation strategy and its implementation method in DCS proposed in this invention have the following advantages: (1) The optimization allocation strategy is different from conventional optimization solvers, integrates the actual complex and ever-changing allocation requirements, and is more convenient to implement in DCS system; (2) The automatic allocation program matched with the optimization allocation strategy further realizes the flexible allocation of multiple components, multiple times, and multiple sequences; (3) It can be applied to the allocation requirements under normal working conditions and special working conditions, and can be intervened by humans in a timely manner, which has good practical application value.
[0115] This embodiment also provides a product dispensing device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0116] This embodiment provides a product dispensing device, such as... Figure 5 As shown, it includes:
[0117] The first acquisition module 501 is used to acquire the viscosity component content in the basic raw material, the available amount of the basic raw material, the viscosity component content in the specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product.
[0118] Product quantity determination module 502 is used to calculate the product production quantity and product blending quantity based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product.
[0119] The second acquisition module 503 is used to acquire the constraints and the content of the constraint components in the finished product.
[0120] The constraint component content determination module 504 is used to determine the theoretical constraint component content when using one of the raw materials in the blending process, based on the product production quantity, product blending quantity and constraint conditions.
[0121] The blending quantity determination module 505 is used to determine the theoretical blending quantity of the first blending raw material and the theoretical blending quantity of the second blending raw material when the theoretical constraint component content is greater than the constraint component content in the finished product, based on the product production quantity, product blending quantity and constraint conditions.
[0122] In some optional implementations, the blending quantity determination module 505 is further configured to: when the content of the theoretically constrained component is less than or equal to the content of the constrained component in the finished product, use the product blending quantity as the blending quantity of the first blending raw material, and use 0 as the theoretical blending quantity of the second blending raw material.
[0123] In some optional implementations, the product quantity determination module 502 is specifically used to: input the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product into a preset first formula to calculate the product production quantity; determine the product blending quantity based on the product production quantity, the available quantity of the basic raw materials, and the available quantity of the specified raw materials; the first formula is: SUM=(V1×M1+Vm×Mm) / V0; where SUM represents the product production quantity, V1 represents the viscosity component content in the basic raw materials, M1 represents the available quantity of the basic raw materials, Vm represents the viscosity component content in the specified raw materials, Mm represents the available quantity of the specified raw materials, and V0 represents the viscosity component content in the finished product.
[0124] In some implementations, the constraint component content determination module 504 is specifically used to: input the product production quantity, product blending quantity, constraint component content in the basic raw materials, available quantity of the basic raw materials, constraint component content in the first blending raw materials, constraint component content in the specified raw materials, and available quantity of the specified raw materials into a preset second formula to calculate the theoretical constraint component content when blending using one of the blending raw materials; the second formula is: CA=(C1×M1+C2×ADJUST+Cm×Mm) / SUM; where CA represents the constraint component content when blending using the first blending raw materials, C1 represents the constraint component content in the basic raw materials, M1 represents the available quantity of the basic raw materials, C2 represents the constraint component content in the first blending raw materials, ADJUST represents the product blending quantity, Cm represents the constraint component content in the specified raw materials, Mm represents the available quantity of the specified raw materials, and SUM represents the product production quantity.
[0125] In some optional implementations, the blending quantity determination module 505 is specifically used to: input the content of the constrained component in the finished product, the product production quantity, the content of the constrained component in the basic raw material, the available quantity of the basic raw material, the content of the constrained component in the specified raw material, the available quantity of the specified raw material, the content of the constrained component in the first blending raw material, the content of the constrained component in the second blending raw material, and the product blending quantity into a preset third formula to determine the theoretical blending quantity of the first blending raw material; and obtain the theoretical blending quantity of the second blending raw material based on the product blending quantity and the theoretical blending quantity of the first blending raw material; the third formula is: ADJUST1=(C 7×SUM-C1×M1-Cm×Mm-C3×ADJUST) / (C2-C3); where ADJUST1 represents the theoretical amount of the first blending raw material, C7 represents the content of the constrained component in the finished product, SUM represents the production amount of the product, C1 represents the content of the constrained component in the basic raw material, M1 represents the available amount of the basic raw material, Cm represents the content of the constrained component in the specified raw material, Mm represents the available amount of the specified raw material, C2 represents the content of the constrained component in the first blending raw material, C3 represents the content of the constrained component in the second blending raw material, and ADJUST represents the product blending amount.
[0126] In some optional embodiments, the product blending device further includes a blending module. After obtaining the theoretical blending quantities of the first and second blending raw materials, the blending module is used to obtain the theoretical blending quantity of the current raw material; obtain the theoretical blending quantity of the current raw material; when the theoretical blending quantity is greater than 0, obtain the actual blending quantity of the current raw material for each blending, and determine the cumulative blending quantity based on the actual blending quantity; when a stop instruction is received, determine the target blending quantity based on the theoretical blending quantity and the cumulative blending quantity; when a continue blending instruction is received, blend the current raw material according to the target blending quantity; when the theoretical blending quantity is equal to 0 or the cumulative blending quantity reaches the theoretical blending quantity, obtain the next raw material of the current raw material in a preset blending sequence, use the next raw material as the new current raw material, and return to the step of obtaining the theoretical blending quantity of the current raw material, until both the specified raw material and the blending raw material have been adjusted.
[0127] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0128] In this embodiment, the product dispensing device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0129] This invention also provides a computer device having the above-described features. Figure 5The product dispensing device shown.
[0130] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 6 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 6 Take a processor 10 as an example.
[0131] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0132] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.
[0133] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0134] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0135] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means. Figure 6 Taking the example of a connection between China and Israel via a bus.
[0136] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.
[0137] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0138] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0139] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A product blending method, characterized in that, include: Obtain the viscosity component content in the basic raw materials, the available amount of the basic raw materials, the viscosity component content in the specified raw materials, the available amount of the specified raw materials, and the viscosity component content in the finished product; The production quantity and blending quantity of the product are calculated based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content of the finished product. Obtain the constraints and the content of the constraint components in the finished product; The theoretically constrained component content when using one of the raw materials for blending is determined based on the product production volume, the product blending volume, and the constraint conditions. When the content of the theoretically constrained component is greater than the content of the constrained component in the finished product, the theoretical blending amount of the first blending raw material and the theoretical blending amount of the second blending raw material are determined based on the product production quantity, the product blending quantity, and the constraint conditions when the two raw materials in the blending raw materials are blended simultaneously.
2. The method according to claim 1, characterized in that, Also includes: When the content of the theoretically constrained component is less than or equal to the content of the constrained component in the finished product, the product blending amount is taken as the theoretical blending amount of the first blending raw material, and 0 is taken as the theoretical blending amount of the second blending raw material.
3. The method according to claim 1, characterized in that, The calculation of product production quantity and product blending quantity based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, and the available quantity of the specified raw materials includes: The viscosity component content in the basic raw material, the available amount of the basic raw material, the viscosity component content in the specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product are input into a preset first formula to calculate the production quantity of the product. The product blending quantity is determined based on the product production quantity, the available quantity of the basic raw materials, and the available quantity of the specified raw materials. The first formula is: SUM = (V1 × M1 + Vm × Mm) / V0 Wherein, SUM represents the production quantity of the product, V1 represents the viscosity component content in the base raw material, M1 represents the available quantity of the base raw material, Vm represents the viscosity component content in the specified raw material, Mm represents the available quantity of the specified raw material, and V0 represents the viscosity component content in the finished product.
4. The method according to claim 1, characterized in that, When one of the raw materials in the blending process is the first blending raw material, and the constraints include the content of constrained components in the base raw material, the content of constrained components in the first blending raw material, and the content of constrained components in the specified raw material, determining the theoretical content of constrained components when using one of the raw materials for blending based on the product production quantity, the product blending quantity, and the constraints includes: The product production quantity, product blending quantity, the content of constrained components in the basic raw materials, the available quantity of the basic raw materials, the content of constrained components in the first blending raw materials, the content of constrained components in the specified raw materials, and the available quantity of the specified raw materials are input into a preset second formula to calculate the theoretical content of constrained components when blending with one of the blending raw materials. The second formula is: CA=(C1×M1+C2×ADJUST+Cm×Mm) / SUM Wherein, CA represents the content of the constrained component when using the first blending raw material, C1 represents the content of the constrained component in the basic raw material, M1 represents the available amount of the basic raw material, C2 represents the content of the constrained component in the first blending raw material, ADJUST represents the blending amount of the product, Cm represents the content of the constrained component in the specified raw material, Mm represents the available amount of the specified raw material, and SUM represents the production amount of the product.
5. The method according to claim 1, characterized in that, When the two raw materials in the blending are a first blending raw material and a second blending raw material, and the constraints include the content of constrained components in the base raw material, the content of constrained components in the first blending raw material, the content of constrained components in the second blending raw material, and the content of constrained components in the specified raw material, when the theoretical constrained component content is greater than the constrained component content in the finished product, determining the theoretical blending amount of the first blending raw material and the theoretical blending amount of the second blending raw material when simultaneously blending the two raw materials in the blending raw material, based on the product production quantity, product blending quantity, and the constraints, includes: The content of the constrained component in the finished product, the production quantity of the product, the content of the constrained component in the basic raw material, the available quantity of the basic raw material, the content of the constrained component in the specified raw material, the available quantity of the specified raw material, the content of the constrained component in the first blending raw material, the content of the constrained component in the second blending raw material, and the product blending quantity are input into a preset third formula to determine the theoretical blending quantity of the first blending raw material. The theoretical amount of the second blending raw material is obtained based on the product blending amount and the theoretical blending amount of the first blending raw material; The third formula is: ADJUST1=(C7×SUM-C1×M1-Cm×Mm-C3×ADJUST) / (C2-C3) Wherein, ADJUST1 represents the theoretical amount of the first blending raw material, C7 represents the content of the constrained component in the finished product, SUM represents the production amount of the product, C1 represents the content of the constrained component in the basic raw material, M1 represents the available amount of the basic raw material, Cm represents the content of the constrained component in the specified raw material, Mm represents the available amount of the specified raw material, C2 represents the content of the constrained component in the first blending raw material, C3 represents the content of the constrained component in the second blending raw material, and ADJUST represents the blending amount of the product.
6. The method according to claim 1, characterized in that, After obtaining the theoretical blending quantities of the first and second blending raw materials, the process also includes: Obtain the theoretical amount of raw materials to be prepared; When the theoretical allocation amount is greater than 0, the actual allocation amount of the current raw material for each allocation is obtained, and the cumulative allocation amount is determined based on the actual allocation amount. When a stop command is received, the target allocation amount is determined based on the theoretical allocation amount and the cumulative allocation amount; When a continued allocation instruction is received, the current raw materials are allocated according to the target allocation amount; When the theoretical allocation amount is equal to 0 or the cumulative allocation amount reaches the theoretical allocation amount, the next raw material of the current raw material is obtained in the preset allocation sequence, the next raw material is used as the new current raw material, and the process returns to the step of obtaining the theoretical allocation amount of the current raw material until both the specified raw material and the allocation raw material are adjusted.
7. A product dispensing device, characterized in that, The device includes: The first acquisition module is used to acquire the viscosity component content in the basic raw material, the available amount of the basic raw material, the viscosity component content in the specified raw material, the available amount of the specified raw material, and the viscosity component content in the finished product. The product quantity determination module is used to calculate the product production quantity and product blending quantity based on the viscosity component content in the basic raw materials, the available quantity of the basic raw materials, the viscosity component content in the specified raw materials, the available quantity of the specified raw materials, and the viscosity component content in the finished product. The second acquisition module is used to acquire the constraints and the content of the constraint components in the finished product; The constraint component content determination module is used to determine the theoretical constraint component content when using one of the raw materials for blending, based on the product production quantity, the product blending quantity, and the constraint conditions. The mixing quantity determination module is used to determine the theoretical mixing quantity of the first mixing raw material and the theoretical mixing quantity of the second mixing raw material when the theoretical constraint component content is greater than the constraint component content in the finished product, based on the product production quantity, product mixing quantity and the constraint conditions.
8. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the product dispensing method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the product dispensing method according to any one of claims 1 to 6.
10. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the product dispensing method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Automatic blending control method and device for mixture product
CN112439358A
Arrangement plan creation method, arrangement plan creation device, and work method for iron works
CN115244479A
Parallel composite self-crimping polyester staple fiber taking recycled polyester as raw material, preparation method and system
CN116607244A