Island microgrid operation optimization method based on time-of-use electricity price
By constructing a time-of-use electricity price optimization model and particle swarm algorithm in the island microgrid, the operation of the island microgrid is optimized, which solves the problems of unstable power supply and high operating costs on the island, and realizes the economic operation and stable dispatch of the island microgrid.
Patent Information
- Application Number
- CN202110809406.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-07-17
AI Technical Summary
Due to the special geographical environment of island areas, it is difficult to guarantee power supply. Existing tidal energy power generation projects have not established effective optimization dispatch models, resulting in uneconomical power generation systems and high operating costs, and time-of-use electricity prices are not considered in microgrid dispatching.
Based on the time-of-use electricity price optimization method for island microgrid operation, a microgrid system including ocean tidal energy, solar energy, wind energy, diesel power generation and energy storage systems is constructed. The particle swarm algorithm is used to optimize the dispatch model to determine the output active power and output of the diesel power generation system. For the charging and discharging active power of the energy storage system, with the goal of minimizing the operating cost of the island microgrid, an optimal dispatch model is established and solved.
It realizes the economic operation of the island microgrid, reduces operating costs, improves calculation accuracy, avoids the algorithm from falling into local optimality, and ensures the stable operation of each power generation system.
Smart Images

Figure CN113555869B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power grid dispatching, and in particular relates to an island microgrid operation optimization method based on time-of-use electricity prices. Background Art
[0002] With the continuous improvement of my country's marine strategy, the marine economy has entered a stage of rapid development, and the whole society is increasingly enthusiastic about island development. However, energy resources are very important for the development of islands, which determines the sustainable development of all aspects of the islands and directly affects the competitiveness of the main industries of the islands. The development of island areas is inseparable from reliable power supply. However, due to the special geographical environment factors of island areas, its power supply is difficult to be well guaranteed. At the same time, the energy supply of islands is overly dependent on conventional energy imported from the outside, making it difficult for islands to cope with fluctuations in energy supply, thus affecting the long-term development of islands and causing environmental deterioration. In addition, islands are far away from the mainland, and it is difficult to reach the power supply of power grids. However, there are abundant sea wave and tidal energy, solar energy and wind energy on the islands. Renewable energy generation systems such as wind energy, solar energy, sea wave and tidal energy can constitute smart microgrids. Due to the uncertainty of renewable energy output, different degrees of renewable energy output prediction accuracy errors appear at different time scales, and microgrid scheduling has a large deviation as a result.
[0003] At present, my country has successively invested in the development of offshore wind farms and wave tidal power generation projects in Zhoushan Islands and Guishan in Zhejiang, and Zhaitang Island in Jiaonan City, Shandong Province, to meet the production and living needs of residents on the islands. The existing tidal power generation projects have not established an effective optimization scheduling model for their microgrids. They take wind and solar energy into account in the scheduling of island microgrids, but do not consider the integration of tidal power generation into island microgrids, nor do they specifically consider time-of-use electricity prices in the scheduling of island microgrids, which leads to uneconomical power generation systems and high operating costs. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention proposes an island microgrid operation optimization method based on time-of-use electricity price, comprising the following steps:
[0005] Step 1: According to actual needs, a microgrid system is constructed on the island, including a wave and tidal power generation system, a solar power generation system, a wind power generation system, a diesel power generation system, an energy storage system, a central controller, an intelligent dispatching system and a filter; the intelligent dispatching system is used to send dispatching instructions to the central controller, the central controller controls each power generation system to generate electricity, and the filter is used to eliminate harmonic interference between each power generation system;
[0006] Step 2, obtaining the output power of the tidal power generation system, the output power of the solar power generation system, the output power of the wind power generation system, the fuel consumption cost of the diesel power generation system, the charge state of the energy storage system, the island microgrid time-of-use electricity price, and the relationship between the island microgrid time-of-use electricity price and load power consumption;
[0007] The formula for obtaining the island microgrid time-of-use electricity price is as follows:
[0008]
[0009] Among them, Q p represents the peak electricity price, Q v represents the off-peak electricity price, Q f represents the normal electricity price, φ p represents the peak electricity price adjustment coefficient, φ v It represents the adjustment coefficient of off-peak electricity price;
[0010] The relationship between the island microgrid time-of-use electricity price and load power consumption is obtained by using the following formula:
[0011]
[0012] Among them, P(i) represents the actual load demand of the island microgrid, P0(i) represents the power consumption before the migration, ΔQ(i) represents the difference in electricity prices before and after the migration, ΔP(i) represents the difference in electricity before and after the migration, Q0(i) represents the electricity price at time i during the normal use period of the island microgrid, Q0(j) represents the electricity price at time j during the normal use period of the island microgrid, and Q(j) represents the electricity price at time j after the migration;
[0013] Step 3: Determine the variables to be optimized, including the output active power of the diesel power generation system and the charging and discharging active power of the energy storage system, and establish an optimization scheduling model with the goal of minimizing the operating cost of the island microgrid;
[0014] The optimization scheduling model includes an objective function and corresponding constraints with the goal of minimizing the operating cost of the island microgrid; the constraints include power balance constraints, state of charge constraints of the energy storage system, and power generation capacity constraints of each power generation system;
[0015] The objective function is as follows:
[0016]
[0017] Among them, M ope represents the operating cost of the island microgrid, M OM (P j ) represents the operation and maintenance cost of each power generation unit, M bat Represents the replacement cost of the battery, MOM (P 1-t ) represents the operation and maintenance cost of the wave and tidal energy generator, M OM (P 2-t ) represents the operation and maintenance cost of photovoltaic panels, M OM (P 3-t ) represents the operation and maintenance cost of wind turbines, M OM (P 4-t ) represents the operation and maintenance cost of the diesel generator, F represents the fuel consumption cost of the diesel generator, K OMj Represents the operation and maintenance coefficient of each power generation unit, P j It represents the output power of each power generation unit, s represents the purchase cost of the battery, n represents the number of charge and discharge cycles of the battery, and p represents the number of charge and discharge cycles of the battery within 24 hours a day;
[0018] The constraints are as follows:
[0019] (1) Power balance constraint: The total power output of each power generation system in the island microgrid system must meet the load demand. The formula is as follows:
[0020] P 1-t +P 2-t +P 3-t +P 4-t =P load-t (4)
[0021] Among them, P load-t represents the load demand active power of the island microgrid system at time t, P 1-t represents the output active power of the wave and tidal energy generator at time t, P 2-t Represents the output active power of the photovoltaic panel at time t, P 3-t Represents the output active power of the wind turbine at time t, P 4-t represents the output active power of the diesel generator at time t;
[0022] (2) The state of charge constraints of the energy storage system are as follows:
[0023] (2.1) During a dispatch cycle, the state of charge of the energy storage system at the beginning and end of the period should be consistent, and the formula is as follows:
[0024] SOC o =SOC 24 (5)
[0025] Among them, SOC o Indicates the initial battery state of charge, SOC 24 Indicates the battery state of charge at the end of the period;
[0026] (2.2) The upper and lower limits of the state of charge of the energy storage system are constrained, and the formula is as follows:
[0027] SOC min ≤SOC t ≤SOC max (6)
[0028] Among them, SOC min Indicates the lower limit of the battery's state of charge, SOC max Indicates the upper limit of the battery's state of charge, SOC i Indicates the state of charge of the battery at time t;
[0029] (3) Generation capacity constraints of each power generation system: The upper and lower limits of the actual output power of each power generation system are constrained. The formula is as follows:
[0030] P j-min ≤P j ≤P j-max (7)
[0031] Among them, P j-min Represents the lower limit of power generation capacity, P j-max Indicates the upper limit of power generation capacity;
[0032] Step 4: Use the particle swarm algorithm to solve the optimization scheduling model to obtain the optimal result, and use the operating status of each power generation system corresponding to the optimal result as the optimal operation plan of the island microgrid, including the following steps:
[0033] Step 4.1, initialize the particle swarm, set the number of iterations, the population size, the maximum and minimum values of the iteration speed, the state of charge value of the energy storage system per hour within a day, the learning constant and the initial inertia weight coefficient, set the maximum and minimum values of the state of charge of the energy storage system, the wave and tidal power generation system, the solar power generation system, the wind power generation system and the diesel power generation system per hour within a day, set the power forecast of the wind power generation system, the wave and tidal power generation system and the solar power generation system per hour within a day, and set the forecast of the peak electricity price and the valley electricity price of the island microgrid;
[0034] Step 4.2, randomly generate particles of a population size number, that is, the state of charge value of the energy storage system every hour within a day, obtain the charging and discharging active power of the energy storage system every hour, and then obtain the net load value of the energy storage system every hour, and obtain the output active power of the diesel power generation system every hour according to the charging and discharging active power and net load value of the energy storage system every hour; the net load value is the difference between the actual load value of the island microgrid and the load value of the renewable energy power generation system, and the renewable energy power generation system includes a solar power generation system, a wind power generation system and a diesel power generation system;
[0035] Step 4.3, set the restriction conditions for particle swarm update, and update the particle swarm according to the set restriction conditions and iteration speed; the restriction conditions are as follows:
[0036] (1) The net load value of the energy storage system per hour is less than 0, and the state of charge of the energy storage system at the beginning of each hour of the day is less than or equal to the state of charge at the end of each hour;
[0037] (2) When the discharge capacity of the energy storage system is greater than the load requirement of the island microgrid, the discharge value of the energy storage system is set to the value required by the island microgrid load;
[0038] (3) If the charge amount of the energy storage system is less than or equal to the maximum power generation of the uncontrollable power generation system, the diesel power generation system does not generate electricity; the uncontrollable power generation system includes a wave and tidal power generation system, a solar power generation system, and a wind power generation system;
[0039] Step 4.4: Update the inertia weight coefficient using the following formula:
[0040] w=w start -t(w start -w end ) / T (8)
[0041] Among them, w represents the inertia weight coefficient, w start represents the initial inertia weight coefficient, t represents the tth moment, w end represents the final inertia weight coefficient, and T represents an update cycle;
[0042] Step 4.5, determine whether the number of iterations reaches the set number of iterations. If so, obtain the minimum value of the particle swarm fitness and the corresponding hourly charging and discharging active power of the energy storage system and the hourly output active power of the diesel generator system. Otherwise, return to step 4.2;
[0043] Step 4.6, obtain the total output power of the tidal power generation system, the solar power generation system, and the wind power generation system per hour, and determine whether the total output power exceeds the load requirement of the island microgrid. If so, control the total output power according to the difficulty of operating each of the above power generation systems. Otherwise, adjust the hourly charging and discharging active power of the energy storage system and the hourly output active power of the diesel power generation system to meet the load requirement of the island microgrid;
[0044] Step 4.7: The operating status of each power generation system after adjusting the output power is used as the optimal operating plan of the island microgrid.
[0045] Advantages of the present invention:
[0046] The present invention applies the intelligent microgrid to the power supply of the island, solves the problem that the island is far away from the mainland and the power supply of the power grid is difficult to reach, and makes use of the abundant wave and tidal energy, solar energy and wind energy on the island; the central controller of each power generation unit controls the stability of the voltage and frequency of its independent power generation system respectively, and the filter eliminates the harmonic interference of each independent power generation system and the harmonic interference on the bus of the entire intelligent microgrid system, and can perform instantaneous reactive power compensation adjustment together with the supercapacitor; the time-of-use electricity price is added to the island microgrid for modeling, and the improved PSO algorithm with an increased inertia weight coefficient is used to solve the established model, which has a strong optimization ability, is simple and universal, has strong robustness, high accuracy and fast convergence, and has a strong advantage in solving the problem of microgrid optimization scheduling, avoids the algorithm from falling into the local optimum, improves the calculation accuracy, and the optimization scheme finally obtained can make each power generation system operate economically and reduce the operating cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 This is a flow chart of an island microgrid operation optimization method based on time-of-use electricity price according to an embodiment of the present invention;
[0048] Figure 2 The diagram is a structural diagram of an island microgrid system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] An embodiment of the present invention is further described below with reference to the accompanying drawings.
[0050] In the embodiment of the present invention, the island microgrid operation optimization method based on time-of-use electricity price is as follows: Figure 1 As shown, the following steps are included:
[0051] Step 1: Figure 2 As shown in the figure, according to actual needs, an island smart microgrid system is constructed, including a tidal power generator, a photovoltaic panel, a wind turbine, a diesel generator, a battery, multiple central controllers, an intelligent dispatching system and a filter; wherein, the tidal power generator, the photovoltaic panel, the wind turbine and the diesel generator are four independent power generation units, each power generation unit is equipped with a central controller, and the intelligent dispatching system is responsible for sending dispatching instructions to the central controller, and the central controller controls the voltage and frequency stability of the tidal power generator, the photovoltaic panel, the wind turbine and the diesel generator; a hybrid active power dynamic filter (HAPDF) is installed on the bus and each power generation unit of the microgrid system to purify the harmonics on the bus, eliminate the harmonic interference of each power generation unit, and can be used together with the supercapacitor to perform instantaneous reactive power compensation adjustment;
[0052] Step 2: Obtain the output power of the wave and tidal generator, the output power of the photovoltaic panel, the output power of the wind turbine, the fuel consumption cost of the diesel generator, the state of charge of the battery, the island microgrid time-of-use electricity price, and the relationship between the island microgrid time-of-use electricity price and load power consumption every hour of the day, as follows:
[0053] 2.1. Establish the power output model of the wave and tidal energy generator, the formula is as follows:
[0054]
[0055] Where P1(t) represents the output power of the wave tidal energy generator, t represents the tth moment, and ρ represents the seawater density (kg / m 3 ), g represents gravitational acceleration, π represents pi, λ represents the wavelength of the wave (m), A represents the wave height (m), ω represents the angular velocity of the wave (rad / s), and α represents the initial phase angle of the wave (rad);
[0056] 2.2. Establish the power output model of photovoltaic panels, the formula is as follows:
[0057]
[0058] Among them, P2 represents the actual output power of the photovoltaic panel (kW), STC represents the standard test condition (Standard Test Condition), P STC Indicates the maximum output power (kW) of the photovoltaic panel under standard test conditions, G ING Indicates the actual solar radiation intensity (W / m 2 ), G STC Indicates the solar radiation intensity under standard test conditions (W / m 2 ), k represents the power temperature coefficient (% / ℃), T c Indicates the actual temperature of the photovoltaic panel (℃), T r Indicates the rated temperature of the photovoltaic panel (℃);
[0059] 2.3. Establish the power output model of the wind turbine generator, the formula is as follows:
[0060]
[0061] Where P3 represents the mechanical output power of the wind turbine, ρ air represents the air density (g / L), R represents the blade radius of the wind turbine (m), v represents the wind speed at the tip of the wind turbine (m / s), C p It indicates the wind energy utilization coefficient of the wind turbine;
[0062] 2.4. Establish the fuel consumption cost model of diesel generators. The formula is as follows:
[0063]
[0064] Among them, F represents the fuel consumption cost of the diesel generator, a t represents the cost factor of high-speed diesel generators, b t represents the cost factor of medium-speed diesel generators, P 4-t represents the output active power of the diesel generator at time t, c t Indicates the cost factor of a low-speed diesel generator;
[0065] 2.5. Establish the relationship model between the battery state of charge and power. The formula is as follows:
[0066]
[0067] Among them, SOC t+1 Indicates the state of charge of the battery at time t+1, SOC t represents the state of charge of the battery at time t, P bat-t represents the charging and discharging active power of the battery at time t, Q bat Indicates the total capacity of the battery (Ah);
[0068] 2.6. Establish a mathematical model for demand response. Considering the large difference in load between day and night in the island microgrid, in order to balance the difference between peak and valley, a load demand response model based on time-of-use electricity price is introduced. On the basis of the normal electricity price, the electricity prices for peak, valley and normal periods are formulated, which are expressed as:
[0069]
[0070] Among them, Q p represents the peak electricity price, Q v represents the off-peak electricity price, Q f represents the normal electricity price, φ p represents the peak electricity price adjustment coefficient, φ v It represents the adjustment coefficient of off-peak electricity price;
[0071] When adopting the time-of-use electricity price strategy, the user consumption of the island microgrid will change with the fluctuation of electricity prices and the change of time. The introduction of the elasticity matrix can analyze the changes in electricity prices and load power consumption during this period. Under the condition of supply and demand balance, the load demand response model can be expressed as:
[0072]
[0073] Among them, P(i) represents the actual load demand of the island microgrid, P0(i) represents the power consumption before the migration, ΔQ(i) represents the difference in electricity prices before and after the migration, ΔP(i) represents the difference in electricity before and after the migration, Q0(i) represents the electricity price at time i during the normal use period of the island microgrid, Q0(j) represents the electricity price at time j during the normal use period of the island microgrid, and Q(j) represents the electricity price at time j after the migration;
[0074] Step 3: Determine the variables to be optimized, including the output active power of the diesel generator and the charging and discharging active power of the battery for 24 hours a day, and establish an optimization scheduling model with the goal of minimizing the operating cost of the microgrid within a day;
[0075] In the embodiment of the present invention, considering that the wave and tidal energy, wind energy and solar energy are intermittent energy sources, the input power is uncontrollable and cannot be used as an optimization variable, but can only be used as a prediction variable; while the input and output power of the diesel generator are controllable, and the diesel engine consumes fuel, and the fuel cost is the main reference factor for economic scheduling, so its scheduling variable, that is, the optimization variable, selects the input active power of the diesel generator for 24 hours a day; since the charging and discharging power of the battery is adjustable, the optimization variable is the charging and discharging active power of the battery for 24 hours a day;
[0076] The optimization scheduling model includes an objective function and corresponding constraints with the goal of minimizing the operating cost of the island microgrid; the constraints include power balance constraints, battery state of charge constraints, and power generation capacity constraints of each power generation unit;
[0077] The objective function is as follows:
[0078]
[0079] Among them, M ope represents the operating cost of the island microgrid, M OM (P j ) represents the operation and maintenance cost of each power generation unit, M bat Represents the replacement cost of the battery, M OM (P 1-t ) represents the operation and maintenance cost of the wave and tidal energy generator, M OM (P 2-t ) represents the operation and maintenance cost of photovoltaic panels, M OM (P 3-t ) represents the operation and maintenance cost of wind turbines, M OM (P 4-t ) represents the operation and maintenance cost of the diesel generator, F represents the fuel consumption cost of the diesel generator, K OMj Represents the operation and maintenance coefficient of each power generation unit, P jIt represents the output power of each power generation unit, s represents the purchase cost of the battery, n represents the number of charge and discharge cycles of the battery, and p represents the number of charge and discharge cycles of the battery within 24 hours of a day;
[0080] The constraints are as follows:
[0081] (1) Power balance constraint: The total power output of each power generation system in the island microgrid system must meet the load demand. The formula is as follows:
[0082] P 1-t +P 2-t +P 3-t +P 4-t =P load-t (4)
[0083] Among them, P load-t represents the load demand active power of the island microgrid system at time t, P 1-t represents the output active power of the wave and tidal energy generator at time t, P 2-t Represents the output active power of the photovoltaic panel at time t, P 3-t Represents the output active power of the wind turbine at time t, P 4-t represents the output active power of the diesel generator at time t;
[0084] (2) Battery state of charge constraints, as follows:
[0085] (2.1) During a dispatch cycle, the battery’s state of charge at the beginning and end of the period should remain consistent, as shown in the following formula:
[0086] SOC o =SOC 24 (5)
[0087] Among them, SOC o Indicates the initial battery state of charge, SOC 24 Indicates the battery state of charge at the end of the period;
[0088] (2.2) The upper and lower limits of the battery's state of charge are constrained, and the formula is as follows:
[0089] SOC min ≤SOC t ≤SOC max (6)
[0090] Among them, SOC min Indicates the lower limit of the battery's state of charge, SOC max Indicates the upper limit of the battery's state of charge, SOC i Indicates the state of charge of the battery at time t;
[0091] (3) Power generation capacity constraint of each power generation unit: The upper and lower limits of the actual output power of each power generation unit are constrained. The formula is as follows:
[0092] P j-min ≤P j ≤P j-max (7)
[0093] Among them, P j-min Represents the lower limit of power generation capacity, P j-max Indicates the upper limit of power generation capacity;
[0094] Step 4: Use the improved particle swarm optimization (PSO) algorithm to solve the optimization scheduling model to obtain the optimal result, and use the operating status of each power generation system corresponding to the optimal result as the optimal operation plan of the island microgrid, including the following steps:
[0095] Step 4.1, initialize the particle swarm, set the number of iterations to 300 times, the initial inertia weight coefficient to 0.9, the population size to 20, the maximum value of each particle speed to 0.05, the minimum value to -0.05, the learning constant to 1.49445, and the battery state of charge (SOC) = 0.8; set the maximum and minimum values of the state of charge of the battery, wave and tidal energy generator, photovoltaic panel, wind turbine, and diesel generator within a day, set the power forecast of the wind turbine, wave and tidal energy generator, and photovoltaic panel, and set the forecast of the peak electricity price and the valley electricity price of the island;
[0096] Step 4.2, randomly generate particles of the population size number, that is, the state of charge value of the battery every hour in a day, obtain the charging and discharging active power of the battery every hour, and then obtain the net load value of the battery every hour, and obtain the output active power of the diesel generator every hour according to the charging and discharging active power of the battery every hour and the net load value; the net load value is defined as the load value after deducting the power output of the renewable energy power generation system from the actual load value of the island microgrid, and the renewable energy power generation system includes photovoltaic panels, wind turbines and diesel generators;
[0097] Step 4.3: Update the particle swarm according to the constraints set in step 3 and the iteration speed set in step 4.1. The specific steps are as follows:
[0098] Step 4.3.1, determine whether the net load value of the battery per hour is less than 0. When the net load value of the energy storage system per hour is less than 0, that is, the renewable energy power generation unit meets the load demand of the island microgrid. If so, execute the next step, otherwise, return to step 4.2;
[0099] Step 4.3.2: To ensure that the battery is charged within this time period, determine whether the state of charge value of the battery at the beginning of each hour in a day is less than or equal to the state of charge value at the end of each hour. If so, proceed to the next step; otherwise, return to step 4.2;
[0100] Step 4.3.3, determine whether the hourly discharge of the battery is greater than the required value of the island microgrid load. If so, force the discharge of the battery to be the required value of the island microgrid load. Otherwise, return to step 4.2;
[0101] Step 4.3.4: Calculate the 24-hour input active power P of the diesel generator according to the battery's hourly charge and discharge active power and net load value. 4-t , determine whether the charge of the battery is less than or equal to the maximum power generation of the uncontrollable power generation system. If so, the diesel generator does not generate electricity. Otherwise, return to step 4.2; the uncontrollable power generation system includes a wave tidal power generator, a photovoltaic panel and a wind turbine;
[0102] Step 4.4, update the inertia weight coefficient w, using the following formula:
[0103] w=w start -t(w start -w end ) / T (8)
[0104] Among them, w represents the inertia weight coefficient, w start represents the initial inertia weight coefficient, t represents the tth moment, w end represents the final inertia weight coefficient, and T represents an update cycle;
[0105] In the embodiment of the present invention, w is the most important parameter for improvement in the particle swarm algorithm. The size of w determines the global and local search capabilities of the particles. When w is gradually reduced from high to low in [0.4, 0.9], the algorithm converges quickly, and when w is greater than 1.2, the algorithm is prone to fall into the local optimum. Therefore, the inertia weight coefficient w is updated to avoid the above defects.
[0106] Step 4.5, determine whether the number of iterations reaches 300 times. If so, obtain the minimum value of the particle swarm fitness and find the particle with the minimum fitness (the state of charge value of the battery). At this time, the operating cost of the island microgrid is the lowest, and the corresponding battery charging and discharging active power per hour and the diesel generator output active power per hour are obtained. Otherwise, return to step 4.2;
[0107] Step 4.6, obtain the total output power of the wave and tidal energy generator, photovoltaic panel, and wind turbine per hour, and determine whether the total output power exceeds the load requirement of the island microgrid. If so, limit its power output to meet the supply and demand balance. The principle is: stop the unit with a larger maintenance coefficient first, and stop the unit with a smaller maintenance coefficient last. Otherwise, adjust the battery charging and discharging active power per hour and the diesel generator output active power per hour to meet the load requirement of the island microgrid;
[0108] Step 4.7: The operating status of each power generation unit after adjusting the output power is used as the optimal operating plan of the island microgrid.
Claims
1. A method for optimizing the operation of an island microgrid based on time-of-use electricity prices, characterized in that: The following steps are involved: Step 1: According to actual needs, a microgrid system is constructed on the island, including a wave and tidal power generation system, a solar power generation system, a wind power generation system, a diesel power generation system, an energy storage system, a central controller, an intelligent dispatching system and a filter; the intelligent dispatching system is used to send dispatching instructions to the central controller, the central controller controls each power generation system to generate electricity, and the filter is used to eliminate harmonic interference between each power generation system; Step 2, obtaining the output power of the tidal power generation system, the output power of the solar power generation system, the output power of the wind power generation system, the fuel consumption cost of the diesel power generation system, the charge state of the energy storage system, the island microgrid time-of-use electricity price, and the relationship between the island microgrid time-of-use electricity price and load power consumption; Step 3: Determine the variables to be optimized, including the output active power of the diesel power generation system and the charging and discharging active power of the energy storage system, and establish an optimization scheduling model with the goal of minimizing the operating cost of the island microgrid; Step 4: Use the particle swarm algorithm to solve the optimization scheduling model to obtain the optimal result, and use the operating status of each power generation system corresponding to the optimal result as the optimal operation plan of the island microgrid; Step 2 is to obtain the relationship between the island microgrid time-of-use electricity price and load power consumption, using the following formula: Among them, P(i) represents the actual load demand of the island microgrid, P0(i) represents the power consumption before the migration, ΔQ(i) represents the difference in electricity prices before and after the migration, ΔP(i) represents the difference in electricity before and after the migration, Q0(i) represents the electricity price at time i during the normal use period of the island microgrid, Q0(j) represents the electricity price at time j during the normal use period of the island microgrid, and Q(j) represents the electricity price at time j after the migration; The optimization scheduling model described in step 3 includes an objective function and corresponding constraints with the goal of minimizing the operating cost of the island microgrid; the constraints include power balance constraints, state of charge constraints of the energy storage system, and power generation capacity constraints of each power generation system; the objective function is as follows: Among them, M ope represents the operating cost of the island microgrid, M OM (P j ) represents the operation and maintenance cost of each power generation unit, M bat Represents the replacement cost of the battery, M OM (P 1-t ) represents the operation and maintenance cost of the wave and tidal energy generator, M OM (P 2-t ) represents the operation and maintenance cost of photovoltaic panels, M OM (P 3-t ) represents the operation and maintenance cost of wind turbines, M OM (P 4-t ) represents the operation and maintenance cost of the diesel generator, F represents the fuel consumption cost of the diesel generator, K OMj Represents the operation and maintenance coefficient of each power generation unit, P j It represents the output power of each power generation unit, s represents the purchase cost of the battery, n represents the number of charge and discharge cycles of the battery, and p represents the number of charge and discharge cycles of the battery within 24 hours of a day; The constraints are as follows: (1) Power balance constraint: The total power output of each power generation system in the island microgrid system must meet the load demand. The formula is as follows: P 1-t +P 2-t +P 3-t +P 4-t =P load-t (4) Among them, P load-t represents the load demand active power of the island microgrid system at time t, P 1-t represents the output active power of the wave and tidal energy generator at time t, P 2-t Represents the output active power of the photovoltaic panel at time t, P 3-t Represents the output active power of the wind turbine at time t, P 4-t represents the output active power of the diesel generator at time t; (2) The state of charge constraints of the energy storage system are as follows: (2.1) During a dispatch cycle, the state of charge of the energy storage system at the beginning and end of the period should be consistent, and the formula is as follows: SOCIETY o =SOC 24 (5) Among them, SOC o Indicates the initial battery state of charge, SOC 24 Indicates the battery state of charge at the end of the period; (2.2) The upper and lower limits of the state of charge of the energy storage system are constrained, and the formula is as follows: SOC min ≤SOC t ≤SOC max (6) Among them, SOC min Indicates the lower limit of the battery's state of charge, SOC max Indicates the upper limit of the battery's state of charge, SOC i Indicates the state of charge of the battery at time t; (3) Generation capacity constraints of each power generation system: The upper and lower limits of the actual output power of each power generation system are constrained. The formula is as follows: P j-min ≤P j ≤P j-max (7) Among them, P j-min Represents the lower limit of power generation capacity, P j-max Indicates the upper limit of power generation capacity.
2. The island microgrid operation optimization method based on time-of-use electricity price according to claim 1 is characterized in that: The time-of-use electricity price of the island microgrid described in step 2 is obtained using the following formula: Among them, Q p represents the peak electricity price, Q v represents the off-peak electricity price, Q f represents the normal electricity price, Φ p represents the peak electricity price adjustment coefficient, Φ v Represents the off-peak electricity price adjustment coefficient.
3. The island microgrid operation optimization method based on time-of-use electricity price according to claim 1 is characterized by: The particle swarm algorithm described in step 4 is used to solve the optimization scheduling model to obtain the optimal result, including the following steps: Step 4.1, initialize the particle swarm, set the number of iterations, the population size, the maximum and minimum values of the iteration speed, the state of charge value of the energy storage system per hour within a day, the learning constant and the initial inertia weight coefficient, set the maximum and minimum values of the state of charge of the energy storage system, the wave and tidal power generation system, the solar power generation system, the wind power generation system and the diesel power generation system per hour within a day, set the power forecast of the wind power generation system, the wave and tidal power generation system and the solar power generation system per hour within a day, and set the forecast of the peak electricity price and the valley electricity price of the island microgrid; Step 4.2, randomly generate particles of a population size number, that is, the state of charge value of the energy storage system every hour within a day, obtain the charging and discharging active power of the energy storage system every hour, and then obtain the net load value of the energy storage system every hour, and obtain the output active power of the diesel power generation system every hour according to the charging and discharging active power and net load value of the energy storage system every hour; the net load value is the difference between the actual load value of the island microgrid and the load value of the renewable energy power generation system, and the renewable energy power generation system includes a solar power generation system, a wind power generation system and a diesel power generation system; Step 4.3, set the restriction conditions for particle swarm update, and update the particle swarm according to the set restriction conditions and iteration speed; the restriction conditions are as follows: (1) The net load value of the energy storage system per hour is less than 0, and the state of charge of the energy storage system at the beginning of each hour of the day is less than or equal to the state of charge at the end of each hour; (2) When the discharge capacity of the energy storage system is greater than the load requirement of the island microgrid, the discharge value of the energy storage system is set to the value required by the island microgrid load; (3) If the charge amount of the energy storage system is less than or equal to the maximum power generation of the uncontrollable power generation system, the diesel power generation system does not generate electricity; the uncontrollable power generation system includes a wave and tidal power generation system, a solar power generation system, and a wind power generation system; Step 4.4, update the inertia weight coefficient; Step 4.5, determine whether the number of iterations reaches the set number of iterations. If so, obtain the minimum value of the particle swarm fitness and the corresponding hourly charging and discharging active power of the energy storage system and the hourly output active power of the diesel generator system. Otherwise, return to step 4.2; Step 4.6, obtain the total output power of the tidal power generation system, the solar power generation system, and the wind power generation system per hour, and determine whether the total output power exceeds the load requirement of the island microgrid. If so, control the total output power according to the difficulty of operating each of the above power generation systems. Otherwise, adjust the hourly charging and discharging active power of the energy storage system and the hourly output active power of the diesel power generation system to meet the load requirement of the island microgrid; Step 4.7: The operating status of each power generation system after adjusting the output power is used as the optimal operating plan of the island microgrid.
4. The island microgrid operation optimization method based on time-of-use electricity price according to claim 3 is characterized by: The updated inertia weight coefficient described in step 4.4 uses the following formula: W=W start -t(W start -W end ) / T (8) Where W represents the inertia weight coefficient, W start represents the initial inertia weight coefficient, t represents the tth moment, W end Represents the final inertia weight coefficient, and T represents an update cycle.
