Modeling method for hydrogen-containing hybrid energy storage based on high-proportion renewable energy
By adopting a hydrogen-containing storage system operation strategy and improving the adaptive global optimal harmony search algorithm in a multi-energy complementary power generation system, the wind and solar power generation and hydrogen energy storage systems are optimized, which solves the volatility when a high proportion of renewable energy is connected to the grid. and cost issues, achieving efficient energy dispatch and storage, reducing power abandonment rate and improving power supply reliability and economy.
Patent Information
- Application Number
- CN202410805199.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-18
AI Technical Summary
When a high proportion of renewable energy is connected to the power grid, the volatility and randomness of renewable energy sources such as wind and solar power lead to grid stability challenges, and the cost of energy storage systems increases. It is necessary to optimize the configuration of energy storage systems to reduce power curtailment rates and improve power supply reliability. .
Adopt a rule-based hydrogen storage system operation strategy and improve the adaptive global optimal harmony search algorithm to optimize multi-energy complementary power generation systems, including wind power generation, photovoltaic power generation, hydrogen energy storage and battery energy storage, using electrolyzers, storage Hydrogen tank and fuel cell models, combined with penalty cost optimization configuration, achieve efficient scheduling and storage of energy.
It can effectively reduce the rate of abandoned renewable energy, improve the reliability and economy of power supply, adapt to high penetration rate operation, reduce the volatility of the power grid, and improve the performance indicators of microgrids such as the rate of abandoned renewable energy, reliability and economy.
Smart Images

Figure CN118801425A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a method for modeling a hydrogen-containing hybrid energy storage system based on a high proportion of renewable energy. Background Art
[0002] Renewable energy sources such as wind power and solar power generation will surely be vigorously developed. However, the volatility and randomness of the subsequent output have brought challenges to the stable and safe operation of the access to the power grid. Wind and solar power have strong complementarity in time and space. When there is strong wind or strong light and low load, a large amount of wind and solar power abandonment will occur. However, the wind and solar power output in the region cannot achieve complete power complementarity and also have certain volatility. The above problems seriously affect the stability of renewable energy power generation and grid connection. The energy storage system provides a good technical means to suppress the fluctuation of wind, solar and photovoltaic output. At present, the energy storage system has long become an indispensable part of the power system, and with the increasing proportion of wind, solar and other renewable energy access, the importance and necessity of the energy storage system are more highlighted. It plays a role in reducing the fluctuation of new energy, improving the level of stable access to new energy, and peak shaving and valley filling in the power system. It can greatly improve the level of safe, reliable and stable operation of the microgrid system, and provide an effective solution for the access of large-scale volatile new energy.
[0003] The high penetration of renewable energy requires fast-response dispatchable resources to manage energy imbalances in the grid. Energy storage technology is considered an important tool to reduce the power and energy imbalance between the scheduled power generation and the actual wind farm output. However, with the continuous improvement of the performance requirements of energy storage systems, the cost of energy storage systems is also increasing. Therefore, it is necessary to select the appropriate type and the optimal cost of energy storage system configuration in the study of microgrids containing energy storage systems to meet technical and economic requirements. Huo Xianxu et al. analyzed the key technologies and application reviews of hydrogen energy storage systems and proposed that hydrogen storage devices have high energy density, low operation and maintenance costs, long energy storage time, and can achieve zero pollution and zero emissions. It is an emerging energy storage device. Therefore, the use of hybrid energy storage configuration containing hydrogen storage can not only meet load demand, save costs, and solve the intermittent power output problem of renewable energy, but also ensure the effective use of renewable energy and reduce the penetration level of traditional fossil fuel power generation technology in the power system. Summary of the invention
[0004] In view of this, the present invention provides a hydrogen-containing hybrid energy storage modeling method based on a high proportion of renewable energy, so that the hydrogen-containing hybrid energy storage technology can adapt well to high penetration operation, reduce the rate of abandoned renewable energy, and improve power supply reliability and economy.
[0005] The present invention discloses a hydrogen-containing hybrid energy storage modeling method based on a high proportion of renewable energy, which is applicable to a multi-energy complementary power generation system, wherein the multi-energy complementary power generation system comprises a power generation system and an energy storage system; the power generation system comprises wind power generation and photovoltaic power generation, and the energy storage system comprises hydrogen energy storage and battery energy storage;
[0006] The method comprises:
[0007] Construct a rule-based operation strategy for the hydrogen storage system; take the total hourly cost consumption, load power failure rate and energy surplus rate as the objective function, where the load power failure rate and energy surplus rate are both accompanied by penalty fees. The load power failure rate and energy surplus rate are converted into penalty costs and added to the total cost. The power generation system and energy storage system are optimized, and the total cost is solved using an improved adaptive global optimal harmony search algorithm to obtain the performance indicators of the microgrid under a high proportion of renewable energy scenarios; the performance indicators include the abandoned renewable energy rate, reliability and economic indicators.
[0008] Further, the rule-based hydrogen-containing gas storage system operation strategy includes an energy surplus operation strategy and an energy shortage operation strategy;
[0009] The energy surplus operation strategy is: when the energy generated by the power supply module is still surplus after meeting the power required by the load, it is determined whether the operation constraints of each device in the multi-energy complementary power generation system are met. If the operation constraints are met, the surplus power is first stored in the battery. If the multi-energy complementary power generation system has surplus power, the electrolyzer is used to store the surplus power in the hydrogen storage tank. If there is still surplus power at this time, the energy storage system chooses to discard the power generated by the multi-energy complementary power generation system.
[0010] The energy shortage operation strategy is: the power generation of the microgrid system cannot meet the load demand and there is a power shortage. At this time, the energy storage system starts the discharge function. First, the battery releases electrical energy to assist the power generation system to generate electricity. If it still cannot meet the load demand, the hydrogen storage equipment is started, and hydrogen is converted into electrical energy through chemical reactions to supply the load demand in time. If the microgrid system still cannot meet the load demand, the energy storage system will shed the load.
[0011] Furthermore, the operation constraints include power balance constraints, charge and discharge depth constraints, and capacity constraints of each device in the energy storage system.
[0012] Furthermore, the power balance constraint is:
[0013] P load +P c +P el -P pv -P w -P u -P d -Pfc ≥0 (7)
[0014] Among them, P load is the load power, P u is the power output of the power plant, P pv is the photovoltaic output power, P w is the fan output power, P c and P d are the charging and discharging power of the battery, P el and P fc are the charging and discharging power of the hydrogen storage device respectively;
[0015] The charge and discharge depth constraint is:
[0016] SOC min <SOC(t)<SOC max (8.1)
[0017] S ohc_min ohc (t) ohc_max (8.2)
[0018] Among them, SOC(t) is the state of charge of the battery, SOC min and SOC max are the minimum and maximum state of charge allowed by the battery, S ohc (t) is the charge state of the hydrogen storage tank, S ohc_min and S ohc_max They are the minimum and maximum state of charge allowed for the hydrogen storage tank respectively;
[0019] The capacity constraints of each device in the energy storage system are:
[0020]
[0021] Among them, C pv and C w are the photovoltaic device capacity and wind power device capacity in the power generation system, C pvmax and C wmax are the maximum capacity of the photovoltaic device and the maximum capacity of the wind power device, respectively, C bat is the capacity of the battery, C batmax are the minimum and maximum values of the battery, respectively, C el and C fc are the capacities of the electrolyzer and fuel cell in the hydrogen storage device, C elmax and C elmax are the maximum values of electrolyzer capacity and fuel cell capacity, E tank is the capacity of the hydrogen storage tank in the hydrogen storage device, E tankmin and Etankmax are the minimum and maximum capacities of hydrogen storage tanks respectively.
[0022] Furthermore, the energy storage system is composed of an electrolyzer, a hydrogen storage tank and a fuel cell model, which are used to calculate the cost of hydrogen energy storage in the energy storage system. It has the same function as battery energy storage, that is, when energy is sufficient, the electrolyzer converts surplus power electricity into hydrogen and stores it in the hydrogen storage tank. When renewable energy is insufficient, the fuel cell converts the stored hydrogen into electricity to supply load demand.
[0023] Furthermore, the output power of hydrogen produced by the electrolyzer in the electrolyzer, hydrogen storage tank and fuel cell model is expressed as:
[0024] P el-tank =P el η el (1)
[0025] Where P el is the input power of the electrolyzer; η el is the efficiency of the electrolyzer;
[0026] The output power of the electrolyzer, hydrogen storage tank and fuel cell in the fuel cell model is expressed as:
[0027] P fc =P tank-fc η fc (2)
[0028] Where P tank-fc is the power input into the fuel cell; η fc For the efficiency of fuel cells;
[0029] The mathematical model of the hydrogen storage tank in the electrolyzer, hydrogen storage tank and fuel cell model is expressed as:
[0030]
[0031] In the formula, E tank (t) is the energy stored in the hydrogen storage tank at time t, E tank (t-1) is the energy stored in the hydrogen storage tank at time t-1, P el (t-1) is the input power of the electrolytic cell at time t-1, P fc (t-1) is the output power of the fuel cell at time t-1, η el_DC-DC , η fc_DC-DC are the working efficiency of electrolyzer and fuel cell respectively; η tank is the working efficiency of the hydrogen storage tank, and Δt is the time difference.
[0032] Furthermore, when the load demand of the microgrid is met by the traditional generator, the power generation cost of the traditional generator set is expressed as:
[0033] C1=P u 2 ×a+P u ×b+c (4)
[0034] Among them, P u is the power output of the power plant, a, b, c are constant coefficients;
[0035] The cost of using the energy storage system is expressed as:
[0036]
[0037] Among them, P c and P d is the battery charging and discharging power, P el and P fc is the charging and discharging power of hydrogen storage, I1 and I2 are the charging and discharging costs of the battery and hydrogen storage, I3 and I4 are the energy storage costs of the battery and hydrogen storage, respectively; E A and E B are the stored power of the battery and the hydrogen storage device respectively; Δt is the time difference;
[0038] The total cost of the multi-energy complementary power generation system is expressed as:
[0039]
[0040] Among them, C1 is the power generation cost of traditional generator sets, that is, the cost of power generation system; C2 is the use cost of energy storage system; C3 is the power shortage loss cost, that is, the penalty cost of load power failure rate; C4 is the penalty cost of abandoning renewable energy, that is, the penalty cost of energy surplus rate; Among them, EENS is the reliability evaluation index, ΣP exc (t) is the total renewable energy abandoned at time t, f1 is the power shortage loss cost, and f2 is the penalty rate for abandoning renewable energy.
[0041] Furthermore, the improved adaptive global optimal harmony search algorithm is used to solve the total cost, including:
[0042] Step 1: Create and initialize the harmony library, randomly generate M harmony vectors in the solution space of harmony X, calculate the function value f(X) of each harmony vector, and convert the M harmony vectors X1, X2...X M And the function value f(X) is put into the harmony memory HM, and the function model of the harmony memory HM is:
[0043]
[0044] Step 2: Generate a random number r1 between [0, 1], and determine whether r1 is less than the memory bank selection probability p H , if r1 is less than p H , then randomly select a variable in HM and adjust the fine-tuning probability p AR ; if r1 is greater than or equal to p H , then randomly generate a variable in the solution space;
[0045] Step 3: Determine whether n variables have been generated. If n variables have been generated, then determine whether the new solution is better than the worst solution in HM. If the new solution is better than the worst solution in HM, then update HM;
[0046] Step 4: Determine whether f(X new ) - f(X worst ) ≤ ε or i < N is satisfied. If it is satisfied, then output the performance index of the microgrid in the high proportion renewable energy scenario. If it is not satisfied, then update the parameter fine-tuning probability p AR and the adjustment step size B W , and then re-execute Step 2; where f(X new ) is the function value of the new harmony vector X new , f(X worst ) is the function value of the worst harmony vector X worst , i is the current iteration number, N is the maximum number of iteration times, and ε is the minimum iteration accuracy.
[0047] Furthermore, Step 3 further includes:
[0048] If n variables have not been generated, then re-execute Step 2;
[0049] If the new solution is not better than the worst solution in HM, then directly execute Step 4.
[0050] Furthermore, the parameters p AR and B W are updated respectively by the following formulas:
[0051]
[0052] where p AR,min and p AR,max are respectively the minimum value and the maximum value of the fine-tuning probability, and B W,min and B W,max are respectively the minimum value and the maximum value of the adjustment step size.
[0053] Due to the adoption of the above technical solution, the present invention has the following advantages: The present invention designs a hybrid energy storage configuration method for electric-hydrogen coupling and establishes a multi-energy complementary power generation system structure for hybrid energy storage. Penalty costs are added to the objective function, and an improved adaptive global optimal harmony search algorithm is used to solve it, so that the hybrid energy storage technology can be well adapted to high penetration rate operation, reduce the rate of abandoned renewable energy, and improve power supply reliability and economy. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0055] Figure 1 A schematic flow chart of a method for modeling a hydrogen-containing hybrid energy storage system based on a high proportion of renewable energy according to an embodiment of the present invention;
[0056] Figure 2 Schematic diagram of a rule-based hydrogen storage system operation strategy according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.
[0058] See also Figure 1 , the present invention provides an embodiment of a hydrogen-containing hybrid energy storage modeling method based on a high proportion of renewable energy, which is applicable to a multi-energy complementary power generation system, the multi-energy complementary power generation system includes a power generation system and an energy storage system; the power generation system includes wind power generation and photovoltaic power generation, and the energy storage system includes hydrogen energy storage and battery energy storage;
[0059] The method of this embodiment includes:
[0060] Construct a rule-based operation strategy for the hydrogen storage system; take the total hourly cost consumption, load power failure rate and energy surplus rate as the objective function, where the load power failure rate and energy surplus rate are both accompanied by penalty fees. The load power failure rate and energy surplus rate are converted into penalty costs and added to the total cost. The power generation system and energy storage system are optimized, and the total cost is solved using an improved adaptive global optimal harmony search algorithm to obtain the performance indicators of the microgrid under a high proportion of renewable energy scenarios; the performance indicators include the abandoned renewable energy rate, reliability and economic indicators.
[0061] In one embodiment, the rule-based hydrogen-containing gas storage system operation strategy includes an energy surplus operation strategy and an energy deficit operation strategy;
[0062] The energy surplus operation strategy is: when the energy generated by the power supply module is still surplus after meeting the power required by the load, it is determined whether the operation constraints of each device in the multi-energy complementary power generation system are met. If the operation constraints are met, the surplus power is first stored in the battery. If the multi-energy complementary power generation system has surplus power, the electrolyzer is used to store the surplus power in the hydrogen storage tank. If there is still surplus power at this time, the energy storage system chooses to discard the power generated by the multi-energy complementary power generation system.
[0063] The energy shortage operation strategy is: the power generation of the microgrid system cannot meet the load demand and there is a power shortage. At this time, the energy storage system starts the discharge function. First, the battery releases electrical energy to assist the power generation system to generate electricity. If it still cannot meet the load demand, the hydrogen storage equipment is started, and hydrogen is converted into electrical energy through chemical reactions to supply the load demand in time. If the microgrid system still cannot meet the load demand, the energy storage system will shed the load.
[0064] Before constructing a rule-based hydrogen storage system operation strategy, it also includes initializing the power generation power of the power generation system and the energy storage capacity of the energy storage system.
[0065] In one embodiment, the operation constraints include power balance constraints, charge and discharge depth constraints, and capacity constraints of each device in the energy storage system.
[0066] In one embodiment, the power balance constraint is:
[0067] P load +P c +P el -P pv -P w -P u -P d -P fc ≥0 (7)
[0068] Among them, P load is the load power, P u is the power output of the power plant, P pv is the photovoltaic output power, P w is the fan output power, P c and P d are the charging and discharging power of the battery, P el and P fc are the charging and discharging power of the hydrogen storage device respectively;
[0069] The charge and discharge depth constraints are:
[0070] SOC min<SOC(t)<SOC max (8.1)
[0071] S ohc_min ohc (t) ohc_max (8.2)
[0072] Among them, SOC(t) is the state of charge of the battery, SOC min and SOC max are the minimum and maximum state of charge allowed by the battery, S ohc (t) is the charge state of the hydrogen storage tank, S ohc_min and S ohc_max They are the minimum and maximum state of charge allowed for the hydrogen storage tank respectively;
[0073] The capacity constraints of each device in the energy storage system are:
[0074]
[0075] Among them, C pv and C w are the photovoltaic device capacity and wind power device capacity in the power generation system, C pvmax and C wmax are the maximum capacity of the photovoltaic device and the maximum capacity of the wind power device, respectively, C bat is the capacity of the battery, C batmax are the minimum and maximum values of the battery, respectively, C el and C fc are the capacities of the electrolyzer and fuel cell in the hydrogen storage device, C elmax and C elmax are the maximum values of electrolyzer capacity and fuel cell capacity, E tank is the capacity of the hydrogen storage tank in the hydrogen storage device, E tankmin and E tankmax are the minimum and maximum capacities of hydrogen storage tanks respectively.
[0076] In one embodiment, the energy storage system is composed of an electrolyzer, a hydrogen storage tank and a fuel cell model, which are used to calculate the cost of hydrogen energy storage in the energy storage system. It has the same function as battery energy storage, that is, when the energy is sufficient, the electrolyzer converts the surplus power electricity into hydrogen and stores it in the hydrogen storage tank. When the renewable energy is insufficient, the fuel cell converts the stored hydrogen into electricity to supply the load demand.
[0077] In one embodiment, the output power of hydrogen produced by the electrolyzer in the electrolyzer, hydrogen storage tank, and fuel cell model is expressed as:
[0078] P el-tank =P el η el (1)
[0079] Where P el is the input power of the electrolyzer; η el is the efficiency of the electrolyzer;
[0080] The output power through the electrolyzer, hydrogen storage tank, and fuel cell in the fuel cell model is expressed as:
[0081] P fc =P tank-fc η fc (2)
[0082] Where P tank-fc is the power input into the fuel cell; η fc For the efficiency of fuel cells;
[0083] The mathematical model of the hydrogen storage tank in the electrolyzer, hydrogen storage tank and fuel cell model is expressed as:
[0084]
[0085] In the formula, E tank (t) is the energy stored in the hydrogen storage tank at time t, E tank (t-1) is the energy stored in the hydrogen storage tank at time t-1, P el (t-1) is the input power of the electrolytic cell at time t-1, P fc (t-1) is the output power of the fuel cell at time t-1, η el_DC-DC , η fc_DC-DC are the working efficiency of electrolyzer and fuel cell respectively; η tank is the working efficiency of the hydrogen storage tank, and Δt is the time difference.
[0086] In one embodiment, when the load demand of the microgrid is met by generating electricity through a traditional generator, the power generation cost of the traditional generator set is expressed as:
[0087] C1=P u 2 ×a+P u ×b+c (4)
[0088] Among them, P u is the power output of the power plant, a, b, c are constant coefficients;
[0089] The cost of using the energy storage system is expressed as:
[0090]
[0091] Among them, P c and P dis the battery charging and discharging power, P el and P fc is the charging and discharging power of hydrogen storage, I1 and I2 are the charging and discharging costs of the battery and hydrogen storage, I3 and I4 are the energy storage costs of the battery and hydrogen storage, respectively; E A and E B are the stored power of the battery and the hydrogen storage device respectively; Δt is the time difference;
[0092] The total cost of the multi-energy complementary power generation system is expressed as:
[0093]
[0094] Among them, C1 is the power generation cost of traditional generator sets, that is, the cost of power generation system; C2 is the use cost of energy storage system; C3 is the power shortage loss cost, that is, the penalty cost of load power failure rate; C4 is the penalty cost of abandoning renewable energy, that is, the penalty cost of energy surplus rate; Among them, EENS is the reliability evaluation index, ∑P exc (t) is the total renewable energy abandoned at time t, f1 is the power shortage loss cost, and f2 is the penalty rate for abandoning renewable energy.
[0095] In one embodiment, an improved adaptive global optimal harmony search algorithm is used to solve the total cost, including:
[0096] Step 1: Create and initialize the harmony library, randomly generate M harmony vectors in the solution space of harmony X, calculate the function value f(X) of each harmony vector, and convert the M harmony vectors X1, X2...X M And the function value f(X) is put into the harmony memory HM, and the function model of the harmony memory HM is:
[0097]
[0098] Step 2: Generate a random number r1 between [0,1] and determine whether r1 is less than the memory value probability p H , if r1 is less than p H , then randomly select variables in HM and fine-tune the probability p AR Make adjustments; if r1 is greater than or equal to p H , then randomly generate variables in the solution space;
[0099] Step 3: Determine whether n variables have been generated. If n variables have been generated, determine whether the new solution is better than the worst solution in HM. If the new solution is better than the worst solution in HM, update HM.
[0100] Step 4: Determine whether f(X new )-f(X worst) ≤ ε or i < N. If satisfied, output the performance indicators of the microgrid in a high proportion of renewable energy scenarios. If not satisfied, update the parameter fine-tuning probability p AR and the adjustment step size B W , and then re-execute step 2; where f(X new ) is the function value of the new harmony vector X new , f(X worst ) is the function value of the worst harmony vector X worst , i is the current iteration number, N is the maximum number of iterations, and ε is the minimum iteration accuracy.
[0101] In one embodiment, step 3 further includes:
[0102] If n variables are not generated, re-execute step 2;
[0103] If the new solution is not better than the worst solution in HM, directly execute step 4.
[0104] In one embodiment, the parameters p AR and B W are updated respectively by the following formula:
[0105]
[0106] where p AR,min and p AR,max are the minimum and maximum values of the fine-tuning probability respectively, and B W,min and B W,max are the minimum and maximum values of the adjustment step size respectively.
[0107] Figure 2 The rule-based operation strategy of the hydrogen storage system in includes an energy surplus operation strategy and an energy shortage operation strategy. The energy surplus operation strategy is: when the energy generated by the power supply module has a surplus after meeting the demand of the load, judge whether the operation constraints of each system device are met. If the conditions are met, the surplus power is first stored in the battery. If there is still surplus power in the system, then the electrolyzer is used to store the surplus power in the hydrogen storage tank. If there is still surplus power at this time, the hybrid energy storage chooses to discard the power generated by the system. Figure 2 in is the volume of hydrogen gas in the hydrogen storage tank, and are its minimum and maximum values respectively, and are the minimum and maximum charging power of the hydrogen storage device, respectively. The energy shortage operation strategy is: the power generation of the microgrid system cannot meet the load demand, and the system has a power shortage. At this time, the hybrid energy storage system starts the discharge function. First, the battery releases electrical energy to assist the system in generating electricity. If it still cannot meet the load demand, the hydrogen storage device is started, and hydrogen is converted into electrical energy through chemical reactions to supply the load demand in time. If the system still cannot meet the load demand, the hybrid energy storage system performs load shedding. Figure 2 middle and are the minimum and maximum values of the charging power of the hydrogen storage device respectively.
[0108] Finally, 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for modeling a hydrogen-containing hybrid energy storage system based on a high proportion of renewable energy, suitable for a multi-energy complementary power generation system, characterized in that: The multi-energy complementary power generation system includes a power generation system and an energy storage system; the power generation system includes wind power generation and photovoltaic power generation, and the energy storage system includes hydrogen energy storage and battery energy storage; The method comprises: Construct a rule-based operation strategy for the hydrogen storage system; take the total hourly cost consumption, load power failure rate and energy surplus rate as the objective function, where the load power failure rate and energy surplus rate are both accompanied by penalty fees. The load power failure rate and energy surplus rate are converted into penalty costs and added to the total cost. The power generation system and energy storage system are optimized, and the total cost is solved using an improved adaptive global optimal harmony search algorithm to obtain the performance indicators of the microgrid under a high proportion of renewable energy scenarios; the performance indicators include the abandoned renewable energy rate, reliability and economic indicators.
2. The method according to claim 1, characterized in that The rule-based hydrogen storage system operation strategy includes an energy surplus operation strategy and an energy shortage operation strategy; The energy surplus operation strategy is: when the energy generated by the power supply module is still surplus after meeting the power required by the load, it is determined whether the operation constraints of each device in the multi-energy complementary power generation system are met. If the operation constraints are met, the surplus power is first stored in the battery. If the multi-energy complementary power generation system has surplus power, the electrolyzer is used to store the surplus power in the hydrogen storage tank. If there is still surplus power at this time, the energy storage system chooses to discard the power generated by the multi-energy complementary power generation system. The energy shortage operation strategy is: the power generation of the microgrid system cannot meet the load demand and there is a power shortage. At this time, the energy storage system starts the discharge function. First, the battery releases electrical energy to assist the power generation system to generate electricity. If it still cannot meet the load demand, the hydrogen storage equipment is started, and hydrogen is converted into electrical energy through chemical reactions to supply the load demand in time. If the microgrid system still cannot meet the load demand, the energy storage system will shed the load.
3. The method according to claim 2, characterized in that The operation constraints include power balance constraints, charge and discharge depth constraints, and capacity constraints of each device in the energy storage system.
4. The method according to claim 3, characterized in that The power balance constraint is: P load +P c +P el -P pv -P w -P u -P d -P fc ≥0 (7) Among them, P load is the load power, P u is the power output of the power plant, P pv is the photovoltaic output power, P w is the fan output power, P c and P d are the charging and discharging power of the battery, P el and P fc are the charging and discharging power of the hydrogen storage device respectively; The charge and discharge depth constraint is: SOC min <SOC(t)<SOC max (8.1) S ohc_min <S ohc (t)<S ohc_max (8.2) Among them, SOC(t) is the state of charge of the battery, SOC min and SOC max are the minimum and maximum state of charge allowed by the battery, S ohc (t) is the charge state of the hydrogen storage tank, S ohc_min and S ohc_max They are the minimum and maximum state of charge allowed for the hydrogen storage tank respectively; The capacity constraints of each device in the energy storage system are: Among them, C pv and C w are the photovoltaic device capacity and wind power device capacity in the power generation system, C pvmax and C wmax are the maximum capacity of the photovoltaic device and the maximum capacity of the wind power device, respectively, C bat is the capacity of the battery, C batmax are the minimum and maximum values of the battery, respectively, C el and C fc are the capacities of the electrolyzer and fuel cell in the hydrogen storage device, C elmax and C elmax are the maximum values of electrolyzer capacity and fuel cell capacity, E tank is the capacity of the hydrogen storage tank in the hydrogen storage device, E tankmin and E tankmax are the minimum and maximum capacities of hydrogen storage tanks respectively.
5. The method according to claim 1, characterized in that The energy storage system consists of an electrolyzer, a hydrogen storage tank and a fuel cell model. The electrolyzer, hydrogen storage tank and fuel cell model are used to calculate the cost of hydrogen storage in the energy storage system. It has the same function as battery energy storage, that is, when there is sufficient energy, the electrolyzer converts the surplus power electricity into hydrogen and stores it in the hydrogen storage tank. When renewable energy is insufficient, the fuel cell converts the stored hydrogen into electricity to supply the load demand.
6. The method according to claim 5, characterized in that The output power of hydrogen produced by the electrolyzer in the electrolyzer, hydrogen storage tank and fuel cell model is expressed as: P.S el-tank JP el η el (1) Where P el is the input power of the electrolyzer; η el is the efficiency of the electrolyzer; The output power of the electrolyzer, hydrogen storage tank and fuel cell in the fuel cell model is expressed as: P.S fc JP tank-fc η fc (2) Where P tank-fc is the power input into the fuel cell; η fc For the efficiency of fuel cells; The mathematical model of the hydrogen storage tank in the electrolyzer, hydrogen storage tank and fuel cell model is expressed as: In the formula, E tank (t) is the energy stored in the hydrogen storage tank at time t, E tank (t-1) is the energy stored in the hydrogen storage tank at time t-1, P el (t-1) is the input power of the electrolytic cell at time t-1, P fc (t-1) is the output power of the fuel cell at time t-1, η el_DC-DC , η fc_DC-DC are the working efficiency of electrolyzer and fuel cell respectively; η tank is the working efficiency of the hydrogen storage tank, and Δt is the time difference.
7. The method according to claim 6, characterized in that When the load demand of the microgrid is met by traditional generators, the power generation cost of the traditional generator set is expressed as: C1=P u 2 ×a+P u ×b+c (4) Among them, P u is the power output of the power plant, a, b, c are constant coefficients; The cost of using the energy storage system is expressed as: Among them, P c and P d is the battery charging and discharging power, P el and P fc is the charging and discharging power of hydrogen storage, I1 and I2 are the charging and discharging costs of the battery and hydrogen storage, I3 and I4 are the energy storage costs of the battery and hydrogen storage, respectively; E A and E B are the stored power of the battery and the hydrogen storage device respectively; Δt is the time difference; The total cost of the multi-energy complementary power generation system is expressed as: Among them, C1 is the power generation cost of traditional generator sets, that is, the cost of power generation system; C2 is the use cost of energy storage system; C3 is the power shortage loss cost, that is, the penalty cost of load power failure rate; C4 is the penalty cost of abandoning renewable energy, that is, the penalty cost of energy surplus rate; Among them, EENS is the reliability evaluation index, ∑P exc (t) is the total renewable energy abandoned at time t, f1 is the power shortage loss cost, and f2 is the penalty rate for abandoning renewable energy.
8. The method according to claim 1, characterized in that The improved adaptive global optimal harmony search algorithm is used to solve the total cost, including: Step 1: Create and initialize the harmony library, randomly generate M harmony vectors in the solution space of harmony X, calculate the function value f(X) of each harmony vector, and convert the M harmony vectors X1, X2...X M And the function value f(X) is put into the harmony memory HM, and the function model of the harmony memory HM is: Step 2: Generate a random number r1 between [0,1] and determine whether r1 is less than the memory value probability p H , if r1 is less than p H , then randomly select variables in HM and fine-tune the probability p AR Make adjustments; if r1 is greater than or equal to p H , then randomly generate variables in the solution space; Step 3: Determine whether n variables have been generated. If n variables have been generated, determine whether the new solution is better than the worst solution in HM. If the new solution is better than the worst solution in HM, update HM. Step 4: Determine whether it satisfies f(X new ) - f(X worst ) ≤ ε or i < N. If it is satisfied, output the performance index of the microgrid in the high proportion renewable energy scenario. If it is not satisfied, update the parameter fine-tuning probability p AR and the adjustment step size B W , and then re-execute Step 2; where f(X new ) is the function value of the new harmony vector X new , f(X worst ) is the function value of the worst harmony vector X worst , i is the current iteration number, N is the maximum number of iterations, and ε is the minimum iteration accuracy.
9. The method according to claim 8, characterized in that The step 3 also includes: If n variables are not generated, re-execute step 2; If the new solution is not better than the worst solution in HM, go directly to step 4.
10. The method according to claim 8, characterized in that Update the parameters p by the following formulas respectively AR , B W : Among them, p AR,min and p AR,max are the minimum and maximum values of the fine-tuning probability, respectively, and B W,min and B W,max are the minimum and maximum values of the adjustment step size respectively.
