Method and system for calculating flow cumulant in thermal power plant and related device

By resetting the cumulative flow to zero and recording the number of times when it reaches a threshold in thermal power plants, and combining this with multiplication operations over a time period, the problem of inaccurate calculation of cumulative flow was solved, achieving higher calculation accuracy and efficiency.

CN121297970APending Publication Date: 2026-01-09内蒙古聚达发电有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511571886.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

The accuracy of cumulative flow calculation in thermal power plants is low, mainly because a large amount of cumulative flow data is not accumulated or summarized, resulting in inaccurate calculation results.

Method used

When the current cumulative traffic reaches a preset threshold, it is reset to zero, and the number of times it is reset is recorded. The cumulative traffic is recalculated, and at the end of the target time period, the number of times it is reset is multiplied by the traffic threshold, and the sum is used to determine the total cumulative traffic.

Benefits of technology

It effectively reduces the accumulation of traffic data, lowers computational pressure, improves the accuracy of traffic accumulation calculation, prevents data omissions, and ensures the accuracy of the total traffic accumulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121297970A_ABST
    Figure CN121297970A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for calculating the flow cumulant in a thermal power plant and a related device, and relates to the field of thermal power plants, and the method comprises the steps: collecting the instantaneous flow of a fluid in a target time period, and calculating the current flow cumulant according to the instantaneous flow; when the current traffic cumulant is not less than a preset traffic threshold, performing zero clearing on the current traffic cumulant, performing + 1 processing on the currently recorded zero clearing times, and recalculating the current traffic cumulant; and if the current moment is not earlier than the target time period, multiplying the zero clearing times by a preset traffic threshold value, summing the product with the current traffic accumulation amount of the current moment, and determining the summing result as the traffic accumulation total amount of the target time period. When the current traffic cumulant meets the preset traffic threshold value, the current traffic cumulant is automatically reset and accumulated again, traffic accumulation data accumulation is prevented, and the calculation accuracy of the traffic cumulant is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of thermal power plant technology, and in particular to a method, system and related device for calculating the cumulative flow in a thermal power plant. Background Technology

[0002] In a thermal power plant, the cumulative flow refers to the total amount of fluid (such as water, steam, fuel, etc.) that flows through specific pipes or equipment within a certain period of time. By calculating the cumulative flow, indicators such as electricity costs and coal consumption rates can be calculated to optimize the production costs of the thermal power plant; abnormal flow can also be detected in a timely manner to avoid equipment failure; and the rational utilization of fluid and other resources can be ensured.

[0003] Currently, the calculation of cumulative flow is mainly achieved by measuring instantaneous flow in real time using flow meters and then obtaining the cumulative flow through integration. However, during the operation of thermal power plants, the large amount of cumulative flow data calculated can lead to situations where subsequent flow data is not accumulated (data is not added or summarized) during integration, resulting in low accuracy in the calculation of cumulative flow. Summary of the Invention

[0004] In view of the above problems, this application provides a method, system, and related device for calculating the cumulative flow in a thermal power plant, so as to improve the accuracy of the calculation of the cumulative flow. The specific solution is as follows:

[0005] The first aspect of this application provides a method for calculating the cumulative flow in a thermal power plant, the method comprising:

[0006] Within the target time period, the instantaneous flow rate of the fluid is collected, and the current cumulative flow rate is calculated based on the instantaneous flow rate.

[0007] When the current cumulative traffic volume is not less than the preset traffic threshold, the current cumulative traffic volume is cleared to zero, the current number of clears is incremented by 1, and the current cumulative traffic volume is recalculated.

[0008] If the current time is not earlier than the target time period, the number of times to clear the threshold is multiplied by the preset traffic threshold, and the product is summed with the current cumulative traffic at the current time. The summation result is determined as the total cumulative traffic for the target time period.

[0009] In one possible implementation, a system for calculating the cumulative flow in a thermal power plant is provided. The system includes a control module, a data acquisition module, an integral accumulation module, a NOT logic module, and a counting module. The data acquisition module is used to acquire the instantaneous flow rate of the fluid, and the integral accumulation module is used to calculate the current cumulative flow based on the instantaneous flow rate.

[0010] When the current cumulative traffic volume is not less than a preset traffic threshold, the current cumulative traffic volume is cleared to zero, the current clearing count is incremented by 1, and the current cumulative traffic volume is recalculated, including:

[0011] When the current cumulative traffic calculated by the integral accumulation module is not less than the preset traffic threshold, the control module triggers the non-logic module to clear the current cumulative traffic to zero. The control module then triggers the integral accumulation module to recalculate the current cumulative traffic and triggers the counting module to increment the current number of times the record has been cleared by 1.

[0012] In one possible implementation, a calculation system for the cumulative flow in a thermal power plant is provided, the calculation system comprising a control module, a threshold product module, and an addition logic module;

[0013] If the current time is not earlier than the target time period, then the number of times to clear traffic is multiplied by the preset traffic threshold, and the product is summed with the current cumulative traffic at the current time, including:

[0014] If the current time is not earlier than the target time period, the control module triggers the threshold product module to multiply the number of zeroing counts by the preset traffic threshold, and the control module triggers the addition logic module to sum the product with the current cumulative traffic volume at the current time.

[0015] One possible implementation also includes:

[0016] If the current time is not earlier than the target time period and the total cumulative traffic is obtained, the current cumulative traffic and the number of times to clear are reset to zero.

[0017] In one possible implementation, a calculation system for the cumulative flow in a thermal power plant is used, the calculation system including an integral accumulation module, a counting module and a cumulative clearing module;

[0018] The process of resetting the current cumulative traffic volume and the number of resets includes:

[0019] The cumulative clearing module responds to the cumulative clearing instruction by sending a pulse instruction to the integration accumulation module and the counting module, thereby clearing the current cumulative flow in the integration accumulation module and the number of clearings in the counting module through the pulse instruction.

[0020] A second aspect of this application provides a system for calculating the cumulative flow in a thermal power plant. The system includes a control module, a first module, a second module, and a third module. The control module is used to control the first module, the second module, and the third module.

[0021] The first module is used to collect the instantaneous flow rate of the fluid within a target time period and calculate the current cumulative flow rate based on the instantaneous flow rate;

[0022] The second module is used to clear the current cumulative traffic volume to zero when the current cumulative traffic volume is not less than a preset traffic threshold, increment the current number of times the volume has been cleared by 1, and recalculate the current cumulative traffic volume.

[0023] The third module is used to multiply the number of times to clear traffic by the preset traffic threshold if the current time is not earlier than the target time period, and sum the product with the current cumulative traffic at the current time, and determine the summation result as the total cumulative traffic for the target time period.

[0024] In one possible implementation, the first module includes a data acquisition module and an integration accumulation module, and the second module includes a NOT logic module and a counting module.

[0025] The acquisition module is used to acquire the instantaneous flow rate of the fluid, the integration and accumulation module is used to calculate the current cumulative flow rate based on the instantaneous flow rate, and the integration and accumulation module is also used to recalculate the current cumulative flow rate after the current cumulative flow rate is cleared to zero;

[0026] The non-logic module is used to clear the current cumulative traffic volume to zero when the current cumulative traffic volume is not less than the preset traffic threshold, and the counting module is used to increment the current number of times the volume has been cleared by 1.

[0027] In one possible implementation, the third module includes a threshold product module and an addition logic module;

[0028] The threshold product module is used to multiply the number of times to zero by the preset traffic threshold, and the addition logic module is used to sum the product with the current cumulative traffic at the current moment.

[0029] A third aspect of this application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0030] The memory is used to store computer programs;

[0031] The processor is used to execute the computer program so that the electronic device can implement the method for calculating the cumulative flow in a thermal power plant according to the first aspect or any implementation thereof.

[0032] The fourth aspect of this application provides a computer program product, including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement the method for calculating the cumulative flow in a thermal power plant as described in the first aspect or any implementation thereof.

[0033] This application discloses a method, system, and related apparatus for calculating cumulative flow in thermal power plants, utilizing the aforementioned technical solution. The method collects the instantaneous flow rate of the fluid within a target time period and calculates the current cumulative flow based on the instantaneous flow rate. During the calculation, if the current cumulative flow is not less than a preset flow threshold, the current cumulative flow is reset to zero, the recorded reset count is incremented by 1, and the current cumulative flow is recalculated. When calculating the total cumulative flow for the target time period, if the current time is no earlier than the target time period, the reset count is multiplied by the preset flow threshold, and the product is summed with the current cumulative flow at the current time. The summation result is determined as the total cumulative flow for the target time. This method automatically resets the current cumulative flow to zero and re-accumulates it when it meets the preset flow threshold, preventing the accumulation of cumulative flow data, reducing the calculation burden of the current cumulative flow, and minimizing the possibility of subsequent flow data not being accumulated. Furthermore, the total flow to be reset is determined by the recorded reset count, facilitating the calculation of the total cumulative flow. Therefore, this method can effectively improve the accuracy of cumulative flow calculation. Attached Figure Description

[0034] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0035] Figure 1 A schematic diagram of the structure of a system for calculating the cumulative flow in a thermal power plant, provided in an embodiment of this application;

[0036] Figure 2 A flowchart illustrating a method for calculating cumulative flow in a thermal power plant, provided as an embodiment of this application;

[0037] Figure 3 A schematic diagram of another system for calculating the cumulative flow in a thermal power plant, provided as an embodiment of this application;

[0038] Figure 4 This application provides a hardware structure block diagram of an electronic device. Detailed Implementation

[0039] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.

[0040] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.

[0041] The terms "first," "second," etc., used in the specification and accompanying 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 terms can be used interchangeably where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of units is not necessarily limited to those units, but may include those not explicitly listed or relevant to these processes.

[0042] In thermal power plants, the cumulative flow rate refers to the total amount of fluid (such as water, steam, or fuel) passing through specific pipes or equipment within a certain time period. Currently, the calculation method for cumulative flow rate involves measuring the instantaneous flow rate in real time using a flow meter, and then integrating the results to obtain the cumulative flow rate. For example, a differential pressure flow meter measures the differential pressure generated by the fluid passing through a throttling device, combines this with the fluid density and pipe parameters to calculate the instantaneous flow rate, and then integrates the results over time to obtain the cumulative flow rate.

[0043] During the operation of thermal power plants, a large amount of flow data is generated, resulting in a large amount of cumulative flow data for calculation. This large amount of cumulative flow data can lead to problems such as high computational resource consumption and computational delays. It can also cause situations where subsequent flow data is not accumulated (data is not added or summarized). The omission of subsequent flow data makes the final calculated cumulative flow data inaccurate, thus resulting in a low accuracy rate for calculating cumulative flow.

[0044] To address the aforementioned problems, this application provides a method for calculating the cumulative flow in a thermal power plant. This method resets the current cumulative flow to zero using preset conditions, thereby reducing the accumulation of large amounts of cumulative flow data, lowering the computational burden, effectively reducing the occurrence of subsequent non-accumulated flow data, and improving the accuracy of the cumulative flow calculation. The method for calculating the cumulative flow in a thermal power plant according to this application will be described in detail below with reference to the accompanying drawings.

[0045] This application provides a method for calculating the cumulative flow in a thermal power plant, which is applied to a system for calculating the cumulative flow in a thermal power plant. (Refer to...) Figure 1 , Figure 1 This application provides a schematic diagram of the structure of a flow accumulation calculation system in a thermal power plant. The system includes a control module, a first module, a second module, and a third module. The control module can refer to a component or subsystem responsible for controlling and regulating other modules in the system. Optionally, it can be a controller.

[0046] Reference Figure 2 , Figure 2 A flowchart illustrating a method for calculating cumulative flow in a thermal power plant, as provided in this application embodiment, is shown below. Figure 2 As shown in the embodiment of this application, a method for calculating the cumulative flow in a thermal power plant may include steps S10 to S12, which are described in detail below.

[0047] S10. During the target time period, collect the instantaneous flow rate of the fluid and calculate the current cumulative flow rate based on the instantaneous flow rate.

[0048] The target time period can refer to the time period used to calculate the cumulative flow of the fluid, which can optionally be multiple minutes, multiple hours, or multiple days. The first module can be the module that, in this embodiment, implements the acquisition of fluid flow data and the calculation of the current cumulative flow. Specifically, the first module can include an acquisition module and an integration and accumulation module. The acquisition module is used to acquire the instantaneous flow rate of the fluid, specifically, it can be the flow meter of each fluid. The integration and accumulation module is used to calculate the current cumulative flow through integration. Specifically, after the acquisition module acquires the instantaneous flow rate of the fluid, it first converts the unit of the instantaneous flow rate to meet the calculation requirements of the integration and accumulation module. The integration and accumulation module integrates the instantaneous flow rate to obtain the total instantaneous flow rate value and accumulates it with the total instantaneous flow rate values ​​at other times in the integration and accumulation module to obtain the current cumulative flow. Therefore, the current cumulative flow can refer to the total cumulative flow of the fluid calculated at the current moment. In this embodiment, the process of converting the unit of instantaneous flow rate can be specifically as follows: the unit of the collected instantaneous flow rate is t / h (tons per hour), a division operation (divided by 3600) is performed to convert the unit of instantaneous flow rate from t / h to t / s (tons per second), and then subsequent integral accumulation operation is performed.

[0049] S11. When the current cumulative traffic volume is not less than the preset traffic threshold, the current cumulative traffic volume is cleared to zero, the current number of times it is cleared is incremented by 1, and the current cumulative traffic volume is recalculated.

[0050] The preset traffic threshold can refer to the boundary value that triggers the zeroing operation. Specifically, in this embodiment, the preset traffic threshold is 3000. When the current cumulative traffic in the integration accumulation module is not less than the preset traffic threshold, the current cumulative traffic in the integration accumulation module can be triggered to zero. The second module can be the module that implements the zeroing of the current cumulative traffic and records the number of zeroing operations in this embodiment. The number of zeroing operations can refer to the number of times the current cumulative traffic has been zeroed. It can represent the number of times the current cumulative traffic is not less than the preset traffic threshold. Whenever the current cumulative traffic is not less than the preset traffic threshold and is zeroed, the number of zeroing operations can be incremented by 1.

[0051] Specifically, the second module can include a NOT logic module and a counting module. The NOT logic module can be a logic module that uses NOT logic, which is used to implement logical negation. The counting module can be used to count the number of times the code is reset. Therefore, the above process can be specifically described as follows:

[0052] When the current cumulative traffic calculated by the integral accumulation module is not less than the preset traffic threshold, the control module triggers the non-logic module to clear the current cumulative traffic to zero. The control module then triggers the integral accumulation module to recalculate the current cumulative traffic and triggers the counting module to increment the current record's clear count by 1.

[0053] The order in which the steps of clearing the current cumulative traffic and recording the number of times to clear the current traffic is not fixed. When the current cumulative traffic is not less than the preset traffic threshold, the current cumulative traffic can be cleared first and then the number of times to clear the current traffic is incremented by 1, or the number of times to clear the current traffic is incremented by 1 first and then the current cumulative traffic is cleared first, or both steps can be executed simultaneously. Furthermore, the order in which the steps of recording the number of times to clear the current cumulative traffic and recalculating the current cumulative traffic is also not fixed. The number of times to clear the current traffic can be recorded first and then the current cumulative traffic can be recalculated, or the current cumulative traffic can be recalculated first and then the number of times to clear the current traffic is recorded, or both steps can be executed simultaneously.

[0054] S12. If the current time is not earlier than the target time period, the number of times to clear the data is multiplied by the preset traffic threshold, and the product is summed with the current cumulative traffic amount at the current time. The summation result is determined as the total cumulative traffic amount for the target time period.

[0055] The cumulative flow can refer to the total flow rate of the fluid within the target time period. The third module can be the module that calculates the cumulative flow in this embodiment. Specifically, the third module can include a threshold multiplication module and an addition logic module. The threshold multiplication module can be used to multiply the number of resets by a preset flow threshold, and the addition logic module can be used to sum the product of the number of resets and the preset flow threshold with the current cumulative flow at the current moment. Therefore, the above process can be specifically described as follows:

[0056] If the current time is not earlier than the target time period, the control module triggers the threshold product module to multiply the number of resets by the preset traffic threshold, and the control module triggers the addition logic module to sum the product with the current cumulative traffic amount at the current time.

[0057] Since the number of times to clear traffic is updated based on the current cumulative traffic amount not being less than the preset traffic threshold, the value of the number of times to clear traffic can represent the corresponding number of preset traffic thresholds. Therefore, the product of the number of times to clear traffic and the preset traffic threshold can represent the total amount of traffic cleared within the target time period. After adding it to the current cumulative traffic amount at the current moment, the total cumulative traffic amount for the target time can be obtained.

[0058] If the current time is not earlier than the target time period, it indicates that the target time period has ended and the total traffic accumulation for the target time period has been calculated. The system can then be reset to allow for the calculation of the traffic accumulation for the next target time period. Therefore, in this embodiment, when the current time is not earlier than the target time period and the total traffic accumulation has been obtained, the current traffic accumulation and the reset count are reset to zero. Specifically, the system in this embodiment may further include a fourth module, which can be a module that implements the reset function in this embodiment. Specifically, the fourth module can be a cumulative reset module, which can send pulse commands to the first and second modules in response to a cumulative reset command. These pulse commands reset the current traffic accumulation in the integration accumulation module of the first module and the reset count in the counting module of the second module. The user can trigger the system's cumulative reset button to send a cumulative reset command to the system. The cumulative reset module can then send pulse commands to the first and second modules in response to this command, resetting the system by resetting the current traffic accumulation in the integration accumulation module and the reset count in the counting module.

[0059] Therefore, a specific embodiment is provided to illustrate the above-described calculation process for cumulative traffic. For example... Figure 3The system structure diagram shown includes a control module, a data acquisition module, an integral accumulation module, a NOT logic module, a counting module, a threshold product module, an add logic module, a cumulative clearing module, and an OR logic module. Solid arrows connecting modules indicate actual data transmission, while dashed arrows indicate communication connections. The control module communicates with the data acquisition module, the integral accumulation module, and the threshold product module. The output of the data acquisition module is connected to the input of the integral accumulation module. The output of the integral accumulation module is connected to the input of the counting module, the add logic module, and the NOT logic module. The output of the counting module is connected to the input of the threshold product module. The output of the threshold product module is connected to the input of the add logic module. The output of the NOT logic module communicates with the input of the OR logic module. The output of the cumulative clearing module communicates with the inputs of both the OR logic module and the counting module. The output of the OR logic module communicates with the input of the integral accumulation module.

[0060] The control module controls the acquisition module to collect instantaneous flow (t / h) and divides the instantaneous flow by 3600. The unit-converted instantaneous flow is then input into the integration accumulation module for flow integration accumulation. When the current cumulative flow in the integration accumulation module is not less than 3000, the NOT logic module and the counting module are triggered. The NOT logic module outputs 1 to the OR logic module. Since the target time period has not ended, the cumulative clearing module is not triggered. The cumulative clearing module outputs 0 to the OR logic module. At this time, one of the two inputs of the OR logic module is 1 and the other is 0, so the output of the OR logic module is 1, triggering the clearing of the integration accumulation module. The counting module increments the number of clears by 1.

[0061] When the current time is not earlier than the target time period, the control module triggers the integral accumulation module and the threshold product module. The threshold product module obtains the number of times the count has been reset at the current time from the counting module and multiplies it with the preset flow threshold. The addition logic module sums the product of the number of resets and the preset flow threshold with the current flow accumulation at the current time. The addition logic module outputs the total flow accumulation for the target time period.

[0062] If the current time is not earlier than the target time period and the total traffic volume for the target time is obtained, then in response to the user's operation, the cumulative clearing module is triggered to output 1 to the OR logic module. At this time, the integral accumulation module has not triggered the non-logic module, and the output of the non-logic module to the OR logic module is 0. At this time, the two inputs of the OR logic module are 1 and 0 respectively, so the output of the OR logic module is 1, triggering the clearing of the integral accumulation module, and the cumulative clearing module triggers the counting module to clear the number of clearings.

[0063] This application provides a method for calculating the cumulative flow in a thermal power plant. The method involves collecting the instantaneous flow rate of the fluid within a target time period and calculating the current cumulative flow based on the instantaneous flow rate. During the calculation, if the current cumulative flow is not less than a preset flow threshold, the current cumulative flow is reset to zero, the number of resets is incremented by 1, and the current cumulative flow is recalculated. When calculating the total cumulative flow for the target time period, if the current time is no earlier than the target time period, the number of resets is multiplied by the preset flow threshold, and the product is summed with the current cumulative flow at the current time. The summation result is determined as the total cumulative flow for the target time period. This method automatically resets the current cumulative traffic volume to zero and restarts the accumulation process when it meets a preset traffic threshold. This prevents data accumulation, reduces the computational burden on the current cumulative traffic volume, and minimizes the possibility of subsequent traffic data not accumulating. Furthermore, the total traffic volume reset is determined by recording the number of resets, facilitating the calculation of the total cumulative traffic volume. Additionally, after obtaining the total cumulative traffic volume for a target time period, this method can reset the system by triggering a cumulative reset, facilitating the calculation of the cumulative traffic volume for the next target time period. Therefore, this method effectively improves the accuracy of cumulative traffic volume calculation.

[0064] The above describes a method for calculating the cumulative flow in a thermal power plant, as provided in the embodiments of this application. The following will describe a system that applies the above-described method for calculating the cumulative flow in a thermal power plant.

[0065] The system for calculating the cumulative flow in the thermal power plant may include a control module, a first module, a second module, and a third module. The control module is used to control the first module, the second module, and the third module.

[0066] The first module is used to collect the instantaneous flow rate of the fluid within the target time period and calculate the current cumulative flow rate based on the instantaneous flow rate.

[0067] The second module is used to clear the current cumulative traffic volume to zero when the current cumulative traffic volume is not less than the preset traffic threshold, increment the current number of times the volume has been cleared by 1, and recalculate the current cumulative traffic volume.

[0068] The third module is used to multiply the number of resets by the preset traffic threshold if the current time is not earlier than the target time period, and then sum the product with the current cumulative traffic amount at the current time, and determine the summation result as the total cumulative traffic amount for the target time period.

[0069] In one possible implementation, the first module may include a data acquisition module and an integration accumulation module, and the second module may include a NOT logic module and a counting module.

[0070] The acquisition module is used to acquire the instantaneous flow rate of the fluid. The integral accumulation module is used to calculate the current cumulative flow rate based on the instantaneous flow rate. The integral accumulation module is also used to recalculate the current cumulative flow rate after the current cumulative flow rate is cleared to zero. The NOT logic module is used to clear the current cumulative flow rate to zero when the current cumulative flow rate is not less than the preset flow rate threshold. The counting module is used to increment the current number of times the flow rate has been cleared by 1.

[0071] In one possible implementation, the third module may include a threshold product module and an addition logic module;

[0072] The threshold product module is used to multiply the number of times to clear traffic by the preset traffic threshold, and the addition logic module is used to sum the product with the current cumulative traffic at the current moment.

[0073] In one possible implementation, the system may also include a fourth module.

[0074] The fourth module is used to reset the current cumulative traffic volume and the number of resets to zero when the current time is not earlier than the target time period and the total cumulative traffic volume is obtained.

[0075] In one possible implementation, the fourth module can be specifically a cumulative clearing module;

[0076] The cumulative clearing module responds to the cumulative clearing command by sending pulse commands to the integration accumulation module and the counting module. The pulse commands clear the current cumulative flow in the integration accumulation module and the number of clearings in the counting module.

[0077] This application also provides an electronic device in its embodiments. (See reference...) Figure 4 The diagram illustrates a structural schematic suitable for implementing the electronic device in the embodiments of this application. The electronic device in the embodiments of this application may include, but is not limited to, fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0078] like Figure 4 As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. When the electronic device is powered on, the RAM 403 also stores various programs and data required for the operation of the electronic device. The processing unit 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output interface (I / O interface) 405 is also connected to the bus 404.

[0079] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 408 including, for example, memory cards, hard drives, etc.; and communication devices 409. Communication device 409 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0080] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the methods for calculating the cumulative flow in a thermal power plant provided in this application.

[0081] This application also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the methods for calculating the cumulative flow in a thermal power plant provided in this application.

[0082] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and 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 network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.

[0083] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0084] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0085] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

[0086] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0087] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0088] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for calculating the cumulative flow in a thermal power plant, characterized in that, The method for calculating the cumulative flow in the thermal power plant includes: Within the target time period, the instantaneous flow rate of the fluid is collected, and the current cumulative flow rate is calculated based on the instantaneous flow rate. When the current cumulative traffic volume is not less than the preset traffic threshold, the current cumulative traffic volume is cleared to zero, the current number of clears is incremented by 1, and the current cumulative traffic volume is recalculated. If the current time is not earlier than the target time period, the number of times to clear the threshold is multiplied by the preset traffic threshold, and the product is summed with the current cumulative traffic at the current time. The summation result is determined as the total cumulative traffic for the target time period.

2. The method for calculating the cumulative flow in a thermal power plant according to claim 1, characterized in that, A system for calculating the cumulative flow in a thermal power plant is provided. The system includes a control module, a data acquisition module, an integral accumulation module, a NOT logic module, and a counting module. The data acquisition module is used to acquire the instantaneous flow rate of the fluid, and the integral accumulation module is used to calculate the current cumulative flow based on the instantaneous flow rate. When the current cumulative traffic volume is not less than a preset traffic threshold, the current cumulative traffic volume is cleared to zero, the current clearing count is incremented by 1, and the current cumulative traffic volume is recalculated, including: When the current cumulative traffic calculated by the integral accumulation module is not less than the preset traffic threshold, the control module triggers the non-logic module to clear the current cumulative traffic to zero. The control module then triggers the integral accumulation module to recalculate the current cumulative traffic and triggers the counting module to increment the current number of times the record has been cleared by 1.

3. The method for calculating the cumulative flow in a thermal power plant according to claim 1, characterized in that, A calculation system for cumulative flow in a thermal power plant is provided, the calculation system comprising a control module, a threshold product module, and an addition logic module; If the current time is not earlier than the target time period, then the number of times to clear traffic is multiplied by the preset traffic threshold, and the product is summed with the current cumulative traffic at the current time, including: If the current time is not earlier than the target time period, the control module triggers the threshold product module to multiply the number of zeroing counts by the preset traffic threshold, and the control module triggers the addition logic module to sum the product with the current cumulative traffic volume at the current time.

4. The method for calculating the cumulative flow in a thermal power plant according to claim 1, characterized in that, Also includes: If the current time is not earlier than the target time period and the total cumulative traffic is obtained, the current cumulative traffic and the number of times to clear are reset to zero.

5. The method for calculating the cumulative flow in a thermal power plant according to claim 4, characterized in that, A calculation system for cumulative flow in a thermal power plant is provided, the calculation system comprising an integral accumulation module, a counting module, and a cumulative clearing module; The process of resetting the current cumulative traffic volume and the number of resets includes: The cumulative clearing module responds to the cumulative clearing instruction by sending a pulse instruction to the integration accumulation module and the counting module, thereby clearing the current cumulative flow in the integration accumulation module and the number of clearings in the counting module through the pulse instruction.

6. A system for calculating cumulative flow in a thermal power plant, characterized in that, The system includes a control module, a first module, a second module, and a third module, wherein the control module is used to control the first module, the second module, and the third module; The first module is used to collect the instantaneous flow rate of the fluid within a target time period and calculate the current cumulative flow rate based on the instantaneous flow rate; The second module is used to clear the current cumulative traffic volume to zero when the current cumulative traffic volume is not less than a preset traffic threshold, increment the current number of times the volume has been cleared by 1, and recalculate the current cumulative traffic volume. The third module is used to multiply the number of times to clear traffic by the preset traffic threshold if the current time is not earlier than the target time period, and sum the product with the current cumulative traffic at the current time, and determine the summation result as the total cumulative traffic for the target time period.

7. The system for calculating cumulative flow in a thermal power plant according to claim 6, characterized in that, The first module includes a data acquisition module and an integration accumulation module; the second module includes a NOT logic module and a counting module. The acquisition module is used to acquire the instantaneous flow rate of the fluid, the integration and accumulation module is used to calculate the current cumulative flow rate based on the instantaneous flow rate, and the integration and accumulation module is also used to recalculate the current cumulative flow rate after the current cumulative flow rate is cleared to zero; The non-logic module is used to clear the current cumulative traffic volume to zero when the current cumulative traffic volume is not less than the preset traffic threshold, and the counting module is used to increment the current number of times the volume has been cleared by 1.

8. The system for calculating cumulative flow in a thermal power plant according to claim 6, characterized in that, The third module includes a threshold product module and an addition logic module; The threshold product module is used to multiply the number of times to zero by the preset traffic threshold, and the addition logic module is used to sum the product with the current cumulative traffic at the current moment.

9. An electronic device, characterized in that, It includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the method for calculating the cumulative flow in a thermal power plant as described in any one of claims 1 to 5.

10. A computer program product, characterized in that, It includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the method for calculating the cumulative flow in a thermal power plant as described in any one of claims 1 to 5.