Energy control optimization method based on user side, medium and equipment
Patent Information
- Application Number
- CN202410766236.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-14
Smart Images

Figure CN118783452A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy allocation, and in particular to a user-side based energy control optimization method, medium and device. Background Art
[0002] At present, the scale of distributed photovoltaic installation in my country will continue to maintain a rapid growth momentum. With the help of scientific and technological innovation, distributed photovoltaics will also be deeply integrated with the new power system, playing an increasingly significant role in achieving green and low-carbon energy transformation. Therefore, in response to the call and considering the particularity of transportation hubs, first-tier cities across the country have built a number of "distributed new energy + energy storage + microgrid" smart energy system engineering projects in scenes such as highways, water service areas, port terminals, and hub stations. Building an ecological green transportation hub with new energy as the main body has gradually become the current development trend. The traditional highway service area power supply system generally uses city electricity, and with the rapid development of distributed power generation units, many flexible loads and intelligent fusion equipment together form a multi-integrated microgrid. Therefore, how to ensure that the new highway service area meets safety constraints while making it green and intelligent has become a hot issue in current research.
[0003] Considering that multiple flexible loads in new highway service areas are also a nonlinear programming problem, the existing technology can achieve preliminary control of flexible loads, but the consideration of flexible loads is relatively simple, and does not involve the coordinated optimization operation between multiple flexible loads, nor does it consider the energy economy of the user side from the user side. In addition, although the existing technology provides different optimization ideas for flexible load control, in dealing with mixed discrete-continuous nonlinear optimization problems, the above methods still have limitations such as large workload and easy to fall into local optimal solutions.
[0004] Therefore, there is an urgent need to provide a more efficient and reasonable user-side energy control optimization method to solve the problems existing in the existing technology. Summary of the invention
[0005] The purpose of the present invention is to provide a more efficient and reasonable energy control optimization method based on the user side, and its specific technical solution is as follows:
[0006] A method for optimizing energy control based on a user side comprises the following steps:
[0007] Establish a flexible load control model for the user side including one-way interactive flexible load and two-way interactive flexible load;
[0008] Taking the economic cost on the user side, the photovoltaic absorption rate and the comfort of the leisure and entertainment room as joint goals, the photovoltaic system and the energy storage system are considered, and an optimization control model involving multiple flexible loads is established;
[0009] Establish constraints for multivariable combinations;
[0010] The Latin square model and PSO model are integrated into the LSPSO multi-model integration method to quickly search the optimal feasible region and obtain the optimal control solution.
[0011] Furthermore, the flexible load control model is specifically:
[0012] According to the energy interaction mode, the flexible load is divided into two-way interactive flexible load and one-way interactive flexible load;
[0013] Among all energy users in the highway service area, a one-way interactive flexible load control model is established based on the reducible loads including central air conditioning, heating equipment, building lighting, some small commercial users and advertisements as follows:
[0014]
[0015] Where L represents the load reduction of power users, represents the maximum value of the one-way interactive power load reduction, represents the reduction of one-way power load in the highway service area system in the tth period;
[0016] In the highway service area, a two-way interactive flexible load control model including electric vehicle load is established. The charging and discharging status of electric vehicles voluntarily connected to the highway service area microgrid is expressed as follows:
[0017]
[0018] In the formula, Q EV (t) is the electric power of the electric vehicle at time t, ω is the charging and discharging efficiency, P EV is the charging and discharging power of the electric vehicle, Δt is the time interval, x EV (t) is the decision variable, 1 means the electric vehicle is charged or discharged during period t, and 0 means it is not involved in the control.
[0019] Furthermore, the method of considering photovoltaic consumption and energy storage system is as follows:
[0020] In highway service areas, each lounge or entertainment room rooftop is equipped with a distributed solar photovoltaic system, provided that the reflection of the photovoltaic modules does not affect the safety of transportation.
[0021] By adding an energy storage system to the photovoltaic system, the power control of the highway service area is as follows:
[0022] Photovoltaic power generation first meets the daily use of highway service areas. If the photovoltaic power generation is greater than the daily available load, it is stored through energy storage equipment or electric vehicles;
[0023] Highway service areas choose to charge at valley price times at night based on the charging and discharging conditions of buses, taxis and special official vehicles with shiftable load characteristics. If the passenger flow, weather conditions or insufficient power of the energy storage system on the previous day are known in advance, appropriate discharge will be chosen for coordinated control.
[0024] Furthermore, the steps of establishing an optimization control model involving multiple flexible loads are as follows:
[0025] The goal is to minimize the user-side energy cost, including the cost of purchasing electricity from the power grid, the cost of charging electric vehicles, the cost of discharging electric vehicles, and the cost of battery loss during charging and discharging of energy storage devices. The user-side economic cost objective function is expressed as follows:
[0026]
[0027] In the formula, C1 is the cost of purchasing electricity from the power grid; B(t) is the electricity price at the time period t; P t is the power consumption; C2 is the charging cost of the electric vehicle when it is under control; Q(t) is the electricity purchase price of the electric vehicle when it is charged at time period t; x EV,in,n (t) takes 1, indicating that the electric vehicle user accepts the dispatch during the charging period, otherwise it takes 0; P max is the maximum charging power; α is the compensation rate (α>1); N is the number of electric vehicles; C3 is the cost of electric vehicle discharge when the electric vehicle discharge is controlled; P EV,in,n and P EV,out,n are the power of electric vehicle users when charging and discharging; x EV,out,n (t) takes 1 to indicate that the electric vehicle user accepts the dispatch during the discharge period, otherwise it takes 0; C4 is the cost of the battery loss of the energy storage device charging and discharging; The power used to charge and discharge the energy storage device; β ess is the cost coefficient of battery loss for charging and discharging the energy storage device; Δt is the time interval; T is the control period;
[0028] Taking the maximum photovoltaic consumption as the goal, the photovoltaic consumption objective function is as follows:
[0029]
[0030] Where P s It is a one-way interactive flexible load; P pv is the photovoltaic power generation; P c ess For charging loss; is the discharge loss;
[0031] The room temperature comfort is introduced, which is expressed by weighting the deviation between the current room temperature and the standard room temperature. If the objective function is smaller, it means the deviation is lower and the room temperature comfort is higher. The room temperature comfort objective function is as follows:
[0032]
[0033] Where, T p Indicates the current room temperature, T c It means that the temperature is artificially set to adapt to comfort.
[0034] Furthermore, the constraints of the multivariable combination include:
[0035] a. Comfort temperature constraint: The air conditioner is used as the comfort temperature adjustment device. Within the acceptable range of human body temperature, its adjustment power meets the following constraints:
[0036] T min ≤T t ≤T max ;
[0037] 0≤P t ≤P max ac ;
[0038] Where T t is the indoor temperature after air conditioning, T min and T max are the lowest and highest indoor temperatures acceptable to the human body, P t is the regulating power of the air conditioner, P max ac The maximum value of the air conditioner's allowed power;
[0039] b. Supply and demand balance constraints in highway service areas. The input power of each highway service area should match the output power. When the load power is less than the power of the power generation unit, the supply and demand balance equation constraints in the traffic power system are established as follows:
[0040] P pv (t)+P ess (t)+P ev (t) = P s (t);
[0041] Where P pv (t) is the output power of the distributed generation at time t; P ess (t) is the output / input power of the energy storage system at time t; P ev (t) is the power of the electric vehicle charged or discharged at time t; Ps (t) is the power consumed by the system load at time t;
[0042] c. Constraints on the working state of the energy storage system. In actual situations, the energy storage system cannot be charged and discharged at the same time, so the following constraints must be met:
[0043] 0≤|x ess,in,n (t)|+|x ess,out,n (t)|≤1;
[0044] In the formula, x ess,in,n (t) and x ess,out,n (t) is the charge and discharge state of the system at time t;
[0045] d. Electric vehicle battery capacity SOC constraints:
[0046] SOC min <<SOC i (t)<<SOC max ;
[0047] Where SOC i (t) is the remaining capacity of the battery at time t, SOC min and SOC max They are the minimum and maximum capacity limits of the battery power respectively;
[0048] e. Rooftop PV output constraints. Considering the randomness and volatility of rooftop PV systems, their PV output must be less than or equal to the maximum value of the advance PV forecast. For this purpose, the following constraints are established:
[0049] 0≤P PV ≤P max ;
[0050] Furthermore, the LSPSO multi-model integration method is as follows:
[0051] Step ①, based on the optimization control model and constraints, the Latin square sampling model is used to generate the initial parameters of the objective function;
[0052] Step ②, use the initial parameters as the initial population of the particle swarm algorithm;
[0053] Step ③, set the fitness function as an indicator to evaluate the quality of particles;
[0054] Step ④: Use particle swarm algorithm for iterative optimization;
[0055] Step ⑤, update the particle swarm;
[0056] Step ⑥: Evaluate the optimization results to determine whether the termination conditions are met; if so, obtain the optimal control solution; if not, adjust according to the actual situation and return to step ④.
[0057] Furthermore, the termination condition is:
[0058] The maximum number of iterations is reached or the objective function value change is less than the set threshold.
[0059] Furthermore, the LSPSO multi-model integration method also includes:
[0060] After obtaining the optimal control solution, check whether it meets the constraints and actual requirements.
[0061] The application of the technical solution of the present invention has the following beneficial effects:
[0062] A user-side energy control optimization method includes the following steps: establishing a flexible load control model for the user side including a one-way interactive flexible load and a two-way interactive flexible load; taking the economic cost, photovoltaic absorption rate and comfort of the leisure and entertainment room as joint targets, considering the photovoltaic system and the energy storage system, and establishing an optimization control model involving multiple flexible loads; establishing multi-variable joint constraint conditions; integrating the Latin square model and the PSO model into an LSPSO multi-model integration method, quickly searching for the optimal feasible domain, and obtaining the optimal control solution. The present invention constructs mathematical models of one-way interactive and two-way interactive flexible loads from the energy interaction mode, and takes the energy cost of the user side as the target to establish a coordinated control operation model of the user side considering flexible load scheduling. This model is to solve a mixed nonlinear optimization problem with both discrete and continuous data. The Latin square model is combined with the particle swarm algorithm to integrate into the Latin square particle swarm algorithm. The combination of the Latin square and the PSO particle swarm algorithm can be integrated into the LSPSO multi-model integration method. The LSPSO model proposed in this invention has a faster convergence speed in the example, which proves that it can better adapt to the discrete-continuous mixed data environment, thus forming a certain advantage in optimization efficiency. Finally, based on the flexible load historical data of a microgrid in a service area, an example simulation analysis is implemented. The simulation results demonstrate that the proposed method has strong robustness and fast convergence in the context of discrete-continuous mixed input data, verifying the effectiveness of the proposed scheme.
[0063] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the above-mentioned user-side-based energy control optimization method.
[0064] The present invention also provides an electronic device, comprising:
[0065] processor;
[0066] and a memory for storing executable instructions for the processor;
[0067] Wherein, the processor is configured to execute the above-mentioned user-side based energy control optimization method by executing the executable instructions.
[0068] In addition to the above-described objects, features and advantages, the present invention has other objects, features and advantages. The present invention will be further described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0070] Figure 1 is a flow chart of a user-side-based energy control optimization method according to an embodiment of the present invention;
[0071] Figure 2 This is a graph of photovoltaic output and load before optimization in the embodiment;
[0072] Figure 3 The effect diagrams before and after optimization in the embodiment;
[0073] Figure 4 It is a graph showing the energy storage charging and discharging power and electricity price fluctuation in the embodiment;
[0074] Figure 5 This is the load curve diagram after optimization in the embodiment. DETAILED DESCRIPTION
[0075] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0076] Example:
[0077] refer to Figure 1 , an energy control optimization method based on the user side, comprising the following steps:
[0078] Step 1: Taking the economic cost on the user side, the photovoltaic consumption rate and the comfort level of the leisure and entertainment room as joint objectives, considering the photovoltaic system and the energy storage system, an optimization control model involving multiple flexible loads is established;
[0079] Among them, the goal is to minimize the energy consumption cost on the user side, including the cost of purchasing electricity from the power grid, the cost of charging electric vehicles, the cost of discharging electric vehicles, and the cost of battery loss during charging and discharging of energy storage devices. The user side economic cost objective function is expressed as follows:
[0080]
[0081] In the formula, C1 is the cost of purchasing electricity from the power grid; B(t) is the electricity price at the time period t; P t is the power consumption; C2 is the charging cost of the electric vehicle when it is under control; Q(t) is the electricity purchase price of the electric vehicle when it is charged at time period t; x EV,in,n (t) takes 1, indicating that the electric vehicle user accepts the dispatch during the charging period, otherwise it takes 0; P max is the maximum charging power; α is the compensation rate (α>1); N is the number of electric vehicles; C3 is the cost of electric vehicle discharge when the electric vehicle discharge is controlled; P EV,in,n and P EV,out,n are the power of electric vehicle users when charging and discharging; x EV,out,n (t) takes 1 to indicate that the electric vehicle user accepts the dispatch during the discharge period, otherwise it takes 0; C4 is the cost of the battery loss of the energy storage device charging and discharging; The power used to charge and discharge the energy storage device; β ess is the cost coefficient of battery loss in charging and discharging of the energy storage device; Δt is the time interval; T is the control period; in this embodiment, 24 hours a day is used as a control period, and each hour is a control interval.
[0082] Taking the maximum photovoltaic consumption as the goal, the photovoltaic consumption objective function is as follows:
[0083]
[0084] Where P s It is a one-way interactive flexible load; P pv is the photovoltaic power generation; For charging loss; is the discharge loss;
[0085] Due to the high density of people in highway service areas, the comfort level is largely determined by the heat dissipation of passengers, so the power consumption of air conditioning load also changes accordingly. For this reason, room temperature comfort is introduced, which is expressed by the deviation between the current room temperature and the standard room temperature. If the objective function is smaller, the deviation is lower and the room temperature comfort is higher. The room temperature comfort objective function is as follows:
[0086]
[0087] Where, T p Indicates the current room temperature, T c It means that the temperature is artificially set to adapt to comfort.
[0088] Among them, the specific method of considering photovoltaic consumption and energy storage system is:
[0089] In highway service areas, under the condition that the reflection of photovoltaic modules will not affect the safety of transportation, each lounge or entertainment room roof is equipped with a distributed solar photovoltaic system; at the same time, in order to meet the consumption of new energy and promote clean electricity transformation, energy storage systems are added on the basis of photovoltaic systems to promote the coordinated control of microgrids in highway service areas. Therefore, the power control situation of highway service areas is as follows:
[0090] 1) The load of highway service area includes rigid load and flexible load. The flexible load mainly considers central air conditioning and some lighting loads.
[0091] 2) Photovoltaic power generation first meets the daily use of highway service areas. If the photovoltaic power generation is greater than the daily available load, it will be stored through energy storage equipment or electric vehicles.
[0092] Highway service areas mainly consider the charging and discharging conditions of buses, taxis, and special official vehicles. They have the characteristics of shiftable loads and can choose to charge at night when the price is low. When the passenger flow, weather conditions, or insufficient power of the energy storage system on the previous day are known in advance, appropriate discharge measures can also be selected for coordinated control.
[0093] Step 2: Establish multi-variable joint constraints based on the supply and demand balance of highway service areas, the working status and capacity of the energy storage system, and the photovoltaic output, including:
[0094] a. Comfort temperature constraint: The air conditioner is used as the comfort temperature adjustment device. Within the acceptable range of human body temperature, its adjustment power meets the following constraints:
[0095] T min ≤T t ≤T max ;
[0096] 0≤P t ≤P max ac ;
[0097] Where T t is the indoor temperature after air conditioning, T min and T max are the lowest and highest indoor temperatures acceptable to the human body, P t is the regulating power of the air conditioner, P max ac is the maximum value of the air conditioner's allowable power; in this embodiment, 26°C is taken as the most comfortable human body temperature.
[0098] b. Supply and demand balance constraints in highway service areas. The input power of each highway service area should match the output power. When the load power is less than the power of the power generation unit, the supply and demand balance equation constraints in the traffic power system are established as follows:
[0099] P pv (t)+P ess (t)+P ev (t) = P s (t);
[0100] Where P pv (t) is the output power of the distributed generation at time t; P ess (t) is the output / input power of the energy storage system at time t; P ev (t) is the power of the electric vehicle charged or discharged at time t; P s (t) is the power consumed by the system load at time t;
[0101] c. Constraints on the working state of the energy storage system. In actual situations, the energy storage system cannot be charged and discharged at the same time, so the following constraints must be met:
[0102] 0≤|x ess,in,n (t)|+|x ess,out,n (t)|≤1;
[0103] In the formula, x ess,in,n (t) and x ess,out,n (t) is the charge and discharge state of the system at time t;
[0104] d. Electric vehicle battery capacity SOC constraints:
[0105] SOC min SOC i (t) SOC max ;
[0106] Where SOC i (t) is the remaining capacity of the battery at time t, SOC min and SOC max They are the minimum and maximum capacity limits of the battery power respectively;
[0107] e. Rooftop PV output constraints. Considering the randomness and volatility of rooftop PV systems, their PV output must be less than or equal to the maximum value of the advance PV forecast. For this purpose, the following constraints are established:
[0108] 0≤P PV ≤P max ;
[0109] Step 3: Establish a flexible load control model including a one-way interactive flexible load and a two-way interactive flexible load facing the user side;
[0110] The flexible load control model is specifically:
[0111] According to the energy interaction mode, the flexible load is divided into two-way interactive flexible load and one-way interactive flexible load;
[0112] Among all energy users in the highway service area, a one-way interactive flexible load control model is established based on the reducible loads including central air conditioning, heating equipment, building lighting, some small commercial users and advertisements as follows:
[0113]
[0114] Where L represents the load reduction of power users, represents the maximum value of the one-way interactive power load reduction, represents the reduction of one-way power load in the highway service area system in the tth period;
[0115] In the highway service area, a two-way interactive flexible load control model including electric vehicle load is established. The charging and discharging status of electric vehicles voluntarily connected to the highway service area microgrid is expressed as follows:
[0116]
[0117] In the formula, Q EV (t) is the electric capacity of the electric vehicle at time t, ω is the charging and discharging efficiency, P EV is the charging and discharging power of the electric vehicle, Δt is the time interval, x EV (t) is the decision variable, 1 means that the electric vehicle is charged and discharged during period t, and 0 means that it does not participate in the control. Whether to participate in the control of the transportation hub is determined by the time-of-use electricity price and the user's willingness.
[0118] Among them, two-way interactive flexible loads are optimized and controlled through incentives such as time-of-use electricity prices, and are mobile, with electric vehicles as typical representatives; one-way interactive flexible loads cannot feed back energy to highway service areas, but can achieve energy conservation and environmental protection through load reduction control strategies (such as fine-tuning of temperature and light intensity) on the premise of meeting user needs. Central air conditioning, heating equipment, building lighting, some small commercial users, advertising, etc. are typical representatives.
[0119] Step 4: Combine Latin Square and PSO and integrate them into LSPSO multi-model integration method to quickly search for the optimal feasible region in the discrete-continuous mixed data environment to obtain the optimal control result and improve the optimization efficiency. The LSPSO multi-model integration method is as follows:
[0120] Step 4.1, based on the optimization control model and constraints, the Latin square sampling model is used to generate the initial parameters of the objective function;
[0121] Step 4.2, use the initial parameters as the initial population of the particle swarm algorithm;
[0122] Step 4.3, set the fitness function as an indicator to evaluate the quality of particles;
[0123] Step 4.4, use particle swarm algorithm for iterative optimization;
[0124] Step 4.5, update the particle swarm;
[0125] Step 4.6: Evaluate the optimization results to determine whether the maximum number of iterations has been reached or the change in the objective function value is less than the set threshold; if satisfied, obtain the optimal control solution; if not satisfied, adjust according to the actual situation and return to step 4.
[0126] Step 4.7: Check whether the constraints and actual requirements are met.
[0127] In summary, according to each formula in the model, multiple parameters and variables on the right side of the formula are combined and controlled to make the variables on the left side of the formula reach the optimal value.
[0128] The LSPSO model proposed in the present invention has a faster convergence speed in the example, which proves that it can better adapt to the discrete-continuous mixed data environment, thus forming a certain advantage in optimization efficiency. From the energy interaction mode, the mathematical model of one-way interactive and two-way interactive flexible loads is constructed, and the user-side energy cost is taken as the target to establish the coordinated control operation model considering flexible load scheduling on the user side. This model is to solve the mixed nonlinear optimization problem with both discrete and continuous data. The Latin square model is combined with the particle swarm algorithm to integrate it into the Latin square particle swarm algorithm. Combining the Latin square and PSO particle swarm algorithm, it can be integrated into the LSPSO multi-model integration method. Latin square processing is used between the single-cut crossover operation and the mutation operation process, and the penalty function is applied to the constraints in the fitness calculation process. Finally, based on the historical data of flexible loads in a microgrid in a service area, an example simulation analysis is implemented. The simulation results demonstrate that the proposed method has strong robustness and fast convergence in the context of discrete-continuous mixed input data, and verify the effectiveness of the proposed scheme.
[0129] According to the data of a certain high-speed service area, the parameters of the transportation hub microgrid are as follows:
[0130] The present invention refers to a charging price of an electric vehicle, sets Δt to 1h; N to 100 electric vehicles; α compensation rate to 1.2; maximum charging power P max 240kw, β ess The cost coefficient of the battery loss of the energy storage device charging and discharging is 0.25; the unit price of electricity purchased by the power grid company Q(t) is determined according to the electricity price at the time of use (unit: yuan / kWh), refer to the following table:
[0131]
[0132]
[0133] Taking the data of a certain day as an example, the 24-hour photovoltaic output curve and the daily load curve of that day are as follows: Figure 2 As shown, the unit is kW.
[0134] Simulation results analysis:
[0135] On the one hand, the system operation efficiency before and after optimization is compared. Through the optimization of the proposed model, the changes of each item of the simulation system Figure 3 As shown, combined Figure 4 and Figure 5 It can be seen that before the classification optimization of flexible loads, all loads were classified into one category. Although it has a slight advantage in electric vehicle user subsidies and battery loss costs, it cannot effectively control the flexible distribution of loads, resulting in a significant increase in electricity purchase costs; on the contrary, compared with before optimization, the classification optimization of flexible loads can not only achieve a reasonable allocation of load distribution, but also greatly improve the consumption of clean energy and indoor comfort, significantly reduce electricity purchase costs, and ensure the advantages of flexible load control optimization mode in overall operation.
[0136] On the other hand, the effectiveness of the proposed method is verified. For the same example scenario mentioned above, the proposed LSPSO optimization model is compared with the standard QGA model, the neural network example algorithm BPNN, and the group theory example algorithm PSO. The comparison is mainly focused on the optimization effect and efficiency. The results show that the LSPSO optimization model has the lowest number of iterations compared with the standard QGA model, the neural network example algorithm BPNN, and the group theory example algorithm PSO.
[0137] It can be seen that the LSPSO model proposed in the present invention has certain advantages in optimization performance. The LSPSO model has a faster convergence speed and a lower number of iterations, which proves that it can better adapt to the discrete-continuous mixed data environment, thus forming a certain advantage in optimization efficiency.
[0138] In one embodiment, a storage medium is provided, which is a computer-readable storage medium, and which stores a user-side flexible load control optimization program. When the user-side flexible load control optimization is executed by a processor, it is used to implement the operation of the user-side energy control optimization method as described above.
[0139] In one embodiment, an electronic device is also provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned user-side based energy control optimization method by executing the executable instructions.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory.
[0141] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A user-side energy control optimization method, characterized in that: The following steps are involved: Establish a flexible load control model for the user side including one-way interactive flexible load and two-way interactive flexible load; Taking the economic cost on the user side, the photovoltaic consumption rate and the comfort of the leisure and entertainment room as joint goals, the photovoltaic system and the energy storage system are considered, and an optimization control model involving multiple flexible loads is established; Establish constraints for multivariable combinations; The Latin square model and PSO model are integrated into the LSPSO multi-model integration method to quickly search the optimal feasible region and obtain the optimal control solution.
2. The energy control optimization method based on the user side according to claim 1 is characterized in that: The flexible load control model is specifically: According to the energy interaction mode, the flexible load is divided into two-way interactive flexible load and one-way interactive flexible load; Among all energy users in the highway service area, a one-way interactive flexible load control model is established based on the reducible loads including central air conditioning, heating equipment, building lighting, some small commercial users and advertisements as follows: Where L represents the load reduction of power users, represents the maximum value of the one-way interactive power load reduction, represents the reduction of one-way power load in the highway service area system in the tth period; In the highway service area, a two-way interactive flexible load control model including electric vehicle load is established. The charging and discharging status of electric vehicles voluntarily connected to the highway service area microgrid is expressed as follows: In the formula, Q EV (t) is the electric capacity of the electric vehicle at time t, ω is the charging and discharging efficiency, P EV is the charging and discharging power of the electric vehicle, Δt is the time interval, x EV (t) is the decision variable, 1 means the electric vehicle is charged or discharged during period t, and 0 means it is not involved in the control.
3. The energy control optimization method based on the user side according to claim 1 is characterized in that: The specific method of considering photovoltaic consumption and energy storage system is: In highway service areas, each lounge or entertainment room rooftop is equipped with a distributed solar photovoltaic system, provided that the reflection of the photovoltaic modules does not affect the safety of transportation. By adding an energy storage system to the photovoltaic system, the power control of the highway service area is as follows: Photovoltaic power generation first meets the daily use of highway service areas. If the photovoltaic power generation is greater than the daily available load, it is stored through energy storage equipment or electric vehicles; Highway service areas choose to charge at valley price times at night based on the charging and discharging conditions of buses, taxis and special official vehicles with shiftable load characteristics. If the passenger flow, weather conditions or insufficient power of the energy storage system on the previous day are known in advance, appropriate discharge will be chosen for coordinated control.
4. The energy control optimization method based on the user side according to claim 1 is characterized in that: The steps to establish an optimization control model involving multiple flexible loads are as follows: The goal is to minimize the user-side energy cost, including the cost of purchasing electricity from the power grid, the cost of charging electric vehicles, the cost of discharging electric vehicles, and the cost of battery loss during charging and discharging of energy storage devices. The user-side economic cost objective function is expressed as follows: In the formula, C1 is the cost of purchasing electricity from the power grid, B(t) is the electricity price at the time period t, and P t is the power consumption, C2 is the cost of charging the electric vehicle when it is under control, Q(t) is the electricity purchase price of the electric vehicle when it is charged at time period t; EV,in,n (t) takes 1, indicating that the electric vehicle user accepts the dispatch during the charging period, otherwise it takes 0; P max is the maximum charging power, α is the compensation rate (α>1), N is the number of electric vehicles, C3 is the cost of electric vehicle discharge when the electric vehicle discharge is controlled, P EV,in,n and P EV,out,n are the power of electric vehicle users when charging and discharging; x EV,out,n (t) takes 1 to indicate that the electric vehicle user accepts the dispatch during the discharge period, otherwise it takes 0; C4 is the cost of the battery loss of the energy storage device charging and discharging, The power of charging and discharging the energy storage device, β ess is the cost coefficient of battery loss in charging and discharging of the energy storage device, Δt is the time interval, and T is the control period; Taking the maximum photovoltaic consumption as the goal, the photovoltaic consumption objective function is as follows: Where P s It is a one-way interactive flexible load, P pv is the photovoltaic power generation, is the charging loss, is the discharge loss; The room temperature comfort is introduced, which is expressed by weighting the deviation between the current room temperature and the standard room temperature. If the objective function is smaller, it means the deviation is lower and the room temperature comfort is higher. The room temperature comfort objective function is as follows: Where, T p Indicates the current room temperature, T c It means that the temperature is artificially set to adapt to comfort.
5. The energy control optimization method based on the user side according to claim 1 is characterized in that: The constraints of the multivariable combination include: a. Comfort temperature constraint: The air conditioner is used as the comfort temperature adjustment device. Within the acceptable range of human body temperature, its adjustment power meets the following constraints: T min ≤T t ≤T max ; 0≤P t ≤P max ac ; Where T t is the indoor temperature after air conditioning, T min and T max are the lowest and highest indoor temperatures acceptable to the human body, P t is the regulating power of the air conditioner, P max ac The maximum value of the air conditioner's allowed power; b. Supply and demand balance constraints in highway service areas. The input power of each highway service area should match the output power. When the load power is less than the power of the power generation unit, the supply and demand balance equation constraints in the traffic power system are established as follows: P pv (t)+P ess (t)+P ev (t)=P s (t); Where P pv (t) is the output power of the distributed generation at time t, P ess (t) is the output / input power of the energy storage system at time t, P ev (t) is the charging or discharging power of the electric vehicle at time t, P s (t) is the power consumed by the system load at time t; c. Constraints on the working state of the energy storage system. In actual situations, the energy storage system cannot be charged and discharged at the same time, so the following constraints must be met: 0≤|x ess,in,n (t)|+|x ess,out,n (t)|≤1; In the formula, x ess,in,n (t) and x ess,out,n (t) is the charge and discharge state of the system at time t; d. Electric vehicle battery capacity SOC constraints: SOC min <<SOC i (t)<<SOC max ; Where SOC i (t) is the remaining capacity of the battery at time t, SOC min and SOC max They are the minimum and maximum capacity limits of the battery power respectively; e. Rooftop PV output constraints. Considering the randomness and volatility of rooftop PV systems, their PV output must be less than or equal to the maximum value of the advance PV forecast. For this purpose, the following constraints are established: 0≤P PV ≤P max 。 6. The method for optimizing energy control based on the user side according to claim 1, characterized in that: The LSPSO multi-model integration method is as follows: Step ①, based on the optimization control model and constraints, the Latin square sampling model is used to generate the initial parameters of the objective function; Step ②, use the initial parameters as the initial population of the particle swarm algorithm; Step ③, set the fitness function as an indicator to evaluate the quality of particles; Step ④: Use particle swarm algorithm for iterative optimization; Step ⑤, update the particle swarm; Step ⑥, evaluate the optimization results and determine whether the termination conditions are met; If satisfied, the optimal control solution is obtained; if not satisfied, adjust according to the actual situation and return to step ④.
7. The method for optimizing energy control based on the user side according to claim 6, characterized in that: The termination conditions are: The maximum number of iterations is reached or the objective function value change is less than the set threshold.
8. The method for optimizing energy control based on the user side according to claim 7, characterized in that: The LSPSO multi-model integration method also includes: After obtaining the optimal control solution, check whether it meets the constraints and actual requirements.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the user-side based energy control optimization method according to any one of claims 1 to 8 is implemented.
10. An electronic device, characterized in that: include: processor; and a memory for storing executable instructions for the processor; Wherein, the processor is configured to execute the user-side based energy control optimization method as described in any one of claims 1-8 by executing the executable instructions.
Citation Information
Patent Citations
Photovoltaic consumption method based on response difference of flexible load demands
CN107221953A
Independent microgrid system capacity optimization configuration method taking consideration of flexible load
CN107834601A
Photovoltaic absorbing method for rural micro-energy grid considering building thermal balance and comfort
CN109217359A
Composite demand side response control method for high-proportion distributed photovoltaic absorption
CN114977158A
