Comprehensive energy system safety improvement method and device based on scenario attribution
Through the scenario-based attribution method, the combination of system perception, operation optimization and safety dispatch modules solves the problem of processing massive potential scenarios of the park's comprehensive energy system under high penetration of renewable energy, and achieves an improvement in the dynamic security and failure rate of the system. reduction, ensuring economy and reliability.
Patent Information
- Application Number
- CN202410449740.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-04-15
AI Technical Summary
Under the conditions of high penetration of renewable energy and uncertain equipment operating conditions, the existing park integrated energy system is difficult to effectively handle a large number of potential scenarios, resulting in high potential safety risks and failure rates in system operation, as well as a large computational burden and difficulty. Achieve optimization of economy and reliability.
Using a scenario-based attribution method, the system perception module is used for state modeling and analysis, combined with the operation optimization module to process potential scenarios, and the scenario attribution analysis module is used to obtain the optimal solution for all scenarios in the same attribution set through a single optimization. In the security scheduling module, the system security is improved based on the analysis results, and slack variable transformation inequality constraints are introduced to achieve dynamic security scheduling.
It has improved the dynamic security of the integrated energy system, reduced the failure rate, improved the analysis efficiency and optimization accuracy, significantly reduced the average energy supply shortage level of the system, and ensured the economy and reliability of the system, especially in high-voltage applications. Penetrating renewable energy conditions.
Smart Images

Figure CN118313957B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of safety improvement of integrated energy systems, and in particular to a method and device for safety improvement of integrated energy systems based on scenario attribution. Background Art
[0002] As global attention to environmental issues continues to increase, it has become an urgent need to transform energy production and consumption patterns. As a solution to this challenge, the Integrated Campus Energy System (ICES) aims to improve the overall efficiency of energy utilization by integrating multiple energy forms to meet the diverse energy needs of the community. The economic analysis of this system, despite the challenges of complexity and scale, can be solved by using mixed integer linear programming (MILP). [1] , heuristic algorithms and stochastic optimization (SO) [2] Technologies such as RF and RF can effectively handle the uncertainty of renewable energy integration and multi-energy demand, thereby optimizing the performance of the energy system.
[0003] The operation of ICES is mainly aimed at optimizing economic benefits and system reliability. In terms of reliability assessment, random scenario generation techniques are used to simulate different operating conditions to take into account the uncertainty and complexity brought by renewable energy integration. As the proportion of renewable energy increases, the complexity of the scenarios also increases, which requires scenario reduction techniques [3] (such as the K-means algorithm) to reduce the computational burden. However, this approach may ignore some important scenarios, especially under high penetration of renewable energy and uncertain equipment operating conditions.
[0004] To overcome these challenges, recent research has begun to explore new approaches, such as optimization techniques based on multi-parameter programming. [4] ,These strategies not only help improve the speed and accuracy of calculations, but also enhance the economy and reliability of ICES in the face of uncertainty.,Nevertheless, the new problems and complexities introduced by these solutions still need further research,in order to more effectively regulate and operate the campus integrated energy system.
[0005] References
[0006] [1]Correa-Posada CM,Sanchez-Martin P.Integrated power and naturalgas model for energy adequacy in short-term operation[J].IEEE Transactions onPower Systems,2014,30(6):3347-3355.
[0007] [2]Fu B,Ouyang C,Li C,et al.An improved mixed integer linearprogramming approach based on symmetry diminishing for unit commitment ofhybrid power system[J].Energies,2019,12(5):833.
[0008] [3]Mirzaei A, Rahmati MA novel hierarchical-clustering-combinationscheme based on fuzzy-similarity relations[J]. IEEE Transactions on FuzzySystems, 2009,18(1):27-39.
[0009] [4] Zhuo Z, Du E, Zhang N, et al. Incorporating massive scenarios intransmission expansion planning with high renewable energy penetration. IEEE Transactions on Power Systems, 2019, 35(2): 1061-1074. Summary of the invention
[0010] The present invention provides a method and device for improving the safety of an integrated energy system based on scenario attribution. The present invention effectively measures reliability and economy, can evaluate massive potential scenarios in real time, can dynamically improve the safety of an integrated energy system, effectively prevent potential safety risks during system operation, and reduce the failure rate of the system. See the following description for details:
[0011] A method for improving the safety of an integrated energy system based on scenario attribution, the method comprising:
[0012] Based on the system perception module, the ICES system is perceived and the system modeling and status analysis are realized;
[0013] Handle operational issues in potential operational scenarios based on the operation optimization module;
[0014] Analyze large-scale scenarios based on the scenario attribution analysis module, and find the optimal solution for all scenarios in the same attribution set through a single optimization;
[0015] Based on the safety scheduling module, the safety of the park’s integrated energy system can be improved according to the safety analysis results of the scenario attribution part.
[0016] The analysis of large-scale scenarios based on the scenario attribution analysis module is specifically as follows:
[0017] By introducing slack variables, the inequality constraints are transformed into equality constraints:
[0018]
[0019]
[0020] Where x represents the scheduling decision vector; y s represents the operational state vector of scene s; p s is the probability of scenario s; b s , b m represents the load vector on the right; c s 、c m represents the cost vector; T0, T s is the coefficient matrix; W s is the coefficient matrix of continuous variables; Ω s is a scene set; coefficient matrix T s , W s They are:
[0021]
[0022]
[0023]
[0024] φ1=[-S start,ees -S start,hes -S start,ces ] T
[0025] φ3=[0 b×(p+k) -I b×b I b×b ]
[0026] φ4=[0 b×(p+k) I b×b -I b×b ]
[0027] Where: ees, hes, ces represent electrical energy storage, heat storage and cold storage respectively; P unit represents the maximum output of a unit device; N is the planned number of devices; e represents the type of load; p represents the number of energy input types, k represents the number of non-energy storage devices, and g represents the number of energy storage devices; represents the inner product symbol, I represents the identity matrix, N represents the diagonal matrix, and the diagonal elements are the number of devices in the ICES system; diag(η) represents a t×t-dimensional diagonal matrix with η diagonal elements.
[0028] The optimal solution for all scenarios in the same attribution set obtained through a single optimization is:
[0029]
[0030]
[0031] Among them, δ cB , δ cN A vector representing energy price fluctuations; δ bB , δ bN A vector representing the fluctuation of multiple load levels; δ T represents the renewable energy fluctuation vector;
[0032] The necessary and sufficient conditions for the optimal fundamental matrix to remain unchanged are:
[0033] (W B ) -1 [b+δ b -[T+δ T ]x]≥0
[0034]
[0035] The optimal solution is:
[0036]
[0037] In the second aspect, a device for improving the safety of an integrated energy system based on scenario attribution is provided, the device comprising: a processor and a memory, the memory storing program instructions, the processor calling the program instructions stored in the memory to enable the device to execute any one of the methods described in the first aspect.
[0038] In a third aspect, a computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes any one of the methods described in the first aspect.
[0039] The beneficial effects of the technical solution provided by the present invention are:
[0040] 1. The present invention can capture the operating status of the integrated energy system in real time through accurate modeling and state analysis of the system perception part, providing reliable data support for subsequent optimization and scheduling;
[0041] 2. The operation optimization part of the present invention combines the economic and reliability joint safety improvement strategy, which can effectively solve the operation problems in a series of potential operation scenarios. Through the coordinated evaluation of strategies such as Integrated Flexible Load (IFL) and Nk, the average energy shortage level of the park is reduced by more than 83% while ensuring the economic operation of the park's integrated energy system;
[0042] 3. The scenario attribution analysis part of the present invention realizes accurate and efficient analysis of large-scale scenarios, greatly improving the efficiency of analysis and the accuracy of optimization; especially for operation scenarios with high similarity, the present invention realizes the generation of optimal scheduling decisions (rather than approximate optimal strategies) in seconds by using linear optimization and sensitivity analysis considering more than 100 potential scenarios;
[0043] 4. The safety scheduling part of the present invention utilizes the results of scenario attribution analysis to dynamically improve the safety of the integrated energy system and effectively prevent potential safety risks during system operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A flow chart of a method for improving the safety of an integrated energy system based on scenario attribution;
[0045] Figure 2 This is the calculation time distribution diagram without considering the IFL strategy;
[0046] Figure 3 The calculation time distribution diagram considering the IFL strategy. DETAILED DESCRIPTION
[0047] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention are described in further detail below.
[0048] Example 1
[0049] An embodiment of the present invention provides a method for improving the safety of an integrated energy system based on scenario attribution, which integrates an economic-reliability joint safety improvement strategy and a large-scale scenario analysis technology based on scenario attribution. The method includes: a system perception module, an operation optimization module, a scenario attribution analysis module, and a safety scheduling module. Specifically, the system perception part is used to perceive the state of the ICES system to achieve accurate modeling and state analysis of the system; the operation optimization part solves operational problems in a series of potential operation scenarios; and the scenario attribution analysis part aims to accurately and efficiently analyze large-scale scenarios, and solve the optimal solution for all scenarios in the same attribution set through a single optimization. Finally, based on the safety analysis results of the scenario attribution part, the safety of the park's integrated energy system is improved.
[0050] 1. System Perception Module
[0051] It consists of two parts: 1) ICES submodule; 2) IFL submodule. Through the synergy between the two submodules, efficient energy management and IFL optimization are achieved.
[0052] 1) ICES submodule
[0053] Integrated energy systems contain multiple key components, such as energy conversion equipment, renewable energy (photovoltaic, wind power), energy storage equipment, and various loads. In a typical ICES, the relationship between input and output energy can be represented by a two-port model, introducing time t, and the model is presented in matrix form.
[0054] L t,e =ηP t,p (1)
[0055] Among them, P t,p , L t,e are the energy supply vector and load demand vector respectively; η is the energy efficiency matrix.
[0056] The system modeling of ICES is mainly divided into three parts: CHP model, energy storage model, and energy conversion equipment model. In the embodiment of the present invention, the CHP of the combined heat and power unit of the condensing unit is selected for modeling.
[0057]
[0058]
[0059]
[0060] Among them, Z CHP is the ratio of the change in CHP electrical output power to the change in thermal output power; are CHP thermal energy and electrical energy at time t respectively; They represent the heat and electric energy output by CHP at time t respectively; represents the power of the CHP unit of the extraction condensing unit in full condensing mode; η g2e Indicates the efficiency of CHP; Represents the CHP input power at time t.
[0061]
[0062]
[0063]
[0064] S start =Send (8)
[0065]
[0066]
[0067] Among them, es∈Ω es , They represent the charging power and discharging power of the energy storage device at time t respectively; They represent the maximum charging power and maximum discharging power of the energy storage device load reduction at time t; S start , S end They represent the SOC at the start of energy storage and the SOC at the end of storage respectively; S es,t , S es,t-1 Respectively represent the SOC of the energy storage device at time t and time t-1; Indicates the charging efficiency and discharging efficiency of energy storage devices; They respectively represent the minimum SOC and maximum SOC of the energy storage device load reduction at time t.
[0068] Energy conversion equipment model:
[0069]
[0070]
[0071]
[0072]
[0073]
[0074] in, They represent the thermal energy and electrical energy of HP at time t respectively; It represents the heat energy and flow rate of GB at time t; They represent the thermal energy and electrical energy of EB at time t respectively; They represent the cold energy and heat energy of AC at time t respectively; Respectively represent the cooling energy and electric energy of EC at time t; η GB , η EB , η EC Respectively represent the efficiency of GB, EB, EC; COP HP , COP AC Respectively represent the efficiency of HP and AC; q gas Indicates the calorific value of natural gas.
[0075] 2) IFL submodule
[0076] Based on the IFL strategy, loads are divided into three categories in the ICES system: base load, transferable load and curtailable load. Base load refers to load that cannot be controlled and transferred, with fixed time and energy consumption. Transferable load allows adjustment in time to improve resource utilization, especially during peak periods or supply shortages. Curtailable load is adjustable and can reduce energy consumption according to power system demand.
[0077] Integrated Flexible Load (IFL) significantly enhances demand-side flexibility and plays a vital role in mitigating the variability of renewable energy and reducing reliance on supplementary backup systems. In the event of a system failure, IFL can maintain the reliability of energy supply through dynamic load shifting and load reduction across various energy systems.
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084] in, They are the transferred load and the transferred load of load type e at time t respectively; They represent the maximum value of the load transferred in and the maximum value of the load removed of load type e at time t respectively; is an adjustable parameter of IFL, L t,e is the load of load type e at time t. Equations (16)-(21) are the operation models of transferable loads. Equation (21) stipulates that the increase and decrease of transferable loads in a single operation cycle is balanced, which is crucial to ensure that the total energy consumption of users remains unchanged.
[0085] Unlike shiftable loads, curtailable loads can be directly interrupted or reduced.
[0086]
[0087] in, is the curtailable load of load type e at time t; represents the maximum value of the load that can be reduced for load type e at time t; formula (22) is the operating model of the load that can be reduced.
[0088] 2. Operation Optimization Module
[0089] In order to improve the accuracy and flexibility of the proposed method in investment decision-making, it is necessary to capture a large number of scenarios that will affect ICES operation in the future. In the operation optimization module, the following aspects are considered:
[0090] 1) IFL strategy and multi-energy storage system.
[0091] The IFL strategy aims to optimize energy consumption by intelligently regulating the energy demand side to cope with market price fluctuations and energy supply uncertainties. At the same time, the introduction of multi-energy storage systems provides storage and conversion capabilities for different energy forms, enhancing the system's ability to respond to energy supply interruptions or sudden increases in demand.
[0092] 2) Nk accident scenarios caused by equipment operation uncertainty in a future time scale, where the accident scenario is obtained by combining the potential operation state in a future time scale with Nk equipment failure scenarios. Nk scenarios are obtained by state enumeration method.
[0093] The objective function of this module is as follows:
[0094]
[0095] Among them, the operating cost It includes two components: equipment maintenance cost, carbon emission cost and energy purchase cost.
[0096]
[0097] Among them, c om,i represents the carbon emission cost of equipment i; P i,t,s represents the electrical energy of device i at time t; c ce,i represents the maintenance cost of equipment i; represents the electricity price at time t; represents the exchange power with the grid at time t; c gas represents the price of natural gas; represents the natural gas flow at time t; represents the load transfer cost; Indicates load transfer; Ω T For time collection.
[0098] Reliability cost is defined as the cost associated with load loss and can be calculated by multiplying the unit equivalent load loss cost and the load loss. Therefore, reliability cost C rel Derived from the following equation:
[0099]
[0100] Among them, c e is the load loss cost at time t; R t,e,s Represents the reduced load of load type e at time t.
[0101] The constraints of the lower-level operation optimization module include device operation constraints and system operation constraints. The device operation constraints have been introduced in the system module, and the system operation constraints are as follows.
[0102] The power exchanged between ICES, the electricity distribution network and the gas network is subject to the following limitations:
[0103]
[0104]
[0105] Among them, P e Indicates the exchange power of the distribution network; Respectively represent the minimum and maximum exchange power of the distribution network; F g Indicates the gas network flow; Indicates the maximum flow rate of the gas network.
[0106] The maximum output constraints of the device are as follows:
[0107]
[0108] Among them, P in Indicates the input power of the device; Indicates the minimum and maximum values of load reduction power; Set to 0; Depends on the decision variable N of the planning optimization module. This constraint specifies the maximum power output of each type of equipment.
[0109] The load reduction constraint can be expressed as:
[0110]
[0111] Among them, R t,e Represents the load reduction vector of load type e at time t, indicating that the load reduction amount should not exceed the total load demand.
[0112] 3. Scene Attribution Analysis Module
[0113] The system perception module and the operation optimization module can be jointly established as a MILP problem. To facilitate the explanation of the scene attribution analysis module, the model is converted into a matrix form, as shown in Equation (30). By introducing slack variables, the inequality constraints are converted into equality constraints.
[0114]
[0115] Where x represents the scheduling decision vector; y s represents the operational state vector of scene s; p s is the probability of scenario s; b s、 b m represents the load vector on the right; c s 、c m represents the cost vector; T0, T s is the coefficient matrix; W s is the coefficient matrix of continuous variables; Ω s is a scene set. The coefficient matrix T s , W s They are:
[0116]
[0117]
[0118]
[0119] φ1=[-S start,ees -S start,hes -S start,ces ] T (34)
[0120] φ3=[0 b×(p+k) -I b×b I b×b ] (35)
[0121] φ4=[0 b×(p+k) I b×b -I b×b ] (36)
[0122] Where: ees, hes, ces represent electrical energy storage, heat storage and cold storage respectively; P unit It represents the maximum output of the unit equipment; N is the planned number of equipment; e represents the type of load; p represents the number of energy input types, k represents the number of non-energy storage equipment, and g represents the number of energy storage equipment. represents the inner product symbol, I represents the identity matrix, N represents the diagonal matrix, and the diagonal elements are the number of devices in the ICES system; diag(η) represents a t×t-dimensional diagonal matrix with η diagonal elements.
[0123] The solution process based on the L-shaped method first introduces a non-negative continuous variable θ to approximate the optimal solution of the sub-problem. Therefore, the main problem can be redefined as:
[0124]
[0125] Among them, E l x+θ≥el is the general form of the optimal cut set, parameter E v and e v This will be discussed in Equation (39). This model is a relatively simple integer programming problem. If the Cplex solver is used to solve it, the optimal solution x is obtained by ignoring the constraints of the initial optimization module. v is the relaxed solution to the original problem.
[0126] The operation optimization module is decomposed into many independent linear programming (LP) sub-problems:
[0127]
[0128]
[0129]
[0130] Among them, ω is the objective function; is the optimal solution y s The associated simplex multiplier is the Lagrange multiplier associated with the constraint. Once all subproblems are solved, an optimal cut is generated:
[0131]
[0132] Among them, E v and e v Corresponding to the parameters in (37).
[0133] Considering that there are many potential sub-scenarios in the future of ICES, repeatedly solving sub-problems (38) brings a significant burden. To this end, an embodiment of the present invention provides a scenario attribution method: by executing an optimization algorithm once for each SS-Set, the optimal solution of other scenarios in the same set is efficiently obtained.
[0134] The similarities between subproblems can be observed through the simplexes associated with their optimal solutions. According to the simplex method, the variables corresponding to the simplex vertices are basic variables, and the associated coefficient matrices are fundamental matrices. Correspondingly, other variables and matrices are defined as non-basic variables and non-basic matrices, respectively. When the model reaches the optimal solution at the vertex of the simplex, these basic variables and fundamental matrices are regarded as the optimal basic variables and optimal fundamental matrices. This method effectively reduces the computational burden when processing subproblems in the ICES framework and improves the overall solution efficiency. The specific process is as follows:
[0135] The subproblem model (39) can be divided into basic and non-basic parts:
[0136]
[0137] Among them, WB 、c B represents the components of the optimal basis, including the matrix itself and its corresponding coefficients and right-hand vectors; on the other hand, W N 、c N Represents a nonfundamental matrix and its associated elements.
[0138] In large-scale scenarios, the differences are mainly reflected in the load level, renewable energy output and energy price parameters. Therefore, the parameters c, T and b will be different in different scenarios. In order to clearly present the changes in uncertain parameters, Equation (40) is modified to the standard form of multi-parameter linear programming:
[0139]
[0140] Among them, δ cB , δ cN A vector representing energy price fluctuations; δ bB , δ bN A vector representing the fluctuation of multiple load levels; δ T represents the renewable energy fluctuation vector.
[0141] In multi-parameter linear programming problems, small perturbations of the parameters in the solution space are unlikely to change the properties of the optimal vertex. Scenarios where the optimal fundamental matrix remains unchanged are considered similar, and the set of states that exhibit this similarity is called an SS-Set. The necessary and sufficient condition for the optimal fundamental matrix to remain unchanged is:
[0142] (W B ) -1 [b+δ b -[T+δ T ]x]≥0 (42)
[0143]
[0144] If equations (42) and (43) hold, the optimal solution is:
[0145]
[0146] Therefore, it is only necessary to run the optimization algorithm once for each SS-Set to obtain the optimal basis matrix W B , and then use formula (44) to directly obtain the optimal solution of other scenarios in the same SS-Set.
[0147] 4. Security Scheduling Module
[0148] The safe dispatch module is designed to ensure the stability and reliability of the system while maximizing the economic benefits of the system. It realizes safe, stable and efficient dispatch of energy supply. Based on the analysis results of the scenario attribution analysis module, the dispatch decision vector x is obtained to achieve fast and safe dispatch. In addition, the safe dispatch module also implements a real-time monitoring and dynamic adjustment mechanism. That is, the system will continuously monitor the actual situation of energy supply and load demand and compare it with the pre-established dispatch plan. Once it is detected that the deviation exceeds the predetermined threshold, the module will automatically start the adjustment mechanism, call the potential scenario calculation results of the scenario attribution analysis module, and dynamically adjust the IFL strategy and the safe dispatch strategy in real time.
[0149] In addition, the safety scheduling strategy integrates the potential analysis of massive risk scenarios. The system effectively evaluates the factors that lead to system load loss by perceiving the status of real-time and future information, so as to take preventive measures before the risk occurs. Specifically: the safety scheduling module first perceives the current system operation status s and generates a potential scenario set Ω s ,Then, based on the scenario attribution analysis module, the optimal scheduling decision x is generated.,In addition, the dynamic adjustment mechanism of the safe scheduling module, while achieving dual optimization of stability and reliability, also improves the system's adaptability to complex environments, effectively reduces the system's failure rate, and ensures the long-term stable and reliable operation of the integrated energy system.
[0150] Example 2
[0151] The scheme in Example 1 is further introduced below in combination with specific experimental data, as described below:
[0152] Data collection and analysis: First, a multi-dimensional data collection framework is established. This framework can collect various information inside and outside the integrated energy system in real time, including but not limited to energy supply status, load demand, weather conditions, equipment operation status, etc. Then, the state perception module is used to achieve accurate perception of the status of various ICES equipment.
[0153] In actual operation, the failure probability of equipment is not the statistical probability value when it leaves the factory. Therefore, after collecting multi-dimensional information, the operating failure rate of the equipment is estimated based on the original factory failure rate of the equipment, the historical operating conditions of the equipment, and the current operating status of the equipment.
[0154]
[0155]
[0156] Prediction of potential scenarios and formulation of initial scheduling plans: Use statistical methods to predict potential scenarios in the future, generate a large number of potential scheduling environment scenarios, and then build equipment operation status scenarios based on the operation optimization module.
[0157] Scenario attribution optimization: In order to deal with the inaccuracy of prediction and various uncertainties that may be encountered in system operation, scenario attribution optimization is introduced in the embodiment of the present invention to ensure the rapidity and accuracy of scheduling. By calling the scenario attribution module, all potential scenarios are quickly analyzed and the scheduling results are obtained.
[0158] Real-time monitoring and dynamic adjustment: Establish a real-time monitoring system to continuously track the actual situation of energy supply and load demand. Combined with the optimal scheduling strategy with the highest probability of occurrence in the scenario attribution optimization module, the initial scheduling plan is issued. In addition, based on real-time data and the initial scheduling plan, the scheduling strategy is dynamically adjusted to respond to changes in actual conditions and ensure the efficient operation of the system.
[0159] This method takes into account a large number of potential scheduling scenarios and reduces the calculation time to 6.54% and 6.86% of the time required for traditional scheduling methods through scenario attribution methods. In addition, the safety cost can significantly reduce the operating cost and reliability cost, which shows that this method can effectively improve economy and safety.
[0160]
[0161] 1) The embodiment of the present invention takes into account the uncertainty caused by equipment failure, resulting in a 4.1% increase in scheduling operation costs, but a 81.4% reduction in reliability risk.
[0162] 2) The embodiment of the present invention reduces the computation time to less than 10% of the time required by the traditional scheduling method, and achieves the generation of scheduling strategies in seconds for every 8000 potential scenarios. This performance is affected by the actual working conditions, and the computational efficiency advantage becomes more obvious as the number of potential scenarios considered increases.
[0163] 3) The embodiment of the present invention integrates the IFL strategy to effectively reduce the economic cost of operation and scheduling, and at the same time improves reliability, reducing the operating cost and overall cost by 10.7% and 14.71% respectively.
[0164] Example 3
[0165] A device for improving the safety of an integrated energy system based on scenario attribution, the device comprising: a processor and a memory, wherein program instructions are stored in the memory, and the processor calls the program instructions stored in the memory to enable the device to execute the following method steps in Example 1:
[0166] Based on the system perception module, the ICES system is perceived and the system modeling and status analysis are realized;
[0167] Handle operational issues in potential operational scenarios based on the operation optimization module;
[0168] Analyze large-scale scenarios based on the scenario attribution analysis module, and find the optimal solution for all scenarios in the same attribution set through a single optimization;
[0169] Based on the safety scheduling module, the safety of the park’s integrated energy system can be improved according to the safety analysis results of the scenario attribution part.
[0170] Among them, the analysis of large-scale scenarios based on the scenario attribution analysis module is as follows:
[0171] By introducing slack variables, the inequality constraints are transformed into equality constraints:
[0172]
[0173]
[0174] Where x represents the scheduling decision vector; y s represents the operational state vector of scene s; p s is the probability of scenario s; b s , b m represents the load vector on the right; c s 、c m represents the cost vector; T0, T s is the coefficient matrix; W s is the coefficient matrix of continuous variables; Ω s is a scene set; coefficient matrix T s , W s They are:
[0175]
[0176]
[0177]
[0178] φ1=[-S start,ees -S start,hes -S start,ces ] T
[0179] φ3=[0 b×(p+k) -I b×b I b×b ]
[0180] φ4=[0 b×(p+k) I b×b -I b×b ]
[0181] Where: ees, hes, ces represent electrical energy storage, heat storage and cold storage respectively; P unitrepresents the maximum output of a unit device; N is the planned number of devices; e represents the type of load; p represents the number of energy input types, k represents the number of non-energy storage devices, and g represents the number of energy storage devices; represents the inner product symbol, I represents the identity matrix, N represents the diagonal matrix, and the diagonal elements are the number of devices in the ICES system; diag(η) represents a t×t-dimensional diagonal matrix with η diagonal elements.
[0182] Among them, the optimal solution for all scenarios in the same attribution set is solved through a single optimization:
[0183]
[0184]
[0185] Among them, δ cB , δ cN A vector representing energy price fluctuations; δ bB , δ bN A vector representing the fluctuation of multiple load levels; δ T represents the renewable energy fluctuation vector;
[0186] The necessary and sufficient conditions for the optimal fundamental matrix to remain unchanged are:
[0187] (W B ) -1 [b+δ b -[T+δ T ]x]≥0
[0188]
[0189] The optimal solution is:
[0190]
[0191] It should be pointed out here that the device description in the above embodiment corresponds to the method description in the embodiment, and the embodiment of the present invention will not be described in detail here.
[0192] The execution subjects of the above-mentioned processor and memory can be devices with computing functions such as computers, single-chip microcomputers, and microcontrollers. In specific implementation, the embodiments of the present invention do not limit the execution subjects and are selected according to the needs of actual applications.
[0193] The data signal is transmitted between the memory and the processor via a bus, which is not described in detail in the embodiment of the present invention.
[0194] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium, the storage medium includes a stored program, and when the program is running, the device where the storage medium is located is controlled to execute the method steps in the above embodiment.
[0195] The computer-readable storage medium includes but is not limited to a flash memory, a hard disk, a solid-state drive, and the like.
[0196] It should be pointed out here that the description of the readable storage medium in the above embodiment corresponds to the description of the method in the embodiment, and the embodiment of the present invention will not be described in detail here.
[0197] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present invention are generated.
[0198] The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions may be stored in a computer-readable storage medium or transmitted via a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by the computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium or a semiconductor medium, etc.
[0199] Unless otherwise specified, the models of the components in the embodiments of the present invention are not limited, and any device that can perform the above functions may be used.
[0200] Those skilled in the art will appreciate that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the serial numbers of the embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0201] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for improving the safety of an integrated energy system based on scenario attribution, characterized in that: The method comprises: Based on the system perception module, the ICES system is perceived and the system modeling and status analysis are realized; Handle operational issues in potential operational scenarios based on the operation optimization module; Analyze large-scale scenarios based on the scenario attribution analysis module, and find the optimal solution for all scenarios in the same attribution set through a single optimization; Based on the safety dispatch module, the safety of the park's integrated energy system can be improved according to the safety analysis results of the scenario attribution part; The analysis of large-scale scenarios based on the scenario attribution analysis module is specifically as follows: By introducing slack variables, the inequality constraints are transformed into equality constraints: Where x represents the scheduling decision vector; y s represents the operational state vector of scene s; p s is the probability of scenario s; b s , b m represents the load vector on the right; c s 、c m represents the cost vector; T0, T s is the coefficient matrix; W s is the coefficient matrix of continuous variables; Ω s is a scene set; coefficient matrix T s , W s They are: φ1=[-S start,ees -S start,hes -S start,ces ] T φ3=[0 b×(p+k) -I b×b I b×b ] φ4=[0 b×(p+k) I b×b -I b×b ] Where: ees, hes, ces represent electrical energy storage, heat storage and cold storage respectively; P unit represents the maximum output of a unit device; N is the planned number of devices; e represents the type of load; p represents the number of energy input types, k represents the number of non-energy storage devices, and g represents the number of energy storage devices; represents the inner product symbol, I represents the identity matrix, N represents the diagonal matrix, and the diagonal elements are the number of devices in the ICES system; diag(η) represents a t×t-dimensional diagonal matrix with η as the diagonal elements.
2. According to claim 1, a method for improving the safety of an integrated energy system based on scenario attribution is characterized in that: The optimal solution for all scenarios in the same attribution set obtained through a single optimization is: Among them, δ cB , δ cN A vector representing energy price fluctuations; δ bB , δ bN A vector representing the fluctuation of multiple load levels; δ T represents the renewable energy fluctuation vector; The necessary and sufficient conditions for the optimal fundamental matrix to remain unchanged are: (W B ) -1 [b+d b -[T+δ r ]x]≥0 The optimal solution is: Among them, W B 、c B Represents the components of the optimal basis, including the matrix itself and its corresponding coefficients and right-hand vector; W N 、c N represents the non-basic matrix and its related elements; δ T represents the renewable energy fluctuation vector.
3. A comprehensive energy system safety improvement device based on scene attribution, characterized in that: The device comprises: a processor and a memory, wherein program instructions are stored in the memory, and the processor calls the program instructions stored in the memory to enable the device to execute the method according to any one of claims 1 to 2.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Park integrated energy system reliability evaluation method based on Lagrange multiplier
CN115423297A
