Distributed energy complementary control method and system based on cooperation of hydrogen energy and photovoltaic energy
By using technical means such as time series analysis, fuzzy logic dynamic power distribution and support vector regression in a distributed energy system that coordinates hydrogen energy and photovoltaics, multi-time scale coordination optimization and power distribution adaptability problems are solved, and efficient, economical and reliable distributed energy complementary control is achieved.
Patent Information
- Application Number
- CN202411724175.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-11
AI Technical Summary
The existing distributed energy complementary control method that coordinates hydrogen energy and photovoltaics is difficult to coordinate and optimize on multiple time scales, and the fixed power distribution strategy is difficult to adapt to complex and changeable operating environments.
The output characteristics of hydrogen energy and photovoltaics are modeled using time series analysis method, and a multi-time scale coordinated control strategy is established; a dynamic power distribution algorithm with fuzzy logic is used to design a dynamically planned charging and discharge strategy; load prediction is carried out through the support vector regression method, an economic evaluation model is established, and a data-driven fault diagnosis algorithm and self-healing control strategy are designed.
It realizes efficient, economical and reliable operation of distributed energy systems, optimizes system operation in different time periods, improves flexibility and adaptability, and improves energy utilization efficiency and system reliability.
Smart Images

Figure CN119813277A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technology, and in particular to a distributed energy complementary control method and system for coordinated hydrogen energy and photovoltaics. Background Art
[0002] With the rapid development of energy transformation and renewable energy, distributed energy systems represented by photovoltaic power generation have been widely used. However, photovoltaic power generation has obvious intermittent and volatile characteristics, and its output power fluctuates with changes in weather conditions and sunshine intensity, which brings challenges to the safe and stable operation of the power grid.
[0003] At present, in order to solve this problem, hydrogen energy has received widespread attention as a clean and efficient energy carrier in recent years. Some studies have explored the synergistic application of hydrogen energy and photovoltaics. However, these studies mainly focus on the coordinated control of a single time scale and lack consideration of multi-time scale collaborative optimization. In addition, existing control methods often adopt fixed power allocation strategies, which are difficult to adapt to complex and changeable operating environments. Summary of the invention
[0004] In view of the problems existing in the existing distributed energy complementary control method and system of hydrogen energy and photovoltaic coordination, the present invention is proposed.
[0005] Therefore, the problem to be solved by the present invention is to consider the collaborative optimization of multiple time scales. In addition, the existing control methods often adopt fixed power allocation strategies, which are difficult to adapt to complex and changeable operating environments.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] In a first aspect, an embodiment of the present invention provides a distributed energy complementary control method for coordinated hydrogen energy and photovoltaics, which includes modeling the output characteristics of hydrogen energy and photovoltaics using a time series analysis method and establishing a multi-time scale coordinated control strategy;
[0008] A dynamic power allocation algorithm based on fuzzy logic is used, and the output variable is the power command of the hydrogen energy system. A dynamic programming charging and discharging strategy is designed based on the power command.
[0009] The support vector regression method is used for load forecasting, an economic evaluation model is established, and a data-driven fault diagnosis algorithm and self-healing control strategy are designed to complete the complementary control of distributed energy sources.
[0010] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, the formula of the photovoltaic output power model is:
[0011] P pv =ηpv *A*G(t)*(1-0.005(T c (t)-25))
[0012] Among them, P pv is the photovoltaic output power at time t, η pv is the efficiency of the photovoltaic panel, A is the area of the photovoltaic panel, G(t) is the solar radiation intensity at time t, T c (t) is the battery temperature coefficient at time t, which is -0.005, indicating that the output power of the photovoltaic panel will decrease by 0.005 times for every 1 degree increase in temperature;
[0013] The formula of the output power model of hydrogen energy is:
[0014] P h (t) = η fc *LHV*m h (t)
[0015] Among them, P h (t) is the output power of the hydrogen energy system at time t, η fc is the fuel cell efficiency, LHV is the lower heating value of hydrogen, m h (t) is the hydrogen consumption rate at time t.
[0016] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, wherein: the establishment of a multi-time scale coordinated control strategy includes intraday scale control, interday scale control and seasonal scale control, the intraday scale control includes an intraday scale control objective function and an intraday scale control constraint condition, the daytime scale control includes a daytime scale control objective function and a daytime scale control constraint condition, and the seasonal scale control includes a seasonal scale control objective function and a seasonal scale control constraint condition;
[0017] The formula of the intraday scale control objective function is:
[0018] minJ1=∑ t (P load (t)-P pv (t)-P h (t)-P s (t)) 2
[0019] The formula for the intraday scale control constraint is:
[0020] P pv ,min≤P pv (t)≤P pv ,max
[0021] P h ,min≤Ph (t)≤P h ,max
[0022] SOC min ≤SOC(t)≤SOC max
[0023] Among them, P load (t) is the load demand, P s (t) is the output power of the energy storage system, and SOC(t) is the state of charge of the energy storage system.
[0024] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, the formula of the daytime scale control objective function is:
[0025] minJ2=∑(E daily -E pv,daily -E h,daily ) 2
[0026] The formula for the daytime scale control constraint is:
[0027] E pv,min ≤E pv,daily ≤E pv,max
[0028] E h,min ≤E h,daily ≤E h,max
[0029] Among them, E daily is the daily load demand, E pv,daily and E h,daily are the daily power generation of the photovoltaic and hydrogen energy systems, respectively;
[0030] The formula of the seasonal scale control objective function is:
[0031] minJ3=∑(E seasonal -E pv,seasonal -E h,seasonal ) 2
[0032] The formula of the seasonal scale control constraint is:
[0033] E pv,min,seasonal ≤E pv,seasonal ≤E pv,max,seasonal
[0034] E h,min,seasonal ≤E h,seasonal ≤E h,max,seasonal
[0035] Among them, Eseasonal is the seasonal load demand, E pv,seasonal and E h,seasonal are the seasonal power generation of photovoltaic and hydrogen energy systems respectively.
[0036] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, the dynamic power allocation algorithm using fuzzy logic includes using a fuzzy controller to calculate input variables, the input variables include load demand, photovoltaic output and energy storage system charge state, and the formula of the input variables is:
[0037] P h_cmd (t)=defuzzify(μ1,μ2,...,μ n )
[0038] Among them, μ i is the membership degree of the i-th fuzzy rule, defuzzify() is the defuzzification function;
[0039] The charging and discharging strategy designed by dynamic programming according to the power instruction includes designing the objective function of the power instruction and designing the constraint conditions of the power instruction;
[0040] The formula of the objective function of the design power command is:
[0041] minJ4=∑(c grid *P grid (t)+c deg |P s (t)|)
[0042] The formula for the constraint condition of the design power instruction is:
[0043] SOC min ≤SOC(t)≤SOC max
[0044] P s ,min≤P s (t)≤P s ,max
[0045]
[0046] Among them, c grid is the grid electricity price, c deg is the energy storage loss cost, P grid (t) is the exchange power with the grid, η c and η d are the charging and discharging efficiencies, E cap For the energy storage capacity.
[0047] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, wherein: the load forecasting using the support vector regression method includes an output plan of the dynamic power allocation algorithm based on fuzzy logic to optimize the system, and the formula of the output plan is:
[0048] P load_pred (t) = f SVR (x1,x2,...,x n )
[0049] minJ5=∑(P load_pred (t)-P pv_plan (t)-P h_plan (t)-P s_plan (t)) 2
[0050] P pv,min ≤P pv_plan (t)≤P pv,max
[0051] P h,min ≤P h_plan (t)≤P h,max
[0052] P s,min ≤P s_plan (t)≤P s,max
[0053] Among them, x i For factors affecting load, historical load, temperature and humidity;
[0054] The formula for establishing the economic evaluation model is:
[0055]
[0056] Among them, C T is the total cost, CRF is the capital recovery factor, η system is the overall efficiency of the system, E annual is the annual power generation of the system.
[0057] As a preferred solution of the distributed energy complementary control method of hydrogen energy and photovoltaic synergy described in the present invention, the design data-driven fault diagnosis algorithm and self-healing control strategy include processing by combining principal component analysis and support vector machine, and the specific formula is as follows:
[0058]
[0059] u min ≤u(k+i|k)≤u max
[0060] Δu min ≤Δu(k+i|k)≤Δu max
[0061] y min ≤y(k+i|k)≤y max
[0062] Among them, y is the system output, r is the reference trajectory, u is the control input, and Q and R are weight matrices.
[0063] In the second aspect, an embodiment of the present invention provides a distributed energy complementary control method of hydrogen energy and photovoltaics, which includes: an establishment module, which uses a time series analysis method to model the output characteristics of hydrogen energy and photovoltaics, and establishes a multi-time scale coordinated control strategy; an allocation module, which uses a fuzzy logic dynamic power allocation algorithm, and the output variable is the power instruction of the hydrogen energy system, and a dynamic programming charging and discharging strategy is designed according to the power instruction; a control module, which uses a support vector regression method to perform load forecasting, establishes an economic evaluation model, designs a data-driven fault diagnosis algorithm and a self-healing control strategy, and completes distributed energy complementary control.
[0064] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, it implements any step of the above-mentioned distributed energy complementary control method of coordinated hydrogen energy and photovoltaics.
[0065] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned distributed energy complementary control method of coordinated hydrogen energy and photovoltaics is implemented.
[0066] The beneficial effects of the present invention are as follows: the present invention provides a distributed energy complementary control method and system of hydrogen energy and photovoltaic synergy, which realizes efficient, economical and reliable operation of distributed energy systems through multi-time scale coordinated control strategy, fuzzy logic dynamic power allocation algorithm, support vector regression load prediction, economic evaluation model and data-driven fault diagnosis and self-healing control strategy. The specific beneficial effects include: the multi-time scale coordinated control strategy optimizes the system operation in different time periods and improves flexibility and adaptability. The fuzzy logic dynamic power allocation algorithm dynamically adjusts the power instructions of the hydrogen energy system according to real-time data, thereby improving energy utilization efficiency. The support vector regression load prediction method accurately predicts future load demand and optimizes the output plan. The economic evaluation model ensures the lowest operating cost of the system. The data-driven fault diagnosis and self-healing control strategy improves the reliability and safety of the system, improves the overall performance of the distributed energy system, and provides users with a more stable and efficient energy supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0068] Figure 1 A specific flow chart of a distributed energy complementary control method and system for coordinated hydrogen energy and photovoltaics provided by an embodiment of the present invention.
[0069] Figure 2 A control schematic diagram of a distributed energy complementary control method and system for coordinated hydrogen energy and photovoltaics provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0070] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0071] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0072] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0073] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0074] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0075] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0076] Example 1
[0077] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and provides a distributed energy complementary control method for coordinated hydrogen energy and photovoltaic energy, comprising:
[0078] S1: Use time series analysis to model the output characteristics of hydrogen energy and photovoltaics and establish a multi-time scale coordinated control strategy.
[0079] The formula of the photovoltaic output power model is:
[0080] P pv =η pv *A*G(t)*(1-0.005(T c (t)-25))
[0081] Among them, P pv is the photovoltaic output power at time t, η pv is the efficiency of the photovoltaic panel, A is the photovoltaic panel surface, G(t) is the solar radiation intensity at time t, T c (t) is the battery temperature coefficient at time t, which is -0.005, indicating that the output power of the photovoltaic panel will decrease by 0.005 times for every 1 degree increase in temperature;
[0082] The formula of the output power model of hydrogen energy is:
[0083] P h (t) = η fc *LHV*m h (t)
[0084] Among them, P h(t) is the output power of the hydrogen energy system at time t, η fc is the fuel cell efficiency, LHV is the lower heating value of hydrogen, m h (t) is the hydrogen consumption rate at time t.
[0085] S1.1: The multi-time scale coordinated control strategy includes intraday scale control, interday scale control and seasonal scale control. The intraday scale control includes an intraday scale control objective function and intraday scale control constraints. The interday scale control includes an interday scale control objective function and an interday scale control constraints. The seasonal scale control includes a seasonal scale control objective function and a seasonal scale control constraints.
[0086] The formula of the intraday scale control objective function is:
[0087] minJ1=∑ t (P load (t)-P pv (t)-P h (t)-P s (t)) 2
[0088] The formula for the intraday scale control constraint is:
[0089] P pv ,min≤P pv (t)≤P pv ,max
[0090] P h ,min≤P h (t)≤P h ,max
[0091] SOC min ≤SOC(t)≤SOC max
[0092] Among them, P load (t) is the load demand, P s (t) is the output power of the energy storage system, and SOC(t) is the state of charge of the energy storage system.
[0093] S1.2: The formula of the daytime scale control objective function is:
[0094] minJ2=∑(E daily -E pv,daily -E h,daily ) 2
[0095] The formula for the daytime scale control constraint is:
[0096] Epv,min ≤E pv,daily ≤E pv,max
[0097] E h,min ≤E h,daily ≤E h,max
[0098] Among them, E daily is the daily load demand, E pv,daily and E h,daily are the daily power generation of the photovoltaic and hydrogen energy systems, respectively;
[0099] The formula of the seasonal scale control objective function is:
[0100] minJ3=∑(E seasonal -E pv,seasonal -E h,seasonal ) 2
[0101] The formula of the seasonal scale control constraint is:
[0102] E pv,min,seasonal ≤E pv,seasonal ≤E pv,max,seasonal
[0103] E h,min,seasonal ≤E h,seasonal ≤E h,max,seasonal
[0104] Among them, E seasonal is the seasonal load demand, E pv,seasonal and E h,seasonal are the seasonal power generation of photovoltaic and hydrogen energy systems respectively.
[0105] S2: A dynamic power allocation algorithm based on fuzzy logic is adopted. The output variable is the power instruction of the hydrogen energy system. A dynamic programming charging and discharging strategy is designed according to the power instruction.
[0106] The dynamic power allocation algorithm using fuzzy logic includes using a fuzzy controller to calculate input variables, the input variables include load demand, photovoltaic output and energy storage system charge state, and the formula of the input variables is:
[0107] P h_cmd (t)=defuzzify(μ1,μ2,...,μ n )
[0108] Among them, μ i is the membership degree of the i-th fuzzy rule, defuzzify() is the defuzzification function;
[0109] The charging and discharging strategy designed by dynamic programming according to the power instruction includes designing the objective function of the power instruction and designing the constraint conditions of the power instruction;
[0110] The formula of the objective function of the design power command is:
[0111] minJ4=∑(c grid *P grid (t)+c deg |P s (t)|)
[0112] The formula for the constraint condition of the design power instruction is:
[0113] SOC min ≤SOC(t)≤SOC max
[0114] P s ,min≤P s (t)≤P s ,max
[0115]
[0116] Among them, c grid is the grid electricity price, c deg is the energy storage loss cost, P grid (t) is the exchange power with the grid, η c and η d are the charging and discharging efficiencies, E cap For the energy storage capacity.
[0117] S3: Use support vector regression method to forecast load, establish economic evaluation model, design data-driven fault diagnosis algorithm and self-healing control strategy, and complete distributed energy complementary control.
[0118] The design of the data-driven fault diagnosis algorithm and self-healing control strategy includes processing by combining principal component analysis and support vector machine, and the specific formula is as follows:
[0119]
[0120] u min ≤u(k+i|k)≤u max
[0121] Δu min ≤Δu(k+i|k)≤Δu max
[0122] y min ≤y(k+i|k)≤y max
[0123] Among them, y is the system output, r is the reference trajectory, u is the control input, and Q and R are weight matrices.
[0124] In a preferred embodiment, a method and system for distributed energy complementary control of hydrogen energy and photovoltaics in coordination is provided, the system comprising an establishment module, which uses a time series analysis method to model the output characteristics of hydrogen energy and photovoltaics and establish a multi-time scale coordinated control strategy; an allocation module, which uses a fuzzy logic dynamic power allocation algorithm, the output variable is the power instruction of the hydrogen energy system, and a dynamic programming charging and discharging strategy is designed according to the power instruction; a control module, which uses a support vector regression method to perform load forecasting, establishes an economic evaluation model, designs a data-driven fault diagnosis algorithm and a self-healing control strategy, and completes distributed energy complementary control.
[0125] The above-mentioned unit modules may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above-mentioned modules.
[0126] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0127] In summary, the present invention provides a distributed energy complementary control method and system for the coordination of hydrogen energy and photovoltaics. Through multi-time scale coordinated control strategy, fuzzy logic dynamic power allocation algorithm, support vector regression load prediction, economic evaluation model and data-driven fault diagnosis and self-healing control strategy, efficient, economical and reliable operation of distributed energy system is achieved. Specific beneficial effects include: multi-time scale coordinated control strategy optimizes the system operation in different time periods and improves flexibility and adaptability. The fuzzy logic dynamic power allocation algorithm dynamically adjusts the power instruction of the hydrogen energy system according to real-time data and improves energy utilization efficiency. The support vector regression load prediction method accurately predicts future load demand and optimizes the output plan. The economic evaluation model ensures the lowest operating cost of the system. The data-driven fault diagnosis and self-healing control strategy improves the reliability and safety of the system, improves the overall performance of the distributed energy system, and provides users with a more stable and efficient energy supply.
[0128] Example 2
[0129] Reference Figure 1 and Figure 2 , which is the second embodiment of the present invention, and this embodiment provides a distributed energy complementary control method of hydrogen energy and photovoltaics. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.
[0130] The present invention provides a distributed energy complementary control method and system for hydrogen energy and photovoltaics. Through multi-time scale coordinated control strategy, fuzzy logic dynamic power allocation algorithm, support vector regression load forecasting, economic evaluation model and data-driven fault diagnosis and self-healing control strategy, the efficiency, economy and reliability of distributed energy systems are significantly improved. Specifically, the multi-time scale coordinated control strategy optimizes the system operation in different time periods and improves the flexibility and adaptability of the system. For example, in intraday scale control, by optimizing the objective function and constraints, the system can maintain the optimal operating state in different time periods, and the load matching rate is improved by 15%. The fuzzy logic dynamic power allocation algorithm is based on The power command of the hydrogen energy system is dynamically adjusted according to real-time data, which improves the energy utilization efficiency. The charging and discharging efficiency of the energy storage system is improved by 10%. The support vector regression load forecasting method accurately predicts future load demand and optimizes the output plan. The load forecasting accuracy rate reaches 95%, which effectively reduces unnecessary energy waste. The economic evaluation model ensures the lowest operating cost of the system, and the total operating cost is reduced by 20%. The data-driven fault diagnosis and self-healing control strategy improves the reliability and safety of the system, the fault detection rate reaches 98%, and the self-healing success rate reaches 95%. These technical means jointly improve the overall performance of the distributed energy system and provide users with a more stable and efficient energy supply. The experimental data of the present invention are shown in Table 1 below:
[0131] Table 1 Experimental data table of the present invention
[0132] Data Types Specific values Load matching rate improvement 15% Improved charging and discharging efficiency of energy storage systems 10% Load forecast accuracy 95% Reduced total operating costs 20% Fault detection rate 98% Self-healing success rate 95%
[0133] Table 1 shows the significant effect of the present invention in improving the efficiency, economy and reliability of distributed energy systems. The comparison between the present invention and the prior art is shown in Table 2 below:
[0134] Table 2 Comparison between the present invention and the prior art
[0135]
[0136] Table 2 demonstrates the significant advantages of the present invention in improving the efficiency, economy and reliability of distributed energy systems.
[0137] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A distributed energy complementary control method for hydrogen energy and photovoltaic synergy, characterized by: include, The output characteristics of hydrogen energy and photovoltaics are modeled using time series analysis, and a multi-time scale coordinated control strategy is established; A dynamic power allocation algorithm based on fuzzy logic is used, and the output variable is the power command of the hydrogen energy system. A dynamic programming charging and discharging strategy is designed based on the power command. The support vector regression method is used for load forecasting, an economic evaluation model is established, and a data-driven fault diagnosis algorithm and self-healing control strategy are designed to complete the complementary control of distributed energy sources.
2. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 1, characterized in that: The formula of the photovoltaic output power model is: P pv =η pv *A*G(t)*(1-0.005(T c (t)-25)) Among them, P pv is the photovoltaic output power at time t, η pv is the efficiency of the photovoltaic panel, A is the area of the photovoltaic panel, G is the solar radiation intensity at time t, T c (t) is the battery temperature coefficient at time t, which is -0.005, indicating that the output power of the photovoltaic panel will decrease by 0.005 times for every 1 degree increase in temperature; The formula of the output power model of hydrogen energy is: P h (t)=η fc *LHV*m h (t) Among them, P h (t) is the output power of the hydrogen energy system at time t, η fc is the fuel cell efficiency, LHV is the lower heating value of hydrogen, m h (t) is the hydrogen consumption rate at time t.
3. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 2 is characterized by: The multi-time scale coordinated control strategy includes intraday scale control, interday scale control and seasonal scale control, wherein the intraday scale control includes an intraday scale control objective function and intraday scale control constraints, the interday scale control includes an interday scale control objective function and an interday scale control constraints, and the seasonal scale control includes a seasonal scale control objective function and a seasonal scale control constraints; The formula of the intraday scale control objective function is: min J1=∑ t (P load (t)-P pv (t)-P h (t)-P s (t)) 2 The formula for the intraday scale control constraint is: P pv ,min≤P pv (t)≤P pv ,max P h ,min≤P h (t)≤P h ,max SOC min ≤SOC(t)≤SOC max Among them, P load (t) is the load demand, P s (t) is the output power of the energy storage system, and SOC(t) is the state of charge of the energy storage system.
4. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 3 is characterized by: The formula of the daytime scale control objective function is: minJ2=∑(E daily -AND pv,daily -AND h,daily ) 2 The formula for the daytime scale control constraint is: AND pv,min ≤E pv,daily ≤E pv,max AND h,min ≤E h,daily ≤E h,max Among them, E daily is the daily load demand, E pv,daily and E h,daily are the daily power generation of the photovoltaic and hydrogen energy systems, respectively; The formula of the seasonal scale control objective function is: minJ3=∑(E seasonal -AND pv,seasonal -AND h,seasonal ) 2 The formula of the seasonal scale control constraint is: AND pv,min,seasonal ≤E pv,seasonal ≤E pv,max,seasonal AND h,min,seasonal ≤E h,seasonal ≤E h,max,seasonal Among them, E seasonal is the seasonal load demand, E pv,seasonal and E h,seasonal are the seasonal power generation of photovoltaic and hydrogen energy systems respectively.
5. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 4, characterized in that: The dynamic power allocation algorithm using fuzzy logic includes using a fuzzy controller to calculate input variables, the input variables include load demand, photovoltaic output and energy storage system charge state, and the formula of the input variables is: P h_cmd (t)=defuzzify(μ1,μ2,...,μ n ) Among them, μ i is the membership degree of the i-th fuzzy rule, defuzzify() is the defuzzification function; The charging and discharging strategy designed by dynamic programming according to the power instruction includes designing the objective function of the power instruction and designing the constraint conditions of the power instruction; The formula of the objective function of the design power command is: minJ4=∑(c grid *P grid (t)+c deg P s (t)) The formula for the constraint condition of the design power instruction is: SOC min ≤SOC(t)≤SOC max P s ,min≤P s (t)≤P s ,max Among them, c grid is the grid electricity price, c deg is the energy storage loss cost, P grid (t) is the exchange power with the grid, η c and η d are the charging and discharging efficiencies, E cap For the energy storage capacity.
6. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 5, characterized in that: The load forecasting using the support vector regression method includes optimizing the output plan of the system based on the dynamic power allocation algorithm of fuzzy logic. The formula of the output plan is: P load_pred (t)=f SVR (x1,x2,…,x n ) min J5=∑(P load_pred (t)-P pv_plan (t)-P h_plan (t)-P s_plan (t)) 2 P pv,min ≤P pv_plan (t)≤P pv,max P h,min ≤P h_plan (t)≤P h,max P s,min ≤P s_plan (t)≤P s,max Among them, x i For factors affecting load, historical load, temperature and humidity; The formula for establishing the economic evaluation model is: Among them, C T is the total cost, CRF is the capital recovery factor, η system is the overall efficiency of the system, E annual is the annual power generation of the system.
7. The distributed energy complementary control method of hydrogen energy and photovoltaic synergy as claimed in claim 5, characterized in that: The design data-driven fault diagnosis algorithm and self-healing control strategy include processing by combining principal component analysis and support vector machine, and the specific formula is as follows: u min ≤u(k+i|k)≤u max Δu min ≤Δu(k+i|k)≤Δu max y min ≤y(k+i|k)≤y max Among them, y is the system output, r is the reference trajectory, u is the control input, and Q and R are weight matrices.
8. A distributed energy complementary control method for hydrogen energy and photovoltaic synergy as claimed in claim 6, characterized in that: Establish a module that uses time series analysis to model the output characteristics of hydrogen and photovoltaics and establish a multi-time scale coordinated control strategy; The allocation module adopts a dynamic power allocation algorithm based on fuzzy logic. The output variable is the power instruction of the hydrogen energy system. A dynamic programming charging and discharging strategy is designed based on the power instruction. The control module uses the support vector regression method to predict load, establishes an economic evaluation model, designs data-driven fault diagnosis algorithms and self-healing control strategies, and completes distributed energy complementary control.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the distributed energy complementary control method of hydrogen energy and photovoltaic coordination as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the distributed energy complementary control method of hydrogen energy and photovoltaic coordination as described in any one of claims 1 to 7 are implemented.