Optimization method, device, electronic equipment and program product for micro-grid arrangement

CN122374770APending Publication Date: 2026-07-10SIEMENS AG

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SIEMENS AG
Filing Date
2023-12-18
Publication Date
2026-07-10

Smart Images

  • Figure CN122374770A_ABST
    Figure CN122374770A_ABST
Patent Text Reader

Abstract

An optimization method and device for a micro-grid, an electronic device, and a program product. The minimum capital expenditure of a micro-grid is obtained, as well as the maximum output power of a corresponding generator and the maximum output power of an energy storage system. The micro-grid includes the generator, the energy storage system, and a load; the maximum output power of the generator and the maximum output power of the energy storage system are taken as limit conditions, the minimum operating expenditure of the micro-grid is obtained, and the control parameter RS Gi of the generator and the control parameter RS f of the energy storage system are obtained; based on the control parameter RS G of the generator and the control parameter RS f of the energy storage system, the micro-grid is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Microgrid configuration optimization method, device, electronic device and program product Technical Field

[0001] The embodiments of the present application mainly relate to the field of power systems, and in particular to a method, device, electronic device and program product for optimizing microgrid settings. Background Art

[0002] With the development of society and advancements in technology, people's demand for and quality of electricity are becoming increasingly stringent. Traditional power grids are no longer able to meet these demands. Consequently, a new type of power grid system—the microgrid—has emerged. A microgrid is a small, localized power grid. It consists of one or more distributed power sources, energy storage devices, loads, and energy conversion and control equipment. It can operate independently or in parallel with the main grid. Traditional microgrid designs are often conservative due to a lack of practical operational details, which often leads to high operating costs.

[0003] Summary of the Invention

[0004] The embodiments of the present application provide a method, device, electronic device, and program product for optimizing microgrid settings. Through the embodiments of the present application, both capital expenditures and operating expenditures are taken into consideration, and users are helped to quickly design a robust microgrid.

[0005] In a first aspect, a method for optimizing a microgrid configuration is provided, comprising: obtaining a minimum capital expenditure of a microgrid and a corresponding maximum output power of a generator. and the maximum output power of the energy storage system The microgrid includes the generator, the energy storage system and the load; the maximum output power of the generator and the maximum output power of the energy storage system As a constraint, the minimum operating expenditure of the microgrid and the corresponding control parameter RS ​​of the generator are obtained. Gi and the control parameter RS ​​of the energy storage system f Based on the control parameters RS of the generator Gi and the control parameter RS ​​of the energy storage system f , optimizing the microgrid.

[0006] In a second aspect, a device for optimizing microgrid settings is provided, comprising: a first acquisition module configured to: obtain a minimum capital expenditure of a microgrid and a corresponding maximum output power of a generator; and the maximum output power of the energy storage system The microgrid includes the generator, the energy storage system and the load; the second acquisition module is configured to: and the maximum output power of the energy storage system As a constraint, the minimum operating expenditure of the microgrid and the corresponding control parameter RS ​​of the generator are obtained. Gi and the control parameter RS ​​of the energy storage system f ; Optimization module, configured to: based on the control parameters RS of the generator Gi and the control parameter RS ​​of the energy storage system f , optimizing the microgrid.

[0007] In a third aspect, an electronic device is provided, comprising: at least one memory configured to store computer-readable code; and at least one processor configured to call the computer-readable code and execute each step of the method provided in the first aspect.

[0008] In a fourth aspect, a computer-readable medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the processor executes each step in the method provided in the first aspect.

[0009] In a fifth aspect, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the steps in the method provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The following figures are intended only to illustrate and explain the embodiments of the present application and are not intended to limit the scope of the embodiments of the present application.

[0011] FIG1 is a flow chart of a method for optimizing microgrid settings according to an embodiment of the present application;

[0012] FIG2 is a schematic diagram of an optimization device for a microgrid according to an embodiment of the present application;

[0013] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present application.

[0014] Description of Reference Numerals

[0015] 100: Microgrid Configuration Optimization Method 101-103: Method Step 20: Microgrid Configuration Optimization Device

[0016] 21: First acquisition module 22: Second acquisition module 23: Optimization module

[0017] 300: Electronic device 301: Processor 302: Communication interface

[0018] 303: Memory 304: Communication bus 305: Program DETAILED DESCRIPTION

[0019] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that discussing these embodiments is merely to enable those skilled in the art to better understand and implement the subject matter described herein, and is not intended to limit the scope of protection, applicability, or examples set forth in the claims. The functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the embodiments of the present application. Various examples may omit, replace, or add various processes or components as needed. For example, the described method may be performed in an order different from the described order, and various steps may be added, omitted, or combined. In addition, the features described relative to some examples may also be combined in other examples.

[0020] As used herein, the term "including" and its variations are open terms meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.

[0021] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0022] FIG1 is a schematic diagram of a method for optimizing microgrid settings according to an embodiment of the present application. As shown in FIG1 , the method 100 for optimizing microgrid settings includes:

[0023] Step 101: Obtain the minimum capital expenditure of a microgrid and the corresponding maximum output power of the generator. and the maximum output power of the energy storage system The microgrid includes a generator, an energy storage system, and multiple loads. Optionally, the generator may be a generator set, i.e., a diesel generator set, and the energy storage system may be a flywheel.

[0024] Specifically, the minimum capital expenditure for the microgrid is determined by ensuring that the generator's input power and the load's output power are balanced, and that the sum of the generator's reserve capacity and the energy storage system's output is greater than or equal to the load's maximum impact load. Optionally, the constraints may also include ensuring that the generator's equivalent ramp rate meets preset conditions and that the generator's maximum reserve capacity can be released while maintaining system stability, thereby minimizing the microgrid's capital expenditure.

[0025] Optionally, the minimum capital expenditure of the microgrid is obtained by the following capital expenditure objective function:

[0026] Where ρ represents the price factor of the generator, represents the maximum output power of the generator; σ represents the price factor of the energy storage system, Represents the maximum output power of the energy storage system.

[0027] In one embodiment, the minimum capital expenditure of the microgrid can be obtained by the following capital expenditure objective function:

[0028] Where ρ represents the price factor of the generator, represents the maximum output power of the generator; σ represents the price factor of the energy storage system, Represents the maximum output power of the energy storage system. ν, A and N are auxiliary quantities used to assist the algorithm in finding the optimal solution. Can offset each other to ensure the accuracy of the objective function, in other words,

[0029] In one embodiment, the minimum capital expenditure of the microgrid can be obtained under the objective function of capital expenditure and the following set of constraints (subject to, st):

[0030] Wherein, the subscript i represents the generator number; ∑ i P Gi Represents the total input power of the generator, P D Indicates the output power of the basic load;

[0031] represents the output reserve of generator No. i, Indicates the maximum output power of the energy storage system, Indicates the maximum impact load;

[0032] C PG represents the equivalent ramp rate of the generator, H represents the system inertia level, f0 represents the normal system frequency of the microgrid, and f NADIt represents the minimum frequency allowed by the microgrid system, k is the impact load change rate, and t2 represents the output time of the generator under theoretical conditions.

[0033] Step 102: The maximum output power of the generator and the maximum output power of the energy storage system As a constraint, obtain the minimum operating expenditure of the microgrid and the corresponding generator control parameter RS Gi and the control parameter RS ​​of the energy storage system f .

[0034] Specifically, the minimum operating expenditure of the microgrid is obtained while ensuring the balance between the input power of the generator and the output power of the load and the transient constraints preset during the frequency regulation process of the microgrid.

[0035] Optionally, the minimum operating expenditure of the microgrid is obtained through the following operating expenditure objective function: min(∑ i π Gi ΔP Gi,t τ+∑ j π fj ΔP fj,t τ+E max )

[0036] Where ΔP Gi,t represents the output of the generator during the transient process, τ represents the degree of transient discreteness, ΔP f,t Represents the change in the output of the energy storage system, E max Represents the maximum amount of energy stored in the energy storage system.

[0037] In one embodiment, the minimum operating expenditure of the microgrid can be obtained under the objective function of operating expenditure and the following set of constraints (subject to, st):

[0038] Wherein, the subscript i represents the generator number; ∑ i P Gi Represents the total input power of the generator, P D Indicates the output power of the basic load;

[0039] Indicates the maximum output power of the energy storage system, Represents the minimum output power of the energy storage system, P f Indicates the output power of the energy storage system at any time;

[0040] RoCoF t , Δf t Indicates the frequency change rate and frequency change of a single step respectively;

[0041] Δf U,max Indicates the upper limit of the system frequency change per unit time;

[0042] P Gi,t Represents the output power of the generator according to time, RS Gi represents the control parameters of the generator;

[0043] P f,t Represents the output power of the energy storage system according to time, RS f Represents the control parameters of the energy storage system.

[0044] Step 103: Based on the control parameter RS ​​of the generator Gi and the control parameter RS ​​of the energy storage system f , optimize the microgrid.

[0045] The size of a microgrid is usually determined through rough calculations, but the embodiments of the present application take into account both capital expenditures and operating expenses and help users quickly design a robust microgrid.

[0046] The embodiment of the present application includes two optimizations. The first optimization uses the price coefficients of the generator and the energy storage system as input to calculate the maximum output power of the generator and the maximum output power of the energy storage system, and determines the minimum capital of the microgrid. Then, the second optimization uses the output of the first optimization as input to calculate the control parameters of the generator and the control parameters of the energy storage system as the settings of the microgrid. The two optimizations can ensure that under the setting of the corresponding control parameters, when the microgrid actually faces the preset impact load, the frequency will not exceed the allowable fluctuation range, so as to ensure the stable operation of the microgrid and minimize the cost generated during the entire control process.

[0047] FIG2 is a schematic diagram of an optimization device for a microgrid according to an embodiment of the present application. As shown in FIG2 , the optimization device 20 for a microgrid includes:

[0048] The first acquisition module 21 is configured to: obtain the minimum capital expenditure of a microgrid and the maximum output power of the corresponding generator and the maximum output power of the energy storage system Among them, the microgrid includes generators, energy storage systems and loads.

[0049] The second acquisition module 22 is configured to: and the maximum output power of the energy storage system As a constraint, obtain the minimum operating expenditure of the microgrid and the corresponding generator control parameter RS Gi and the control parameter RS ​​of the energy storage system f .

[0050] The optimization module 23 is configured to: based on the control parameter RS ​​of the generator Gi and the control parameter RS ​​of the energy storage system f , optimize the microgrid.

[0051] The embodiments of the present application take into account both capital expenditures and operating expenditures and help users quickly design a robust microgrid.

[0052] FIG3 is a schematic diagram of an electronic device provided in an embodiment of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device. Referring to FIG3 , the electronic device 300 provided in an embodiment of the present application includes: a processor 302, a communications interface 304, a memory 306, and a communication bus 308. Among them:

[0053] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via a communication bus 308 .

[0054] The communication interface 304 is used to communicate with other electronic devices or servers.

[0055] The processor 302 is configured to execute the program 310 , and specifically to execute the relevant steps in the aforementioned embodiment of the microgrid setting optimization method 100 .

[0056] Specifically, the program 310 may include program codes, which include computer operation instructions.

[0057] Processor 302 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs, or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0058] The memory 302 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0059] The present application also provides a computer-readable storage medium storing instructions for causing a machine to execute the microgrid configuration optimization method 100 as described herein. Specifically, a system or device equipped with a storage medium can be provided, wherein the storage medium stores software program code that implements the functions of any of the above-described embodiments, and a computer (or CPU or MPU) of the system or device can read and execute the program code stored in the storage medium.

[0060] In this case, the program code read from the storage medium itself can realize the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute part of this application.

[0061] Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0062] In addition, it should be clear that the functions of any of the above embodiments can be achieved not only by executing the program code read by the computer, but also by enabling the operating system operating on the computer to complete part or all of the actual operations based on the instructions of the program code.

[0063] In addition, it can be understood that the program code read from the storage medium is written into a memory provided in an expansion board inserted into the computer or into a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above embodiments.

[0064] The present application also provides a computer program product tangibly stored on a computer-readable medium and comprising computer-executable instructions. When executed, the computer-executable instructions cause at least one processor to perform the microgrid configuration optimization method 100 provided in the aforementioned embodiments. It should be understood that each solution in this embodiment has the corresponding technical effects of the aforementioned method embodiments and will not be further elaborated here.

[0065] It should be noted that not all steps and modules in the above processes and system structure diagrams are required, and certain steps or modules can be omitted according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or may be implemented by certain components in multiple independent devices.

[0066] Nouns and pronouns referring to persons in this patent application are not limited to a specific gender.

[0067] In the above embodiments, the hardware module can be implemented mechanically or electrically. For example, a hardware module can include a permanent dedicated circuit or logic (such as a dedicated processor, FPGA or ASIC) to complete the corresponding operation. The hardware module can also include programmable logic or circuits (such as a general-purpose processor or other programmable processors), which can be temporarily set by software to complete the corresponding operation. The specific implementation method (mechanical method, or dedicated permanent circuit, or temporarily set circuit) can be determined based on cost and time considerations.

[0068] The present application has been presented and described in detail above through the accompanying drawings and preferred embodiments. However, the present application is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present application, and these embodiments are also within the scope of protection of the present application.

[0069] Nouns and pronouns referring to persons in this patent application are not limited to a specific gender.

Claims

1. An optimization method for a microgrid setup, wherein, - Obtain (101) the minimum capital expenditure of a microgrid and the maximum output power of the corresponding generator and the maximum output power of the energy storage system wherein, the microgrid includes the generator, the energy storage system, and the load; - the maximum output power of the generator and the maximum output power of the energy storage system As a constraint condition, obtain the minimum operating cost of the microgrid described in (102), and the corresponding control parameter RS of the generator Gi and the control parameter RS of the energy storage system f ; -Based on the control parameter RS of the generator Gi and the control parameter RS of the energy storage system f , optimize (103) the microgrid.

2. The method according to claim 1, wherein, The obtaining (101) of the minimum capital expenditure of a microgrid includes: - Under the condition of ensuring the balance between the input power of the generator and the output power of the load, and the sum of the standby capacity of the generator and the output of the energy storage system being greater than or equal to the maximum impact load of the load, obtaining the minimum capital expenditure of the microgrid.

3. The method according to claim 1, wherein The obtaining (102) of the minimum operating expenditure of the microgrid includes: - Under the condition of ensuring the balance between the input power of the generator and the output power of the load, and the preset transient constraints during the frequency modulation process of the microgrid, obtaining the minimum operating expenditure of the microgrid.

4. The method according to claim 1 or 2, wherein, The obtaining (101) of the minimum capital expenditure of a microgrid includes: - Obtain the minimum capital expenditure of the microgrid through the following objective function of capital expenditure; where ρ represents the price factor of the generator, represents the maximum output power of the generator; σ represents the price factor of the energy storage system, Represents the maximum output power of the energy storage system.

5. The method according to claim 4, wherein The obtaining (102) of the minimum operating expenditure of the microgrid includes: - Obtaining the minimum operating expenditure of the microgrid through the following objective function of the operating expenditure; min(∑ i π Gi ΔP Gi,t τ+∑ j π fj ΔP fj,t τ+E max ) where, ΔP Gi,t represents the output of the generator during the transient process, τ represents the degree of transient discreteness, and ΔP f,t represents the change in the output of the energy storage system, and E max represents the maximum value of the energy stored in the energy storage system.

6. An optimization device for a microgrid setup, comprising: - The first acquisition module (21) is configured to: acquire the minimum capital expenditure of a microgrid and the maximum output power of the corresponding generator and the maximum output power of the energy storage system wherein, the microgrid includes the generator, the energy storage system, and the load; - The second acquisition module (22) is configured to: the maximum output power of the generator and the maximum output power of the energy storage system As a constraint condition, obtain the minimum operating cost of the microgrid and the corresponding control parameter RS of the generator Gi and the control parameter RS of the energy storage system f ; - Optimization module (23), configured to: based on the control parameter RS of the generator Gi and the control parameter RS of the energy storage system f , optimize the microgrid.

7. An electronic device (300), comprising: A processor (301), a communication interface (302), a memory (303), and a communication bus (304), and the processor (301), the memory (303), and the communication interface (302) complete mutual communication through the communication bus (304); The memory (303) is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operations corresponding to the optimization method for the microgrid setup according to any one of claims 1-5.

8. A computer storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the optimization method for the microgrid setup according to any one of claims 1-5.

9. A computer program product, the computer program product being tangibly stored on a computer-readable medium and including computer-executable instructions, and the computer-executable instructions, when executed, cause at least one processor to execute the optimization method for the microgrid setup according to any one of claims 1-5.