Modeling method, device and electronic equipment for integrated energy system planning

By numbering energy flows and constructing matrices for the integrated energy system, and generating constraints for linear solutions, the problems of high difficulty and poor versatility in existing models are solved, thus achieving efficient integrated energy system planning.

CN115994672BActive Publication Date: 2026-07-03SUZHOU XIRE ENERGY SAVING ENVIRONMENTAL PROTECTION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU XIRE ENERGY SAVING ENVIRONMENTAL PROTECTION TECH CO LTD
Filing Date
2023-02-27
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing integrated energy system planning models are nonlinear mixed integer programming models, which are difficult to solve, lack universality, and have poor practical effects.

Method used

By numbering the energy flows in the integrated energy system, an energy flow matrix and an energy conversion matrix are constructed, constraints are generated, and objective functions for operating costs and user comfort are obtained. Based on the constraints, a linear solution is performed to determine the target candidate equipment and the energy flow matrix.

Benefits of technology

It achieves zero-assumption modeling of integrated energy systems, reduces the difficulty of solving planning models, and improves the versatility of models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115994672B_ABST
    Figure CN115994672B_ABST
Patent Text Reader

Abstract

The application provides a modeling method and device for comprehensive energy system planning, an electronic device and a storage medium. According to energy flow in a comprehensive energy system, source ends and end terminals of the comprehensive energy system and a plurality of candidate devices are numbered, a first energy flow matrix is constructed according to matching conditions of energy types corresponding to each numbered source end and end terminal, a constraint condition is generated in combination with an energy conversion matrix determined according to a corresponding energy conversion number of each candidate device, a target function of a comprehensive energy system operation cost and user comfort is obtained, the target function is linearly solved based on the constraint condition, target candidate devices required by the comprehensive energy system and a target energy flow matrix and a target energy flow vector of the target candidate devices are obtained, and a comprehensive energy system planning model is constructed. Therefore, zero-hypothesis modeling of the comprehensive energy system is realized, linear solving of the comprehensive energy system planning model is realized, and the universality of the comprehensive energy system planning model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated energy system technology, and in particular to a modeling method, apparatus, electronic device and storage medium for integrated energy system planning. Background Technology

[0002] Currently, integrated energy systems can provide users with a full range of integrated energy sources, including cooling, heating, electricity, gas, and water, greatly reducing energy costs and user maintenance expenses and investments. At the same time, integrated energy systems can be combined with distributed renewable energy sources to improve the controllability of renewable energy sources, thereby supporting the power grid. As a result, integrated energy systems have experienced rapid development in recent years.

[0003] In related technologies, integrated energy system planning is the first step in construction. Currently, the energy hub concept proposed by Swedish scholars has become the main planning modeling method. However, existing integrated energy system planning models are usually nonlinear mixed integer programming, which is difficult to solve and lacks universality, resulting in poor practical effects. Therefore, there is an urgent need for a more intelligent modeling method for integrated energy system planning. Summary of the Invention

[0004] This application proposes a modeling method, apparatus, electronic device, and storage medium for integrated energy system planning.

[0005] The first aspect of this application proposes a modeling method for integrated energy system planning. The method includes: numbering the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system according to the energy flow in the integrated energy system; constructing a first energy flow matrix corresponding to the integrated energy system based on the matching of energy types corresponding to each numbered source and end point; determining the energy conversion matrix corresponding to each candidate device based on the number of energy conversions; determining the constraints of the integrated energy system based on the first energy flow matrix and the energy conversion matrix, and obtaining the objective function of the integrated energy system's operating cost and user comfort; solving the objective function linearly based on the constraints to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices; and constructing an integrated energy system planning model by combining the target candidate devices, the target energy flow matrix, and the target energy flow vector.

[0006] In one embodiment of this application, the step of numbering the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system according to the energy flow in the integrated energy system includes: taking the outlet of the integrated energy system and the inlet of the multiple candidate devices in the integrated energy system as the source points of the energy flow and numbering the source points; taking the inlet of the integrated energy system and the outlet of the multiple candidate devices in the integrated energy system as the end points of the energy flow and numbering the end points.

[0007] In one embodiment of this application, determining the constraints of the integrated energy system based on the first energy flow matrix and the energy conversion matrix, and obtaining the objective function for the operating cost and user comfort of the integrated energy system, includes: determining the energy flow vector of the integrated energy system, the second energy flow matrix of each of the candidate devices, the third energy flow matrix at the inlet of the integrated energy system, and the fourth energy flow matrix at the outlet of the integrated energy system based on the first energy flow matrix; determining the constraints corresponding to the integrated energy system based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, and obtaining the objective function for the operating cost and user comfort of the integrated energy system.

[0008] In one embodiment of this application, determining the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix of the integrated energy system inlet, and the fourth energy flow matrix of the integrated energy system outlet based on the first energy flow matrix includes: concatenating all rows of the energy flow matrix end-to-end to form a single row as the energy flow vector of the integrated energy system; using the number of inlets and outlets of each candidate device as the number of rows in the second energy flow matrix and the number of columns of the energy flow vector as the number of columns in the second energy flow matrix to obtain the second energy flow matrix; using the number of inlets of the integrated energy system as the number of rows in the third energy flow matrix and the number of columns of the energy flow vector as the number of columns in the third energy flow matrix to obtain the third energy flow matrix; and using the number of outlets of the integrated energy system as the number of rows in the fourth energy flow matrix and the number of columns of the energy flow vector as the number of columns in the fourth energy flow matrix to obtain the fourth energy flow matrix.

[0009] This application proposes a modeling method for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Constraints are generated by combining this with the energy conversion matrix determined by the energy conversion times corresponding to each candidate device. Then, objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective functions are solved linearly to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices. This constructs an integrated energy system planning model, thereby achieving zero-assumption modeling of the integrated energy system and enabling linear solution of the integrated energy system planning model, thus improving the versatility of the integrated energy system planning model.

[0010] A second aspect of this application provides a modeling apparatus for integrated energy system planning. The apparatus includes: a numbering module for numbering the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system according to the energy flow in the integrated energy system; a first construction module for constructing a first energy flow matrix corresponding to the integrated energy system based on the matching of energy types corresponding to each numbered source and end point; a first determination module for determining the energy conversion matrix corresponding to each candidate device based on the number of energy conversions corresponding to each candidate device; a second determination module for determining the constraints of the integrated energy system based on the first energy flow matrix and the energy conversion matrix, and obtaining the objective function of the integrated energy system's operating cost and user comfort; a solution module for linearly solving the objective function based on the constraints to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices; and a second construction module for constructing an integrated energy system planning model by combining the target candidate devices, the target energy flow matrix, and the target energy flow vector.

[0011] In one embodiment of this application, the numbering module is specifically used to: designate the outlet of the integrated energy system and the inlet of multiple candidate devices in the integrated energy system as the source end of the energy flow, and number the source end; designate the inlet of the integrated energy system and the outlet of multiple candidate devices in the integrated energy system as the end end of the energy flow, and number the end end.

[0012] In one embodiment of this application, the second determining module includes: a first determining unit, configured to determine, based on the first energy flow matrix, the energy flow vector of the integrated energy system, the second energy flow matrix of each of the candidate devices, the third energy flow matrix at the inlet of the integrated energy system, and the fourth energy flow matrix at the outlet of the integrated energy system; and a second determining unit, configured to determine the constraints corresponding to the integrated energy system based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, and obtain the objective function of the integrated energy system's operating cost and user comfort.

[0013] In one embodiment of this application, the first determining unit is specifically configured to: concatenate all rows of the first energy flow matrix to form a single row, which serves as the energy flow vector of the integrated energy system; use the number of inlets and outlets of each candidate device as the number of rows in the second energy flow matrix, and the number of columns of the energy flow vector as the number of columns in the second energy flow matrix, to obtain the second energy flow matrix; use the number of inlets of the integrated energy system as the number of rows in the third energy flow matrix, and the number of columns of the energy flow vector as the number of columns in the third energy flow matrix, to obtain the third energy flow matrix; and use the number of outlets of the integrated energy system as the number of rows in the fourth energy flow matrix, and the number of columns of the energy flow vector as the number of columns in the fourth energy flow matrix, to obtain the fourth energy flow matrix.

[0014] This application proposes a modeling device for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Constraints are generated by combining this with the energy conversion matrix determined by the energy conversion times corresponding to each candidate device. Then, objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective functions are solved linearly to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices. This constructs an integrated energy system planning model, thereby achieving zero-assumption modeling of the integrated energy system and enabling linear solution of the integrated energy system planning model, thus improving the versatility of the integrated energy system planning model.

[0015] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the modeling method for integrated energy system planning in the embodiments of this application.

[0016] The fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, provides a modeling method for integrated energy system planning in the embodiments of this application.

[0017] Other effects of the above-mentioned alternative methods will be described below in conjunction with specific embodiments. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating a modeling method for integrated energy system planning provided in an embodiment of this application;

[0019] Figure 2 This is a schematic diagram of an integrated energy system structure provided in an embodiment of this application;

[0020] Figure 3 This is a flowchart illustrating another modeling method for integrated energy system planning provided in an embodiment of this application;

[0021] Figure 4 This is a schematic diagram of the structure of a modeling device for integrated energy system planning provided in an embodiment of this application;

[0022] Figure 5 This is a schematic diagram of another modeling device for integrated energy system planning provided in the embodiments of this application;

[0023] Figure 6 This is a block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0024] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0025] The following description, with reference to the accompanying drawings, describes a modeling method, apparatus, and electronic device for integrated energy system planning according to embodiments of this application.

[0026] Figure 1 This is a flowchart illustrating a modeling method for integrated energy system planning provided in this embodiment. It should be noted that the executing entity of the modeling method for integrated energy system planning provided in this embodiment is a modeling device for integrated energy system planning. This modeling device can be implemented by software and / or hardware. In this embodiment, the modeling device for integrated energy system planning can be configured in an electronic device, which may include a server. This embodiment does not specifically limit the type of electronic device.

[0027] like Figure 1 As shown, the modeling method for this integrated energy system planning may include:

[0028] Step 101: Based on the energy flow in the integrated energy system, number the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system.

[0029] In some embodiments, the energy flow in an integrated energy system is the path through which energy travels in the integrated energy system. Thus, the energy flow can be from the source end to the end end. By combining the path through which energy travels, the source end and the end end of the integrated energy system and multiple candidate devices in the integrated energy system can be determined, and each source end and end end can be numbered.

[0030] Specifically, the outlet of the integrated energy system and the inlet of multiple candidate devices in the integrated energy system can be regarded as the source end of the energy flow and numbered. The inlet of the integrated energy system and the outlet of multiple candidate devices in the integrated energy system can be regarded as the end end of the energy flow and numbered. This enables accurate numbering of the source end and end end of the integrated energy system and multiple candidate devices in the integrated energy system, which facilitates subsequent management and use.

[0031] Understandably, to clearly describe the integrated energy system and the numbering of the source and end points of multiple candidate devices within it, we can use five candidate devices as an example, such as... Figure 2 As shown, Figure 2 This is a schematic diagram of a comprehensive energy system structure, in which, Figure 2 Each dotted line represents an energy flow. 1, 2, 3, 4, and 5 represent five candidate devices. a1, a2, a3, a4, a5, a6, a7, and a8 represent the source of the energy flow corresponding to the five candidate devices in the integrated energy system. b1, b2, b3, b4, b5, b6, b7, b8, and b9 represent the end of the energy flow corresponding to the five candidate devices in the integrated energy system. Therefore, Q and P can represent the total number of source and end points, respectively. Figure 2 As shown, Q is the source end, Q=8, and P is the end end, P=9, but it is not limited to this.

[0032] Step 102: Based on the matching of the energy types corresponding to the source and end of each number, construct the first energy flow matrix corresponding to the integrated energy system.

[0033] In some embodiments, the energy type may include nuclear power, wind power, hydropower, and solar power, but is not limited thereto, and this embodiment does not specifically limit it.

[0034] In some embodiments, when the energy type corresponding to the source end numbered q and the end end numbered p are the same, then the source end and the end end match and can become an energy flow, so xp,q is 1; otherwise, it means that the source end and the end end do not match and cannot become an energy flow, so xp,q is 0. Thus, based on the matching of the energy types corresponding to all the source ends numbered q and the ends numbered p, the first energy flow matrix corresponding to the integrated energy system is constructed.

[0035] Step 103: Determine the energy conversion matrix corresponding to each candidate device based on the number of energy conversions for each candidate device.

[0036] In some embodiments, the number of energy conversions corresponding to each candidate device is related to the functionality of the candidate device. For example, when the candidate device is an electric boiler, the energy conversion of the electric boiler is only electric-heat, so the number of energy conversions of the electric boiler is 1. Thus, by considering the number of energy conversions corresponding to each candidate device, an energy conversion matrix corresponding to all candidate devices is established.

[0037] Step 104: Based on the first energy flow matrix and energy conversion matrix, determine the constraints of the integrated energy system and obtain the objective functions for the operating cost and user comfort of the integrated energy system.

[0038] In some embodiments, the constraints of the integrated energy system may include, but are not limited to, the energy conservation of the integrated energy system, the load demand, the demand of the integrated energy system, and the rated values ​​of each integrated energy system. This embodiment does not specifically limit these constraints.

[0039] The constraints of the integrated energy system can be solved step by step based on the first energy flow matrix and the energy conversion matrix mentioned above, so that the integrated energy system can meet the constraints.

[0040] User comfort can be set according to the user's actual needs, but it is not limited to this.

[0041] Step 105: Solve the objective function linearly based on the constraints to obtain the target candidate equipment required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment.

[0042] In some embodiments, the objective function is solved linearly based on constraints. When the objective function reaches its minimum value and the constraints are satisfied, the candidate device corresponding to the linear solution at this time is taken as the target candidate device to be used by the integrated energy system. Based on the source and end of the energy flow corresponding to the target candidate device, the target energy flow matrix and target energy flow vector of the target candidate device are calculated.

[0043] The target energy flow vector is a continuous variable, representing the magnitude of the energy flow.

[0044] Step 106: Combine the target candidate devices, the target energy flow matrix, and the target energy flow vector to construct a comprehensive energy system planning model.

[0045] In some embodiments, target candidate devices, as well as target energy flow matrix and target energy flow vector, can be used as decision variables to establish a comprehensive energy system planning model using commercial solver modeling software, but this is not limited to this.

[0046] The modeling software used for solving the problem can be a mixed integer linear programming (MIP) model, but it is not limited to this. This embodiment does not specifically limit it.

[0047] This application proposes a modeling method for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Constraints are generated by combining this with the energy conversion matrix determined by the energy conversion times corresponding to each candidate device. Then, objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective functions are solved linearly to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices. This constructs an integrated energy system planning model, thereby achieving zero-assumption modeling of the integrated energy system and enabling linear solution of the integrated energy system planning model, thus improving the versatility of the integrated energy system planning model.

[0048] Figure 3 This is a flowchart illustrating another modeling method for integrated energy system planning provided in an embodiment of this application.

[0049] Step 301: Based on the energy flow in the integrated energy system, number the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system.

[0050] It should be noted that the specific implementation methods of steps 201 to 202 can be found in the relevant descriptions in the above embodiments.

[0051] Step 302: Based on the matching of the energy types corresponding to the source and end of each number, construct the first energy flow matrix corresponding to the integrated energy system.

[0052] In some embodiments, the first energy flow matrix X corresponding to the integrated energy system can be constructed as an example based on the matching of energy types corresponding to all source ends numbered q and end ends numbered p, wherein the first energy flow matrix X is a P×Q dimensional matrix.

[0053] Step 303: Determine the energy conversion matrix corresponding to each candidate device based on the number of energy conversions for each candidate device.

[0054] In some embodiments, a candidate device numbered g can have its energy conversion matrix Hg containing the number of rows of that candidate device. For example, an electric boiler only converts energy to heat, so the number of energy conversions is 1; while a combined heat and power unit converts energy to both natural gas to electricity and natural gas to heat, so the number of energy conversions is 2.

[0055] Specifically, each column of the energy conversion matrix H represents all the inlets or outlets of the candidate device. The energy conversion matrices H for several typical candidate devices are shown in Table 1.

[0056] Table 1 Energy Conversion Matrix of Typical Candidate Devices H

[0057]

[0058]

[0059] Step 304: Based on the first energy flow matrix, determine the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix of the integrated energy system inlet, and the fourth energy flow matrix of the integrated energy system outlet.

[0060] In some embodiments, in the first aspect, one way to determine the energy flow vector of the integrated energy system based on the first energy flow matrix is ​​to connect all rows of the energy flow matrix end to end into a single row to serve as the energy flow vector V of the integrated energy system.

[0061] Secondly, one implementation method for determining the second energy flow matrix of each candidate device in the integrated energy system is to use the number of inlets and outlets of each candidate device as the number of rows in the second energy flow matrix and the number of columns of the energy flow vector as the number of columns in the second energy flow matrix to obtain the second energy flow matrix.

[0062] Specifically, when the first energy flow matrix X is a P×Q dimensional matrix and the energy flow vector of the integrated energy system can be V, the formula for solving the second energy flow matrix A for a device numbered g can be:

[0063]

[0064] Thirdly, one implementation method for determining the third energy flow matrix of the integrated energy system inlet is to use the number of integrated energy system inlets as the number of rows of the third energy flow matrix and the number of columns of the energy flow vector as the number of columns of the third energy flow matrix to obtain the third energy flow matrix.

[0065] Specifically, when the first energy flow matrix X is a P×Q dimensional matrix and the energy flow vector of the integrated energy system can be V, the formula for solving the third energy flow matrix W at the inlet of the integrated energy system can be:

[0066] w i,l =x p,q The i-th exit of the energy hub, numbered p, has the formula l = Q(p-1) + q.

[0067] Fourthly, one implementation method for determining the fourth energy flow matrix of the integrated energy system outlet is to use the number of integrated energy system outlets as the number of rows in the fourth energy flow matrix and the number of columns in the energy flow vector as the number of columns in the fourth energy flow matrix to obtain the fourth energy flow matrix.

[0068] Specifically, when the first energy flow matrix X is a P×Q dimensional matrix and the energy flow vector of the integrated energy system can be V, the formula for solving the fourth energy flow matrix U at the outlet of the integrated energy system can be:

[0069] u i,l =x p,q The i-th inlet of the energy hub is numbered q, and l = Q(p-1) + q

[0070] Step 305: Based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, determine the constraints corresponding to the integrated energy system, and obtain the objective functions for the operating cost and user comfort of the integrated energy system.

[0071] In some embodiments, multiple constraints corresponding to the integrated energy are determined sequentially based on the energy flow vector V, the second energy flow matrix A, the third energy flow matrix W, the fourth energy flow matrix U, and the energy conversion matrix H, so that the integrated energy system satisfies the constraints.

[0072] Specifically, for energy conversion devices, energy conservation applies:

[0073] H g A g,t V t =0

[0074] In the table below, g represents the device number and t represents the time.

[0075] For energy storage devices, the law of conservation of energy applies:

[0076] H g A g,t V t =ΔE g,t

[0077] in,

[0078] ΔE g,t =E g,t -E g,t-1

[0079] E g,t=0 =constant

[0080] The output energy of the integrated energy system should not be less than the load demand, that is:

[0081] U t V≥L t

[0082] The imported energy of the integrated energy system equals the demand of each candidate device, that is:

[0083] W t V = P t

[0084] The energy input and output of the candidate device should not exceed the corresponding rated values, that is:

[0085] 0≤A g,t V t ≤C g,max

[0086] E g,min ≤E g,t ≤E g,max

[0087] For each potential energy flow, there is

[0088] 0≤v l,t ≤x l M1

[0089] Where M1 is a large number, and when a certain energy flow V1 is not 0 at any time, x1 is 1, indicating that the potential energy flow is selected.

[0090] For each candidate device, there is

[0091]

[0092] Among them, I g It is a binary variable, where 1 represents selecting the candidate device and 0 represents not selecting the candidate device.

[0093] In addition, it is necessary to obtain the objective functions for the integrated energy system operating cost and user comfort, as follows:

[0094] The objective function can be to minimize the total cost of the system throughout its entire lifecycle, including initial investment costs and operating costs.

[0095] Among them, the initial investment cost C I :

[0096]

[0097] Where r is the interest rate, G is the total number of candidate devices, K is the operating cycle, and C is the operating period. g This is the initial investment in the equipment.

[0098] Operating costs C O :

[0099]

[0100] Where T equals 8600, m represents the energy type input to the integrated energy system, M is the total number of energy types, and f m,t Let P be the price of energy m at time t. m,t Let m be the power of energy source m at time t.

[0101] Step 306: Solve the objective function linearly based on the constraints to obtain the target candidate equipment required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment.

[0102] Step 307: Combine the target candidate devices, the target energy flow matrix, and the target energy flow vector to construct a comprehensive energy system planning model.

[0103] This application proposes a modeling method for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Based on the first energy flow matrix, the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix at the inlet of the integrated energy system, and the fourth energy flow matrix at the outlet of the integrated energy system are determined. Based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, the integrated energy pair is determined. The corresponding constraints are determined, and the objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective function is solved linearly to obtain the target candidate equipment required for the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment. Thus, an integrated energy system planning model is constructed. Therefore, only the candidate equipment and energy supply and demand information need to be input into the integrated energy system planning model to achieve zero-assumption optimal modeling of the integrated energy system and realize the linear solution of the integrated energy system planning model, thereby reducing the difficulty of solving the integrated energy system planning model and improving the versatility of the integrated energy system planning model.

[0104] To implement the above embodiments, this embodiment provides a modeling device for integrated energy system planning. Figure 4 This is a schematic diagram of the structure of a modeling device for integrated energy system planning provided in an embodiment of this application.

[0105] like Figure 4 As shown, the modeling device 400 for the integrated energy system planning includes: a numbering module 401, a first construction module 402, a first determination module 403, a second determination module 404, a solution module 405, and a second construction module 406, wherein:

[0106] Numbering module 401 is used to number the source and end of the integrated energy system and multiple candidate devices in the integrated energy system according to the energy flow in the integrated energy system.

[0107] The first construction module 402 is used to construct the first energy flow matrix corresponding to the integrated energy system based on the matching of the energy types corresponding to the source and end of each number.

[0108] The first determining module 403 is used to determine the energy conversion matrix corresponding to each candidate device based on the number of energy conversions corresponding to each candidate device.

[0109] The second determining module 404 is used to determine the constraints of the integrated energy system based on the first energy flow matrix and energy conversion matrix, and to obtain the objective functions of the integrated energy system operating cost and user comfort.

[0110] The solver module 405 is used to perform a linear solution to the objective function based on the constraints, so as to obtain the target candidate equipment required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment.

[0111] The second construction module 406 is used to combine the target candidate devices, the target energy flow matrix, and the target energy flow vector to construct a comprehensive energy system planning model.

[0112] This application proposes a modeling device for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Constraints are generated by combining this with the energy conversion matrix determined by the energy conversion times corresponding to each candidate device. Then, objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective functions are solved linearly to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices. This constructs an integrated energy system planning model, thereby achieving zero-assumption modeling of the integrated energy system and enabling linear solution of the integrated energy system planning model, thus improving the versatility of the integrated energy system planning model.

[0113] In one embodiment of this application, Figure 5 This is a schematic diagram of another modeling device for integrated energy system planning provided in the embodiments of this application, such as... Figure 5 As shown, the modeling device 500 for the integrated energy system planning may further include: a numbering module 501, a first construction module 502, a first determination module 503, a second determination module 504, a solution module 505, and a second construction module 506, wherein the second determination module 504 includes a first determination unit 5041 and a second determination unit 5042.

[0114] For detailed descriptions of the numbering module 501, the first construction module 502, the first determination module 503, the second determination module 504, the solving module 505, and the second construction module 506, please refer to [link / reference]. Figure 4 The descriptions of module 401, first construction module 402, first determination module 403, second determination module 404, solution module 405, and second construction module 406 in the illustrated embodiment are not repeated here.

[0115] In some embodiments, such as Figure 5 As shown, module 501 is specifically used for:

[0116] The outlet of the integrated energy system and the inlet of multiple candidate devices in the integrated energy system are taken as the source of energy flow, and the source is numbered.

[0117] The inlet of the integrated energy system and the outlet of multiple candidate devices in the integrated energy system are taken as the end of the energy flow, and the end is numbered.

[0118] In some embodiments, such as Figure 5 As shown, the second determining module 504 includes:

[0119] The first determining unit 5041 is used to determine the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix of the integrated energy system inlet, and the fourth energy flow matrix of the integrated energy system outlet based on the first energy flow matrix.

[0120] The second determining unit 5042 is used to determine the constraints corresponding to the integrated energy system based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, and to obtain the objective functions of the integrated energy system operating cost and user comfort.

[0121] In some embodiments, such as Figure 5 As shown, the first determining unit 5041 is specifically used for:

[0122] Connect all rows of the first energy flow matrix end to end to form a single row, which serves as the energy flow vector of the integrated energy system.

[0123] The number of inlets and outlets of each candidate device is used as the number of rows in the second energy flow matrix, and the number of columns in the energy flow vector is used as the number of columns in the second energy flow matrix to obtain the second energy flow matrix.

[0124] The number of imports into the integrated energy system is used as the number of rows in the third energy flow matrix, and the number of columns in the energy flow vector is used as the number of columns in the third energy flow matrix to obtain the third energy flow matrix.

[0125] The number of outlets of the integrated energy system is used as the number of rows in the fourth energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the fourth energy flow matrix to obtain the fourth energy flow matrix.

[0126] This application proposes a modeling device for integrated energy system planning. Based on the energy flow within the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices are numbered. A first energy flow matrix is ​​constructed based on the matching of energy types corresponding to each numbered source and end point. Constraints are generated by combining this with the energy conversion matrix determined by the energy conversion times corresponding to each candidate device. Then, objective functions for the operating cost and user comfort of the integrated energy system are obtained. Based on the constraints, the objective functions are solved linearly to obtain the target candidate devices required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate devices. This constructs an integrated energy system planning model, thereby achieving zero-assumption modeling of the integrated energy system and enabling linear solution of the integrated energy system planning model, thus improving the versatility of the integrated energy system planning model.

[0127] like Figure 6 The diagram shown is a block diagram of an electronic device according to an embodiment of this application.

[0128] like Figure 6 As shown, the electronic device includes:

[0129] The memory 601, the processor 602, and the computer instructions stored in the memory 601 and executable on the processor 602.

[0130] When the processor 602 executes instructions, it implements the modeling method for integrated energy system planning provided in the above embodiments.

[0131] Furthermore, electronic devices also include:

[0132] Communication interface 603 is used for communication between memory 601 and processor 602.

[0133] The memory 601 is used to store computer instructions that can be run on the processor 602.

[0134] The memory 601 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0135] The processor 602 is used to implement the modeling method for integrated energy system planning in the above embodiments when executing the program.

[0136] If the memory 601, processor 602, and communication interface 603 are implemented independently, then the communication interface 603, memory 601, and processor 602 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0137] Optionally, in a specific implementation, if the memory 601, processor 602, and communication interface 603 are integrated on a single chip, then the memory 601, processor 602, and communication interface 603 can communicate with each other through an internal interface.

[0138] The processor 602 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0139] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0140] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0141] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A modeling method for integrated energy system planning, characterized in that, The method includes: Based on the energy flow in the integrated energy system, the source and end points of the integrated energy system and multiple candidate devices in the integrated energy system are numbered. Based on the matching of the energy types corresponding to the source and end of each number, a first energy flow matrix corresponding to the integrated energy system is constructed; Based on the number of energy conversions corresponding to each candidate device, determine the energy conversion matrix corresponding to the candidate device; Based on the first energy flow matrix and the energy conversion matrix, the constraints of the integrated energy system are determined, and the objective functions for the operating cost and user comfort of the integrated energy system are obtained. The objective function is solved linearly based on the constraints to obtain the target candidate equipment required for the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment. By combining the target candidate devices, the target energy flow matrix, and the target energy flow vector, a comprehensive energy system planning model is constructed. The step of numbering the source and end points of the integrated energy system and multiple candidate devices within the integrated energy system based on the energy flow in the integrated energy system includes: The outlet of the integrated energy system and the inlet of multiple candidate devices in the integrated energy system are taken as the source of the energy flow, and the source is numbered. The inlet of the integrated energy system and the outlet of multiple candidate devices in the integrated energy system are taken as the ends of the energy flow, and the ends are numbered. The process of determining the constraints of the integrated energy system based on the first energy flow matrix and the energy conversion matrix, and obtaining the objective functions for the operating cost and user comfort of the integrated energy system, includes: Based on the first energy flow matrix, the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix of the integrated energy system inlet, and the fourth energy flow matrix of the integrated energy system outlet are determined. Based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, the constraints corresponding to the integrated energy system are determined, and the objective functions for the operating cost and user comfort of the integrated energy system are obtained. The process of determining the energy flow vector of the integrated energy system, the second energy flow matrix of each candidate device, the third energy flow matrix at the inlet of the integrated energy system, and the fourth energy flow matrix at the outlet of the integrated energy system based on the energy flow matrix includes: Connect all rows of the first energy flow matrix end to end to form a single row, which serves as the energy flow vector of the integrated energy system. The number of inlets and outlets of each candidate device is used as the number of rows in the second energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the second energy flow matrix to obtain the second energy flow matrix; The number of inlets of the integrated energy system is used as the number of rows in the third energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the third energy flow matrix to obtain the third energy flow matrix; The number of outlets of the integrated energy system is used as the number of rows in the fourth energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the fourth energy flow matrix to obtain the fourth energy flow matrix.

2. A modeling device for integrated energy system planning, characterized in that, The device includes: The numbering module is used to number the source and end of the integrated energy system and multiple candidate devices in the integrated energy system according to the energy flow in the integrated energy system; The first construction module is used to construct the first energy flow matrix corresponding to the integrated energy system based on the matching of the energy types corresponding to the source and end of each number; The first determining module is used to determine the energy conversion matrix corresponding to each candidate device based on the number of energy conversions corresponding to each candidate device. The second determining module is used to determine the constraints of the integrated energy system based on the first energy flow matrix and the energy conversion matrix, and to obtain the objective functions of the integrated energy system operating cost and user comfort. The solution module is used to perform a linear solution to the objective function based on the constraints, so as to obtain the target candidate equipment required by the integrated energy system, as well as the target energy flow matrix and target energy flow vector of the target candidate equipment; The second construction module is used to combine the target candidate devices, the target energy flow matrix, and the target energy flow vector to construct a comprehensive energy system planning model; The numbering module is specifically used for: The outlet of the integrated energy system and the inlet of multiple candidate devices in the integrated energy system are taken as the source of the energy flow, and the source is numbered. The inlet of the integrated energy system and the outlet of multiple candidate devices in the integrated energy system are taken as the ends of the energy flow, and the ends are numbered. The second determining module includes: The first determining unit is used to determine, based on the first energy flow matrix, the energy flow vector of the integrated energy system, the second energy flow matrix of each of the candidate devices, the third energy flow matrix of the inlet of the integrated energy system, and the fourth energy flow matrix of the outlet of the integrated energy system; The second determining unit is used to determine the constraints corresponding to the integrated energy system based on the energy flow vector, the second energy flow matrix, the third energy flow matrix, the fourth energy flow matrix, and the energy conversion matrix, and to obtain the objective function of the integrated energy system operating cost and user comfort. The first determining unit is specifically used for: Connect all rows of the first energy flow matrix end to end to form a single row, which serves as the energy flow vector of the integrated energy system. The number of inlets and outlets of each candidate device is used as the number of rows in the second energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the second energy flow matrix to obtain the second energy flow matrix; The number of inlets of the integrated energy system is used as the number of rows in the third energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the third energy flow matrix to obtain the third energy flow matrix; The number of outlets of the integrated energy system is used as the number of rows in the fourth energy flow matrix, and the number of columns of the energy flow vector is used as the number of columns in the fourth energy flow matrix to obtain the fourth energy flow matrix.

3. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the program, implements the modeling method for integrated energy system planning as described in claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the modeling method for integrated energy system planning as described in claim 1.