Adjusting method and device of power system, program product and electronic equipment

By obtaining historical data of new energy power generation equipment and using neural network models to predict target data, and combining the objective function and constraint information of the integrated power system for adjustment, the problem of low regulation accuracy caused by unstable output power of new energy power generation equipment is solved. Improve the operating stability of the power system.

CN119010176APending Publication Date: 2024-11-22STATE GRID BEIJING ELECTRIC POWER CO +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411094297.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The unstable output power of new energy power generation equipment in the prior art leads to a low accuracy of the regulation of the integrated power system, and lacks considerations on weather and new energy prices.

Method used

By obtaining historical data of new energy power generation equipment, including weather data, load data and price data, using neural network models to predict target data for future time periods, and adjusting it with the objective function and constraint information of the integrated power system to ensure that the system has a minimum cost Run in state.

Benefits of technology

The adjustment accuracy and operation stability of the integrated power system are improved, and the problem of low regulation accuracy caused by unstable output power of new energy power generation equipment is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010176A_ABST
    Figure CN119010176A_ABST
Patent Text Reader

Abstract

The invention discloses an adjusting method and device of an electric power system, a program product and electronic equipment, and relates to the technical field of electric power and the technical field of new energy, and the method comprises the steps: obtaining historical data of new energy power generation equipment, the historical data at least comprise weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment in a preset historical time period, and determining target data of the new energy power generation equipment according to the historical data and the target label, the target data at least comprises corresponding power generation data and load data when the new energy power generation equipment operates in the preset future time period, and the integrated power system is adjusted according to the target data, the target function and the constraint information of the integrated power system. The technical problem of low accuracy of adjusting the integrated power system caused by unstable output power of the new energy power generation equipment in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of electric power technology and new energy technology, and in particular to a method, device, program product and electronic equipment for regulating an electric power system. Background Art

[0002] After the new energy power generation equipment is connected to the power system, when the output power of each of the various power generation equipment included in the power system fluctuates, the stability of the power system operation will be affected. In the prior art, when adjusting the comprehensive power system including various power generation equipment, there is a lack of consideration of factors such as weather and new energy prices. Both weather factors and new energy price factors will affect the output power and load power of the new energy power generation equipment, thereby causing the output power of the new energy power generation equipment to be unstable. The prior art solution has the problem of low accuracy in adjusting the comprehensive power system.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The present application provides a method, device, program product and electronic device for regulating an electric power system, so as to at least solve the technical problem of low accuracy in regulating an integrated electric power system caused by unstable output power of new energy power generation equipment in the prior art.

[0005] According to one aspect of the present application, a method for regulating an electric power system is provided, comprising: obtaining historical data of a new energy power generation device, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation device during a preset historical time period; determining target data of the new energy power generation device based on the historical data and a target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation device during a preset future time period, and the target data at least includes power generation data and load data corresponding to the operation of the new energy power generation device during a preset future time period; regulating the integrated power system based on the target data, target function and constraint information of the integrated power system, wherein the integrated power system is a power system connected to the new energy power generation device, the target function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

[0006] Optionally, in the process of determining the target data of the new energy power generation equipment based on historical data and target labels, the power system regulation method also includes: inputting the historical data and target labels into a target model to obtain target data, wherein the target model is a neural network model obtained by training L groups of historical data of the new energy power generation equipment, and L is a positive integer.

[0007] Optionally, the target model includes at least a target generator and a target discriminator, the target generator includes at least a first sub-generator, a second sub-generator and a third sub-generator, the first sub-generator is used to determine the maximum wind power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the second sub-generator is used to determine the maximum photovoltaic power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the third sub-generator is used to determine the load power corresponding to the operation of the new energy power generation equipment within the preset future time period, and the target discriminator is at least used to determine the similarity between the output data of the target generator and the historical data.

[0008] Optionally, the target model is trained by the following steps: determining M preset labels based on L groups of historical data of the new energy power generation equipment, wherein the preset labels are used to characterize the weather type and season type within a preset historical time period, and M is a positive integer; inputting the M preset labels and random noise into the initial generator to obtain first data, wherein the random noise is a random number drawn from a normal distribution sequence, and the initial generator is used to capture contextual information in the input data through a gating mechanism, and the first data matches at least one of the M preset labels; inputting the first data, L groups of historical data, and M preset labels into the initial discriminator to obtain second data, wherein the initial discriminator is used to determine the similarity between the first data and each group of historical data in the L groups of historical data, and the matching degree between the first data and each of the M preset labels; iteratively updating the first loss function and the second loss function through the second data, wherein the first loss function is the loss function of the initial generator, and the second loss function is the loss function of the initial discriminator; generating the target model based on the first loss function and the second loss function obtained from the last update.

[0009] Optionally, before adjusting the integrated power system based on the historical data, objective function and constraint information of the integrated power system, the adjustment method of the power system also includes: taking the electricity purchase cost and gas purchase cost of the integrated power system as the first cost; taking the load compensation cost of the power grid in the integrated power system as the second cost; taking the operating cost of multiple equipment included in the integrated power system as the third cost; and determining the objective function based on the first cost, the second cost and the third cost.

[0010] Optionally, before adjusting the integrated power system based on the historical data, objective function and constraint information of the integrated power system, the power system adjustment method also includes: taking the constraint relationship between the power purchase and power sales in the integrated power system as the first constraint condition; taking the constraint relationship between the output power of multiple devices in the integrated power system and the preset output power range as the second constraint condition; taking the constraint relationship between the load power in the integrated power system and the preset load power range as the third constraint condition; taking the balance condition between the inflow power and the outflow power of the bus in the integrated power system as the fourth constraint condition; determining the constraint information based on the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition.

[0011] Optionally, in the process of adjusting the integrated power system based on the target data, objective function and constraint information of the integrated power system, the adjustment method of the power system also includes: determining a target strategy based on the target data, objective function and constraint information of the integrated power system, wherein the target strategy at least includes values ​​corresponding to system parameters in the integrated power system; and adjusting the integrated power system based on the target strategy.

[0012] According to another aspect of the present application, a regulating device for an electric power system is also provided, including: an acquisition unit, used to acquire historical data of new energy power generation equipment, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment in a preset historical time period; a first determination unit, used to determine the target data of the new energy power generation equipment based on the historical data and the target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment in a preset future time period, and the target data at least includes the power generation data and load data corresponding to the operation of the new energy power generation equipment in the preset future time period; an regulating unit, used to regulate the integrated power system based on the target data, objective function and constraint information of the integrated power system, wherein the integrated power system is a power system connected to the new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

[0013] According to another aspect of the present application, a computer program product is provided, in which a computer program is stored, wherein when the computer program is run, the computer program product is controlled to execute any one of the above-mentioned methods for regulating the power system.

[0014] According to another aspect of the present application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned methods for regulating the power system.

[0015] In the present application, historical data of new energy power generation equipment is first obtained, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment in a preset historical time period. Then, the target data of the new energy power generation equipment is determined based on the historical data and the target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment in a preset future time period, and the target data at least includes power generation data and load data corresponding to the operation of the new energy power generation equipment in a preset future time period. Then, the integrated power system is adjusted based on the target data, objective function and constraint information of the integrated power system, wherein the integrated power system is a power system connected to the new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

[0016] It can be seen from the above content that the technical solution of the present application comprehensively considers the factors affecting the operation of new energy power generation equipment, involving time period factors, weather factors, grid load factors and new energy price factors. The present application comprehensively analyzes the historical data covering the factors affecting the operation of new energy power generation equipment, the weather factors and seasonal factors (corresponding to the above target labels) corresponding to the operation of new energy power generation equipment in the preset future time period, and predicts the output power and load information (i.e., target data) of the new energy power generation equipment when it is operating in the preset future time period. Afterwards, the present application adjusts the integrated power system based on the predicted target data, objective function and constraint information, thereby ensuring that the integrated power system is in a state of minimum operating cost, while achieving the purpose of improving the accuracy of adjustment of the integrated power system.

[0017] It can be seen that the present application adopts a method of adjusting the integrated power system based on the predicted target data, objective function and constraint information, thereby achieving the purpose of improving the accuracy of adjusting the integrated power system, thereby achieving the technical effect of improving the operating stability of the integrated power system during a preset future time period, and further solving the technical problem of low accuracy of adjusting the integrated power system caused by the unstable output power of new energy power generation equipment in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a flow chart of an optional method for regulating a power system according to an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of an optional integrated power system according to an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of an optional target model according to an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of an optional regulating device of a power system according to an embodiment of the present application;

[0023] Figure 5 is a schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

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

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising 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.

[0026] It should also be noted that the relevant information (including but not limited to data for display and analysis) and data (including but not limited to historical data of new energy power generation equipment) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution.

[0027] In addition, the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant information and data involved in this application comply with the relevant laws, regulations and standards of the relevant regions, and necessary confidentiality measures have been taken and do not violate public order and good morals. In addition, this application provides corresponding operation entrances for users to choose to agree to authorization or refuse authorization. If the user chooses to refuse authorization, he / she will enter the corresponding expert decision-making process.

[0028] According to an embodiment of the present application, an embodiment of a method for regulating an electric power system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] The present application provides a power system regulation system (hereinafter referred to as the regulation system) for executing the power system regulation method in the present application. Figure 1 is a flow chart of an optional power system regulation method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0030] Step S101, obtaining historical data of new energy power generation equipment.

[0031] In step S101, the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment within a preset historical time period.

[0032] Optionally, the new energy power generation equipment includes at least photovoltaic power generation equipment and wind power generation equipment.

[0033] Optionally, after acquiring historical data, the adjustment system can perform preprocessing operations on the historical data, such as missing parameter processing and text format unification, thereby improving the data quality of the preprocessed historical data and improving the efficiency of subsequent adjustment system analysis of historical data.

[0034] Step S102, determining target data of the new energy power generation equipment according to historical data and target tags.

[0035] In step S102, the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment in the preset future time period, and the target data at least includes the power generation data and load data corresponding to the operation of the new energy power generation equipment in the preset future time period.

[0036] Optionally, the target tag can also be used to characterize the corresponding season type when the new energy power generation equipment is operated in a preset future time period.

[0037] Optionally, assuming that the future time period is the next week after the current date, the regulation system first obtains the weather forecast information within the next week through the weather prediction model. After that, the regulation system determines the target tag based on the weather forecast information, thereby achieving the purpose of subsequently predicting the power generation data and load data of the new energy power generation equipment within the next week based on the target tag.

[0038] Step S103, adjusting the integrated power system according to the target data, target function and constraint information of the integrated power system.

[0039] In step S103, the integrated power system is a power system connected to new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

[0040] Optionally, Figure 2 is a schematic diagram of an optional integrated power system according to an embodiment of the present application, such as Figure 2 As shown, the input energy of the integrated power system includes grid electricity, distributed energy (photovoltaic energy and wind energy), natural gas and traditional fossil fuels. The integrated power system includes at least a cold subsystem, a hot subsystem and an electronic system. The communication equipment between the three subsystems includes an electric boiler, an electric refrigerator and an absorption refrigerator. The three subsystems can be jointly dispatched through these three elements, namely, electric boilers, electric refrigerators and absorption refrigerators. The three subsystems are respectively equipped with three energy storage devices, namely, cold storage tanks, heat storage tanks and batteries. The energy storage devices are used to store and release the energy of the three subsystems.

[0041] And, if Figure 2As shown, the energy input equipment in the integrated power system includes power grids, new energy power generation equipment, traditional generator sets and natural gas power generation equipment, among which the traditional generator set refers to equipment that uses the combustion of fossil fuels to convert heat energy and then drives turbines or diesel generators to generate electricity based on heat energy, and the natural gas power generation equipment includes at least gas turbines, fuel cells and gas boilers. The system load of the integrated power system includes three types: electrical load, thermal load and cooling load. In addition, the system load can also be divided into uncontrollable basic load and controllable flexible load, among which the flexible load includes shiftable load, transferable load and reducible load.

[0042] It can be seen from the above content that the technical solution of the present application comprehensively considers the factors affecting the operation of new energy power generation equipment, involving time period factors, weather factors, grid load factors and new energy price factors. The present application comprehensively analyzes the historical data covering the factors affecting the operation of new energy power generation equipment, the weather factors and seasonal factors (corresponding to the above target labels) corresponding to the operation of new energy power generation equipment in the preset future time period, and predicts the output power and load information (i.e., target data) of the new energy power generation equipment when it is operating in the preset future time period. Afterwards, the present application adjusts the integrated power system based on the predicted target data, objective function and constraint information, thereby ensuring that the integrated power system is in a state of minimum operating cost, while achieving the purpose of improving the accuracy of adjustment of the integrated power system.

[0043] It can be seen that the present application adopts a method of adjusting the integrated power system based on the predicted target data, objective function and constraint information, thereby achieving the purpose of improving the accuracy of adjusting the integrated power system, thereby achieving the technical effect of improving the operating stability of the integrated power system during a preset future time period, and further solving the technical problem of low accuracy of adjusting the integrated power system caused by the unstable output power of new energy power generation equipment in the prior art.

[0044] In an optional embodiment, the regulation system inputs historical data and target labels into a target model to obtain target data, wherein the target model is a neural network model obtained by training L groups of historical data of the new energy power generation equipment, and L is a positive integer.

[0045] Optionally, the target model is a CWGAN-GP (Conditional Wasserstein Generative Adversarial Network with Gradient Penalty, a generative adversarial network with a gradient penalty mechanism) model.

[0046] In an optional embodiment, the target model includes at least a target generator and a target discriminator, the target generator includes at least a first sub-generator, a second sub-generator and a third sub-generator, the first sub-generator is used to determine the maximum wind power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the second sub-generator is used to determine the maximum photovoltaic power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the third sub-generator is used to determine the load power corresponding to the operation of the new energy power generation equipment within the preset future time period, and the target discriminator is at least used to determine the similarity between the output data of the target generator and the historical data.

[0047] Optionally, Figure 3 is a schematic diagram of an optional target model according to an embodiment of the present application, such as Figure 3 As shown, the target model includes two neural network model parts, namely a generator (G) and a discriminator (D), wherein the generator includes a Bi-LSTM-a neural network (corresponding to the first sub-generator), a Bi-LSTM-b neural network (corresponding to the second sub-generator) and a Bi-LSTM-c neural network (corresponding to the third sub-generator), Pa output by the Bi-LSTM-a neural network represents the maximum wind power generation power corresponding to the operation of the new energy power generation equipment in the preset future time period, Pb output by the Bi-LSTM-b neural network represents the maximum photovoltaic power generation power corresponding to the operation of the new energy power generation equipment in the preset future time period, and Pc output by the Bi-LSTM-c neural network represents the load power corresponding to the operation of the new energy power generation equipment in the preset future time period. Afterwards, the regulation system determines the power generation scenario corresponding to the operation of the new energy power generation equipment in the preset future time period according to Pa, Pb and Pc, thereby achieving the purpose of regulating the comprehensive power system according to the predicted new energy power generation scenario, and Bi-LSTM (Bidirectional Long Short Term Memory, bidirectional long short-term memory network) neural network can better capture the contextual information of the sequence, and suppress the overfitting of samples through a preset regularization method, thereby improving the generalization ability of the model.

[0048] Alternatively, if Figure 3 As shown in Figure 2, during the use of the target model, the regulation system first inputs the random noise (z) and the target label (c) into the generator (G) to obtain the power data corresponding to the renewable energy power generation scenario (i.e. Figure 3 Then, the regulation system combines the target label (c), the historical data with the same season type and weather type as the target label (i.e. Figure 3The generated data of the real sample x) and the output data of the generator are input into the discriminator. Then, the discriminator determines the discrimination result according to the Wasserstein distance between the real sample and the output data of the generator, and feeds back and corrects the loss functions of the generator and the discriminator according to the discrimination result, so as to improve the accuracy of the next target model in predicting the renewable energy power generation scenario. The loss functions of the generator and the discriminator are shown in the following formula (1):

[0049]

[0050] In the above formula (1), L G is the loss function of the generator, L D is the loss function of the discriminator, P Z is the prior distribution of random noise z, x represents the real sample, c represents the target label, G(z|c) represents the synthetic data generated by the generator given the random noise z and the target label c, D(x|c) represents the evaluation of the real sample x by the discriminator given the target label c, D(x|c) is used to measure the authenticity of x under condition c, D(G(z|c)|c) represents the evaluation of the generated data G(z|c) by the discriminator given the target label c, D(G(z|c)|c) is used to measure the authenticity of the data generated under condition c, represents the expected value of random noise z drawn from the prior distribution.

[0051] Alternatively, if Figure 3 As shown in the figure, the Bi-LSTM neural network includes at least an input layer, a hidden layer and an output layer, and the Bi-LSTM neural network is composed of two independent LSTMs, which process the data input into the neural network from two directions of the sequence (forward and backward) respectively. Moreover, the Bi-LSTM neural network can effectively capture and adjust the long-term dependencies in the data through the gating mechanism (forget gate, input gate and output gate), avoiding the gradient disappearance or explosion problems that are prone to occur in traditional recurrent neural networks.

[0052] In an optional embodiment, the training step of the target model includes: first, the regulating system determines M preset labels based on L groups of historical data of the new energy power generation equipment, wherein the preset labels are used to characterize the weather type and season type within a preset historical time period, and M is a positive integer. Then, the regulating system inputs the M preset labels and random noise into the initial generator to obtain first data, wherein the random noise is a random number extracted from a normal distribution sequence, and the initial generator is used to capture context information in the input data through a gating mechanism, and the first data matches at least one preset label among the M preset labels. Then, the regulating system inputs the first data, the L groups of historical data, and the M preset labels into the initial discriminator to obtain second data, wherein the initial discriminator is used to determine the similarity between the first data and each group of historical data in the L groups of historical data, and the matching degree between the first data and each preset label in the M preset labels, and the regulating system iteratively updates the first loss function and the second loss function through the second data, wherein the first loss function is the loss function of the initial generator, and the second loss function is the loss function of the initial discriminator. Finally, the regulating system generates the target model based on the first loss function and the second loss function obtained by the last update.

[0053] Optionally, the preset label can also be used to characterize the corresponding season type when the new energy power generation equipment is operated in a preset historical time period, and the target label is one of the M preset labels.

[0054] Optionally, the first loss function is L in the above formula (1): G As shown, the second loss function is L in the above formula (1) D shown.

[0055] Optionally, the initial discriminator can determine the similarity between the two types of data based on the Wasserstein distance between the first data and each group of historical data in the L groups of historical data.

[0056] Optionally, the adjustment system iteratively updates the first loss function and the second loss function through the second data until the Nash equilibrium is reached to terminate the training.

[0057] In an optional embodiment, before adjusting the integrated power system based on the historical data, objective function and constraint information of the integrated power system, the adjustment system takes the electricity purchase cost and gas purchase cost of the integrated power system as the first cost, the load compensation cost of the power grid in the integrated power system as the second cost, and the operating cost of multiple equipment included in the integrated power system as the third cost. Afterwards, the adjustment system determines the objective function based on the first cost, the second cost and the third cost.

[0058] Optionally, the multiple devices included in the integrated power system include at least photovoltaic power generation equipment, wind power generation equipment, natural gas power generation equipment, communication equipment and energy storage equipment.

[0059] Optionally, the expression of the power purchase cost of the comprehensive power system is shown in the following formula (2):

[0060]

[0061] In the above formula (2), P i pur and P i sell are the purchased power and sold power respectively. and They are the electricity purchase price and electricity sales price respectively.

[0062] Optionally, the total cost of the natural gas power generation equipment in the integrated power system includes the gas purchase cost of the natural gas power generation equipment and the operating cost of the natural gas power generation equipment. The total cost of the natural gas power generation equipment F gas The expression of is shown in the following formula (3):

[0063]

[0064] In the above formula (3), GAS is the variable corresponding to the natural gas power generation equipment, P i GAS is the corresponding output power, where the output power of the gas turbine P i GT Including electrical output power And thermal output power V i GAS is the corresponding gas purchase volume, K gas is the unit price of natural gas, K GAS is the operating cost coefficient, F GT is the gas turbine operating cost, F GB is the gas boiler operating cost, F FC The operating cost of the fuel cell.

[0065] Optionally, the operating costs F corresponding to the photovoltaic power generation equipment and the wind power generation equipment are DG The expression of is shown in the following formula (4):

[0066]

[0067] In the above formula (4), P i wind and P i pv are the output power of wind power generation equipment and photovoltaic power generation equipment, Kwind and K pv are the operating cost coefficients of wind power generation equipment and photovoltaic power generation equipment respectively.

[0068] Optionally, the communication equipment includes at least an electric boiler, an electric refrigerator and an absorption refrigerator, and the operating cost of the communication equipment is lia The expression of is shown in the following formula (5):

[0069]

[0070] In the above formula (5), LIA is the variable corresponding to each contact device, F LIA is the operating cost of all communication equipment, P i LIA is the output power corresponding to each communication device, K LIA is the operating cost coefficient corresponding to the communication equipment, F EB is the operating cost of the electric boiler, F EC is the operating cost of the electric refrigerator, F AC The operating cost of the absorption chiller.

[0071] Optionally, the energy storage device includes at least a heat storage tank, a heat storage tank and a cold storage tank, and the operating cost of the energy storage device is sto The expression of is shown in the following formula (6):

[0072]

[0073] In the above formula (6), STO is the variable corresponding to each energy storage device, F STO is the operating cost of the energy storage equipment, and are the corresponding charging and discharging powers, and are the corresponding charging and discharging cost coefficients, and are the corresponding charging and discharging states, F ACC is the battery operating cost, F TS is the operating cost of the heat storage tank, F CS It is the operating cost of the cold storage tank.

[0074] Optionally, the load of the integrated power system includes at least shiftable load, transferable load and curtailable load, wherein the shiftable load includes electric load, heat load and cooling load. Load shifting will have a certain impact on the energy comfort of users. Therefore, the integrated power system should provide corresponding compensation. Assuming that the compensation cost is only related to the shifted power, the compensation cost of the shiftable load F sh The expression of is shown in the following formula (7):

[0075]

[0076] In the above formula (7), SH is the variable corresponding to the translatable load, is the corresponding unit translation compensation price, is the corresponding translation power and, is the corresponding translation state, T SH is the corresponding translation period, F sh.e is the compensation cost of the movable electric load, F sh.h is the cost of compensation for the transferable heat load, F sh.c Compensate for the cost of movable cooling loads.

[0077] Optionally, the transferable load is mainly electric load. Load transfer will have a certain impact on the user's power comfort. Therefore, the integrated power system should provide corresponding compensation. The compensation cost of the transferable load is F tran The expression of is shown in the following formula (8):

[0078]

[0079] In the above formula (8), is the unit transfer compensation price, P i tran To transfer power, is the transition state, T tran The corresponding transfer period.

[0080] Optionally, the load that can be reduced includes electrical load, heat load and cooling load. Load shifting will also have a certain impact on the energy comfort of users. Therefore, the integrated power system should provide corresponding compensation. Assuming that the compensation cost is only related to the power reduction, the load that can be reduced is F cut The expression of is shown in the following formula (9):

[0081]

[0082] In the above formula (9), CUT is the variable corresponding to the load that can be reduced. Reduce the compensation price for the corresponding unit, is the corresponding reduction coefficient, P i CUT To reduce power, For the corresponding reduction state, T CUT For the corresponding reduction period, F cut.e In order to reduce the cost of electricity load compensation, F cut.h In order to reduce the cooling load compensation cost, F cut.c This can reduce heat load compensation costs.

[0083] Optionally, the integrated power system determines the total operating cost of the integrated power system according to the operating cost of each power generation equipment, the electricity purchase cost, the gas purchase cost, the operating cost of each interconnection equipment and the load compensation cost, so as to obtain the expression of the objective function as shown in the following formula (10):

[0084] minF=F grid +F DG +F gas +F lia +F sto +F sh +F tran +F cut (10)

[0085] From the above content, it can be seen that the regulation system adjusts the integrated power system at least according to the objective function of the integrated power system, thereby achieving the purpose of controlling the total operating cost of the adjusted integrated power system to the minimum cost state.

[0086] In an optional embodiment, before adjusting the integrated power system based on the historical data, objective function and constraint information of the integrated power system, the adjustment system takes the constraint relationship between the power purchase and power sales in the integrated power system as the first constraint condition, the constraint relationship between the output power of multiple devices in the integrated power system and the preset output power range as the second constraint condition, the constraint relationship between the load power in the integrated power system and the preset load power range as the third constraint condition, and the balance condition between the inflow power and the outflow power of the bus in the integrated power system as the fourth constraint condition. Afterwards, the adjustment system determines the constraint information based on the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition.

[0087] Optionally, the power purchase and sales power of the integrated power system cannot exceed the maximum power allowable value of the power grid and system tie line, and the tie line cannot be in the power purchase and power sales state at the same time in the same period. The expression of the first constraint condition is shown in the following formula (11):

[0088]

[0089] In the above formula (11), is the maximum power allowed for the tie line, and Both are 0-1 variables, representing the power purchase transaction status and the power sales transaction status respectively.

[0090] Optionally, the output power of the wind power generation equipment and the photovoltaic power generation equipment in each period cannot exceed the maximum output power allowed in each period, then the constraint condition of the distributed power source composed of the wind power generation equipment and the photovoltaic power generation equipment is expressed as shown in the following formula (12):

[0091]

[0092] In the above formula (12), and They are the maximum output powers of wind power generation equipment and photovoltaic power generation equipment respectively.

[0093] Optionally, the output power of the natural gas power generation equipment cannot exceed the upper and lower limits of the output power, and the up and down ramp rates should be met. The expression of the constraint condition of the natural gas power generation equipment is shown in the following formula (13):

[0094]

[0095] In the above formula (13), and They are the upper and lower limits of the output power of natural gas power generation equipment, is the corresponding working state, which is a 0-1 variable, r GAS is the corresponding maximum ramp rate, and Δt is the unit scheduling period.

[0096] Optionally, the output power of each communication device should satisfy the respective uplink and downlink climbing rates, and the expression of the constraint condition of the communication device is shown in the following formula (14):

[0097]

[0098] In the above formula (14), The output power limit for each communication device. is the corresponding working state, which is a 0-1 variable, r LIA corresponds to the maximum climbing rate.

[0099] Optionally, the energy storage device should meet the following requirements when participating in the system optimization scheduling process: the storage state should meet the upper and lower limit constraints to avoid overcharging or over-discharging; it cannot be in the charging and discharging state at the same time; the storage state should be consistent at the beginning and end of the scheduling cycle; the maximum charging and discharging power should be lower than 20% of its rated capacity to reduce the damage to the energy storage device caused by excessive charging and discharging; the number of charging and discharging times should be limited to extend its service life. The expression of the constraint conditions of the energy storage device is shown in the following formula (15):

[0100]

[0101] In the above formula (15), is the storage state of the energy storage device, and are the corresponding maximum and minimum values ​​of the storage state, and They are the corresponding charging and discharging states, both are 0-1 variables, and are the initial and final storage states, E STO is the corresponding rated capacity, and They correspond to the maximum number of charge and discharge times respectively.

[0102] Optionally, the translatable load is translated only once during the translatable period, and the constraint condition of the translatable load is expressed as shown in the following formula (16):

[0103]

[0104] Optionally, the transferable load should meet the following requirements: the power should be kept within a reasonable range; the minimum duration should be limited to prevent frequent start and stop of external equipment; the total load power should remain unchanged before and after the transfer. The expression of the constraint condition of the transferable load is shown in the following formula (17):

[0105]

[0106] In the above formula (17), and are the maximum and minimum allowed transfer values, respectively, is the minimum duration of the transferable load, is the total power of the transferable load.

[0107] Optionally, the load that can be reduced should meet the following requirements: the reduction coefficient should be kept within a reasonable range; the minimum continuous reduction time should be limited to prevent fluctuations in equipment operation status; considering user satisfaction, the maximum continuous reduction time should be limited; considering user experience, the maximum number of reductions should be limited. The expression of the constraint condition of the load that can be reduced is shown in the following formula (18):

[0108]

[0109] In the above formula (18), and are the maximum and minimum load reduction factors that can be reduced, and are the maximum and minimum durations respectively, corresponds to the maximum number of reductions.

[0110] Optionally, the expression of the balance condition between the inflow power and the outflow power of the power bus is shown in the following formula (19):

[0111]

[0112] In the above formula (19), P i EB.in and P i EC.in are the power consumption of electric boiler and electric refrigerator respectively, P i load.e is the total power consumption of the electrical load, P i base.e It is the power consumption of basic electrical load.

[0113] Optionally, the expression of the balance condition between the inflow power and the outflow power of the thermal bus is shown in the following formula (20):

[0114]

[0115] In the above formula (20), P i AC.in is the heat consumption of the absorption refrigerator, P i load.h is the total heat consumption of heat load, P i base.h It is the heat consumption power of basic heat load.

[0116] Optionally, the expression of the balance condition between the inflow power and the outflow power of the cooling bus is shown in the following formula (21):

[0117]

[0118] In the above formula (21), P i load.c is the total cooling power consumed by the cooling load, P i base.c It is the cooling power consumed by the basic cooling load.

[0119] From the above content, we can see that the functions of constraint information in the integrated power system include:

[0120] (1) Through constraint information, it can be ensured that the integrated power system does not exceed the safe operating range of the equipment under various operating conditions, including avoiding overload, overheating and equipment damage.

[0121] (2) The stability of the integrated power system is the key to ensuring its reliable operation. Constraint information helps prevent the integrated power system from oscillating or collapsing due to load fluctuations or faults.

[0122] (3) By setting reasonable constraints, the allocation of power generation resources and transmission paths can be optimized to maximize cost-effectiveness and optimize energy efficiency.

[0123] (4) Constraint information helps balance the supply and demand requirements of the integrated power system during peak hours, for example, through demand response, load shifting, or adjusting generation schedules.

[0124] (5) The integrated power system faces many uncertainties, such as weather changes, equipment failures, etc. Constraint information helps the integrated power system maintain stable operation in the face of these uncertainties.

[0125] In an optional embodiment, the regulation system first determines the target strategy based on the target data, objective function and constraint information of the integrated power system, wherein the target strategy at least includes the values ​​corresponding to the system parameters in the integrated power system. Then, the regulation system regulates the integrated power system according to the target strategy.

[0126] Optionally, in the prior art, the day-ahead optimal operation and dispatching model of the integrated power system mainly has the following deficiencies:

[0127] (1) Weak comprehensive energy dispatching capabilities: Current dispatching models often consider new energy sources such as electricity, natural gas, and thermal energy separately, resulting in inefficient resource utilization in multi-energy systems. The potential for cross-energy synergy optimization has not been fully utilized, making it difficult to achieve cross-domain comprehensive dispatching.

[0128] (2) Insufficient consideration of uncertainty: The energy system faces a variety of uncertainties, including weather changes, market fluctuations, policy changes, etc. Existing models often lack comprehensive consideration of these uncertainties, resulting in insufficient stability and robustness of scheduling results.

[0129] (3) Lack of applicability and operability: Some complex optimization models are difficult to be effectively applied in actual operation, mainly due to their high computational complexity, long running time, and difficulty in parameter adjustment. These models may lack practicality and operability, which limits their application in actual energy systems.

[0130] (4) High data sample requirements: Existing optimization models and their solution methods often rely on a large amount of historical data. However, due to the complexity and uncertainty of the energy system, incomplete and inaccurate data may cause the scheduling results to deviate significantly from the actual situation, affecting the accuracy and reliability of the scheduling.

[0131] Compared with the prior art, the technical effects that can be achieved by the technical solution of this application include:

[0132] (1) Comprehensive optimization across energy fields: The comprehensive power system day-ahead economic dispatch model provided in this application, which is applicable to small sample scenarios, can simultaneously consider the production, transmission, conversion and consumption of multiple energy sources such as electricity, natural gas, and thermal energy, achieve comprehensive optimization across fields, and maximize the overall efficiency and economy of the system.

[0133] (2) Dynamic real-time dispatch capability: The comprehensive power system day-ahead economic dispatch model provided in this application, which is applicable to small sample scenarios, has real-time data collection and processing capabilities, and can dynamically adjust the operation strategy of the energy system according to real-time market conditions, energy supply and demand conditions, etc., to ensure stable and economical operation of the system.

[0134] (3) Comprehensive consideration of uncertainties: The day-ahead economic dispatch model for the integrated power system provided in this application, which is applicable to small sample scenarios, can comprehensively consider various uncertain factors, including weather changes, market fluctuations, policy changes, etc., and comprehensively consider the impact of different types of loads on the integrated power system to ensure the stability and robustness of the overall system.

[0135] (4) Applicable to scenarios with insufficient data: The comprehensive power system day-ahead economic dispatch model applicable to small sample scenarios provided in this application can generate a large number of data samples with similar features based on a small amount of original data, thereby breaking the bottleneck that the discriminant model cannot generate data samples and effectively improving the generalization ability in the dispatch model solution process.

[0136] It can be seen from the above content that the technical solution of the present application comprehensively considers the factors affecting the operation of new energy power generation equipment, involving time period factors, weather factors, grid load factors and new energy price factors. The present application comprehensively analyzes the historical data covering the factors affecting the operation of new energy power generation equipment, the weather factors and seasonal factors (corresponding to the above target labels) corresponding to the operation of new energy power generation equipment in the preset future time period, and predicts the output power and load information (i.e., target data) of the new energy power generation equipment when it is operating in the preset future time period. Afterwards, the present application adjusts the integrated power system based on the predicted target data, objective function and constraint information, thereby ensuring that the integrated power system is in a state of minimum operating cost, while achieving the purpose of improving the accuracy of adjustment of the integrated power system.

[0137] It can be seen that the present application adopts a method of adjusting the integrated power system based on the predicted target data, objective function and constraint information, thereby achieving the purpose of improving the accuracy of adjusting the integrated power system, thereby achieving the technical effect of improving the operating stability of the integrated power system during a preset future time period, and further solving the technical problem of low accuracy of adjusting the integrated power system caused by the unstable output power of new energy power generation equipment in the prior art.

[0138] According to another aspect of the embodiment of the present application, a regulating device for an electric power system is also provided. Figure 4 is a schematic diagram of an optional power system regulating device according to an embodiment of the present application, such as Figure 4 As shown, the regulating device of the power system includes: an acquisition unit 401 , a first determination unit 402 and a regulating unit 403 .

[0139] Optionally, an acquisition unit is used to acquire historical data of new energy power generation equipment, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment within a preset historical time period; a first determination unit is used to determine the target data of the new energy power generation equipment based on the historical data and the target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment within a preset future time period, and the target data at least includes the power generation data and load data corresponding to the operation of the new energy power generation equipment within the preset future time period; an adjustment unit is used to adjust the integrated power system based on the target data, objective function and constraint information of the integrated power system, wherein the integrated power system is a power system connected to the new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

[0140] In an optional embodiment, the first determining unit includes: an input subunit.

[0141] Optionally, the input subunit is used to input historical data and target labels into a target model to obtain target data, wherein the target model is a neural network model obtained by training L groups of historical data of new energy power generation equipment, and L is a positive integer.

[0142] In an optional embodiment, the target model includes at least a target generator and a target discriminator, the target generator includes at least a first sub-generator, a second sub-generator and a third sub-generator, the first sub-generator is used to determine the maximum wind power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the second sub-generator is used to determine the maximum photovoltaic power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period, the third sub-generator is used to determine the load power corresponding to the operation of the new energy power generation equipment within the preset future time period, and the target discriminator is at least used to determine the similarity between the output data of the target generator and the historical data.

[0143] In an optional embodiment, the regulating device of the power system further includes: a second determining unit, a first input unit, a second input unit, an updating unit, and a generating unit.

[0144] Optionally, a second determination unit is used to determine M preset labels based on L groups of historical data of the new energy power generation equipment, wherein the preset labels are used to characterize the weather type and season type within a preset historical time period, and M is a positive integer; a first input unit is used to input the M preset labels and random noise into the initial generator to obtain first data, wherein the random noise is a random number extracted from a normal distribution sequence, and the initial generator is used to capture contextual information in the input data through a gating mechanism, and the first data matches at least one of the M preset labels; a second input unit is used to input the first data, L groups of historical data, and M preset labels into the initial discriminator to obtain second data, wherein the initial discriminator is used to determine the similarity between the first data and each group of historical data in the L groups of historical data, and the matching degree between the first data and each preset label in the M preset labels; an updating unit is used to iteratively update the first loss function and the second loss function through the second data, wherein the first loss function is the loss function of the initial generator, and the second loss function is the loss function of the initial discriminator; a generation unit is used to generate a target model based on the first loss function and the second loss function obtained from the last update.

[0145] In an optional embodiment, the regulating device of the power system further includes: a third determining unit, a fourth determining unit, a fifth determining unit and a sixth determining unit.

[0146] Optionally, the third determination unit is used to take the electricity purchase cost and gas purchase cost of the integrated power system as the first cost; the fourth determination unit is used to take the load compensation cost of the power grid in the integrated power system as the second cost; the fifth determination unit is used to take the operating cost of multiple equipment included in the integrated power system as the third cost; the sixth determination unit is used to determine the objective function based on the first cost, the second cost and the third cost.

[0147] In an optional embodiment, the regulating device of the power system further includes: a seventh determining unit, an eighth determining unit, a ninth determining unit, a tenth determining unit and an eleventh determining unit.

[0148] Optionally, the seventh determination unit is used to take the constraint relationship between the purchased power and the sold power in the integrated power system as the first constraint condition; the eighth determination unit is used to take the constraint relationship between the output power of multiple devices in the integrated power system and the preset output power range as the second constraint condition; the ninth determination unit is used to take the constraint relationship between the load power in the integrated power system and the preset load power range as the third constraint condition; the tenth determination unit is used to take the balance condition between the incoming power and the outgoing power of the bus in the integrated power system as the fourth constraint condition; the eleventh determination unit is used to determine the constraint information based on the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition.

[0149] In an optional embodiment, the adjustment unit includes: a policy determination subunit and an adjustment subunit.

[0150] Optionally, a strategy determination subunit is used to determine a target strategy based on target data, objective function and constraint information of the integrated power system, wherein the target strategy at least includes values ​​corresponding to system parameters in the integrated power system; and an adjustment subunit is used to adjust the integrated power system based on the target strategy.

[0151] It can be seen from the above content that the technical solution of the present application comprehensively considers the factors affecting the operation of new energy power generation equipment, involving time period factors, weather factors, grid load factors and new energy price factors. The present application comprehensively analyzes the historical data covering the factors affecting the operation of new energy power generation equipment, the weather factors and seasonal factors (corresponding to the above target labels) corresponding to the operation of new energy power generation equipment in the preset future time period, and predicts the output power and load information (i.e., target data) of the new energy power generation equipment when it is operating in the preset future time period. Afterwards, the present application adjusts the integrated power system based on the predicted target data, objective function and constraint information, thereby ensuring that the integrated power system is in a state of minimum operating cost, while achieving the purpose of improving the accuracy of adjustment of the integrated power system.

[0152] It can be seen that the present application adopts a method of adjusting the integrated power system based on the predicted target data, objective function and constraint information, thereby achieving the purpose of improving the accuracy of adjusting the integrated power system, thereby achieving the technical effect of improving the operating stability of the integrated power system during a preset future time period, and further solving the technical problem of low accuracy of adjusting the integrated power system caused by the unstable output power of new energy power generation equipment in the prior art.

[0153] According to another aspect of an embodiment of the present application, a computer program product is further provided. The computer program product includes a stored computer program, wherein when the computer program is running, the computer program product is controlled to execute any one of the above-mentioned methods for regulating the power system.

[0154] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for regulating the power system by executing the executable instructions.

[0155] Optionally, Figure 5 is a schematic diagram of an optional electronic device according to an embodiment of the present application, such as Figure 5As shown, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, any one of the above-mentioned methods for regulating the power system is implemented.

[0156] The above-mentioned embodiments or examples disclosed in the present application are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection disclosed in the present application. In the absence of contradiction, each step in a certain embodiment or example in the present application can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.

[0157] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0158] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0160] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0161] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0162] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0163] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0164] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0165] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for regulating an electric power system, characterized in that: include: Acquire historical data of the new energy power generation equipment, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment within a preset historical time period; Determine the target data of the new energy power generation equipment according to the historical data and the target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment in a preset future time period, and the target data at least includes the power generation data and load data corresponding to the operation of the new energy power generation equipment in the preset future time period; The integrated power system is adjusted according to its target data, objective function and constraint information, wherein the integrated power system is a power system connected to the new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

2. The method for regulating the power system according to claim 1, characterized in that: Determining the target data of the new energy power generation equipment according to the historical data and the target tag includes: The historical data and the target label are input into a target model to obtain the target data, wherein the target model is a neural network model obtained by training L groups of historical data of the new energy power generation equipment, and L is a positive integer.

3. The method for regulating the power system according to claim 2, characterized in that: The target model includes at least a target generator and a target discriminator. The target generator includes at least a first sub-generator, a second sub-generator and a third sub-generator. The first sub-generator is used to determine the maximum wind power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period. The second sub-generator is used to determine the maximum photovoltaic power generation power corresponding to the operation of the new energy power generation equipment within a preset future time period. The third sub-generator is used to determine the load power corresponding to the operation of the new energy power generation equipment within the preset future time period. The target discriminator is at least used to determine the similarity between the output data of the target generator and the historical data.

4. The method for regulating the power system according to claim 2, characterized in that: The target model is trained by the following steps: Determine M preset labels according to the L groups of historical data of the new energy power generation equipment, wherein the preset labels are used to characterize the weather type and season type within the preset historical time period, and M is a positive integer; Inputting the M preset labels and random noise into an initial generator to obtain first data, wherein the random noise is a random number drawn from a normal distribution sequence, the initial generator is used to capture context information in the input data through a gating mechanism, and the first data matches at least one preset label among the M preset labels; Inputting the first data, the L groups of historical data, and the M preset labels into an initial discriminator to obtain second data, wherein the initial discriminator is used to determine the similarity between the first data and each group of historical data in the L groups of historical data, and the matching degree between the first data and each preset label in the M preset labels; Iteratively updating a first loss function and a second loss function through the second data, wherein the first loss function is the loss function of the initial generator, and the second loss function is the loss function of the initial discriminator; The target model is generated according to the first loss function and the second loss function obtained by the last update.

5. The method for regulating the power system according to claim 1, characterized in that: Before adjusting the integrated power system according to the historical data, the objective function and the constraint information of the integrated power system, the adjustment method of the power system further includes: The electricity purchase cost and gas purchase cost of the integrated power system are taken as the first cost; Taking the load compensation cost of the power grid in the integrated power system as the second cost; using the operating costs of the plurality of devices included in the integrated power system as the third cost; The objective function is determined according to the first cost, the second cost, and the third cost.

6. The method for regulating the power system according to claim 1, characterized in that: Before adjusting the integrated power system according to the historical data, the objective function and the constraint information of the integrated power system, the adjustment method of the power system further includes: Taking the constraint relationship between the purchased power and the sold power in the integrated power system as the first constraint condition; Using the constraint relationship between the output power of multiple devices in the integrated power system and the preset output power range as the second constraint condition; Using the constraint relationship between the load power in the integrated power system and the preset load power range as the third constraint condition; Using a balance condition between the inflow power and the outflow power of the busbar in the integrated power system as a fourth constraint condition; The constraint information is determined according to the first constraint condition, the second constraint condition, the third constraint condition, and the fourth constraint condition.

7. The method for regulating the power system according to claim 1, characterized in that: The integrated power system is adjusted according to target data, target function and constraint information of the integrated power system, including: Determining a target strategy based on target data, target function and constraint information of the integrated power system, wherein the target strategy at least includes values ​​corresponding to system parameters in the integrated power system; The integrated power system is regulated according to the target strategy.

8. A regulating device for an electric power system, characterized in that: include: An acquisition unit, used to acquire historical data of the new energy power generation equipment, wherein the historical data at least includes weather data, load data, new energy price data and power generation data corresponding to the operation of the new energy power generation equipment within a preset historical time period; A first determination unit is used to determine the target data of the new energy power generation equipment according to the historical data and the target tag, wherein the target tag is used to characterize the weather type and season type corresponding to the operation of the new energy power generation equipment in a preset future time period, and the target data at least includes the power generation data and load data corresponding to the operation of the new energy power generation equipment in the preset future time period; An adjustment unit is used to adjust the integrated power system according to the target data, objective function and constraint information of the integrated power system, wherein the integrated power system is a power system connected to the new energy power generation equipment, the objective function is used to determine the minimum cost required during the operation of the integrated power system, and the constraint information is at least used to achieve power balance in the integrated power system.

9. A computer program product, characterized in that The computer program product comprises a computer program, wherein when the computer program is executed, the computer program product is controlled to execute the method for regulating the power system according to any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the power system regulation method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Wind power plant medium and long term generating capacity prediction method considering multiple influence factors

    CN119582215A

  • A mid- to long-term wind farm power generation forecasting method considering multiple influencing factors

    CN119582215B