Production plan generation method, device and system, medium and product

By obtaining the power consumption capacity data of the production workshop and the unit power generation of the generator set, determining the initial energy demand and generating a production plan, the problem of poor accuracy of production plan in the existing technology is solved, and intelligent optimization of production plan and electricity consumption is achieved. Reduced costs.

CN119476776APending Publication Date: 2025-02-18深圳市朗坤生物质能源有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411457863.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, the production plan of an enterprise is usually formulated based on manual experience, which leads to insufficient self-generating power of the generator set and requires purchasing the municipal electricity, which increases the electricity cost of production tasks.

Method used

By obtaining the power consumption capacity data of each production workshop in the production department, combining the unit power generation of the generator set, determining the initial energy demand of the production department, and generating a production plan based on the expected generation time, optimizing the production plan to reduce electricity consumption costs.

Benefits of technology

The intelligent optimization of production plans has been achieved, the electricity consumption cost of production tasks has been reduced, and the situation of purchasing municipal electricity due to insufficient power generation is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119476776A_ABST
    Figure CN119476776A_ABST
Patent Text Reader

Abstract

The invention discloses a production plan generation method, device and system, a medium and a product. The method comprises the following steps: acquiring power consumption capacity data corresponding to at least one production workshop in a production department; wherein the power consumption capacity data comprises workshop unit power consumption and initial workshop capacity corresponding to initial scheduling time; determining an initial energy demand quantity of the production department according to the unit generating capacity of the generator set and the at least one power utilization capacity data; according to the initial energy demand quantity and the energy productivity data, determining the predicted power generation time of the generator set; and if the predicted power generation time exceeds the initial scheduling time, generating a production plan according to the predicted power generation time and the at least one initial workshop capacity, thereby solving the problem of poor accuracy of the production plan formulated according to experience, achieving the purpose of intelligent optimization of the production plan, and reducing the power consumption cost of the production task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power technology, and in particular to a method, device, system, medium and product for generating a production plan. Background Art

[0002] In the production and operation process of industrial enterprises, some enterprises will choose to equip themselves with generator sets to support production tasks. At present, the production plan of enterprises is usually formulated based on manual experience, so it is easy to have insufficient self-generated electricity from the generator set and need to purchase electricity from the city, thereby increasing the electricity cost of production tasks. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, system, medium and product for generating a production plan to solve the problem of poor accuracy of a production plan formulated based on experience, achieve the purpose of intelligent optimization of the production plan, and reduce the electricity cost of production tasks.

[0004] According to an embodiment of the present invention, a method for generating a production plan is provided, the method comprising:

[0005] Obtaining electricity capacity data corresponding to at least one production workshop in the production department; wherein the electricity capacity data includes the unit electricity consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule;

[0006] Determining the initial energy demand of the production department according to the unit power generation of the power generation unit and at least one power consumption capacity data;

[0007] Determining the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data;

[0008] If the estimated power generation time exceeds the initial shift schedule, generating a production plan according to the estimated power generation time and at least one initial workshop capacity;

[0009] Among them, the unit electricity consumption of the workshop represents the electricity consumption per unit production capacity, the unit power generation represents the electricity output of the unit measured electric energy, and the production plan includes the planned workshop capacity of each production workshop corresponding to the planned shift time.

[0010] According to another embodiment of the present invention, a device for generating a production plan is provided, the device comprising:

[0011] An electricity capacity data acquisition module is used to acquire electricity capacity data corresponding to at least one production workshop in the production department; wherein the electricity capacity data includes the unit electricity consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule;

[0012] An initial energy demand determination module, used to determine the initial energy demand of the production department according to the unit power generation of the generator set and at least one power consumption capacity data;

[0013] An estimated power generation time determination module, used to determine the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data;

[0014] A production plan generating module, configured to generate a production plan according to the expected power generation time and at least one initial workshop capacity if the expected power generation time exceeds the initial shift schedule time;

[0015] Among them, the unit electricity consumption of the workshop represents the electricity consumption per unit production capacity, the unit power generation represents the electricity output of the unit measured electric energy, and the production plan includes the planned workshop capacity of each production workshop corresponding to the planned shift time.

[0016] According to another embodiment of the present invention, there is provided a system for generating a production plan, the system for generating a production plan comprising: an energy production system, a generator set and a production control system which are respectively communicatively connected to a terminal device;

[0017] The energy production system is used to produce electric energy and obtain energy production capacity data, and the electric energy is used to drive the generator set to produce electric energy;

[0018] The production control system is used to obtain the initial workshop capacity corresponding to the initial shift schedule of each production workshop in the production department;

[0019] The terminal device includes: at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating a production plan described in any embodiment of the present invention.

[0020] According to another embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a production plan described in any embodiment of the present invention when executed.

[0021] According to another embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for generating a production plan described in any embodiment of the present invention is implemented.

[0022] The technical solution of the embodiment of the present invention determines the initial energy demand of the production department based on the unit power generation of the generator set and the power consumption capacity data corresponding to at least one production workshop in the production department, and determines the expected power generation time of the generator set based on the initial energy demand and the energy production capacity data. If the expected power generation time exceeds the initial scheduling time, a production plan is generated based on the expected power generation time and at least one initial workshop capacity, thereby solving the problem of poor accuracy of production plans formulated based on experience, and achieving the purpose of intelligent optimization of production plans from the dimension of the required power generation time for the generator set to support production tasks, thereby reducing the electricity cost of production tasks.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A flowchart of a method for generating a production plan provided by an embodiment of the present invention;

[0026] Figure 2 A flowchart of another method for generating a production plan provided by an embodiment of the present invention;

[0027] Figure 3 A schematic structural diagram of a specific example of a generator provided by an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of the structure of a device for generating a production plan provided by an embodiment of the present invention;

[0029] Figure 5 A schematic diagram of the structure of a production plan generation system provided by an embodiment of the present invention;

[0030] Figure 6 A system structure diagram of a specific example of an anaerobic fermentation control system provided by one embodiment of the present invention;

[0031] Figure 7 A collection schematic diagram of a specific example of a power data collection system provided by an embodiment of the present invention;

[0032] Figure 8 A schematic structural diagram of a specific example of a generator set provided by an embodiment of the present invention;

[0033] Fig. 9 A schematic diagram of the structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "standard", "plan", "initial", "reference", "first" and "second" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] Figure 1 This is a flowchart of a method for generating a production plan provided by an embodiment of the present invention. This embodiment is applicable to the case of generating a production plan in a production task scenario supported by a generator set. The method can be executed by a production plan generating device. The production plan generating device can be implemented in the form of hardware and / or software. The production plan generating device can be configured in a terminal device. Figure 1 As shown, the method includes:

[0037] S110, obtaining electricity consumption capacity data corresponding to at least one production workshop in a production department.

[0038] Specifically, the production department is the department in an industrial enterprise responsible for product manufacturing or production processing, and the production workshop refers to the workplace set up in the production department for product manufacturing or production processing. For example, when the production department is a garbage disposal department, the production workshops include but are not limited to the kitchen workshop, anaerobic workshop, kitchen waste workshop, manure workshop, sewage workshop, etc. The specific production content of the production department or production workshop is not limited here, and can be customized according to actual needs.

[0039] In this embodiment, the power consumption capacity data includes the unit power consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule, and the unit power consumption of the workshop represents the power consumption per unit capacity.

[0040] Specifically, the historical workshop capacity and the historical active power corresponding to the historical workshop capacity are obtained, and the ratio of the historical active power to the historical workshop capacity is used as the unit power consumption of the workshop. For example, the unit power consumption E of the jth production workshop is dpj It is expressed by the following formula:

[0041]

[0042] Among them, E d represents the historical active power of the jth production workshop, Y d represents the historical workshop capacity of the jth production workshop. For example, the unit of power consumption of the workshop is expressed as kWh / ton.

[0043] The production plan in this embodiment is a production plan generated for a power generation schedule. Specifically, the initial scheduling time indicates the power generation duration pre-set for the generator set for the current power generation schedule, and the initial workshop capacity indicates the workshop capacity pre-set for the production workshop for the current power generation schedule. For example, for power generation schedule A, the initial scheduling time can be 4 hours, and the initial workshop capacities of production workshop A and production workshop B are 3 tons and 5 tons respectively. For power generation schedule B, the initial scheduling time can be 8 hours, and the initial workshop capacities of production workshop A and production workshop B are 6 tons and 10 tons respectively.

[0044] S120: Determine the initial energy demand of the production department according to the unit power generation of the power generating set and at least one power consumption capacity data.

[0045] Specifically, the generator set includes at least one generator, which is a device that converts electrical energy into electrical energy, wherein the electrical energy is non-renewable energy or renewable energy. Among them, non-renewable energy is coal, oil or natural gas, etc., and renewable energy is water, wind, solar energy and biomass energy, etc. Exemplarily, biomass energy is crop straw, wood waste or biogas, etc. The electrical energy that drives the generator set is not limited here, and can be customized according to actual needs.

[0046] In this embodiment, the unit power generation represents the power output of the power energy in unit measurement. For example, when the power energy is coal or wood fertilizer, the unit measurement is a weight unit, such as 1 ton; when the power energy is oil, natural gas or biogas, the unit measurement is a volume unit, such as 1m 3 .

[0047] In an optional embodiment, the method also includes: taking the accumulated value of historical output power corresponding to at least one generator as the total output power, taking the accumulated value of historical energy flow corresponding to at least one generator as the total energy flow, and taking the ratio of the total output power to the total energy flow as the unit power generation of the generator set.

[0048] The historical output power represents the real-time output power of the generator at a certain historical moment, and the historical energy flow represents the flow of electric energy used to drive the generator to output the historical output power. g It is expressed by the following formula:

[0049]

[0050] Among them, P gi represents the historical output power of the i-th generator in the generator set, Q gi Represents the historical energy flow of the i-th generator in the generator set. For example, the unit of power generation is expressed in kWh / m 3 .

[0051] Specifically, based on at least one electricity consumption capacity data, the power consumption of at least one production workshop corresponding to each workshop is determined; wherein the power consumption capacity data corresponds to the power consumption of the workshop one-to-one; the accumulated value of the power consumption of at least one workshop is taken as the total power consumption of all production workshops, and the ratio of the total power consumption to the unit power generation is taken as the initial energy demand.

[0052] For example, the initial energy requirement V t It is expressed by the following formula:

[0053]

[0054] Among them, Y pjrepresents the initial workshop capacity of the jth production workshop, E dpj ·Y pj represents the power consumption of the jth production workshop, Indicates the total power consumption.

[0055] S130: Determine the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data.

[0056] Specifically, energy capacity data characterizes the ability of an energy production system to produce electrical energy.

[0057] In an optional embodiment, the energy production capacity data includes the unit energy output of electric energy. Accordingly, the expected power generation time of the generator set is determined based on the initial energy demand and the energy production capacity data, including: taking the ratio of the initial energy demand to the unit energy output as the expected power generation time of the generator set; wherein the unit energy output represents the output of electric energy per unit time.

[0058] Specifically, the energy output flow collected by the energy flow meter set in the energy output system within the collection time is obtained, and the ratio of the energy output flow to the collection time is used as the unit energy output.

[0059] In another optional embodiment, the energy production capacity data includes the unit energy output and energy stock of electric energy. Accordingly, the expected power generation time of the generator set is determined based on the initial energy demand and the energy production capacity data, including: taking the difference between the initial energy demand and the energy stock as the incremental energy demand; taking the ratio of the incremental energy demand to the unit energy output as the expected power generation time of the generator set.

[0060] Specifically, when the energy production system has energy storage function, the energy production capacity data also includes energy stock, which represents the storage amount of electric energy in the energy production system.

[0061] Exemplarily, the estimated power generation time T is expressed by the following formula:

[0062]

[0063] Among them, V cm represents the storage capacity of the mth energy storage mechanism in the energy output structure, Q cn represents the unit output of the nth energy production unit in the energy production system, ∑V cm represents the energy stock, ∑Q cn It represents the unit energy output.

[0064] S140: If the estimated power generation time exceeds the initial shift schedule, a production plan is generated according to the estimated power generation time and at least one initial workshop capacity.

[0065] In an optional embodiment, the optimization direction of the production plan includes extending the power generation time of the generator set and / or reducing the workshop capacity of the production workshop. Specifically, when the optimization direction of the production plan only includes extending the power generation time of the generator set, the initial workshop capacity of each production workshop is kept unchanged, and the initial scheduling time is extended to obtain the planned scheduling time; when the optimization direction of the production plan only includes reducing the workshop capacity of the production workshop, the initial scheduling time is kept unchanged, and the initial workshop capacity of one or more production workshops is respectively reduced to obtain the planned workshop capacity.

[0066] In an optional embodiment, a production plan is generated based on the expected power generation time and at least one initial workshop capacity, including: determining the planned shift time based on the expected power generation time; for each production workshop, using the initial workshop capacity of the production workshop as the planned workshop capacity of the production workshop.

[0067] Specifically, the estimated power generation time is used as the planned shift time, or the estimated power generation time is rounded up to obtain the planned shift time.

[0068] For example, assuming that the initial shift time is 8 hours, the expected power generation time is 10 hours, and the initial workshop capacities of the three production workshops are 3 tons, 5 tons, and 2 tons, respectively, for a total of 10 tons. In this embodiment, the generated production plan is a planned shift time of 10 hours, and the planned workshop capacities of each workshop are 3 tons, 5 tons, and 2 tons, respectively.

[0069] The advantage of this setting is that by extending the power generation time of the generator set, it achieves the purpose of alleviating the problem that the generator set's short power generation time cannot maintain the electricity demand of the production task, avoids the situation of purchasing municipal electricity due to insufficient power generation, and thus reduces the electricity cost of the production task.

[0070] In another optional embodiment, a production plan is generated based on the expected power generation time and at least one initial workshop capacity, including: taking the initial scheduling time as the planned scheduling time; determining the planned total capacity based on the expected power generation time, the planned scheduling time and at least one initial workshop capacity; wherein the planned total capacity represents the planned capacity of all production workshops corresponding to the planned scheduling time; determining the total reduced capacity based on the planned total capacity and at least one initial workshop capacity; and adjusting at least one initial workshop capacity based on the total reduced capacity and the production weights corresponding to the at least one production workshop to obtain the planned workshop capacity of each production workshop.

[0071] Specifically, the cumulative value of at least one initial workshop capacity is taken as the initial total capacity, the ratio of the initial total capacity to the expected power generation time is taken as the unit time capacity, the product of the unit time capacity and the planned shift time is taken as the planned total capacity, and the difference between the initial total capacity and the planned total capacity is taken as the total reduced capacity. Among them, the unit time capacity represents the expected production capacity of all production workshops in unit time.

[0072] For example, the planned total capacity Y t It is expressed by the following formula:

[0073]

[0074] Wherein, T′ represents the planned shift time or the initial shift time.

[0075] For example, assuming that the initial scheduling time is 8 hours, the expected power generation time is 10 hours, and the initial workshop capacity of the three production workshops is 3 tons, 5 tons and 2 tons respectively, then the initial total capacity is 10 tons, the unit time capacity is 1 ton / hour, the planned total capacity is 8 tons, and the total reduced capacity is 2 tons.

[0076] In an optional embodiment, according to the total reduced capacity and the production weight corresponding to at least one production workshop, at least one initial workshop capacity is adjusted to obtain the planned workshop capacity of each production workshop, including: determining at least one capacity weight according to the production weight corresponding to at least one production workshop; according to the total reduced capacity and at least one capacity weight, adjusting at least one initial workshop capacity to obtain the planned workshop capacity of each production workshop.

[0077] Specifically, the production weight indicates the importance of the production workshop in the production process. The larger the production weight, the more important the production workshop is, the smaller the capacity reduction it needs to bear, and the smaller the capacity weight. Conversely, the smaller the production weight, the less important the production workshop is, the greater the capacity reduction it needs to bear, and the greater the capacity weight. Among them, the capacity weight indicates the proportion of the total capacity reduction that the production workshop needs to bear.

[0078] Taking the above example, the total capacity reduction is 2 tons. Assuming that the production weights of the three production workshops are 0.4, 0.5 and 0.1 respectively, the capacity weights of the three production workshops are approximately 0.1724, 0.1379 and 0.6897 respectively, and the workshop capacity reductions of the three production workshops are 0.3448 tons, 0.2758 tons and 1.3794 tons respectively. Correspondingly, the planned workshop capacities of the three production workshops are 2.6552 tons, 4.7242 tons and 0.6206 tons respectively.

[0079] In a specific embodiment, when the production weights of the three production workshops are all 1, it means that the total reduced capacity of 2 tons will be evenly distributed to the three workshops, that is, the reduced capacity of the three production workshops is approximately 0.6667 tons, and the planned workshop capacities of the three production workshops are 2.3333 tons, 4.3333 tons and 1.3333 tons respectively.

[0080] In another optional embodiment, the method of adjusting at least one initial workshop capacity according to the total reduced capacity and the production weight corresponding to at least one production workshop to obtain the planned workshop capacity of each production workshop includes: determining the workshop ranking result of at least one production workshop according to the production weight corresponding to at least one production workshop; taking the production workshop with the smallest production weight in the workshop ranking result as the designated workshop, and taking the difference between the initial workshop capacity and the total reduced capacity of the designated workshop as the reference workshop capacity; if the reference workshop capacity is greater than or equal to zero, taking the reference workshop capacity as the planned workshop capacity of the designated workshop, and taking the initial workshop capacity of each production workshop except the designated workshop in the workshop ranking result as the planned workshop capacity of the production workshop; if the reference workshop capacity is less than zero, setting the planned workshop capacity of the designated workshop to zero, deleting the designated workshop from the workshop ranking result, and returning to execute the step of taking the production workshop with the smallest production weight in the workshop ranking result as the designated workshop.

[0081] Taking the above example as an example, assuming that the three production workshops are workshop A, workshop B and workshop C, the workshop ranking results are workshop B, workshop A and workshop C. Since the initial workshop capacities of workshop A, workshop B and workshop C are 3 tons, 5 tons and 2 tons respectively, and the total reduced capacity is 2 tons, in this embodiment, the planned workshop capacities of workshop A, workshop B and workshop C are 3 tons, 5 tons and 0 tons respectively.

[0082] In another example, assuming that the workshop ranking results are workshop B, workshop A, and workshop C, the initial workshop capacities of workshop A, workshop B, and workshop C are 3 tons, 5 tons, and 1 ton, respectively, and the total reduced capacity is 2 tons, then in the first iteration process, workshop C is the designated workshop, and the planned workshop capacity of workshop C is 0 tons. In the second iteration process, workshop A is the designated workshop, and the planned workshop capacity of workshop A is 2 tons, that is, in this embodiment, the planned workshop capacities of workshop A, workshop B, and workshop C are 2 tons, 5 tons, and 0 tons, respectively.

[0083] Compared with the above-mentioned embodiment of adjusting the production capacity in proportion, this embodiment retains the production capacity of the production workshop with a larger production weight to the greatest extent.

[0084] The advantage of this setting is that by reducing the workshop production capacity of the production workshop, the purpose of alleviating the inability of the generator set to maintain the electricity demand of heavier production tasks is achieved, avoiding the situation of purchasing municipal electricity due to insufficient power generation, thereby reducing the electricity cost of production tasks.

[0085] In the actual production operation process, one or more power generation schedules are usually set for the entire production task within a preset period (such as within a day). In some specific embodiments, only one power generation schedule is set within the preset period, and the production plan can be generated by extending the power generation time of the generator set, or by reducing the workshop capacity of the production workshop. If multiple power generation schedules are set within the preset period, if the current power generation schedule is not the last power generation schedule within the preset period, a production plan corresponding to the current power generation schedule is generated by reducing the workshop capacity of the production workshop. If the current power generation schedule is the last power generation schedule within the preset period, a production plan corresponding to the current power generation schedule is generated by extending the power generation time of the generator set.

[0086] The advantage of this setting is that it avoids the causal impact of the extension of the current power generation schedule on the subsequent power generation schedule within the preset period on the time series, and minimizes the capacity transfer effect caused by the optimization of the production plan of the current power generation schedule.

[0087] Based on the above embodiment, optionally, the production plan also includes newly added scheduling time within the time interval corresponding to the low-peak electricity price. Accordingly, the production plan is generated according to the expected power generation time and at least one initial workshop capacity, and also includes: for each production workshop, determining the additional production time of the production workshop according to the initial workshop capacity and the planned workshop capacity of the production workshop; and taking the maximum value of the at least one additional production time as the newly added scheduling time within the time interval corresponding to the low-peak electricity price.

[0088] Specifically, the low-peak electricity price represents a lower price range of the city electricity, and the time interval corresponding to the low-peak electricity price represents at least one time interval corresponding to the low-peak electricity price within the preset period. Exemplarily, when the preset period is one day, the time interval corresponding to the low-peak electricity price may be 00:00-6:00, and when the preset period is two days, the time interval corresponding to the low-peak electricity price includes 00:00-6:00 on the first day and 00:00-6:00 on the second day.

[0089] Specifically, the newly added shift time indicates the working time of the power generation shift that is not set in advance. For example, assuming that the preset cycle is one day, and there are 3 power generation shifts set, then a power generation shift corresponding to the time interval corresponding to the low-peak electricity price is added to the production plan, that is, the newly added power generation shift is set in the time interval corresponding to the low-peak electricity price.

[0090] Specifically, the ratio of the initial workshop capacity of the production workshop to the planned shift time is taken as the workshop unit capacity, the product of the workshop unit capacity and the planned workshop capacity is taken as the basic production time, and the difference between the planned shift time and the basic production time is taken as the additional production time of the production workshop.

[0091] Among them, the workshop unit capacity refers to the initial production capacity of the production workshop in unit time, and the basic production time refers to the time required for the production workshop to complete the planned workshop capacity within the planned shift time. Since the planned workshop capacity is less than or equal to the initial workshop capacity, the basic production time is less than or equal to the planned shift time, and accordingly, the additional production time is greater than or equal to zero.

[0092] The advantage of this setting is that, in the optimization direction of reducing the workshop capacity of the production workshop, by adding new power generation shifts, it not only solves the problem that the reduced capacity of the current power generation schedule may cause the power generation time of the subsequent power generation schedule to be excessively extended, but also minimizes the electricity cost generated when switching to the mains power strategy.

[0093] In an optional embodiment, when the optimization direction of the production plan includes extending the power generation time of the generator set and reducing the workshop capacity of the production workshop, the mapping relationship between the power generation time of the generator set and the workshop capacity of the production workshop can be optimized and balanced. The value range of the planned scheduling time is greater than the initial scheduling time and less than the expected power generation time. The total reduced capacity in this embodiment is greater than zero and less than the total reduced capacity in the above embodiment.

[0094] Based on the above embodiment, optionally, the method also includes: if the expected power generation time is less than the initial scheduling time, the expected power generation time is used as the planned scheduling time, and for each production workshop, the initial workshop capacity of the production workshop is used as the planned workshop capacity of the production workshop to obtain a production plan.

[0095] The advantage of this setting is that it reduces the energy waste caused by the longer power generation time of the generator set.

[0096] The technical solution of this embodiment determines the initial energy demand of the production department based on the unit power generation of the generator set and the power consumption capacity data corresponding to at least one production workshop in the production department, and determines the expected power generation time of the generator set based on the initial energy demand and the energy production capacity data. If the expected power generation time exceeds the initial scheduling time, a production plan is generated based on the expected power generation time and at least one initial workshop capacity, which solves the problem of poor accuracy of production plans made based on experience, and achieves the purpose of intelligent optimization of production plans from the dimension of the power generation time required for the generator set to support production tasks, thereby reducing the electricity cost of production tasks.

[0097] Figure 2This is a flow chart of another method for generating a production plan provided by an embodiment of the present invention. This embodiment further refines the method for generating a production plan in the above embodiment. Figure 2 As shown, the method includes:

[0098] S210, obtaining electricity consumption capacity data corresponding to at least one production workshop in a production department.

[0099] S220: Determine the initial energy demand of the production department according to the unit power generation of the power generating set and at least one power consumption capacity data.

[0100] S230: Determine the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data.

[0101] S240: If the estimated power generation time exceeds the initial shift schedule, a production plan is generated according to the estimated power generation time and at least one initial workshop capacity.

[0102] S210-S240 in this embodiment are similar to those in the above embodiment. Figure 1 The S110 - S140 shown correspond to the same or similar ones, and will not be described in detail in this embodiment.

[0103] S250: Determine active power corresponding to at least one production workshop according to the production plan.

[0104] Specifically, the power generation schedule of the generator set is set according to the planned shift time in the production plan, and the planned workshop capacity is arranged for each production workshop according to the production plan.

[0105] Specifically, active power represents the power value required by the production equipment in the production workshop to complete the planned workshop capacity. Exemplarily, the active power can be obtained by monitoring and collecting the production equipment in the production workshop using a power data acquisition system.

[0106] S260: Determine a set power corresponding to at least one generator in the generator set according to at least one active power.

[0107] In an optional embodiment, based on at least one active power, the set power corresponding to at least one generator in the generator set is determined, including: taking the accumulated value of at least one active power as the total active power corresponding to all production workshops, and taking the ratio of the total active power to the number of generators in the generator set as the set power of each generator.

[0108] In this embodiment, the total active power is evenly distributed to each generator in the generator set.

[0109] In another optional embodiment, the set power corresponding to at least one generator in the generator set is determined based on at least one active power, including: taking the accumulated value of at least one active power as the total active power corresponding to all production workshops, and taking the unset generator in the generator set as the designated generator; if the total active power is greater than the rated power of the designated generator, then taking the rated power as the set power of the designated generator, and taking the difference between the total active power and the rated power as the total active power, and returning to execute the step of taking the unset generator in the generator set as the designated generator; if the total active power is less than or equal to the rated power of the designated generator, then taking the total active power as the set power of the designated generator, and setting the set power of the unset generator in the generator set to zero.

[0110] For example, assuming that the generator set includes 4 generators, A to D, with a rated power of 70 kWh and a total active power of 200 kWh, if the random order of the 4 generators in the generator set is generator A, generator B, generator C and generator D, then the set powers corresponding to generator A, generator B, generator C and generator D are 70 kWh, 70 kWh, 60 kWh and 0 kWh, respectively. If the random order of the 4 generators in the generator set is generator A, generator C, generator B and generator D, then the set powers corresponding to generator A, generator B, generator C and generator D are 70 kWh, 60 kWh, 70 kWh and 0 kWh, respectively.

[0111] S270. For each generator, the set power of the generator is sent to the generator, so that the opening of the regulating valve in the generator is adjusted according to the set power and the real-time output power of the power generation mechanism in the generator through the power controller in the generator.

[0112] In this embodiment, the power controller is arranged at the head end of the energy transmission path of the generator, the power generation mechanism is arranged at the end of the energy transmission path, and the regulating valve is arranged on the energy transmission path between the power controller and the power generation mechanism, and is used to adjust the flow rate of the electric energy driving the power generation mechanism.

[0113] Exemplarily, the adjustment methods adopted by the power controller include but are not limited to PID control adjustment, fuzzy control adjustment, model predictive control adjustment and adaptive control adjustment, etc. Taking PID control adjustment as an example, PID control adjustment is the abbreviation of proportional, integral and derivative control. Its basic principle is to adjust the opening of the regulating valve according to the error between the set power and the real-time output power through the calculation of the three links of proportional, integral and derivative, so that the real-time output power of the generator is constantly close to the set power.

[0114] There is no limitation on the adjustment method used by the power controller here, and the specific settings can be customized according to actual needs.

[0115] On the basis of the above embodiment, optionally, a flow controller and an energy flow meter are further provided in the generator, the flow controller is arranged on the energy transmission path between the power controller and the regulating valve, and the energy flow meter is arranged on the energy transmission path between the regulating valve and the power generation mechanism; wherein, the energy flow meter is used to collect the real-time energy flow output from the output port of the regulating valve, and the flow controller is used to adjust the opening of the regulating valve according to the real-time energy flow and the set energy flow corresponding to the set power.

[0116] In a specific embodiment, the ratio of the set power of the generator to the unit power generation of the generator set is used as the set energy flow corresponding to the set power.

[0117] Exemplarily, the adjustment method adopted by the flow controller includes but is not limited to PID control adjustment, fuzzy control adjustment, model predictive control adjustment and adaptive control adjustment, etc. The adjustment method adopted by the flow controller is not limited here, and can be customized according to actual needs.

[0118] Figure 3 A schematic diagram of a specific example of a generator provided by an embodiment of the present invention is shown in FIG. Figure 3 Take the example of electric energy as gas energy. Specifically, the generator adopts a cascade control system, the power controller plays the role of main regulation or fine adjustment, and the flow controller plays the role of secondary regulation or rough adjustment. During the operation of the generator, the energy flow meter can reflect the disturbances such as gas pressure and temperature that are prone to occur in the real-time energy flow, and feed them back to the flow controller. The flow controller is used to roughly adjust the opening of the regulating valve according to the set energy flow and the real-time energy flow. Figure 3 The multifunctional instrument is used to collect the real-time output power of the power generation mechanism and feed it back to the power controller. The power controller is used to fine-tune the opening of the regulating valve according to the set power and the real-time output power.

[0119] The benefit of setting up a flow controller is that it improves the stability of the output power of the generator.

[0120] The technical solution of this embodiment determines the active power corresponding to at least one production workshop according to the production plan, determines the set power corresponding to at least one generator in the generator set according to at least one active power, and sends the set power of each generator to the generator so that the opening of the regulating valve in the generator is adjusted according to the set power and the real-time output power of the power generation mechanism in the generator through the power controller in the generator, thereby solving the problem of unstable power output of the generator set, ensuring that the power generation of the generator set is consistent with the power demand corresponding to the production plan, thereby reducing the waste of electric energy and production costs.

[0121] The following is an embodiment of a device for generating a production plan provided in an embodiment of the present invention. The device and the method for generating a production plan in the above-mentioned embodiment belong to the same inventive concept. For details not described in detail in the embodiment of the device for generating a production plan, reference can be made to the contents of the method for generating a production plan in the above-mentioned embodiment.

[0122] Figure 4 The following is a schematic diagram of a production plan generation device provided by an embodiment of the present invention. Figure 4 As shown, the device includes: an electricity consumption capacity data acquisition module 310, an initial energy demand determination module 320, an estimated power generation time determination module 330 and a production plan generation module 340.

[0123] The power consumption capacity data acquisition module 310 is used to acquire the power consumption capacity data corresponding to at least one production workshop in the production department; wherein the power consumption capacity data includes the unit power consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule;

[0124] The initial energy demand determination module 320 is used to determine the initial energy demand of the production department according to the unit power generation of the power generation unit and at least one power consumption capacity data;

[0125] The estimated power generation time determination module 330 is used to determine the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data;

[0126] A production plan generating module 340, for generating a production plan according to the expected power generation time and at least one initial workshop capacity if the expected power generation time exceeds the initial shift schedule;

[0127] Among them, the unit electricity consumption of the workshop represents the electricity consumption per unit production capacity, the unit power generation represents the electricity output per unit of measured electric energy, and the production plan includes the planned workshop capacity of each production workshop corresponding to the planned shift time.

[0128] The technical solution of this embodiment determines the initial energy demand of the production department based on the unit power generation of the generator set and the power consumption capacity data corresponding to at least one production workshop in the production department, and determines the expected power generation time of the generator set based on the initial energy demand and the energy production capacity data. If the expected power generation time exceeds the initial scheduling time, a production plan is generated based on the expected power generation time and at least one initial workshop capacity, which solves the problem of poor accuracy of production plans made based on experience, and achieves the purpose of intelligent optimization of production plans from the dimension of the power generation time required for the generator set to support production tasks, thereby reducing the electricity cost of production tasks.

[0129] In an optional embodiment, the production plan generation module 340 includes:

[0130] A first planned shift time determination unit, used to use the initial shift time as the planned shift time;

[0131] A planned total capacity determination unit, used to determine the planned total capacity according to the expected power generation time, the planned shift schedule and at least one initial workshop capacity; wherein the planned total capacity represents the planned capacity of all production workshops corresponding to the planned shift schedule;

[0132] A total capacity reduction determination unit, used for determining the total capacity reduction according to the planned total capacity and at least one initial workshop capacity;

[0133] The first planned workshop capacity determination unit is used to adjust at least one initial workshop capacity according to the total reduced capacity and the production weight corresponding to at least one production workshop to obtain the planned workshop capacity of each production workshop.

[0134] In an optional embodiment, the first planned workshop capacity determination unit is specifically configured to:

[0135] Determine a workshop ranking result of at least one production workshop according to the production weights respectively corresponding to at least one production workshop;

[0136] The production workshop with the smallest production weight in the workshop ranking results is taken as the designated workshop, and the difference between the initial workshop capacity and the total reduced capacity of the designated workshop is taken as the reference workshop capacity;

[0137] If the reference workshop capacity is greater than or equal to zero, the reference workshop capacity is used as the planned workshop capacity of the designated workshop, and the initial workshop capacity of each production workshop except the designated workshop in the workshop sorting result is used as the planned workshop capacity of the production workshop;

[0138] If the reference workshop capacity is less than zero, the planned workshop capacity of the specified workshop is set to zero, and the specified workshop is deleted from the workshop sorting result, and the process returns to the step of setting the production workshop with the smallest production weight in the workshop sorting result as the specified workshop.

[0139] In an optional embodiment, the production plan also includes a newly added shift schedule within a time interval corresponding to the off-peak electricity price. Accordingly, the production plan generation module 340 further includes:

[0140] A new shift scheduling module is added to determine the additional production time of each production workshop based on the initial workshop capacity and planned workshop capacity of the production workshop;

[0141] The maximum value of at least one additional production time is used as the newly added scheduling time in the time interval corresponding to the off-peak electricity price.

[0142] In an optional embodiment, the production plan generation module 340 includes:

[0143] A second planned shift time determination unit is used to determine the planned shift time according to the expected power generation time;

[0144] The second planned workshop capacity determination unit is used to use the initial workshop capacity of each production workshop as the planned workshop capacity of the production workshop.

[0145] In an optional embodiment, the energy production capacity data includes unit energy output and energy stock of electric energy. Accordingly, the estimated power generation time determination module 330 is specifically used to:

[0146] The difference between the initial energy demand and the energy stock is taken as the incremental energy demand;

[0147] The ratio of the incremental energy demand to the unit energy output is used as the estimated power generation time of the generator set;

[0148] Among them, unit energy output refers to the output of electric energy per unit time.

[0149] In an optional embodiment, the device further comprises:

[0150] An active power determination module, used to determine the active power corresponding to at least one production workshop according to the production plan;

[0151] A set power determination module, used to determine the set power corresponding to at least one generator in the generator set according to at least one active power;

[0152] A set power sending module is used to send the set power of each generator to the generator, so that the opening of the regulating valve in the generator can be adjusted according to the set power and the real-time output power of the power generation mechanism in the generator through the power controller in the generator;

[0153] Among them, the power controller is arranged at the head end of the energy transmission path of the generator, the power generation mechanism is arranged at the end of the energy transmission path, and the regulating valve is arranged on the energy transmission path between the power controller and the power generation mechanism, and is used to adjust the flow size of the electric energy driving the power generation mechanism.

[0154] In an optional embodiment, a flow controller and an energy flow meter are further provided in the generator, the flow controller is provided on the energy transmission path between the power controller and the regulating valve, and the energy flow meter is provided on the energy transmission path between the regulating valve and the power generation mechanism;

[0155] Among them, the energy flow meter is used to collect the real-time energy flow output from the output port of the regulating valve, and the flow controller is used to adjust the opening of the regulating valve according to the real-time energy flow and the set energy flow corresponding to the set power.

[0156] In an optional embodiment, the power determination module is set to be specifically used for:

[0157] The accumulated value of at least one active power is used as the total active power corresponding to all production workshops, and the unset generator in the generator set is used as the designated generator;

[0158] If the total active power is greater than the rated power of the designated generator, the rated power is used as the set power of the designated generator, and the difference between the total active power and the rated power is used as the total active power, and the process returns to the step of using the unset generator in the generator set as the designated generator;

[0159] If the total active power is less than or equal to the rated power of the specified generator, the total active power is used as the set power of the specified generator, and the set power of the unset generator in the generator set is set to zero.

[0160] The device for generating a production plan provided in the embodiment of the present invention can execute the method for generating a production plan provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.

[0161] Figure 5 A schematic diagram of the structure of a production plan generation system provided in one embodiment of the present invention. The production plan generation system in this embodiment provides services for the production plan generation method in any of the above embodiments.

[0162] like Figure 5As shown, the production plan generation system 400 includes: an energy production system 420, a generator set 430 and a production control system 440 which are respectively connected to the terminal device 410 in communication. The energy production system 420 is used to produce electric energy and obtain energy capacity data, and the electric energy is used to drive the generator set 430 to produce electric energy; the production control system 440 is used to obtain the initial workshop capacity corresponding to the initial scheduling time of each production workshop in the production department.

[0163] Exemplarily, the communication connection method can be Ethernet or RS485 communication. The communication connection method is not limited here and can be customized according to actual needs.

[0164] In an optional embodiment, when the electric energy source is biogas, the energy production system 420 is an anaerobic fermentation control system, which includes at least one anaerobic tank, a biogas flow meter connected to the gas path of the output port of each anaerobic tank, and a gas storage device connected to the gas path of the output port of all anaerobic tanks, the gas storage device includes at least one gas storage cabinet and a level meter arranged in the gas storage cabinet; wherein the biogas flow meter is used to collect the biogas output of the anaerobic tank per unit time, the level meter is used to collect the biogas stock in the gas storage cabinet, the biogas output is used to determine the unit energy output of the electric energy, and the biogas stock is used to determine the energy stock of the electric energy.

[0165] Figure 6 A system structure diagram of a specific example of an anaerobic fermentation control system provided by an embodiment of the present invention. Specifically, n anaerobic tanks and m gas storage cabinets are provided in the anaerobic fermentation control system, the gas path of the output port of each anaerobic tank is connected to a biogas flowmeter, each gas storage cabinet is provided with a level meter, and a biogas component analyzer is provided on the main gas path pipeline of the anaerobic fermentation control system to analyze the content of CH4 in the biogas. Among them, the cumulative value of the biogas output collected by the n biogas flowmeters is the unit energy output of the electric energy, and the cumulative value of the biogas stock collected by the m level meters is the energy stock of the electric energy.

[0166] In an optional embodiment, the production control system 440 is an organic waste processing control system.

[0167] In an optional embodiment, the production plan generation system 400 also includes a power data acquisition system 450 that is communicatively connected to the terminal device 410, and the power data acquisition system 450 is used to collect the active power of each production workshop after executing the production plan; wherein the active power is used to determine the set power of each generator in the generator set 430.

[0168] In an optional embodiment, the power data collection system 450 is also used to collect the output power of each generator in the generator set 430. Specifically, the power data collection system 450 includes a plurality of multifunctional meters for collecting the active power of the production workshop or the output power of the generator.

[0169] Figure 7 A collection schematic diagram of a specific example of a power data collection system provided by an embodiment of the present invention, Figure 7 Take the production scenario of organic waste treatment as an example. Specifically, the power data acquisition system 450 collects the active power corresponding to the kitchen workshop, anaerobic workshop, kitchen waste workshop, manure workshop and sewage workshop through 5 multi-function meters, and collects the output power of each generator in the generator set 430 through N multi-function meters.

[0170] In an optional embodiment, each generator in the generator set 430 includes a power controller, a regulating valve and a generating mechanism. The power controller is arranged at the head end of the energy transmission path of the generator, the generating mechanism is arranged at the end of the energy transmission path, and the regulating valve is arranged on the energy transmission path between the power controller and the generating mechanism, and is used to adjust the flow rate of the electric energy driving the generating mechanism.

[0171] In an optional embodiment, each generator in the generator set 430 is also provided with a flow controller and an energy flow meter. The flow controller is arranged on the energy transmission path between the power controller and the regulating valve, and the energy flow meter is arranged on the energy transmission path between the regulating valve and the power generation mechanism; wherein the energy flow meter is used to collect the real-time energy flow output from the output port of the regulating valve, and the flow controller is used to adjust the opening of the regulating valve according to the real-time energy flow and the set energy flow corresponding to the set power.

[0172] Figure 8 The schematic diagram of the structure of a specific example of a generator set provided by an embodiment of the present invention. Specifically, the generator set 430 includes N generators. Figure 8 The control loop composed of the flow controller and energy flow meter in the generator is shown. Figure 8 In the invention, the energy flow meter is a biogas flow meter, and the regulating valve is composed of a valve positioner and a pneumatic regulating valve, which are used to adjust the flow of the electric energy driving the power generation mechanism.

[0173] Exemplarily, the terminal device 410, the energy production system 420, the generator set 430, the production control system 440 or the power data acquisition system 450 may adopt a PLC (Programmable Logic Controller) control system or a DCS (Distributed Control System) control system. There is no limitation on the control system adopted here, and the specific settings can be customized according to actual needs.

[0174] Fig. 9 A schematic diagram of the structure of a terminal device provided for one embodiment of the present invention. The terminal device 410 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The terminal device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0175] like Fig. 9 As shown, the terminal device 410 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor 11, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 to the RAM 13. In the RAM 13, various programs and data required for the operation of the terminal device 410 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through the bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0176] A number of components in the terminal device 410 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the terminal device 410 to exchange information or data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0177] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the method for generating a production plan provided in the above embodiments.

[0178] In some embodiments, the method for generating a production plan provided in the above embodiments may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the terminal device 410 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps in the method for generating a production plan described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for generating a production plan in any other appropriate manner (e.g., by means of firmware).

[0179] Various embodiments of the systems and techniques described above herein may be implemented in the following systems or combinations thereof: digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0180] The computer program for implementing the method for generating a production plan of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0181] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable storage medium. Examples of machine readable storage media may include electrical connections based on at least one line, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM), flash memories, optical fibers, portable compact disc read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0182] To provide interaction with a user, the systems and techniques described herein may be implemented on a terminal device having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball), through which the user can provide input to the terminal device. Other types of devices may also provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0183] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a Local Area Network (LAN), a Wide Area Network (WAN), a blockchain network, and the Internet.

[0184] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.

[0185] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0186] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a production plan, characterized in that: include: Obtaining electricity capacity data corresponding to at least one production workshop in the production department; wherein the electricity capacity data includes the unit electricity consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule; Determining the initial energy demand of the production department according to the unit power generation of the power generation unit and at least one power consumption capacity data; Determining the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data; If the estimated power generation time exceeds the initial shift schedule, generating a production plan according to the estimated power generation time and at least one initial workshop capacity; Among them, the unit electricity consumption of the workshop represents the electricity consumption per unit production capacity, the unit power generation represents the electricity output of the unit measured electric energy, and the production plan includes the planned workshop capacity of each production workshop corresponding to the planned shift time.

2. The method according to claim 1, characterized in that The generating a production plan according to the estimated power generation time and at least one initial workshop capacity comprises: Using the initial shift schedule as the planned shift schedule; Determine a planned total capacity according to the expected power generation time, the planned shift schedule and at least one initial workshop capacity; wherein the planned total capacity represents the planned capacity of all production workshops corresponding to the planned shift schedule; Determining a total reduced capacity based on the planned total capacity and at least one initial workshop capacity; According to the total reduced capacity and the production weight corresponding to at least one production workshop, at least one initial workshop capacity is adjusted to obtain the planned workshop capacity of each production workshop.

3. The method according to claim 2, characterized in that The step of adjusting at least one initial workshop capacity according to the total reduced capacity and the production weights respectively corresponding to at least one production workshop to obtain the planned workshop capacity of each production workshop includes: Determining a workshop ranking result of the at least one production workshop according to the production weights respectively corresponding to the at least one production workshop; The production workshop with the smallest production weight in the workshop ranking result is used as the designated workshop, and the difference between the initial workshop capacity of the designated workshop and the total reduced capacity is used as the reference workshop capacity; If the reference workshop capacity is greater than or equal to zero, the reference workshop capacity is used as the planned workshop capacity of the designated workshop, and the initial workshop capacity of each production workshop except the designated workshop in the workshop sorting result is used as the planned workshop capacity of the production workshop; If the reference workshop capacity is less than zero, the planned workshop capacity of the designated workshop is set to zero, and the designated workshop is deleted from the workshop sorting result, and the process returns to the step of taking the production workshop with the smallest production weight in the workshop sorting result as the designated workshop.

4. The method according to claim 2, characterized in that: The production plan also includes a newly added shift schedule within a time interval corresponding to the off-peak electricity price. Accordingly, generating the production plan according to the expected power generation time and at least one initial workshop capacity also includes: For each production workshop, determining the additional production time of the production workshop according to the initial workshop capacity of the production workshop and the planned workshop capacity; The maximum value of at least one additional production time is used as the newly added scheduling time in the time interval corresponding to the off-peak electricity price.

5. The method according to claim 1, characterized in that: The generating a production plan according to the estimated power generation time and at least one initial workshop capacity comprises: Determine the planned shift schedule according to the estimated power generation time; For each production workshop, the initial workshop capacity of the production workshop is used as the planned workshop capacity of the production workshop.

6. The method according to any one of claims 1 to 5, characterized in that: The energy capacity data includes the unit energy output and energy stock of the electric energy. Accordingly, determining the estimated power generation time of the generator set according to the initial energy demand and the energy capacity data includes: Taking the difference between the initial energy demand and the energy stock as the incremental energy demand; Taking the ratio of the incremental energy demand to the unit energy output as the estimated power generation time of the generator set; The unit energy output represents the output of the electric energy per unit time.

7. The method according to claim 1, characterized in that The method further comprises: According to the production plan, determining the active power corresponding to at least one production workshop; Determining a set power corresponding to at least one generator in the generator set according to at least one active power; For each generator, the set power of the generator is sent to the generator, so that the opening of the regulating valve in the generator is adjusted according to the set power and the real-time output power of the power generation mechanism in the generator through the power controller in the generator; Among them, the power controller is arranged at the head end of the energy transmission path of the generator, the power generation mechanism is arranged at the end of the energy transmission path, and the regulating valve is arranged on the energy transmission path between the power controller and the power generation mechanism, and is used to adjust the flow rate of the electric energy driving the power generation mechanism.

8. The method according to claim 7, characterized in that The generator is also provided with a flow controller and an energy flow meter, wherein the flow controller is provided on the energy transmission path between the power controller and the regulating valve, and the energy flow meter is provided on the energy transmission path between the regulating valve and the power generation mechanism; Among them, the energy flow meter is used to collect the real-time energy flow output by the output port of the regulating valve, and the flow controller is used to adjust the opening of the regulating valve according to the real-time energy flow and the set energy flow corresponding to the set power.

9. The method according to claim 7, characterized in that: The step of determining the set power corresponding to at least one generator in the generator set according to at least one active power comprises: Taking the accumulated value of the at least one active power as the total active power corresponding to all production workshops, and taking the unset generator in the generator set as the designated generator; If the total active power is greater than the rated power of the designated generator, the rated power is used as the set power of the designated generator, and the difference between the total active power and the rated power is used as the total active power, and the process returns to the step of using the unset generator in the generator set as the designated generator; If the total active power is less than or equal to the rated power of the designated generator, the total active power is used as the set power of the designated generator, and the set powers of the unset generators in the generator set are set to zero.

10. A device for generating a production plan, characterized in that: include: An electricity capacity data acquisition module is used to acquire electricity capacity data corresponding to at least one production workshop in the production department; wherein the electricity capacity data includes the unit electricity consumption of the workshop and the initial workshop capacity corresponding to the initial shift schedule; An initial energy demand determination module, used to determine the initial energy demand of the production department according to the unit power generation of the generator set and at least one power consumption capacity data; An estimated power generation time determination module, used to determine the estimated power generation time of the generator set according to the initial energy demand and energy production capacity data; A production plan generating module, configured to generate a production plan according to the expected power generation time and at least one initial workshop capacity if the expected power generation time exceeds the initial shift schedule time; Among them, the unit electricity consumption of the workshop represents the electricity consumption per unit production capacity, the unit power generation represents the electricity output of the unit measured electric energy, and the production plan includes the planned workshop capacity of each production workshop corresponding to the planned shift time.

11. A system for generating a production plan, characterized in that: The production plan generation system includes: an energy output system, a generator set and a production control system which are respectively communicatively connected to the terminal equipment; The energy production system is used to produce electric energy and obtain energy production capacity data, and the electric energy is used to drive the generator set to produce electric energy; The production control system is used to obtain the initial workshop capacity corresponding to the initial shift schedule of each production workshop in the production department; The terminal device comprises: at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating a production plan described in any one of claims 1-9.

12. The production plan generation system according to claim 11, characterized in that: The production plan generation system further includes a power data acquisition system that is communicatively connected to the terminal device, and the power data acquisition system is used to collect the active power of each production workshop after executing the production plan; The active power is used to determine the set power of each generator in the generator set.

13. The system for generating a production plan according to claim 12, characterized in that: Each generator in the generator set includes a power controller, a regulating valve and a power generation mechanism. The power controller is arranged at the head end of the energy transmission path of the generator, and the power generation mechanism is arranged at the end of the energy transmission path. The regulating valve is arranged on the energy transmission path between the power controller and the power generation mechanism, and is used to adjust the flow rate of the electric energy that drives the power generation mechanism.

14. The production plan generation system according to claim 13, characterized in that: Each generator in the generator set is also provided with a flow controller and an energy flow meter, wherein the flow controller is provided on the energy transmission path between the power controller and the regulating valve, and the energy flow meter is provided on the energy transmission path between the regulating valve and the power generation mechanism; Among them, the energy flow meter is used to collect the real-time energy flow output by the output port of the regulating valve, and the flow controller is used to adjust the opening of the regulating valve according to the real-time energy flow and the set energy flow corresponding to the set power.

15. The system for generating a production plan according to claim 11, characterized in that: When the electric energy source is biogas, the energy production system is an anaerobic fermentation control system, which includes at least one anaerobic tank, a biogas flow meter connected to the gas path of the output port of each anaerobic tank, and a gas storage device connected to the gas paths of the output ports of all anaerobic tanks, wherein the gas storage device includes at least one gas storage cabinet and a level meter arranged in the gas storage cabinet; Among them, the biogas flowmeter is used to collect the biogas output of the anaerobic tank per unit time, and the level meter is used to collect the biogas stock of the gas storage cabinet. The biogas output is used to determine the unit energy output of the electric energy, and the biogas stock is used to determine the energy stock of the electric energy.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a production plan according to any one of claims 1 to 9 when executed.

17. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for generating a production plan according to any one of claims 1 to 9 is implemented.