Optimization result execution method and device, storage medium and electronic device
By determining the timing and time interval of the optimization results in the device process, constructing the target table, and executing the optimization results, the problem of incomplete execution of optimization results is solved, ensuring the optimization effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUPCON TECH CO LTD
- Filing Date
- 2023-06-30
- Publication Date
- 2026-07-31
AI Technical Summary
In the existing technology, the output of optimization results in the device process lacks timing, resulting in inadequate execution of optimization results and poor performance.
By determining the time of periodic output of optimization results of equipment within the target device and the time interval between material flow through adjacent process positions within the device, a target table is constructed to record the optimization results. The optimization results in the table are then executed according to a preset retrieval time interval to ensure that the optimization results are output in chronological order.
It enables the sequential execution of optimization results, preventing the current optimization result from overwriting the previous incomplete result, and ensuring the effectiveness of APC in optimizing and adjusting the device.
Smart Images

Figure CN116819968B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of process control technology, and more specifically, to an optimization result execution method, apparatus, storage medium, and electronic device. Background Technology
[0002] Advanced Process Control (APC) technology can effectively control equipment to operate near pre-defined setpoints, thereby achieving the goal of controlling the equipment at a designated operating point. However, determining the appropriate operating point based on current equipment conditions, raw material status, and other information requires operators with extensive experience and a reliable grasp of equipment performance, as well as a good balance between different components in the entire process. Real-Time Optimization (RTO) technology is primarily based on a precise steady-state mechanism model of the process. It employs a nonlinear optimization algorithm based on a rigorous mechanism model to ensure that the optimal value is found under the widest range of operating conditions with the goal of maximizing economic benefits. The corresponding operating condition adjustments based on the optimization results are fed back to the APC setpoint, allowing the APC setpoint to be adjusted reasonably and dynamically based on the operating conditions, thus achieving optimized control of the production process.
[0003] Typically, RTO systems output optimization results in two ways: First, all optimization results are output simultaneously as the APC setpoint; for example, if the optimization result is to increase A to A+2, then A+2 is output directly. Second, all optimization results are output linearly over a set time interval, also as the APC setpoint; for example, if the optimization result is to increase A to A+2 and the set time is 20 minutes, then the output increases by 0.1 per minute (i.e., 2 / 20). However, the drawback of these two methods is that they do not consider the order of optimization results in the device process. Furthermore, when the time interval calculated by the RTO technology is less than the time interval between outputting each optimization result, the current optimization output may overwrite the previous optimization output before the APC has been adjusted, resulting in incomplete optimization output execution.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides an optimization result execution method, apparatus, storage medium, and electronic device to at least solve the technical problem that the related technologies have no timing in the optimization result output stage, resulting in incomplete optimization result execution and poor execution effect.
[0006] According to one aspect of the embodiments of this application, an optimization result execution method is provided, comprising: determining a first moment for periodically outputting optimization results of multiple devices within a target device, wherein the optimization result is the result of adjusting the optimization variables corresponding to each device within the target device; determining a first time interval between multiple devices at adjacent process positions within the target device through which material flows; constructing a target table based on the first moment and the first time interval, wherein the target table includes multiple second moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second moment; determining multiple retrieval moments according to a preset retrieval time interval, and executing the optimization results in the corresponding target column of the target table according to each retrieval moment.
[0007] Optionally, determining a first time interval between multiple devices at adjacent process locations within the target device through which material flows includes: determining the first time interval based on the device capacity of the multiple devices at adjacent process locations within the target device; or, determining the first time interval based on the step test results of the multiple devices at adjacent process locations within the target device.
[0008] Optionally, determining the first time interval based on the equipment capacity of multiple devices at adjacent process positions within the target device includes: for multiple devices at adjacent process positions within the target device, obtaining the total equipment capacity of the multiple devices at adjacent process positions and the material flow rate through the multiple devices, and calculating the first time interval based on the total equipment capacity and the material flow rate.
[0009] Optionally, the first time interval is determined based on the step test results of multiple devices at adjacent process positions within the target device, including: for multiple devices at adjacent process positions within the target device, applying fluctuation variables multiple times to the first optimization variable of the first device at the front position, while recording the second time interval for each change of the second optimization variable of each second device at the back position, and taking the average of the multiple second time intervals of each second device as the first time interval.
[0010] Optionally, constructing a target table based on a first moment and a first time interval includes: for any two adjacent first moments, determining an intermediate moment based on the earlier first moment and the first time interval, and adding an intermediate moment between the two adjacent first moments to obtain multiple column headers of the target table; using the optimization variables corresponding to multiple devices as row headers of the target table to obtain multiple row headers; and constructing the target table from the multiple row headers and multiple column headers.
[0011] Optionally, the optimization results in the corresponding target column of the target table are executed according to each retrieval time, including: calculating the time deviation between the retrieval time and each second time in the target table, and taking the second time with a time deviation less than a preset deviation range as the target time; determining the target column in the target table where the target time is located, and executing the optimization results in the target column.
[0012] Optionally, after performing optimization on the target column, the method further includes deleting the target column.
[0013] According to another aspect of the embodiments of this application, an optimization result execution device is also provided, comprising: a first determining module, configured to determine a first moment when periodically outputting optimization results of multiple devices within a target device, wherein the optimization result is the result of adjusting the optimization variables corresponding to each device within the target device; a second determining module, configured to determine a first time interval between multiple devices at adjacent process positions within the target device through which material flows; a construction module, configured to construct a target table based on the first moment and the first time interval, wherein the target table includes multiple second moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second moment; and an execution module, configured to determine multiple retrieval moments according to a preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval moment.
[0014] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored program, wherein the device where the non-volatile storage medium is located executes the above-described optimization result execution method by running the program.
[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, the electronic device including: a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-described optimization result execution method through the computer program.
[0016] In this embodiment, a first moment is determined for periodically outputting the optimization results of multiple devices within the target device, wherein the optimization results are the results of adjusting the optimization variables corresponding to each device within the target device; a first time interval is determined between multiple devices at adjacent process positions within the target device through which material flows; a target table is constructed based on the first moment and the first time interval, wherein the target table includes multiple second moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second moment; multiple retrieval moments are determined according to a preset retrieval time interval, and the optimization results in the corresponding target column of the target table are executed according to each retrieval moment.
[0017] In the above embodiments, considering the sequential nature of the optimization results at the device's location, the optimization results are executed sequentially. Simultaneously, calculated but not yet optimized optimization results are saved. Subsequent optimization results are retrieved at the current time, and those identical to the current time's optimization results are executed. This avoids situations where the previously output optimization results have not yet been adjusted by APC when the current optimization result is output, thus ensuring the optimization effect of APC in adjusting the device. This solves the technical problem of related technologies where the optimization result output lacks temporality, leading to incomplete optimization and poor execution results. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0019] Figure 1 This is a flowchart of an optional optimization result execution method according to an embodiment of this application;
[0020] Figure 2 This is a simplified schematic diagram of an optional apparatus flow according to an embodiment of this application;
[0021] Figure 3 This is a timing diagram of an optional optimization result output according to an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of an optional optimization result execution device according to an embodiment of this application. Detailed Implementation
[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first," "second," etc., used in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] Furthermore, all information and data (including but not limited to user device information, user personal information, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties. For example, this system has an interface with the relevant user or organization. Before obtaining relevant information, it needs to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent from the aforementioned user or organization.
[0026] Example 1
[0027] Currently, RTO typically calculates optimization results at fixed time intervals (e.g., once every certain period) and outputs these results as APC settings in two ways: First, all optimization results are output simultaneously at once, serving as APC settings; for example, if the optimization result is to increase A to A+2, then A+2 is output directly. Second, all optimization results are output linearly over a set time interval, serving as APC settings; for example, if the optimization result is to increase A to A+2 and the set time is 20 minutes, then the output increases by 0.1 per minute (i.e., 2 / 20). However, the drawback of these two methods is that they do not consider the order of optimization results in the device process. Furthermore, when the time interval for RTO calculations is less than the time interval for outputting each optimization result, the current optimization output may overwrite the previous optimization output before the APC has been adjusted, resulting in incomplete optimization output execution.
[0028] To address the aforementioned issues, this application provides an optimization result execution method. This method aims to output optimization results in a timely manner to ensure the effectiveness of APC in optimizing and adjusting the device, thereby resolving the problems mentioned above. The method will be described in detail below.
[0029] 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, and 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.
[0030] Figure 1 This is a flowchart illustrating an optional optimization result execution method according to an embodiment of this application, such as... Figure 1 As shown, the method includes at least steps S102-S108, wherein:
[0031] Step S102: Determine the first moment when the optimization results of multiple devices within the target device are periodically output.
[0032] In the technical solution provided in step S102, the optimization result can be the result of adjusting the optimization variables related to each device within the target device. Typically, an RTO system calculates and outputs the optimization results corresponding to the optimization variables of each device at fixed time intervals, such as outputting the optimization result every hour. Therefore, this time interval can be represented as ΔT1, and the corresponding multiple first moments can be denoted as T1, T2, T3, ..., T... n .
[0033] Step S104: Determine the first time interval between multiple devices at adjacent process locations within the target device through which the material flows.
[0034] In the technical solution provided in step S104, it is considered that in the process industry, the various devices within the equipment have a sequential relationship, therefore the optimization results corresponding to each device will also have a temporal sequence. For example, Figure 2 This is an optional apparatus flowchart according to an embodiment of this application, such as... Figure 2 As shown, A represents the outlet temperature of heater F101, B represents the outlet temperature of heat exchanger E101, and C represents the reflux flow rate of T101. A, B, and C are all optimization variables of the optimization unit. Since the time for feed 1 to flow through heater F101, heat exchanger E101, and T101 are different, the time interval between the material flowing through heater F101 and heat exchanger E101 can be denoted as ΔT. AB The time interval between the material flowing through heat exchanger E101 and T101 is denoted as ΔT. BC , where ΔT AB and ΔT BC This is the first time interval.
[0035] As an optional implementation, in the technical solution provided in step S104 above, the method includes: determining a first time interval based on the equipment capacity of multiple devices at adjacent process positions within the target device; or, determining a first time interval based on the step test results of multiple devices at adjacent process positions within the target device.
[0036] Optionally, for multiple devices at adjacent process locations within the target device, the total device capacity of the multiple devices at adjacent process locations and the material flow rate through the multiple devices are obtained, and a first time interval is calculated based on the total device capacity and the material flow rate.
[0037] Specifically, for any two adjacent devices, the total volume of the two devices is denoted as . And the flow rate of the material flowing between these two devices is denoted as F. Therefore, the first time interval can be written as: Taking furnace F101 and heat exchanger E101 as examples, the total equipment volume of furnace F101 and heat exchanger E101 is the sum of the furnace tube volume of F101, the heat exchange tube side volume of E101, and the connecting pipe volume, which can be denoted as V. AB The flow rate of material passing through these two devices is denoted as F. AB The first time interval between the material flowing through the heating furnace F101 and the heat exchanger E101 can be expressed as: ΔT AB =V AB / F AB .
[0038] Optionally, for multiple devices at adjacent process positions within the target device, a fluctuation variable is applied multiple times to the first optimization variable of the first device at the front position, while the second time interval of each change of the second optimization variable of each second device at the back position is recorded, and the average of the multiple second time intervals of each second device is used as the first time interval.
[0039] For example, continuing with the example of heating furnace F101 and heat exchanger E101, if the first optimization variable A of heating furnace F101 is applied multiple times with a fluctuation variable ΔA, and the second time interval of each change of the second optimization variable B of heat exchanger E101 is recorded, the average value of the second time interval is calculated as the first time interval ΔT. AB Similarly, taking heat exchangers E101 and T101 as examples, if the fluctuation variable ΔB is applied multiple times to the second optimization variable B of heat exchanger E101, and the second time interval of each change of the third optimization variable C of T101 is recorded, the average value of the second time interval is calculated as the first time interval ΔT. BC .
[0040] In the above embodiments, the first time interval can be determined according to the two methods described above, or it can be determined according to the experience of the process personnel of the device. In practical applications, the above three methods can be selected at will.
[0041] Step S106: Construct a target table based on the first moment and the first time interval.
[0042] In the technical solution provided in step S106, refer to Figure 2 The flowchart shown indicates that if the time interval ΔT1 between the output optimization results of each device by the RTO system is less than ΔT... AB +ΔT BC Then, the following will occur: Figure 3 The optimization output shown indicates that the optimization results of A, B, and C calculated at time T1 have not been fully executed, but the optimization results of A, B, and C calculated at time T2 have already been output. If the relevant optimization execution method is followed (all optimization results are output simultaneously at once as the set value of APC, or all optimization results are output linearly according to the set time as the set value of APC), the optimization results at time T2 will overwrite the optimization results at time T1, even though the optimization results at time T1 have not been fully executed. To solve the above problem, this application embodiment provides a target table, which includes multiple second times. The target table is used to record the optimization results of the optimization variables corresponding to each device at each second time. The output time is determined by the first time and the first time interval, so that the optimization results after each optimization of the optimization variables can be written into the target table in chronological order.
[0043] As an optional implementation, in the technical solution provided in step S106 above, the method includes: for any two adjacent first moments, determining an intermediate moment based on the earlier first moment and the first time interval, and adding an intermediate moment between the two adjacent first moments to obtain multiple column headers of the target table; using the optimization variables corresponding to multiple devices as row headers of the target table to obtain multiple row headers; and constructing the target table from the multiple row headers and multiple column headers.
[0044] In this embodiment, an intermediate time is added between every two adjacent first times. The intermediate time is the sum of the first time that comes first within the two adjacent first times and the first time interval. The time is used as a column and the optimization variables corresponding to each device are used as rows. Thus, a target table is constructed with multiple row headers and multiple column headers. The i-th row and j-th column in the table corresponds to the optimization result of the i-th optimization variable at the j-th time.
[0045] For example, it can be obtained by following the method described above. Figure 2 The target table corresponding to the illustrated device flow. First, [the following is...] Figure 2 The optimization variables A, B, and C are used as row headers. Then, the RTO system outputs multiple first time points T1, T2, T3, ..., T for each optimization variable. n Add intermediate times, namely the time interval ΔT between the material flowing through the heating furnace F101 and the material flowing through the heat exchanger E101. AB The time interval ΔT between the material flowing through heat exchanger E101 and the material flowing through T101 BC Multiple output times are obtained as column headers, resulting in the target table shown in Table 1 below.
[0046] Table 1
[0047]
[0048] As shown in the table above, the optimization result corresponding to the optimization variable A of the upstream heater F101 is output at time T1, and the optimization result corresponding to the optimization variable B of the midstream heat exchanger E101 is output at time T1+ΔT. AB The output at each moment will show the optimization result corresponding to the optimization variable C of T101, which is downstream of the device process, in T1+ΔT. AB +ΔT BC Output in real time.
[0049] Step S108: Determine multiple retrieval times according to the preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time.
[0050] In the technical solution provided in step S108, when executing the optimization results, in order to output the optimization results in chronological order, the RTO system can retrieve the column headers in the target table according to time and execute all optimization results in the target column at the same time as the retrieval.
[0051] For example, if a search is performed every 10 seconds as preset, and the search time is determined to be T2, then the optimization results of the optimization variable A in the target column corresponding to time T2 in Table 1 above can be executed, and the optimization results can be output in chronological order. However, if the search time is T1+ΔT... AB +ΔT BC Between T2 and T2, the optimization results for the corresponding time cannot be retrieved, and at this point, the optimization results for any optimization variables cannot be executed.
[0052] As an optional implementation, in the technical solution provided in step S108 above, the method includes: calculating the time deviation between the retrieval time and each second time in the target table, and taking the second time with a time deviation less than a preset deviation range as the target time; determining the target column in the target table where the target time is located, and executing the optimization results in the target column.
[0053] In this embodiment, since the search time in practical applications can be the same as or close to the time in the table, the search method proposed in this embodiment is fuzzy search. Furthermore, the aforementioned preset deviation range can be set by the user in practical applications, and is usually a relatively small value, such as one minute, etc., without specific limitation here.
[0054] Furthermore, after the RTO system has completed the execution of all optimization results in the target column, the target column can be deleted, which not only prevents repeated execution but also reduces table size and memory usage.
[0055] Based on the scheme defined in steps S102 to S108 above, it can be understood that, in the embodiment, a first moment is determined for periodically outputting the optimization results of multiple devices within the target device, wherein the optimization result is the result of adjusting the optimization variables corresponding to each device within the target device; a first time interval is determined between multiple devices at adjacent process positions within the target device through which material flows; a target table is constructed based on the first moment and the first time interval, wherein the target table includes multiple second moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second moment; multiple retrieval moments are determined according to a preset retrieval time interval, and the optimization results in the corresponding target column of the target table are executed according to each retrieval moment.
[0056] Therefore, the technical solution of this application embodiment can realize that the optimization results of each optimization variable can be output in chronological order, while avoiding the current optimization result from overwriting the previous incomplete optimization result, ensuring the optimization effect of APC in adjusting the device by executing the optimization result, and thus solving the technical problem that the related technology has no time sequence in the optimization result output stage, resulting in the optimization result not being executed properly and the execution effect being poor.
[0057] Example 2
[0058] According to an embodiment of this application, an optimization result execution apparatus for implementing the above-described optimization result execution method is also provided. Figure 4 This is a schematic diagram of the structure of an optional optimization result execution device according to an embodiment of this application, such as... Figure 4 As shown, the optimization result execution device includes at least a first determining module 41, a second determining module 42, a construction module 43, and an execution module 44, wherein:
[0059] The first determining module 41 is used to determine the first moment when the optimization results of multiple devices in the target device are periodically output, wherein the optimization results are the result of adjusting the optimization variables corresponding to each device in the target device.
[0060] Specifically, an RTO system typically calculates and outputs the optimization results corresponding to the optimization variables of each device at fixed time intervals, such as calculating and outputting the optimization results every hour. Therefore, this time interval can be represented as ΔT1, and the multiple first moments determined by the first determining module 41 can be denoted as T1, T2, T3, ..., T n .
[0061] The second determining module 42 is used to determine the first time interval between multiple devices at adjacent process positions within the target device through which the material flows.
[0062] As an optional implementation, the second determining module 42 is further configured to determine the first time interval based on the equipment capacity of multiple devices at adjacent process positions within the target device; or, to determine the first time interval based on the step test results of multiple devices at adjacent process positions within the target device.
[0063] Optionally, for multiple devices at adjacent process locations within the target device, the total device capacity of the multiple devices at adjacent process locations and the material flow rate through the multiple devices are obtained, and a first time interval is calculated based on the total device capacity and the material flow rate.
[0064] Optionally, for multiple devices at adjacent process positions within the target device, a fluctuation variable is applied multiple times to the first optimization variable of the first device at the front position, while the second time interval of each change of the second optimization variable of each second device at the back position is recorded, and the average of the multiple second time intervals of each second device is used as the first time interval.
[0065] In addition to the two methods mentioned above, the first time interval can also be determined based on the experience of the equipment process personnel. In practical applications, the above three methods can be selected at one's own discretion.
[0066] The construction module 43 is used to construct a target table based on the first time moment and the first time interval. The target table includes multiple second time moments and is used to record the optimization results of the optimization variables corresponding to each device at each second time moment.
[0067] As an optional implementation, the construction module 43 is also used to determine an intermediate time based on the earlier first time and the first time interval for any two adjacent first times, and add an intermediate time between the two adjacent first times to obtain multiple column headers of the target table; use the optimization variables corresponding to multiple devices as row headers of the target table to obtain multiple row headers; and construct the target table from the multiple row headers and multiple column headers.
[0068] Specifically, an intermediate time is added between every two adjacent first time points. This intermediate time point is the sum of the earlier first time point within the two adjacent first time points and the first time interval. The time points are used as columns, and the optimization variables corresponding to each device are used as rows. Thus, the target table is composed of multiple row headers and multiple column headers. The i-th row and j-th column in the table corresponds to the optimization result of the i-th optimization variable at time j.
[0069] The execution module 44 is used to determine multiple retrieval times according to a preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time.
[0070] Specifically, when executing the optimization results, in order to output the optimization results in chronological order, the RTO system can retrieve the column headers in the target table according to time and execute all optimization results in the target column at the same time as the retrieval.
[0071] As an optional implementation, the execution module 44 is also used to calculate the time deviation between the retrieval time and each second time in the target table, and take the second time with a time deviation less than a preset deviation range as the target time; determine the target column in the target table where the target time is located, and execute the optimization results in the target column.
[0072] In this embodiment, since the search time in practical applications can be the same as or close to the time in the table, the search method proposed in this embodiment is fuzzy search. Furthermore, the aforementioned preset deviation range can be set by the user in practical applications, and is usually a relatively small value, such as one minute, etc., without specific limitation here.
[0073] Furthermore, after the execution module 44 has completed the execution of all optimization results in the target column, it can delete the target column, which can not only prevent repeated execution, but also reduce table size and memory usage.
[0074] It should be noted that each module in the optimization result execution device in this application embodiment corresponds one-to-one with each implementation step of the optimization result execution method in embodiment 1. Since embodiment 1 has been described in detail, some details not shown in this embodiment can be referred to embodiment 1, and will not be elaborated further here.
[0075] Example 3
[0076] According to an embodiment of this application, a non-volatile storage medium is also provided, which includes a stored program, wherein the device where the non-volatile storage medium is located executes the optimization result execution method in Embodiment 1 by running the program.
[0077] Specifically, the device containing the non-volatile storage medium executes the following steps by running this program:
[0078] Step S102: Determine the first moment when the optimization results of multiple devices in the target device are periodically output, wherein the optimization results are the results of adjusting the optimization variables corresponding to each device in the target device;
[0079] Step S104: Determine the first time interval between multiple devices at adjacent process locations within the target device through which the material flows;
[0080] Step S106: Construct a target table based on the first time moment and the first time interval, wherein the target table includes multiple second time moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second time moment;
[0081] Step S108: Determine multiple retrieval times according to the preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time.
[0082] According to an embodiment of this application, a processor is also provided for running a program, wherein the program executes the optimization result execution method in embodiment 1 during runtime.
[0083] Specifically, the program executes the following steps during runtime:
[0084] Step S102: Determine the first moment when the optimization results of multiple devices in the target device are periodically output, wherein the optimization results are the results of adjusting the optimization variables corresponding to each device in the target device;
[0085] Step S104: Determine the first time interval between multiple devices at adjacent process locations within the target device through which the material flows;
[0086] Step S106: Construct a target table based on the first time moment and the first time interval, wherein the target table includes multiple second time moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second time moment;
[0087] Step S108: Determine multiple retrieval times according to the preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time.
[0088] According to an embodiment of this application, an electronic device is also provided, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the optimization result execution method of embodiment 1 through the computer program.
[0089] Specifically, the processor is configured to execute the following steps via a computer program:
[0090] Step S102: Determine the first moment when the optimization results of multiple devices in the target device are periodically output, wherein the optimization results are the results of adjusting the optimization variables corresponding to each device in the target device;
[0091] Step S104: Determine the first time interval between multiple devices at adjacent process locations within the target device through which the material flows;
[0092] Step S106: Construct a target table based on the first time moment and the first time interval, wherein the target table includes multiple second time moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second time moment;
[0093] Step S108: Determine multiple retrieval times according to the preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time.
[0094] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0095] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0097] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0098] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0099] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0100] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. An optimized result execution method, characterized by, include: The first moment of determining the optimization results of multiple devices within the target device that are periodically output, wherein the optimization results are the result of adjusting the optimization variables corresponding to each device within the target device; Determine a first time interval between multiple devices at adjacent process locations within the target device through which material flows; A target table is constructed based on the first time point and the first time interval. The target table includes multiple second time points and is used to record the optimization results of the optimization variables corresponding to each device at each second time point. The second time point includes: the first time point and an intermediate time point determined based on the first time point and the first time interval. Multiple retrieval times are determined according to a preset retrieval time interval, and the optimization results in the corresponding target column of the target table are executed according to each retrieval time. Determining the first time interval between multiple devices at adjacent process positions within the target device includes: determining the first time interval based on the device capacity of the multiple devices at adjacent process positions within the target device, including: for the multiple devices at adjacent process positions within the target device, obtaining the total device capacity of the multiple devices at adjacent process positions and the material flow rate through the multiple devices, and calculating the first time interval based on the total device capacity and the material flow rate; or, determining the first time interval based on the step test results of the multiple devices at adjacent process positions within the target device, including: for the multiple devices at adjacent process positions within the target device, applying fluctuation variables multiple times to the first optimization variable of the first device at the leading position, while recording the second time interval for each change of the second optimization variable of each second device at the trailing position, and using the average of the multiple second time intervals of each second device as the first time interval; The process of executing the optimization results in the corresponding target column of the target table according to each retrieval time includes: calculating the time deviation between the retrieval time and each second time in the target table, and taking the second time with a time deviation less than a preset deviation range as the target time; determining the target column of the target time in the target table, and executing the optimization results in the target column.
2. The method of claim 1, wherein, Construct a target table based on the first time point and the first time interval, including: For any two adjacent first moments, an intermediate moment is determined based on the earlier first moment and the first time interval, and the intermediate moment is added between the two adjacent first moments to obtain multiple column headers of the target table; Multiple optimization variables corresponding to the devices are used as row headers in the target table to obtain multiple row headers; The target table is constructed from the plurality of row headers and the plurality of column headers.
3. The method of claim 1, wherein, After determining the target column in the target table at the target time and executing the optimization results in the target column, the method further includes: deleting the target column.
4. An optimized result execution apparatus, characterized by, include: The first determining module is used to determine the first moment when the optimization results of multiple devices in the target device are periodically output, wherein the optimization results are the result of adjusting the optimization variables corresponding to each device in the target device; The second determining module is used to determine a first time interval between multiple devices at adjacent process positions within the target device through which the material flows; A construction module is used to construct a target table based on the first time moment and the first time interval, wherein the target table includes multiple second time moments, and the target table is used to record the optimization results of the optimization variables corresponding to each device at each second time moment, wherein the second time moment includes: the first time moment and an intermediate time moment determined based on the first time moment and the first time interval; The execution module is used to determine multiple retrieval times according to a preset retrieval time interval, and execute the optimization results in the corresponding target column of the target table according to each retrieval time. Determining the first time interval between multiple devices at adjacent process positions within the target device includes: determining the first time interval based on the device capacity of the multiple devices at adjacent process positions within the target device, including: for the multiple devices at adjacent process positions within the target device, obtaining the total device capacity of the multiple devices at adjacent process positions and the material flow rate through the multiple devices, and calculating the first time interval based on the total device capacity and the material flow rate; or, determining the first time interval based on the step test results of the multiple devices at adjacent process positions within the target device, including: for the multiple devices at adjacent process positions within the target device, applying fluctuation variables multiple times to the first optimization variable of the first device at the leading position, while recording the second time interval for each change of the second optimization variable of each second device at the trailing position, and using the average of the multiple second time intervals of each second device as the first time interval; The process of executing the optimization results in the corresponding target column of the target table according to each retrieval time includes: calculating the time deviation between the retrieval time and each second time in the target table, and taking the second time with a time deviation less than a preset deviation range as the target time; determining the target column of the target time in the target table, and executing the optimization results in the target column.
5. A non-volatile storage medium, characterized by, The non-volatile storage medium includes a stored program, wherein the device containing the non-volatile storage medium executes the optimization result execution method according to any one of claims 1 to 3 by running the program.
6. An electronic device, comprising: include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the optimization result execution method according to any one of claims 1 to 3 through the computer program.