Hierarchical multi-objective building microgrid scheduling method and system combined with nonlinear programming

Through a hierarchical multi-objective optimization method that combines nonlinear programming and genetic algorithms, the problem of interactive dispatching between the supply and demand sides of the building microgrid is solved, and more efficient power dispatching and system stability are achieved.

CN117613974BActive Publication Date: 2024-10-18CHINA TOWER CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311559314.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-10-18
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

Existing technologies fail to effectively solve the complex dispatching problem of interaction between supply and demand, making it difficult to achieve optimal dispatching of building microgrid power.

Method used

A hierarchical multi-objective building microgrid dispatching method combined with nonlinear planning is adopted. By creating a microgrid model, load classification, establishing a multi-objective optimization problem, and using genetic algorithms and nonlinear planning conditions to solve it, the microgrid dispatching strategy is obtained.

Benefits of technology

It realizes the interactive optimization of the supply and demand sides of the building microgrid, improves the efficiency of power dispatching and the operational stability of the system, and provides a more comprehensive solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117613974B_ABST
    Figure CN117613974B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of power grid dispatching, and specifically discloses a hierarchical multi-objective building microgrid dispatching method and system combined with nonlinear programming. First, a building microgrid model is created, and then the charges are classified to meet the dispatching requirements of different types of charges. Then, a multi-objective optimization problem is established by combining the building microgrid model and the classification results of the power grid. Specifically, it is a dual-objective optimization problem, one is economic optimization, and the other is load dispatching optimization. A hierarchical multi-objective optimization method combined with nonlinear programming is proposed. Nonlinear programming can improve local optimization capabilities. The present invention comprehensively considers the supply and demand objectives of the building microgrid, and optimizes the objectives interactively, providing a better solution for building microgrid dispatching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid dispatching, and in particular to a hierarchical multi-objective building microgrid dispatching method and system combined with nonlinear programming. Background Art

[0002] In the context of smart grids, the power supply of government and enterprise buildings includes a large number of renewable energy generation, energy storage equipment and controllable loads, which are connected to the power distribution network through different types of power electronic converters. The widespread application of renewable energy technology and energy storage technology in buildings has led to a significant increase in the complexity of building power supply systems, which has brought greater challenges to the optimization and scheduling of the system.

[0003] At present, experts and scholars have conducted in-depth research on microgrid technology, and have achieved a series of research results and built a large number of demonstration projects. Focusing on microgrids, the research is mainly carried out from several aspects such as system control, energy management and dispatch optimization. Among them, for dispatch optimization, the research is mainly carried out from the model, goal and its algorithm.

[0004] In the microgrid optimization model, some literature considers the structure and distributed units of the system, and models them based on the system structure and the corresponding units respectively; in addition to focusing on the modeling of the microgrid, some literature also establishes a response model on the demand side of the microgrid. In addition, uncertainty has a great impact on the operation of the microgrid, and some literature also constructs a dynamic optimization operation model. In short, in terms of microgrid optimization goals, generally speaking, the multi-objective optimization of microgrids is mainly carried out around three aspects: economic goals, environmental goals, and scheduling goals. Most of the literature carries out multi-objective optimization of microgrid scheduling around these three goals, but the focus is different or the objects are slightly different. For example, some literature considers the microgrid island operation model, some literature considers the microgrid connected to electric vehicles, and some literature takes the lowest cost as the goal.

[0005] In microgrid optimization algorithms, due to different optimization objectives, constraints and effects, the optimization algorithms used are also different. The multi-objective optimization algorithms of microgrid scheduling can be roughly divided into two categories: one is to convert each sub-objective into a single-objective optimization after weighted normalization, and the other is to seek the optimal solution set around the intelligent algorithm, and then seek the optimal solution from the solution set.

[0006] In summary, most of the current literature has not conducted in-depth research on the interaction between supply and demand. Some literature on the optimization of both sides of supply and demand is not comprehensive enough and has not provided a solution for the optimization of both sides of supply and demand that can cope with this complex scheduling problem. Summary of the invention

[0007] The present invention provides a hierarchical multi-objective building microgrid scheduling method and system combined with nonlinear programming, and solves the technical problem of how to meet the demand for simultaneous optimization of both supply and demand sides and perform power optimization scheduling on the microgrid of a building.

[0008] In order to solve the above technical problems, the present invention provides a hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming, comprising the steps of:

[0009] S1. Create a building microgrid model, wherein the microgrid model includes a distributed power source, a large power grid, a battery and a load, wherein the distributed power source and the large power grid are used to power the battery and the load, and the battery is used to power the load; wherein the distributed power source and the battery constitute a microgrid;

[0010] S2. Classify the loads in the building into uncontrollable loads and dispatchable loads. The uncontrollable loads refer to loads that cannot be powered off and dispatched. The dispatchable loads include transferable loads and interruptible loads. The transferable loads refer to loads whose power consumption time can be dispatched and whose total load remains unchanged. The interruptible loads refer to loads that can be dispatched and interrupted.

[0011] S3. Establish a multi-objective optimization problem for the building microgrid model:

[0012] minC(a)=min[c1(a),c2(a),…,c n (a)]

[0013] minL(a)=min[l1(a),l2(a),…,l m (a)]

[0014]

[0015] Among them, a is the scheduling decision variable, C(a) represents the economic optimization target, L(a) is the load scheduling optimization target, and c i (a) represents the i-th economic optimization sub-goal, n represents the number of economic optimization sub-goals, l i (a) represents the i-th load scheduling optimization sub-objective, m represents the number of load scheduling optimization sub-objectives; F(a) represents the power balance constraint, F(a) = 0 represents that the total power supply of the microgrid and the large grid meets the power demand of the load; G(a) is an inequality constraint; G(a) ≤ 0 represents that in the grid-connected state, the exchange power between the microgrid and the large grid cannot exceed the agreed range, and the battery is in a shallow discharge state during operation; σ represents the feasible solution space of the decision variable, n, m ≥ 1;

[0016] S4, setting nonlinear programming conditions with the goal of minimizing the amount of change from the preset temperature;

[0017] S5. Introduce the nonlinear programming conditions and solve the multi-objective optimization problem based on a genetic algorithm to obtain a microgrid dispatching strategy.

[0018] Furthermore, n=3, C(a) is constructed as:

[0019] C(a)=C grid +C battery +C mten

[0020] Among them, the cost C generated by the microgrid exchanging electric energy with the distribution network in the grid-connected mode is grid Calculated by the following formula:

[0021]

[0022] p b and p s Respectively represent the price of electric energy purchased and sold by the microgrid to the large grid, Δt·P b (t) and Δt·P s (t) respectively represent the energy purchased and sold by the microgrid to the large grid, t represents time, and T represents the optimization period of electricity cost;

[0023] Among them, the loss cost of the battery is C battery Calculated by the following formula:

[0024]

[0025] Δt·P B (t) is the discharge capacity of the battery, and λ is the loss factor of the battery;

[0026] Among them, the maintenance cost C mten Calculated by the following formula:

[0027]

[0028] ε i is the maintenance coefficient of equipment i, N is the total number of equipment that needs maintenance, Δt·P m (t) is the electrical energy capacity of the equipment that needs maintenance during the period.

[0029] Furthermore, m=1, l(a) is constructed as:

[0030]

[0031] Among them, K s represents the smoothing coefficient, |P k -P k-1| represents the absolute value of the power difference between the kth and k-1th loads.

[0032] Furthermore, the power balance constraint condition F(a)=0 is specifically:

[0033] P bat (t)+P grid (t) = P load (t)-P pv (t)

[0034] Among them, P bat (t), P grid (t), P pv (t) respectively represent the output power of the battery, the large power grid, and the photovoltaic cell in the distributed power source during time period t, P load (t) represents the sum of the power required by the load during period t.

[0035] Furthermore, the inequality constraint G(a)≤0 includes the large power grid exchange power constraint and the battery charge level constraint;

[0036] The large power grid exchange power constraint is expressed as:

[0037] P g.min ≤P grid ≤P g.max

[0038] Among them, P g.min , P g.max , P grid Respectively represent the lower limit, upper limit and actual value of the power exchanged between the large power grid and the micro grid;

[0039] The battery charge level constraint is expressed as:

[0040] SOC min ≤SOC(t)≤SOC max

[0041] Among them, SOC min Indicates the lower limit of the battery charge level, SOC max represents the upper limit of the battery charge level, and SOC(t) represents the actual charge level of the battery.

[0042] Furthermore, the nonlinear programming condition is expressed as:

[0043]

[0044] Among them, environmental comfort C en Defined as the change from the preset temperature, K en represents the comfort coefficient, T enand L en Indicates the ambient temperature and light intensity, T set and L set represents the preset temperature and the preset light intensity, μ1 and μ2 are the weighting coefficients of the corresponding terms.

[0045] Furthermore, the step S5 specifically includes the steps of:

[0046] S51, use random assignment to initialize the population, the population size is N p , each individual has n p genes, each gene is T long p ;

[0047] S52, evaluate and quickly non-dominated sort the initialized population, select a representative best individual B with the minimum economic optimization target C(a) as the fitness function;

[0048] S53: Based on the representative best individual B selected in step S52, mutate the load dispatch gene that may increase the load peak, mutate and crossover the energy storage and new energy genes of all individuals, and generate N p external population of individuals;

[0049] S54, evaluate and quickly sort the external population, select a representative best individual D by taking the load scheduling optimization target L(a) as the minimum fitness function;

[0050] S55. Based on nonlinear programming conditions, nonlinear local optimization is performed on the external population. The hierarchical multi-objective optimization algorithm is used to perform nonlinear local optimization every k generations, with the output result as the initial value, and the optimization result is used as the chromosome of the new individual to continue iterating;

[0051] S56, based on the representative best individual D in S54, perform fast non-dominated sorting, then sort the individuals at the same non-dominated level by crowding distance, and finally select N for the next iteration from the two populations according to the sorting. p individual;

[0052] S57, determine whether the iteration termination condition is met, if so, output the optimal solution of the algorithm; if not, return to step S52.

[0053] Further, in step S53, the adaptive crossover probability p is used. c and mutation probability p m Perform crossover and mutation, p c 、p m Respectively expressed as:

[0054]

[0055] In the formula, L, L max , L' and L avg They represent the fitness value of an individual, the maximum fitness value, the larger fitness value of the two crossed individuals, and the average fitness value of the population. a1, a2, a3, and a4 are different constants in the interval [0,1]. For fitness values ​​higher than L avg Individuals with lower p c and p m , which is conducive to preserving excellent individuals; for fitness values ​​lower than L avg Individuals with higher p c and p m , which is conducive to changing inferior individuals and avoiding the algorithm from falling into local optimality.

[0056] Further, after the number of iterations reaches a multiple of k, the step S55 is performed to perform nonlinear optimization;

[0057] In step S57, the iteration termination condition is:

[0058] The termination number is reached or the fitness function deviation meets the preset value.

[0059] The present invention also provides a hierarchical multi-objective building microgrid dispatching system combined with nonlinear programming, the key of which is that it includes a microgrid model establishment module, a load classification module, a multi-objective optimization problem establishment module, a nonlinear programming condition setting module, and a problem solving module, which are respectively used to execute steps S1, S2, S3, S4, and S5 described in the above method, and also includes a dispatching module, which is used to schedule the schedule of the dispatchable load according to the microgrid dispatching strategy output by the problem solving module.

[0060] The hierarchical multi-objective building microgrid scheduling method and system combined with nonlinear programming provided by the present invention first creates a building microgrid model, then classifies the charges to meet the scheduling requirements of different types of charges, and then combines the building microgrid model and the classification results of the power grid to establish a multi-objective optimization problem, specifically a dual-objective optimization problem, one is economic optimization, and the other is load scheduling optimization. A hierarchical multi-objective optimization method combined with nonlinear programming is proposed, and nonlinear programming can improve local optimization capabilities. The present invention comprehensively considers the objectives on both the supply and demand sides of the building microgrid, interactively optimizes the objectives, and provides a better solution for building microgrid scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 It is a flow chart of a hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming provided by an embodiment of the present invention;

[0062] Figure 2is an architecture diagram of a building microgrid model provided by an embodiment of the present invention;

[0063] Figure 3 It is a flow chart of solving the optimization problem provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0064] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0065] The embodiment of the present invention provides a hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming, such as Figure 1 As shown, the steps include:

[0066] S1. Create a building microgrid model;

[0067] S2, classify the loads in the building into uncontrollable loads and dispatchable loads;

[0068] S3, establish the multi-objective optimization problem of building microgrid model;

[0069] S4, setting nonlinear programming conditions with the goal of minimizing the amount of change from the preset temperature;

[0070] S5. Introduce nonlinear programming conditions and solve the multi-objective optimization problem based on genetic algorithm to obtain the microgrid scheduling strategy.

[0071] This embodiment proposes a hierarchical multi-objective optimization algorithm combined with nonlinear programming. The hierarchical multi-objective algorithm usually optimizes the next layer of objectives on the optimization solution set of the upper layer objectives until the optimization of each layer of objectives is completed. It can compress the search space, but may not guarantee the ability to search for optimization in groups. The use of nonlinear optimization enables the algorithm to quickly seek the global optimal solution. The first layer of the hierarchical optimization objectives is the economic objective, the second layer is the load scheduling objective, and the nonlinear programming conditions are user lighting and temperature constraints.

[0072] (1) Step S1

[0073] like Figure 2 As shown in the figure, the microgrid model includes distributed power sources, large power grid, batteries and loads. Distributed power sources and large power grid are used to power batteries and loads, and batteries are used to power loads. Distributed power sources and batteries form a microgrid. Buildings contain various power loads, and then introduce renewable energy technology and energy storage technology. By exchanging electricity with the power grid, it can be regarded as a typical microgrid, such as Figure 2As shown. Due to the inherent randomness and volatility of new energy sources such as photovoltaics, wind power, solar energy, and compressed gas, it is difficult to achieve the reliability and stability required for power supply by directly connecting to the power generation system. In addition, the wide variety of components with different performances increases the difficulty of normal operation of building microgrids. Therefore, building microgrid systems also introduce reliable energy sources such as batteries. By adopting reasonable economic scheduling plans and energy management strategies, reliable electricity required to meet load power supply can be obtained.

[0074] Due to the randomness and volatility of renewable energy generation, energy storage devices are installed in building microgrids to reduce this disturbance. At present, the most widely used in building integrated energy systems is mainly batteries, which can smooth the fluctuations caused by renewable energy generation on the entire power supply system, and can also release energy to power buildings during peak power consumption, thereby alleviating the pressure on the large power grid.

[0075] At present, mainstream batteries are divided into the following three categories, and their main technical characteristics are shown in Table 1.

[0076] Table 1 Battery energy storage comparison

[0077]

[0078] Photovoltaic power generation systems use the photovoltaic effect of photovoltaic cells to convert solar radiation into electrical energy to power loads, or transfer it to energy storage devices for storage / grid connection through power conversion. Photovoltaic power generation is clean and safe, with one-time investment and long-term operation, making it extremely suitable for application in government and enterprise buildings.

[0079] A typical photovoltaic power generation system consists of a solar photovoltaic array, a battery pack, a charge controller, a power electronic converter (inverter), a load, etc.

[0080] (2) Step S2

[0081] Before optimizing the power dispatch of the microgrid in a building, it is necessary to classify the loads on the power consumption side of the microgrid. This paper divides the loads into three categories according to the importance of different loads and the corresponding control measures taken, as shown in Table 2.

[0082] Table 2 Load classification table

[0083]

[0084] Among them, the first type of load is uncontrollable load, if the power is cut off, it may cause major safety accidents or economic losses. The second and third types of loads are dispatchable loads, which are divided into transferable loads and interruptible loads. Uncontrollable loads refer to loads that cannot be powered off and cannot be dispatched. Dispatched loads include transferable loads and interruptible loads. Transferable loads refer to charges with dispatchable power usage time and unchanged total load. Interruptible loads refer to dispatchable and interruptible loads. These two types of loads can be adjusted according to the electricity price during the operation of the microgrid and the needs of the user side, but these two types of loads also have priorities, so as to realize the dispatch of the building microgrid.

[0085] (3) Step S3

[0086] The goal of microgrid energy management is to establish an economic dispatch mathematical model and introduce an optimization algorithm under the condition of ensuring that the load power demand is met, so as to reduce the operating cost of the system and achieve economic operation of the microgrid. The establishment of an economic dispatch model is the basis and key to solving optimization problems. The model contains objective functions and constraints. The microgrid dispatch model in this paper takes 24 hours a day as a dispatch cycle and establishes multiple optimization objective functions for dynamic operation management.

[0087] minC(a)=min[c1(a),c2(a),…,c n (a)](1)

[0088] minL(a)=min[l1(a),l2(a),…,l n (a)](2)

[0089] The above variables satisfy the constraints:

[0090]

[0091] Among them, a is the scheduling decision variable, C(a) represents the economic optimization target, L(a) is the load scheduling optimization target, and c i (a) represents the i-th economic optimization sub-goal, n represents the number of economic optimization sub-goals, l i (a) represents the i-th load scheduling optimization sub-objective, m represents the number of load scheduling optimization sub-objectives; F(a) represents the power balance constraint, F(a) = 0 represents that the total power supply of the microgrid and the large grid meets the power demand of the load; G(a) is an inequality constraint; G(a) ≤ 0 represents that in the grid-connected state, the exchange power between the microgrid and the large grid cannot exceed the agreed range, and the battery is in a shallow discharge state during operation; σ represents the feasible solution space of the decision variable, n, m ≥ 1; min represents minimization.

[0092] A. Objective Function

[0093] In terms of economic goals: The economic benefits of microgrids are the main driving force for the continuous development of microgrid technology. One of the core of microgrid economic dispatch is to minimize the operating costs of microgrids and improve the operating efficiency of the system. The economic goals mainly include the electricity cost of power exchange between microgrids and external power grids, the maintenance cost during the operation of microgrids, and the loss cost of batteries. That is, n = 3, C(a) is constructed as:

[0094] C(a)=C grid +C battery +C mten (4)

[0095] Among them, the power generation cost of the microgrid is the main expense of system operation, which is mainly the cost of exchanging electricity with the distribution network in the grid-connected mode:

[0096]

[0097] p b and p s They represent the price of electricity purchased and sold by the microgrid to the large grid, Δt·P b (t) and Δt·P s (t) represents the energy purchased and sold by the microgrid to the large grid, t represents time, and T represents the optimization period of electricity cost.

[0098] Battery loss cost C battery Calculated by the following formula:

[0099]

[0100] Δt·P B (t) is the discharge capacity of the battery, and λ is the loss factor of the battery.

[0101] Maintenance cost mten Calculated by the following formula:

[0102]

[0103] ε i is the maintenance coefficient of equipment i, N is the total number of equipment that needs maintenance, Δt·P m (t) is the electrical energy capacity of the equipment that requires maintenance.

[0104] In terms of load scheduling: through reasonable adjustments, the peak value of the load during the operation of the microgrid can be minimized as much as possible, thereby improving the smoothness of the load curve. Since the smoothness of the load curve is mainly determined by the change in the adjacent loads, the calculation formula of the load scheduling objective function is:

[0105]

[0106] Among them, K s represents the smoothing coefficient, |P k -P k-1 | represents the absolute value of the power difference between the kth and k-1th loads.

[0107] B. Constraint Function

[0108] After clarifying the objective function of microgrid operation, it is necessary to consider various constraints of the system to ensure the safety of system operation. Microgrid constraints can be divided into power balance constraints and system equipment constraints.

[0109] 1) Power balance constraints

[0110] In the case of grid-connected operation, the total power supply of the microgrid and the large grid must meet the power demand of the load, that is, the power balance constraint F(a) = 0 is specifically:

[0111] P bat (t)+P grid (t) = P load (t)-P pv (t) (9)

[0112] Among them, P bat (t), P grid (t), P pv (t) represents the output power of the battery, the large power grid, and the photovoltaic cell during the period t, respectively, P load (t) represents the sum of the power required by the load during period t.

[0113] 2) Large power grid exchange power constraints

[0114] In the grid-connected state, the exchange power between the microgrid and the large grid cannot exceed the agreed range:

[0115] P g.min ≤P grid ≤P g.max (10)

[0116] Among them, P g.min , P g.max , P grid They represent the lower limit, upper limit and actual value of the power exchanged between the large grid and the microgrid respectively;

[0117] 3) Battery SOC constraint

[0118] Here SOC refers to the charge level / state of charge, which is used to reflect the remaining capacity of the battery.

[0119] Irrational use of batteries will affect their normal lifespan. Frequent over-discharge will cause the battery's SOC to be less than 10% for a long time, greatly reducing its service life. It is best for the battery to be in a shallow discharge state during operation, which will effectively extend the battery's service life.

[0120] Therefore, the battery charge level constraint is expressed as:

[0121] SOC min ≤SOC(t)≤SOC max (11)

[0122] Among them, SOC min Indicates the lower limit of the battery charge level, SOC max It represents the upper limit of the battery charge level, and SOC(t) represents the actual charge level of the battery.

[0123] (4) Step S4

[0124] The most direct way to improve the comfort of a building is to make people in the building feel more comfortable. This embodiment mainly focuses on the temperature and light of the environment. The temperature and light of the environment can be obtained by sensors. The environmental comfort can be described as being determined by the change in the deviation from the preset temperature. Therefore, the calculation formula for the environmental comfort is:

[0125]

[0126] Among them, K en represents the comfort coefficient, T en and L en Indicates the ambient temperature and light intensity, T set and L set represents the preset temperature and the preset light intensity, μ1 and μ2 are the weighting coefficients of the corresponding terms.

[0127] Therefore, the nonlinear programming condition is expressed as:

[0128]

[0129] (5) Step S5

[0130] This paper combines nonlinear programming and hierarchical multi-objective optimization to optimize the system. Through multi-layer objective loop optimization, it coordinates various objectives and finally returns the optimal solution of multiple objectives. The hierarchical multi-objective optimization algorithm process is as follows: Figure 3 As shown, the specific process is as follows:

[0131] S51, use random assignment to initialize the population, the population size is N p , each individual has n p genes, each gene is T long p;

[0132] S52, evaluate and quickly non-dominated sort the initialized population, select a representative best individual B with the minimum economic optimization target C(a) as the fitness function;

[0133] S53: Based on the representative best individual B selected in step S52, mutate the load dispatch gene that may increase the load peak, mutate and crossover the energy storage and new energy genes of all individuals, and generate N p external population of individuals;

[0134] S54, evaluate and quickly sort the external population, select a representative best individual D by taking the load scheduling optimization target L(a) as the minimum fitness function;

[0135] S55. Based on nonlinear programming conditions, nonlinear local optimization is performed on the external population. The hierarchical multi-objective optimization algorithm is used to perform nonlinear local optimization every k generations, with the output result as the initial value, and the optimization result is used as the chromosome of the new individual to continue iterating;

[0136] S56, based on the representative best individual D in S54, perform fast non-dominated sorting, then sort the individuals at the same non-dominated level by crowding distance, and finally select N for the next iteration from the two populations according to the sorting. p individual;

[0137] S57, determine whether the iteration termination condition is met, if so, output the optimal solution of the algorithm; if not, return to step S52.

[0138] In step S53, the adaptive crossover probability p c and mutation probability p m Perform crossover and mutation, p c 、p m Respectively expressed as:

[0139]

[0140] In the formula, L, L max , L' and L avg They represent the fitness value of an individual, the maximum fitness value, the larger fitness value of the two crossed individuals, and the average fitness value of the population. a1, a2, a3, and a4 are different constants in the interval [0,1]. For fitness values ​​higher than L avg Individuals with lower p c and p m ; For fitness values ​​lower than L avg Individuals with higher p c and p m .

[0141] from Figure 3 It can be seen that step S55 is performed to perform nonlinear optimization only after the number of iterations becomes a multiple of k.

[0142] In step S57, the iteration termination condition is:

[0143] The termination number is reached or the fitness function deviation meets the preset value.

[0144] Corresponding to the above method, this embodiment also provides a hierarchical multi-objective building microgrid dispatching system combined with nonlinear programming, including a microgrid model establishment module, a load classification module, a multi-objective optimization problem establishment module, a nonlinear programming condition setting module, and a problem solving module, which are respectively used for steps S1, S2, S3, S4, and S5 in the method, and also includes a dispatching module, which is used to schedule the dispatchable load according to the microgrid dispatching strategy output by the problem solving module.

[0145] In summary, an embodiment of the present invention provides a hierarchical multi-objective building microgrid scheduling method and system combined with nonlinear programming. First, a building microgrid model is created, and then the charges are classified to meet the scheduling requirements of different types of charges. Then, a multi-objective optimization problem is established in combination with the building microgrid model and the classification results of the power grid. Specifically, it is a dual-objective optimization problem, one is economic optimization, and the other is load scheduling optimization. A hierarchical multi-objective optimization method combined with nonlinear programming is proposed. Nonlinear programming can improve local optimization capabilities. The present invention comprehensively considers the supply and demand objectives of the building microgrid, optimizes the objectives interactively, and provides a better solution for building microgrid scheduling.

[0146] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming is characterized by: Includes steps: S1. Create a building microgrid model, wherein the microgrid model includes a distributed power source, a large power grid, a battery and a load, wherein the distributed power source and the large power grid are used to power the battery and the load, and the battery is used to power the load; wherein the distributed power source and the battery constitute a microgrid; S2. Classify the loads in the building into uncontrollable loads and dispatchable loads. The uncontrollable loads refer to loads that cannot be powered off and dispatched. The dispatchable loads include transferable loads and interruptible loads. The transferable loads refer to loads whose power consumption time can be dispatched and whose total load remains unchanged. The interruptible loads refer to loads that can be dispatched and interrupted. S3. Establish a multi-objective optimization problem for the building microgrid model: minC(a)=min[c1(a),c2(a),…,c n (a)] minL(a)=min[l1(a),l2(a),…,l m (the)] Among them, a is the scheduling decision variable, C(a) represents the economic optimization target, L(a) is the load scheduling optimization target, and c i (a) represents the i-th economic optimization sub-goal, n represents the number of economic optimization sub-goals, l i (a) represents the i-th load scheduling optimization sub-objective, m represents the number of load scheduling optimization sub-objectives; F(a) represents the power balance constraint, F(a) = 0 represents that the total power supply of the microgrid and the large grid meets the power demand of the load; G(a) is an inequality constraint; G(a) ≤ 0 represents that in the grid-connected state, the exchange power between the microgrid and the large grid cannot exceed the agreed range, and the battery is in a shallow discharge state during operation; σ represents the feasible solution space of the decision variable, n, m ≥ 1; S4, setting nonlinear programming conditions with the goal of minimizing the change from the preset temperature; the nonlinear programming conditions are expressed as: Among them, environmental comfort C en Defined as the change from the preset temperature, K en represents the comfort coefficient, T en and L en Indicates the ambient temperature and light intensity, T set and L set represents the preset temperature and the preset light intensity, μ1 and μ2 are the weighting coefficients of the corresponding terms; S5, introducing the nonlinear programming conditions and solving the multi-objective optimization problem based on a genetic algorithm to obtain a microgrid dispatching strategy; The step S5 specifically includes the following steps: S51, use random assignment to initialize the population, the population size is N p , each individual has n p genes, each gene is T long p ; S52, evaluate and quickly non-dominated sort the initialized population, select a representative best individual B with the minimum economic optimization target C(a) as the fitness function; S53: Based on the representative best individual B selected in step S52, mutate the load dispatch gene that may increase the load peak, mutate and crossover the energy storage and new energy genes of all individuals, and generate N p external population of individuals; S54, evaluate and quickly sort the external population, select a representative best individual D by taking the load scheduling optimization target L(a) as the minimum fitness function; S55. Based on nonlinear programming conditions, nonlinear local optimization is performed on the external population. The hierarchical multi-objective optimization algorithm is used to perform nonlinear local optimization every k generations, with the output result as the initial value, and the optimization result is used as the chromosome of the new individual to continue iterating; S56, based on the representative best individual D in S54, perform fast non-dominated sorting, then sort the individuals at the same non-dominated level by crowding distance, and finally select N for the next iteration from the two populations according to the sorting. p individual; S57, determine whether the iteration termination condition is met, if so, output the optimal solution of the algorithm; if not, return to step S52.

2. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 1 is characterized in that: n = 3, C(a) is constructed as: C(a)=C grid +C battery +C mten Among them, the cost C generated by the microgrid exchanging electric energy with the distribution network in the grid-connected mode is grid Calculated by the following formula: p b and p s Respectively represent the price of electric energy purchased and sold by the microgrid to the large grid, Δt·P b (t) and Δt·P s (t) respectively represent the energy purchased and sold by the microgrid to the large grid, t represents time, and T represents the optimization period of electricity cost; Among them, the loss cost of the battery is C battery Calculated by the following formula: Δt·P B (t) is the discharge capacity of the battery, and λ is the loss factor of the battery; Among them, the maintenance cost C mten Calculated by the following formula: ε i is the maintenance coefficient of equipment i, N is the total number of equipment that needs maintenance, Δt·P m (t) is the electrical energy capacity of the equipment that requires maintenance.

3. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 2 is characterized in that: m=1, l(a) is constructed as: Among them, K s represents the smoothing coefficient, |P k -P k-1 | represents the absolute value of the power difference between the kth and k-1th loads.

4. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 3 is characterized in that: The power balance constraint condition F(a)=0 is specifically: P bat (t)+P grid (t)=P load (t)-P pv (t) Among them, P bat (t), P grid (t), P pv (t) respectively represent the output power of the battery, the large power grid, and the photovoltaic cell in the distributed power source during time period t, P load (t) represents the sum of the power required by the load during period t.

5. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 4 is characterized in that: The inequality constraint G(a)≤0 includes the large power grid exchange power constraint and the battery charge level constraint; The large power grid exchange power constraint is expressed as: P g.min ≤P grid ≤P g.max Among them, P g.min , P g.max , P grid Respectively represent the lower limit, upper limit and actual value of the power exchanged between the large power grid and the micro grid; The battery charge level constraint is expressed as: SOC min ≤SOC(t)≤SOC max Among them, SOC min Indicates the lower limit of the battery charge level, SOC max represents the upper limit of the battery charge level, and SOC(t) represents the actual charge level of the battery.

6. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 1 is characterized in that: In step S53, the adaptive crossover probability p c and mutation probability p m Perform crossover and mutation, p c 、p m Respectively expressed as: In the formula, L, L max , L' and L avg They represent the fitness value of an individual, the maximum fitness value, the larger fitness value of two crossed individuals and the average fitness value of the population respectively. a1, a2, a3 and a4 are different constants in the interval [0,1].

7. The hierarchical multi-objective building microgrid scheduling method combined with nonlinear programming according to claim 1 is characterized in that: After the number of iterations reaches a multiple of k, the step S55 is performed to perform nonlinear optimization; In step S57, the iteration termination condition is: The termination number is reached or the fitness function deviation meets the preset value.

8. A hierarchical multi-objective building microgrid dispatching system combined with nonlinear programming, characterized by: It includes a microgrid model establishment module, a load classification module, a multi-objective optimization problem establishment module, a nonlinear programming condition setting module, and a problem solving module, which are respectively used to execute steps S1, S2, S3, S4, and S5 described in any one of claims 1 to 7, and also includes a scheduling module, which is used to schedule the schedule of the dispatchable load according to the microgrid scheduling strategy output by the problem solving module.

Citation Information

Patent Citations

  • Building micro-grid optimization scheduling method with demand side virtual energy storage system being fused

    CN105931136A

  • Microgrid optimization method considering renewable energy uncertainty and user satisfaction

    CN112270433A

  • Control method for grid-connected operation of light, storage and charging integrated system and power grid

    CN114142517A