A method and device for calculating energy consumption of forging processing, an electronic device and a storage medium

By generating energy consumption statistics sequences and updating them based on trigger events, the problem of inaccurate energy consumption statistics for forgings is solved, and energy consumption management and optimization in the forging process are realized.

CN117610789BActive Publication Date: 2026-07-24CISDI INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CISDI INFORMATION TECH CO LTD
Filing Date
2023-12-04
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing methods for calculating energy consumption in forgings are inaccurate and cannot accurately represent the true energy consumption during the forging process, preventing forging companies from optimizing energy consumption.

Method used

By generating an energy consumption statistical sequence, the metering relationship of each processing equipment is obtained. The energy consumption statistical sequence is updated based on trigger events, and energy consumption is recorded in segments. Equipment changes and product entry and exit from equipment are used as trigger events to trace the configuration relationship of related equipment and metering instruments, so as to achieve reasonable allocation of energy consumption.

Benefits of technology

It enables energy consumption tracking and statistics from the perspective of forgings, overcomes the problem of multiple devices sharing a single metering instrument, and provides reliable data support for energy consumption management in forging processing and manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117610789B_ABST
    Figure CN117610789B_ABST
Patent Text Reader

Abstract

The present application provides a kind of forging processing energy consumption statistical method, device, electronic equipment and storage medium, the method includes generating the energy consumption statistical sequence of the forging to be counted and the metering association of each processing equipment, based on metering association, the running state of associated processing equipment of current processing equipment has common metering instrument, associated processing equipment and current processing equipment share the processing equipment of metering instrument, according to trigger event, energy consumption statistical sequence is updated, based on trigger event, energy consumption statistical sequence is divided into different event section, each event section records the energy consumption statistics of the forging to be counted in current event section, when trigger event is the forging to be counted leaving current processing equipment, based on energy consumption statistical sequence, the total energy consumption of the forging to be counted in this processing is obtained, by the statistical method, overcome the problem that multiple devices share a metering instrument, realize energy consumption tracking and statistics based on the perspective of forging, provide reliable data for energy consumption management of forging processing and manufacturing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of mechanical forging, specifically to a method, apparatus, electronic device, and storage medium for calculating energy consumption in forging processing. Background Technology

[0002] Forging is a crucial step in the processing and forming of large mechanical parts, and it is also a major energy consumer in the machinery manufacturing industry. The heating before forging and the heat treatment after forging require significant amounts of energy media such as coal gas, natural gas, and electricity. The energy consumption of the entire forging production process accounts for approximately 25% of the total energy consumption of the machinery industry. However, due to numerous problems in current forging processes, such as imperfect energy metering of equipment, complex forging processes, and simultaneous heating of different batches of parts in furnaces, forging companies often obtain energy consumption data for forgings based on simple mass allocation. This method of statistically analyzing the energy consumption of forging production ignores the differences in the actual processing of each forging, and the resulting data cannot represent the true energy consumption level of the forging throughout the entire processing. Therefore, it cannot provide data support for optimizing energy consumption in the forging manufacturing process. Thus, a method that can accurately statistically analyze the energy consumption of forgings in each processing and manufacturing stage of forging and heat treatment has become an urgent need in this field. Summary of the Invention

[0003] In view of the shortcomings of the above-mentioned related technologies, this application provides a method, apparatus, electronic device and storage medium for calculating energy consumption in forging processing, so as to solve the technical problem of inaccurate calculation methods for energy consumption in forging.

[0004] This application provides a method for statistical analysis of energy consumption in forging processing. The method includes: generating an energy consumption statistical sequence for the forging to be analyzed and obtaining the metering correlation between each processing device; the energy consumption statistical sequence includes statistical time, triggering event, current processing device, and energy consumption magnitude; obtaining associated processing devices of the current processing device based on the metering correlation, wherein the associated processing devices are processing devices that share metering instruments with the current processing device; updating the energy consumption statistical sequence according to the triggering event, wherein the triggering event includes the forging to be analyzed entering or leaving the current processing device, other processed forgings entering or leaving the current processing device, a change in the operating status of the associated processing device, and other processed forgings entering or leaving the associated processing device; dividing the energy consumption statistical sequence into different event segments based on the triggering event, with each event segment recording the energy consumption statistics of the forging to be analyzed in the current event segment; when the triggering event is the forging to be analyzed leaving the current processing device, obtaining the total energy consumption of the forging to be analyzed in this processing based on the energy consumption statistical sequence.

[0005] In one embodiment of this application, the associated device status of the associated processing equipment is obtained, the associated device status includes a power-off state, a standby state, and a running state; if the associated device status is a power-off state, the change value of the metering instrument in the current event segment is used as the total energy consumption of the current processing equipment in the current event segment; if the associated device status is a standby state, the change value of the metering instrument in the current event segment is subtracted from the preset standby consumption value of the equipment and used as the total energy consumption of the current processing equipment in the current event segment; if the associated device status is a running state, the energy consumption statistical sequence of the forging to be statistically analyzed is updated based on the triggering event of other processed forgings entering or leaving the associated processing equipment.

[0006] In one embodiment of this application, the preset standby unit consumption value of the associated processing equipment is obtained based on the preset standby unit consumption value of the equipment and the duration of the current event segment; the preset standby unit consumption value of the current event segment is subtracted from the meter change value of the current event segment to obtain the total energy consumption of the current processing equipment in the current event segment.

[0007] In one embodiment of this application, if the triggering event is the entry or exit of other processed forgings into the current processing equipment and the associated equipment is in the power-off state or the standby state, then a new event segment is created in the energy consumption statistics sequence as the current event segment; the current time is obtained as the statistical time of the current event segment, and the entry or exit of other processed forgings into the current processing equipment is taken as the triggering event of the current event segment; the total mass of forgings in the current processing equipment and the mass of the forging to be counted are obtained in the current event segment, and the energy consumption value of the forging to be counted in the current event segment is obtained based on the total mass of forgings, the mass of the forging to be counted, and the total energy consumption of the current processing equipment, and the energy consumption value of the current event segment in the energy consumption statistics sequence is updated based on the energy consumption value.

[0008] In one embodiment of this application, when other forgings enter or leave the associated processing equipment, the entry or exit of the other forgings into or from the associated processing equipment is used as the triggering event to update the energy consumption statistics sequence; the total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted are obtained; the total energy consumption of the current processing equipment is allocated based on the total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted, to obtain the energy consumption of the forging to be counted in the current event segment.

[0009] In one embodiment of this application, if the triggering event is a change in the operating status of the associated processing equipment, a new event segment is created in the energy consumption statistics sequence as the current event segment; when updating the energy consumption statistics sequence, the energy consumption of the forging to be counted is calculated based on the status of the associated equipment after the change in operating status.

[0010] In one embodiment of this application, if no associated processing equipment sharing the same metering instrument with the current processing equipment is obtained based on the metering association relationship, the change value of the metering instrument in the current event segment is taken as the total energy consumption of the current processing equipment in the current event segment; the total mass of forgings in the current processing equipment and the mass of the forging to be counted are obtained, and the total energy consumption of the current processing equipment is allocated based on the total mass of forgings in the current processing equipment and the mass of the forging to be counted, so as to obtain the energy consumption of the forging to be counted in the current event segment.

[0011] One embodiment of this application also provides a forging processing energy consumption statistics device, which includes: a sequence acquisition module, used to generate an energy consumption statistics sequence of the forging to be statistically analyzed and to acquire the metering correlation relationship of each processing equipment, wherein the energy consumption statistics sequence includes statistical time, triggering event, current processing equipment, and energy consumption magnitude; an associated equipment module, used to obtain the associated processing equipment of the current processing equipment based on the metering correlation relationship, wherein the associated processing equipment is a processing equipment that shares a metering instrument with the current processing equipment; and an event triggering module, used to update the energy consumption statistics sequence according to the triggering event. The triggering events include the entry or exit of the forging to be counted into the current processing equipment, the entry or exit of other processed forgings into the current processing equipment, changes in the operating status of the associated processing equipment, and the entry or exit of other processed forgings into the associated processing equipment; the energy consumption recording module is used to divide the energy consumption statistics sequence into different event segments based on the triggering events, and each event segment records the energy consumption statistics of the forging to be counted in the current event segment; the energy consumption statistics module is used to obtain the total energy consumption of the forging to be counted in this processing based on the energy consumption statistics sequence when the triggering event is the exit of the forging to be counted from the current processing equipment.

[0012] One embodiment of this application provides an electronic device, the electronic device comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the forging processing energy consumption statistics method as described in any of the above embodiments.

[0013] In one embodiment of this application, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a computer's processor, causes the computer to perform the forging processing energy consumption statistics method as described in any of the above embodiments.

[0014] The beneficial effects of this invention: Embodiments of this invention provide a method, apparatus, electronic device, and storage medium for calculating energy consumption in forging processing. This method acquires the energy consumption statistical sequence of forgings with statistical data and obtains the metering correlation between each processing equipment. Based on the metering correlation, it identifies the associated processing equipment of the current processing equipment, including processing equipment that shares metering instruments with the current processing equipment. The energy consumption statistical sequence is updated according to trigger events, and is divided into different event segments based on these events. Each event segment records the energy consumption statistics of the forging to be counted in the current event segment. When the trigger event is the forging to be counted leaving the current processing equipment, the total energy consumption of the forging to be counted in this processing is obtained based on the energy consumption statistical sequence. This method uses equipment status changes and product entry / exit from the equipment as trigger events. By tracing the configuration relationships of related equipment and metering instruments, it distributes the processed products within all equipment measured by the meter in a reasonable manner, overcoming the complexity of the forging processing flow and the problem of multiple equipment sharing a single metering instrument. It achieves energy consumption tracking and statistics from the perspective of forgings, providing reliable data for energy consumption management in forging manufacturing.

[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0016] Figure 1 This is a schematic diagram illustrating the implementation environment of an energy consumption statistics method for forging processing, as shown in an exemplary embodiment of this application;

[0017] Figure 2 This is a flowchart illustrating an exemplary embodiment of the present application of a method for statistical analysis of energy consumption in forging processing;

[0018] Figure 3 This is an exemplary embodiment of the present application illustrating a flowchart for calculating energy consumption in forging processing;

[0019] Figure 4 This is an exemplary embodiment of the present application illustrating a matching relationship between a processing device and a measuring instrument;

[0020] Figure 5 This is a schematic diagram illustrating a forging process in an exemplary embodiment of this application;

[0021] Figure 6 This is a block diagram illustrating an energy consumption statistics device for forging processing, as shown in an exemplary embodiment of this application;

[0022] Figure 7 This is a schematic diagram illustrating the structure of an electronic device as shown in an exemplary embodiment of this application. Detailed Implementation

[0023] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0025] It should be noted that in this application, terms such as "first" and "second" are merely for distinguishing similar objects, and do not limit the order or sequence of similar objects. The variations of "including" and "having" indicate that the scope covered by the subject of the word is not exclusive, except for the examples shown by the word.

[0026] It is understood that the various numerical designations, step numbers, and other identifiers recorded in this application are for descriptive convenience and are not intended to limit the scope of this application. The size of the identifiers in this application does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

[0027] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.

[0028] The embodiments of this application respectively propose a method for calculating energy consumption in forging processing, a device for calculating energy consumption in forging processing, an electronic device, a computer-readable storage medium, and a computer program product. These embodiments will be described in detail below.

[0029] Please see Figure 1 , Figure 1This is a schematic diagram illustrating the implementation environment of an energy consumption statistics method for forging processing, as shown in an exemplary embodiment of this application;

[0030] like Figure 1 As shown, the implementation environment may include forging processing equipment 101, metering instrument 102, and computer equipment 103. In this embodiment, forging processing equipment 101 may include multiple devices that can process forgings. Metering instrument 102 is used to measure the energy consumption value of forging processing equipment 101 when processing forgings. Metering instrument 102 may be an electricity meter or flow meter, etc. Computer equipment 103 is connected to forging processing equipment 101 and metering instrument 102. It can monitor the entry and exit of forgings and the operating status in forging processing equipment 101, and can also read the reading of metering instrument 102. Computer equipment 103 may be at least one of microcomputer, embedded computer, neural network computer, etc.

[0031] In one embodiment of this application, computer device 103 generates an energy consumption statistical sequence of the forging to be statistically analyzed and obtains the metering correlation of each processing equipment. The energy consumption statistical sequence includes statistical time, triggering event, current processing equipment, and energy consumption. Based on the metering correlation, the associated processing equipment of the current processing equipment is obtained. The associated processing equipment is the processing equipment that shares the metering instrument with the current processing equipment. The energy consumption statistical sequence is updated according to the triggering event. The triggering event is when computer device 103 detects that the forging to be statistically analyzed leaves the current processing equipment, other processed forgings enter or leave the current processing equipment, the operating status of the associated processing equipment changes, or other processed forgings enter or leave the current processing equipment. Based on the triggering event, computer device 103 divides the energy consumption statistical sequence into different event segments. Each event segment records the energy consumption statistics of the forging to be statistically analyzed in the current event segment. When the triggering event is that the forging to be statistically analyzed leaves the current processing equipment, the total energy consumption of the forging to be statistically analyzed in this processing is obtained based on the energy consumption statistical sequence.

[0032] Figure 2 This is a flowchart illustrating an exemplary embodiment of the present application of a method for statistical analysis of energy consumption in forging processing. This method can be applied to... Figure 1 The implementation environment shown is specifically executed by computer device 103 within that implementation environment. It should be understood that this method can also be applied to other exemplary implementation environments and executed by devices in other implementation environments; this embodiment does not limit the implementation environment to which the method is applicable.

[0033] like Figure 2 As shown, in an exemplary embodiment, the method for calculating energy consumption in forging processing includes at least steps S210 to S250, which are described in detail below:

[0034] Step S210: Obtain the energy consumption statistical sequence of the forging to be statistically analyzed and the metering correlation of each processing equipment. The energy consumption statistical sequence includes the statistical time, triggering event, current processing equipment, and energy consumption.

[0035] In one embodiment of this application, an energy consumption statistics sequence is generated for each forging that enters the processing equipment. In the initial energy consumption statistics sequence, the statistical time is the time when the forging enters the processing equipment, the triggering event is the entry of the forging into the processing equipment, the current processing equipment is the processing equipment number that the forging enters, and the energy consumption is the initial value, which is generally 0.

[0036] In one embodiment of this application, obtaining the metering association relationship of each processing device includes obtaining the instrument usage relationship of each processing device. For example, if device A uses instrument C for metering and device B also uses instrument C for metering, and if device A and device B share a metering instrument C, then the metering association relationship between device A and device B is the relationship of sharing metering instrument C, and device A and device B are associated processing devices. If device D uses metering instrument E, then device D, device A, and device B are independent devices and are not associated processing devices.

[0037] In one embodiment of this application, the measurement correlation is as follows: Figure 4 As shown, for example, device A1 uses electricity meter E1 and flow meter Q1, device A2 uses electricity meter E2 and flow meter Q1, device A3 uses electricity meter E1 and flow meter Q2, device A4 uses electricity meter E1 and flow meter Q2, and device A5 uses electricity meter E2. The metering relationship between each instrument is the connection status between each instrument and each meter, which is a mapping relationship.

[0038] In one embodiment of this application, during subsequent processing, the energy consumption statistics sequence is updated based on event triggering. Each time a triggering event is triggered, a new event segment is created in the energy consumption statistics sequence. Each new event segment includes statistical time, triggering event, current processing equipment, and energy consumption value. Statistical time is the time when the triggering event that triggers the current event segment occurs. The triggering event is the event that causes a change in the forging energy consumption statistics. The current processing equipment is the processing equipment number where the forging is currently located. The energy consumption value is the energy value of the forging to be statistically analyzed in the event segment, which is calculated.

[0039] Step S220: Based on the metering correlation, obtain the associated processing equipment of the current processing equipment. The associated processing equipment is the processing equipment that shares the metering instrument with the current processing equipment.

[0040] In one embodiment of this application, the associated device status of the associated processing equipment is obtained, including a power-off state, a standby state, and a running state. If the associated device status is power-off, the change value of the metering instrument in the current event segment is used as the total energy consumption of the current processing equipment in the current event segment. If the associated device status is standby, the change value of the metering instrument in the current event segment is subtracted from the preset standby consumption value of the equipment and used as the total energy consumption of the current processing equipment in the current event segment. If the associated device status is running, the energy consumption statistics sequence of the forgings to be counted is updated based on the triggering events of other processed forgings entering or leaving the associated processing equipment.

[0041] In one embodiment of this application, the power-off state is the shutdown state, which means that the equipment is not started and does not consume energy. The standby state means that the equipment has been started, there are no forgings in the equipment, and it is waiting for the forgings to enter. At this time, the equipment will still consume energy. The running state means that the equipment is running normally, the equipment is in the forging processing and manufacturing stage, there are forgings in the equipment, and the equipment consumes energy.

[0042] In one embodiment of this application, if the associated device is in standby mode, the total energy consumption of the current processing device in the current event segment is obtained by subtracting the preset device standby consumption value from the meter change value of the current event segment. This includes: obtaining the preset device standby consumption value of the current event segment based on the preset device standby unit consumption value of the associated processing device and the duration of the current event segment; and obtaining the total energy consumption of the current processing device in the current event segment by subtracting the preset device standby consumption value of the current event segment from the meter change value of the current event segment.

[0043] Step S230: Update the energy consumption statistics sequence according to the triggering events. The triggering events include the entry or exit of the forging to be counted into the current processing equipment, the entry or exit of other processed forgings into the current processing equipment, the change of the operating status of the associated processing equipment, and the entry or exit of other processed forgings into the associated processing equipment.

[0044] In one embodiment of this application, updating the energy consumption statistics sequence based on a triggering event includes: if the triggering event is that other processed forgings enter or leave the current processing equipment and the associated equipment is in a power-off or standby state, then a new event segment is created in the energy consumption statistics sequence as the current event segment; the current time is obtained as the statistical time of the current event segment, and the entry or exit of other processed forgings into or from the current processing equipment is taken as the triggering event of the current event segment; the total mass of forgings in the current processing equipment and the mass of forgings to be counted are obtained in the current event segment; based on the total mass of forgings, the mass of forgings to be counted, and the total energy consumption of the current processing equipment, the energy consumption value of the forgings to be counted in the current event segment is obtained; and the energy consumption value of the current event segment in the energy consumption statistics sequence is updated based on the energy consumption value.

[0045] In one embodiment of this application, if the associated equipment is in a running state, updating the energy consumption statistics sequence of the forging to be counted based on the triggering events of other processed forgings entering or leaving the associated processing equipment includes: when other processed forgings enter or leave the associated processing equipment, updating the energy consumption statistics sequence as the triggering event of other processed forgings entering or leaving the associated processing equipment; obtaining the total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted; allocating the total energy consumption of the current processing equipment based on the total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted, to obtain the energy consumption of the forging to be counted in the current event segment.

[0046] In one embodiment of this application, if a metering instrument measures multiple devices simultaneously, it is necessary to identify the operating status of each associated processing device that shares a metering instrument with the current processing device within the time period between the current triggering event and the previous triggering event. The operating status of the associated devices is divided into shutdown, standby, and running, and different calculation methods are used according to the different operating statuses of the associated devices.

[0047] In one embodiment of this application, when the associated device is in a powered-off state, the meter's measurement value does not need to include that device in the calculation;

[0048] In one embodiment of this application, when the associated device is in standby mode, the device consumes energy medium during the time period between the current triggering event and the previous triggering event. The meter reading needs to be reduced by the energy consumption of the associated processing device during standby before allocating the forging energy consumption. The energy consumption of the device during standby is calculated as follows:

[0049]

[0050] In equation (1), Let k be the standby power consumption of the j-th device within the period from the i-th trigger event to the (i+1)-th trigger event. j Let Δt be the energy consumption per unit time of the j-th device. i+1 The duration from the i-th triggering event to the (i+1)-th triggering event.

[0051] In one embodiment of this application, when the associated equipment is in normal production, the metering instrument allocates the energy consumption of forging processing according to the quality of the forging processed by the equipment after removing the energy consumption of the equipment in standby operation, and updates the energy consumption data of the relevant forging energy consumption statistical sequence.

[0052] The formula for calculating the energy consumption of forgings is as follows:

[0053]

[0054] In equation (2), Let s be the metering value of the s-th metering instrument during the period from the ith trigger event to the (i+1)th trigger event. Let m be the energy medium consumption of the k-th forging between the i-th and (i+1)-th triggering events. k Let n be the mass of the k-th forging, n1 be the number of forgings processed by the equipment corresponding to the s-th metering instrument within the range from the i-th to the (i+1)-th triggering events, and n2 be the number of standby running devices associated with the s-th metering instrument within the range from the i-th to the (i+1)-th triggering events.

[0055] In one embodiment of this application, after obtaining the associated processing equipment of the current processing equipment based on the metering association, the method further includes: if no associated processing equipment sharing the metering instrument with the current processing equipment is obtained based on the metering association, then the metering instrument change value of the current event segment is taken as the total energy consumption of the current processing equipment in the current event segment; the total mass of forgings in the current processing equipment and the mass of forgings to be counted are obtained, and the total energy consumption of the current processing equipment is allocated based on the total mass of forgings in the current processing equipment and the mass of forgings to be counted, so as to obtain the energy consumption of forgings to be counted in the current event segment.

[0056] In one embodiment of this application, if a metering instrument measures only one device, the metering value within the time period between the current triggering event and the previous triggering event is allocated to all forgings processed by this device, the metering energy consumption is allocated according to the mass of each processed forging, and the energy consumption data of the relevant forging energy consumption statistical sequence is updated.

[0057] The formula for calculating the energy consumption of forgings is as follows:

[0058]

[0059] In equation (3), Let be the metering value of the s-th metering instrument during the period from the ith trigger event to the (i+1)th trigger event. Let m be the energy medium consumption of the k-th forging between the i-th and (i+1)-th triggering events. k Let n be the mass of the k-th forging, and n1 be the number of forgings from the i-th trigger event to the (i+1)-th trigger event.

[0060] In one embodiment of this application, updating the energy consumption statistics sequence based on the triggering event further includes: if the triggering event is a change in the operating status of the associated processing equipment, then a new event segment is created in the energy consumption statistics sequence as the current event segment; when updating the energy consumption statistics sequence, the energy consumption of the forging to be counted is calculated based on the status of the associated equipment after the change in operating status.

[0061] In one embodiment of this application, if the associated equipment status of the associated processing equipment is changed, a new event segment is created, and the method for calculating the energy consumption of the forging to be counted under the event segment is selected based on the changed associated equipment status. For example, when the associated equipment status changes from the off state to the standby state, it is not necessary to calculate the associated processing equipment in the off state when calculating the energy consumption of the forging to be counted in the original event segment. However, when the associated equipment status changes to standby, when calculating the energy consumption value of the forging to be counted in the current event segment, it is necessary to subtract the preset standby energy consumption value of the associated processing equipment before calculating the actual energy consumption value of the forging to be counted. Similarly, when the associated equipment status changes from the off state to the running state, the calculation method of the associated equipment status being in the running state in the above embodiment needs to be selected.

[0062] Step S240: Based on the triggering event, the energy consumption statistics sequence of the forging to be counted is divided into different event segments, and each event segment records the energy consumption statistics of the forging to be counted in the current event segment.

[0063] In one embodiment of this application, energy consumption statistics are segmented based on triggering events. When performing energy consumption statistics on the energy consumption sequence after the forging to be counted has been processed, the energy consumption of the forging to be counted under the influence of different events can be calculated based on different triggering events, and the reasons for the energy consumption of the forging to be counted can be analyzed more systematically.

[0064] Step S250: When the triggering event is that the forging to be counted leaves the current processing equipment, the total energy consumption of the forging to be counted in this processing is obtained based on the energy consumption statistics sequence.

[0065] In one embodiment of this application, after the forging to be counted leaves the current processing equipment, the total energy consumption of the forging to be counted is obtained based on the final energy consumption statistical sequence. In this embodiment, the energy consumption in each event segment can be added together to obtain the final total energy consumption.

[0066] In one embodiment of this application, the energy consumption of different event segments can be added together based on different triggering events, as needed. For example, if you want to analyze the impact of changes in the state of associated equipment on the energy consumption of the forging to be counted, you can add together the energy consumption of the event segments related to changes in the state of associated equipment, thereby obtaining the energy consumption of the forging to be counted under various influencing states.

[0067] Figure 3 This is an exemplary embodiment of the present application illustrating a flowchart for calculating energy consumption in forging processing. In this flowchart, a process is established as follows: Figure 4The diagram illustrates the mapping relationship between forging processing equipment and energy medium metering instruments, and sets initial standby time energy consumption values ​​per unit time for equipment with shared metering instruments. An energy consumption statistical sequence is generated for each forging entering the workshop for recording energy consumption data at each stage of forging processing. Forging entry / exit from equipment or changes in equipment operating status are used as trigger events. Upon triggering, all metering instruments associated with the event equipment are traced, and the energy medium consumption of the instruments between the current and previous trigger events is statistically calculated. All equipment matched to each metering instrument is acquired, and it is determined whether the metering instrument simultaneously measures multiple devices. Forging energy consumption is calculated based on different situations, and the energy consumption statistical sequence of all forgings involved in the current event is updated. After the forging completes all processing steps, the energy medium consumption of the forging from each entry into the equipment to exit, or the total energy medium consumption of the entire forging processing and heat treatment process, is accumulated based on the forging energy consumption statistical sequence.

[0068] Please see Figure 4 , Figure 4 This is an exemplary embodiment of the present application illustrating a matching diagram between a processing device and a measuring instrument. Figure 4 The system includes multiple metering instruments and processing equipment. In this embodiment, the metering instruments include electricity meters and flow meters, wherein the electricity meters include electricity meter E1 and electricity meter E2, the flow meters include flow meter Q1 and flow meter Q2, and the processing equipment includes equipment A1, equipment A2, equipment A3, equipment A4, and equipment A5, as shown below. Figure 4 As shown, meter E1 simultaneously measures the electricity consumption of devices A1, A2, A3, and A4; meter E2 measures the electricity consumption of device A5; flow meter Q1 simultaneously measures the gas consumption of devices A1 and A2; and flow meter Q2 simultaneously measures the gas consumption of devices A3 and A4. Preset standby consumption values ​​are set for devices sharing metering instruments. In this embodiment, the electricity meters and flow meters of devices A1, A2, A3, and A4 are all shared metering instruments, while device A5 does not share a metering instrument. Therefore, preset standby consumption values ​​are set for devices A1, A2, A3, and A4, but not for device A5. For example, the standby power consumption per unit time for device A1 is set to 50 kW·h / h, and the gas consumption per unit time is set to 60 m³ / h. 3 / h.

[0069] Figure 5 This is a schematic diagram illustrating a forging process in an exemplary embodiment of this application. Figure 5 The mapping relationship of the metering instruments for equipment A1, A2, A3, A4, and A5 is as follows: Figure 4 As shown, in Figure 5In the following situations, equipment A1 is in standby mode, equipment A2 is in operation mode and is processing forgings P1, P2 and P3, equipment A3 is in operation mode and is processing forgings P4 and P5, equipment A4 is in shutdown mode, and equipment A5 is in operation mode and is processing forgings P6 and P7.

[0070] In one embodiment of this application, if a metering instrument measures only one device, for example, if forging P0' enters device A5 at time t0', the entry of forging P0' into device A at time t0' is recorded as event J in the energy consumption statistics sequence of the forging. After time t1, forging P6 leaves device A5, and the departure of forging P6 from device A5 is recorded as event J+1 in the energy consumption statistics sequence of the forging. During the event [J, J+1], the power consumption of metering instrument E2 of device A5 is 8000 kWh; then, during the event [J, J+1], the energy consumption record of the forging is updated as follows:

[0071] The power consumption of forging P0' during event [J, J+1] is:

[0072] The power consumption of forging P6 during event [J, J+1] is:

[0073] The power consumption of forging P7 during event [J, J+1] is:

[0074] In one embodiment of this application, if a metering instrument simultaneously measures multiple devices, for example, if forging P0 enters device A3 at time t0, the entry of forging P0 into device A3 at time t0 is recorded as event N in the energy consumption statistical sequence table of forgings. 30 minutes later, forging P3 leaves device A2 at time t1, and this is recorded as event N+1. The mass of forging P0 is 1.5t, forging P1 is 1.7t, forging P2 is 1.6t, forging P3 is 1.8t, forging P4 is 1.6t, forging P5 is 2.2t, forging P6 is 2t, and forging P7 is 1.8t. During events [N, N+1], the electricity consumption of metering instrument E1 for devices A1, A2, A3, and A4 is 1800kWh, and the gas consumption of metering instrument Q1 for devices A1 and A2 is 900m³. 3 The gas consumption of metering instrument Q2 in equipment A3 and equipment A4 is 850m³. 3 During the event [N, N+1], the energy consumption statistics sequence of the forging is updated as follows:

[0075] The power consumption of forging P0 during event [N, N+1] is: The gas consumption of forging P0 during the event [N, N+1] is:

[0076] The electricity consumption of forging P1 during event [N, N+1] is: , and the gas consumption of forging P1 during event [N, N+1] is:

[0077] The power consumption of forging P2 during event [N, N+1] is: The gas consumption of forging P2 during event [N, N+1] is:

[0078] The power consumption of forging P3 during event [N, N+1] is: The gas consumption of forging P3 during event [N, N+1] is:

[0079] The power consumption of forging P4 during event [N, N+1] is: The gas consumption of forging P4 during event [N, N+1] is:

[0080] The power consumption of forging P5 during event [N, N+1] is: The gas consumption of forging P5 during event [N, N+1] is:

[0081] The energy consumption statistics sequence of each forging is updated based on the electricity and gas consumption of forgings P1, P2, P3, P4, and P5 during the event [N, N+1].

[0082] Please see Figure 6 , Figure 6 This is a block diagram illustrating an energy consumption statistics device for forging processing, as shown in an exemplary embodiment of this application. Figure 6 As shown, the exemplary forging processing energy consumption statistics device includes: a sequence acquisition module 601, an associated device module 602, an event triggering module 603, an energy consumption recording module 604, and an energy consumption statistics module 605.

[0083] The sequence acquisition module 601 is used to acquire the energy consumption statistical sequence of the forging to be statistically analyzed and the metering correlation of each processing equipment. The energy consumption statistical sequence includes the statistical time, triggering event, current processing equipment and energy consumption.

[0084] The associated equipment module 602 is used to obtain the associated processing equipment of the current processing equipment based on the metering association relationship. The associated processing equipment is the processing equipment that shares the metering instrument with the current processing equipment.

[0085] The event triggering module 603 is used to update the energy consumption statistics sequence according to the triggering events. The triggering events include the entry or exit of the forging to be counted into the current processing equipment, the entry or exit of other processed forgings into the current processing equipment, the change of the operating status of the associated processing equipment, and the entry or exit of other processed forgings into the current processing equipment.

[0086] The energy consumption recording module 604 is used to divide the energy consumption statistics sequence into different event segments based on the trigger event. Each event segment records the energy consumption statistics of the forging to be counted in the current event segment.

[0087] The energy consumption statistics module 605 is used to obtain the total energy consumption of the forging to be counted in this processing based on the energy consumption statistics sequence when the triggering event is that the forging to be counted leaves the current processing equipment.

[0088] Figure 7 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 7 The computer system 700 of 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.

[0089] like Figure 7 As shown, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 702 or programs loaded from storage portion 708 into Random Access Memory (RAM) 703, such as performing the methods described in the above embodiments. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An Input / Output (I / O) interface 705 is also connected to the bus 704.

[0090] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 710 as needed so that computer programs read from it can be installed into the storage section 708 as needed.

[0091] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.

[0092] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0093] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0094] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0095] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a computer's processor, causes the computer to perform the forging processing energy consumption statistics method as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.

[0096] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the forging processing energy consumption statistics method provided in the various embodiments described above.

[0097] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.

Claims

1. A method for statistical analysis of energy consumption in forging processing, characterized in that, The method for calculating energy consumption in forging processing includes: Generate an energy consumption statistical sequence for the forging to be statistically analyzed and obtain the metering correlation of each processing equipment. The energy consumption statistical sequence includes statistical time, triggering event, current processing equipment, and energy consumption. Based on the metering correlation, the associated processing equipment of the current processing equipment is obtained, and the associated processing equipment is the processing equipment that shares the metering instrument with the current processing equipment; The energy consumption statistics sequence is updated according to the triggering events, which include the entry or exit of the forging to be counted into the current processing equipment, the entry or exit of other processed forgings into the current processing equipment, the change of the operating status of the associated processing equipment, and the entry or exit of other processed forgings into the associated processing equipment. Based on the triggering event, the energy consumption statistics sequence of the forging to be counted is divided into different event segments, and each event segment records the energy consumption statistics of the forging to be counted in the current event segment; When the triggering event is that the forging to be counted leaves the current processing equipment, the total energy consumption of the forging to be counted in this processing is obtained based on the energy consumption statistics sequence; After obtaining the associated processing equipment of the current processing equipment based on the metering correlation, the process includes: acquiring the associated equipment status of the associated processing equipment, the associated equipment status including power-off state, standby state, and running state; if the associated equipment status is power-off state, then the metering instrument change value of the current event segment is used as the total energy consumption of the current processing equipment in the current event segment; if the associated equipment status is standby state, then the metering instrument change value of the current event segment is subtracted from the preset equipment standby consumption value and used as the total energy consumption of the current processing equipment in the current event segment; if the associated equipment status is running state, then the energy consumption statistics sequence of the forging to be counted is updated based on the triggering event of other processed forgings entering or leaving the associated processing equipment; If no associated processing equipment sharing the same metering instrument with the current processing equipment is found based on the metering association, then the change value of the metering instrument in the current event segment is taken as the total energy consumption of the current processing equipment in the current event segment; the total mass of forgings in the current processing equipment and the mass of the forging to be counted are obtained, and the total energy consumption of the current processing equipment is allocated based on the total mass of forgings in the current processing equipment and the mass of the forging to be counted, to obtain the energy consumption of the forging to be counted in the current event segment.

2. The method for calculating energy consumption in forging processing according to claim 1, characterized in that, If the associated device is in standby mode, then the total energy consumption of the current processing equipment in the current event segment is obtained by subtracting the preset standby consumption value from the meter change value of the current event segment, including: The preset standby unit consumption value of the current event segment is obtained based on the preset standby unit consumption value of the associated processing equipment and the duration of the current event segment; Subtract the preset standby energy consumption value of the equipment in the current event segment from the change value of the metering instrument in the current event segment to obtain the total energy consumption of the current processing equipment in the current event segment.

3. The method for calculating energy consumption in forging processing according to claim 1, characterized in that, Updating the energy consumption statistics sequence based on the triggering event includes: If the triggering event is that the other processed forgings enter or leave the current processing equipment and the associated equipment is in the power-off state or the standby state, then a new event segment is created in the energy consumption statistics sequence as the current event segment; The current time is obtained as the statistical time of the current event segment, and the entry or exit of other processed forgings into the current processing equipment is taken as the triggering event of the current event segment; Obtain the total mass of forgings in the current processing equipment and the mass of the forgings to be counted in the current event segment. Based on the total mass of forgings, the mass of the forgings to be counted, and the total energy consumption of the current processing equipment, obtain the energy consumption value of the forgings to be counted in the current event segment. Update the energy consumption of the current event segment in the energy consumption statistics sequence based on the energy consumption value.

4. The method for calculating energy consumption in forging processing according to claim 1, characterized in that, If the associated equipment is in a running state, then updating the energy consumption statistics sequence of the forging to be counted based on the triggering event of the other processed forgings entering or leaving the associated processing equipment includes: When other forgings enter or leave the associated processing equipment, the entry or exit of the other forgings into or from the associated processing equipment is used as the trigger event to update the energy consumption statistics sequence; The total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted are obtained. Based on the total mass of forgings in the current processing equipment, the total mass of forgings in the associated processing equipment, and the mass of the forging to be counted, the total energy consumption of the current processing equipment is allocated to obtain the energy consumption of the forging to be counted in the current event segment.

5. The method for calculating energy consumption in forging processing according to claim 1, characterized in that, Updating the energy consumption statistics sequence based on the triggering event also includes: If the triggering event is a change in the operating status of the associated processing equipment, then a new event segment is created in the energy consumption statistics sequence as the current event segment; When updating the energy consumption statistics sequence, the energy consumption of the forging to be counted is calculated based on the status of the associated equipment after the change in operating status.

6. A forging processing energy consumption statistics device applying the forging processing energy consumption statistics method as described in any one of claims 1 to 5, characterized in that, The forging processing energy consumption statistics device includes: The sequence acquisition module is used to generate the energy consumption statistical sequence of the forging to be statistically analyzed and to obtain the metering correlation of each processing equipment. The energy consumption statistical sequence includes the statistical time, triggering event, current processing equipment, and energy consumption. The associated equipment module is used to obtain the associated processing equipment of the current processing equipment based on the metering association relationship, wherein the associated processing equipment is a processing equipment that shares a metering instrument with the current processing equipment; An event triggering module is used to update the energy consumption statistics sequence according to the triggering events. The triggering events include the entry or exit of the forging to be counted into the current processing equipment, the entry or exit of other processed forgings into the current processing equipment, the change of the operating status of the associated processing equipment, and the entry or exit of other processed forgings into the associated processing equipment. The energy consumption recording module is used to divide the energy consumption statistics sequence into different event segments based on the triggering event, and each event segment records the energy consumption statistics of the forging to be counted in the current event segment; The energy consumption statistics module is used to obtain the total energy consumption of the forging to be counted in this processing based on the energy consumption statistics sequence when the triggering event is that the forging to be counted leaves the current processing equipment.

7. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the forging processing energy consumption statistics method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the forging processing energy consumption statistics method as described in any one of claims 1-5.