Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. In this section, as well as in the abstract and the title of the invention of this application, simplifications or omissions may be made to avoid obscuring the purpose of the section, the abstract and the title, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned conventional problems.
Therefore, the technical problem solved by the invention is as follows: the complementary substitution effect of energy in the traditional technical scheme brings huge and flexible strategy optimization space for the demand side no matter in normal operation, demand response or emergency operation, but also brings uncertainty for the cooperation and reliable operation of the comprehensive energy transmission system.
In order to solve the technical problems, the invention provides the following technical scheme: establishing a flexibility model of a comprehensive energy user based on a physical model of the equipment and an energy substitution effect; establishing a tidal current dynamic characteristic model of the natural gas system based on a continuity and momentum characteristic equation and a linearization technology; establishing an operation reliability model of system elements according to the flexibility model of the comprehensive energy user, the flow dynamic characteristic model of the natural gas system and the Markov process in a discrete time domain, and generating a forward-looking comprehensive energy system emergency state cooperative management technology; and evaluating the operational reliability of the operational reliability model solving process by a time sequence Monte Carlo method.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: the comprehensive energy system comprises a transmission side and a demand side, wherein the transmission side is an electric power and natural gas combined system, and the demand side is a comprehensive energy user.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: the flexibility of the integrated energy user is determined by the feasible domain in which it operates, with constraints including,
H[ei gi xst]T=[del-lcel dht-lcht dcl-lccl 01×8]T
h1h+h14≥0
xst≥0
0≤[lcel lcht lccl]≤[lcel+ lcht+ lccl+]
wherein, H [ ei gi x
st]
TThe formula is the energy conversion constraint of the integrated energy user, H is the energy conversion matrix, ei and gi are the power and natural gas consumption of the EH, x
st=[g
g1,g
g2,e
ee,e
e3,e
1e,e
13,h
1h,h
14,h
2h,h
24,c
3c,h
3h,c
4c]Is the state variable of EH, g
g1Consumption of natural gas power for cogeneration units, g
g2Power of natural gas consumption for gas turbine units, e
eeSupplying the power of the electrical load directly to the combined electrical and natural gas system, e
e3Electric power directly supplied to electric heat pump for electric natural gas combined system, e
1eElectric power supplied to the electric heat pump for the cogeneration unit, e
13Supplying the cogeneration unit with electric power of the electric heat pump, h
1hSupplying thermal loads to cogeneration unitsThermal power of h
14Supplying the cogeneration unit with the thermal power of the absorption chiller h
2hSupplying the gas boiler with thermal power of the thermal load, h
24Supplying the gas boiler with thermal power of the absorption chiller, c
3cSupply of cold power of cold load to electric heat pump, h
3hSupplying the heat pump with heat-loaded thermal power, c
4cFor supplying the absorption refrigerator with the cold power of the cold load, d
el、d
htAnd d
clThe electric, thermal and cold load requirements of EH, respectively, el, ht and cl represent three energy types of electric, thermal and cold, respectively, lc and lc
+Respectively representing the load reduction of each energy type and the upper limit thereof, gamma is the operation mode of the electric heat pump, gamma-1 represents the work heating mode, gamma-0 represents the cooling mode,
is the energy efficiency coefficient of the electric heating pump for heating,
coefficient of energy efficiency, COP, for electric heat pump refrigeration
4In order to absorb the energy efficiency coefficient of the refrigerator,
in order to achieve the power generation efficiency of the cogeneration unit,
for the heat production efficiency, eta, of cogeneration units
2For the efficiency of a gas boiler, formula h
1h+h
14≥0、
Form the operation domain of the electric heat cogeneration unit, wherein (E)
A,H
A)、(E
B,H
B)、(H
C,E
C) And (H)
D,E
D) The four combinations of heat production power and power generation power respectively form the operation of the electric heat cogeneration unitThe four poles of the feasible region are,
and
respectively the heat production or refrigeration capacity of the gas boiler, the electric heat pump and the absorption refrigerator,
and
the minimum heat production or cooling power of these devices, respectively.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: the establishing of the flow dynamic characteristic model of the natural gas system comprises the following steps of modeling the dynamic characteristic of the natural gas flow in a single natural gas pipeline: the natural gas flow is defined in a horizontal natural gas pipeline, the compressibility of the natural gas is constant, and no heat exchange is carried out with the outside, and the continuity and the momentum characteristic of the natural gas flow are described by the following partial differential equation system:
wherein p and q are respectively the gas pressure and flow along the natural gas pipeline as a function of time t and distance x, B is the isothermal wave velocity of the gas, calculated by the gas equation of state, ρ0The natural gas density under standard conditions, D is the diameter of a natural gas pipeline, A is the cross section area of the pipeline, and F is the Vannin transmission coefficient;
formula (II)
Taylor expansion is further performed near the steady state operating point:
wherein p is*、q*A reference point for Taylor expansion of a function of the gas pressure and the power flow of the natural gas, wherein Δ p is p (x, t) -p (x,0), and Δ q is q (x, t) -q (x,0) is increment of the function of the gas pressure and the power flow of the natural gas on the basis of an original steady state solution;
by the finite difference method, the above equation can be further developed as:
where k is the ordinal number of the discrete time step, Δ x is the step of the spatial dimension,
and
respectively referring to the reference points of the tidal current and the air pressure of the natural gas on the pipeline segment m, wherein the selection of the reference point expanded by taylor influences the precision of the calculation result, and then the initial states p (x,0) and q (x,0) of the steady state at the moment when the transient process starts, i.e. t is 0, are selected as the reference points;
general formula
Discretization is as follows:
ΔxA(pm+1,k+1+pm,k+1-pm+1,k-pm,k)+Δtρ0B2(qm+1,k+1-qm,k+1+qm+1,k-qm,k)=0
wherein, Δ t is the step length of the time dimension;
in addition, the node pressure needs to be maintained within a certain range during the demand response:
wherein the content of the first and second substances,
and
respectively the upper limit and the lower limit of the air pressure of the node i;
after establishing the dynamic equations for all the pipes, the initial conditions are determined according to the following formula:
the boundary condition is determined according to the following formula:
wherein L is
ijFor the length of the pipe ij,
and
derived from combined steady-state power flow of electric power and natural gasThe pressure of the node i and the natural gas flow rate of the pipeline ij, sgn (x) is a sign function, when x is larger than or equal to 0, sgn (x) is 1, when x is smaller than 0, sgn (x) is 1, C
ijFor the characteristic parameters of the pipeline in the Weymouth natural gas flow equation,
set of natural gas lines to which node i is connected, w
iGas production rate of natural gas source of node i, gd
iIn order to be the load of the natural gas,
is the set of gas turbine groups of node i,
generated power, xi, of gas turbine group j as node i
i,jFor its efficiency, E is the number of EH, E
iSet of EHs, gi, for node i
eNatural gas consumption as EH;
for the power system, the power system is coupled with the natural gas system through a gas turbine set and an integrated energy user, so that the model of the operation period is as follows:
fij=(θi-θj)/Xij
wherein the content of the first and second substances,
is the collection of non-gas turbine groups on node i,
power generation for non-gas turbine units, ed
iTo the electrical load, ei
eIs the power consumption of EH, f
ijFor power flow on line ij, θ
iIs the phase angle of voltage, X
ijIs reactive.
Taking into account the flexibility of both supply and demand as described in the present inventionAn optimized scheme of the method for analyzing the reliability of the comprehensive energy system, wherein: the establishing of the operation reliability model of the system element comprises, in order to match with a basic scheduling period of the system, regarding a state transition process of the element as a discrete-time markov process, wherein a basic time step of a system state duration is a scheduling period Δ d, in a next scheduling period d +1, according to whether the state of the element is transitioned or not and the state after transition is different, the system may enter different states, and it is defined that only one element can undergo state transition at the same time, and then, in the next scheduling period, the probability that the system is in each state is calculated by the following formula: still remaining in the original state, i.e. without the probability Pr of a state transition of an element during the d +1 period0Can be calculated as:
wherein NC is the serial number of the system component, NC is the total number of the system component,
for element nc in state h
ncIs calculated from a partial differential equation describing the state transition of the system, h
ncFor the state of element nc in the scheduling period d, d
ncFor the first time element nc is in state h
ncThe sequence number of the scheduling period of (1); a state transition occurs, element nc from state h
ncIs transferred to h
ncThe probability of' is:
and continuously repeating the state generation process to obtain the state sequence of the elements in the operation period, so that the state sequence of the system is formed by combination.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: said "look ahead"the goal of the integrated energy system emergency collaborative management technique is to minimize the total cost of operation C over a given time domainT:
Wherein EB and GB are respectively the set of power nodes and natural gas nodes,
and C
IEGSThe self-scheduling cost of the comprehensive energy user e and the operation cost of the electric power and natural gas combined system are calculated in the following mode:
wherein K is a set of time steps in a time domain involved in the emergency cooperative management, CDF
eAnd CDF
gUser loss function, cst, for the electrical and natural gas load, respectively
i,jIs the generating cost function, gp, of the non-gas turbine set j on the node i
i,kFor the natural gas purchase price of the gas source on the node i at the time step k,
and
respectively the climbing cost coefficients of the non-gas turbine set/gas turbine set j on the node i,
is the climbing cost coefficient of the natural gas source on the node i.
Double-sided flexibility of supply and demand considerations as described in the present inventionA preferred embodiment of the method for analyzing the reliability of a sexual integrated energy system, wherein: the state variables of the operation reliability model comprise the state variables of the power and natural gas combined system and the state variables of the comprehensive energy users; the state variables of the power and natural gas combined system comprise at each time step k: natural gas pressure p on each pipeline segment m
m,kAnd natural gas flow q
m,k(ii) a Output w of natural gas source on natural gas node i
i,k(ii) a Load shedding ec on natural gas and power nodes i
i,kAnd gc
i,k(ii) a Generating power of gas turbine set and non-gas turbine set j on power node i
And
phase angle θ of voltage at power node i
i,k(ii) a The state variables of the integrated energy users comprise the following state variables of each user e in each time step k: electric power consumption ei
e,kAnd natural gas consumption gi
e,k(ii) a Reduction lc for electric, cold and heat load
lL belongs to { el, cl, ht }; state variables of the remaining devices of the EH.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: constraints of the operational reliability model on all time steps k include power system flow constraints:
fij=(θi-θj)/Xij
natural gas dynamic flow and boundary condition constraints; element upper and lower limit constraints:
wherein the content of the first and second substances,
and W
i hRespectively the power generation capacity and the gas production capacity of the non-gas turbine set, the gas turbine set and the gas source when the scheduling time interval is in a state h; terminal conditions:
pi,j,m,NK≥(1-γ)pi,j,m,0
wherein p isi,j,m,0Representing the air pressure of the natural gas pipeline ij at the pipeline section m in the normal operation state at the time when t is 0, NK is the time step number of the management time domain of the time emergency state, and γ is a relative value of an allowable fluctuation range of the air pressure; and (4) self-scheduling operation constraint at the user side of the comprehensive energy.
As a preferable scheme of the method for analyzing the reliability of the integrated energy system considering the flexibility of both supply and demand sides, the method comprises the following steps: the operation reliability evaluation of the operation reliability model solving process through a time sequence Monte Carlo method comprises the steps of calculating operation reliability parameters according to results after each iteration is finished, wherein the operation reliability parameters comprise expected values EDNS of power supply shortage on the node iiProbability of power supply shortage LOLPiExpected value EENS for insufficient power supplyiNatural gas starvation expected value EGNSiNatural gas starvation probability LOGPiAnd natural gas supply shortage expected value EVNSiAnd calculating to obtain the operation reliability parameter by adopting the following formula:
wherein, N is the sampling times of the time sequence Monte Carlo method, and flag (x) is defined as: flag (x) 1 when x > 0, and flag (x) 0 when x ≦ 0;
the convergence criterion of the time sequence Monte Carlo method is the relative standard deviation of EVNS:
wherein Var (x) is the variance of x; if the formula is satisfied, the operation reliability parameters are considered to be converged, and four operation reliability parameters are output.
The invention has the beneficial effects that: according to the method, the operation reliability of the comprehensive energy system is judged, so that weak links and weak time periods in operation of the system can be determined, and decision help is provided for the day-ahead unit combination, equipment switching, operation scheme making and emergency fault management of the system; on one hand, the reliability evaluation method can reflect the reliability of the comprehensive energy system in the operation period more accurately in real time due to the consideration of the dynamic characteristic of natural gas transmission; on the other hand, the method can effectively ensure the reliable energy utilization of the user by utilizing the flexibility of the comprehensive energy user.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below, and it is apparent that the described embodiments are a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present invention, shall fall within the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
Furthermore, reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
The present invention will be described in detail with reference to the drawings, wherein the cross-sectional views illustrating the structure of the device are not enlarged partially in general scale for convenience of illustration, and the drawings are only exemplary and should not be construed as limiting the scope of the present invention. In addition, the three-dimensional dimensions of length, width and depth should be included in the actual fabrication.
Meanwhile, in the description of the present invention, it should be noted that the terms "upper, lower, inner and outer" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and operate, and thus, cannot be construed as limiting the present invention. Furthermore, the terms first, second, or third are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The terms "mounted, connected and connected" in the present invention are to be understood broadly, unless otherwise explicitly specified or limited, for example: can be fixedly connected, detachably connected or integrally connected; they may be mechanically, electrically, or directly connected, or indirectly connected through intervening media, or may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1
Referring to fig. 1 to 3, an embodiment of the present invention provides a method for analyzing reliability of an integrated energy system considering flexibility of both supply and demand sides, including:
the comprehensive energy system comprises a transmission side and a demand side, wherein the transmission side is an electric power and natural gas combined system, and the demand side is a comprehensive energy user.
The topological structure of the power and natural gas combined system is formed by connecting a plurality of nodes through a plurality of edges, wherein the nodes comprise three types of power nodes, natural gas nodes and coupling nodes, and the edges comprise two types of power lines and natural gas pipelines; the natural gas nodes or the natural gas nodes and the coupling nodes are connected or not connected through natural gas pipelines; the node is provided with equipment and loads, the equipment comprises a non-natural gas unit, a natural gas unit and a natural gas source, the non-natural gas unit is positioned on the power node/coupling node, the natural gas unit only exists and exists on the coupling node, and the gas source is positioned on the natural gas node/coupling node; the load comprises a power load and a natural gas load, the power load is positioned on a power node/coupling node, and the natural gas load is positioned on a natural gas node/coupling node;
the comprehensive energy user is positioned on the coupling node, consumes the electric power and the natural gas from the electric power and natural gas transmission system and is also regarded as the electric power and natural gas load of the electric power and natural gas combined system, the comprehensive energy user comprises a plurality of devices, including a cogeneration unit, a gas boiler, an electric heat pump and an absorption refrigerator, and the devices convert the electric power and the natural gas obtained by the comprehensive energy user in the electric power and natural gas combined system into energy forms of electricity, cold and heat to meet the terminal load requirement of the comprehensive energy user, wherein the cogeneration unit consumes the natural gas to generate heat and electricity, the gas boiler consumes the natural gas to generate heat, the electric heat pump consumes the electricity to generate heat or cold, and the absorption refrigerator consumes the heat to generate cold.
S1: establishing a flexibility model of a comprehensive energy user based on a physical model of the equipment and an energy substitution effect; it should be noted that:
the flexibility of an integrated energy user is determined by the feasible domain in which it operates, which satisfies the following constraints:
h1h+h14≥0
xst≥0
0≤[lcel lcht lccl]≤[lcel+ lcht+ lccl+]
wherein, H [ ei gi x
st]
TThe formula is the energy conversion constraint of the integrated energy user, H is the energy conversion matrix, ei and gi are the power and natural gas consumption of the EH, x
st=[g
g1,g
g2,e
ee,e
e3,e
1e,e
13,h
1h,h
14,h
2h,h
24,c
3c,h
3h,c
4c]Is the state variable of EH, g
g1Consumption of natural gas power for cogeneration units, g
g2Power of natural gas consumption for gas turbine units, e
eeSupplying the power of the electrical load directly to the combined electrical and natural gas system, e
e3Electric power directly supplied to electric heat pump for electric natural gas combined system, e
1eElectric power supplied to the electric heat pump for the cogeneration unit, e
13Supplying the cogeneration unit with electric power of the electric heat pump, h
1hSupplying thermal power of thermal load, h, to cogeneration unit
14Supplying the cogeneration unit with the thermal power of the absorption chiller h
2hSupplying the gas boiler with thermal power of the thermal load, h
24Supplying the gas boiler with thermal power of the absorption chiller, c
3cSupply of cold power of cold load to electric heat pump, h
3hSupplying the heat pump with heat-loaded thermal power, c
4cFor supplying the absorption refrigerator with the cold power of the cold load, d
el、d
htAnd d
clThe electric, thermal and cold load requirements of EH, respectively, el, ht and cl represent three energy types of electric, thermal and cold, respectively, lc and lc
+Respectively representing the load reduction of each energy type and the upper limit thereof, gamma is the operation mode of the electric heat pump, gamma-1 represents the work heating mode, gamma-0 represents the cooling mode,
is the energy efficiency coefficient of the electric heating pump for heating,
coefficient of energy efficiency, COP, for electric heat pump refrigeration
4In order to absorb the energy efficiency coefficient of the refrigerator,
in order to achieve the power generation efficiency of the cogeneration unit,
for the heat production efficiency, eta, of cogeneration units
2For the efficiency of a gas boiler, formula h
1h+h
14≥0、
Form the operation domain of the electric heat cogeneration unit, wherein (E)
A,H
A)、(E
B,H
B)、(H
C,E
C) And (H)
D,E
D) The four combinations of heat production power and power generation power respectively form four poles of the operation feasible region of the combined heat and power generation unit,
and
respectively the heat production or refrigeration capacity of the gas boiler, the electric heat pump and the absorption refrigerator,
and
the minimum heat production or cooling power of these devices, respectively.
S2: establishing a tidal current dynamic characteristic model of the natural gas system based on a continuity and momentum characteristic equation and a linearization technology; it should be noted that:
firstly, modeling the dynamic characteristics of the natural gas flow in a single natural gas pipeline; assuming that the compressibility of natural gas is constant and there is no heat exchange with the outside world in a horizontal natural gas pipeline, the continuity and momentum characteristics of a natural gas flow can be generally described by the following partial differential equations:
wherein p and q are respectively the gas pressure and flow along the natural gas pipeline as a function of time t and distance x, B is the isothermal wave velocity of the gas, calculated by the gas equation of state, ρ0The natural gas density under standard conditions, D is the diameter of a natural gas pipeline, A is the cross section area of the pipeline, and F is the Vannin transmission coefficient;
on the basis of the above nonlinear partial differential equation, the following assumptions are made: (a) derivative with respect to time
Item pair
The precision influence of (2) is small, especially in a large-capacity and long-distance natural gas transmission pipeline, so that the precision influence is neglected; (b) under the same system state, the direction of the natural gas tide in the pipeline is always kept consistent; in actual operation, this assumption is also widely adopted by past studies; then
The taylor expansion may be further performed near the steady state operating point:
wherein p is*、q*A reference point for Taylor expansion of a function of the gas pressure and the power flow of the natural gas, wherein Δ p is p (x, t) -p (x,0), and Δ q is q (x, t) -q (x,0) is increment of the function of the gas pressure and the power flow of the natural gas on the basis of an original steady state solution;
by the finite difference method, the above equation can be further developed as:
where k is the ordinal number of the discrete time step, Δ x is the step of the spatial dimension, q ×mAnd pmRespectively referring to the reference points of the tidal current and the air pressure of the natural gas on the pipeline segment m, wherein the selection of the reference point expanded by taylor influences the precision of the calculation result, and then the initial states p (x,0) and q (x,0) of the steady state at the moment when the transient process starts, i.e. t is 0, are selected as the reference points;
general formula
Discretization is as follows:
ΔxA(pm+1,k+1+pm,k+1-pm+1,k-pm,k)+Δtρ0B2(qm+1,k+1-qm,k+1+qm+1,k-qm,k)=0
wherein, Δ t is the step length of the time dimension;
in addition, the node pressure needs to be maintained within a certain range during the demand response:
wherein the content of the first and second substances,
and
respectively the upper limit and the lower limit of the air pressure of the node i;
after establishing the dynamic equations for all the pipes, the initial conditions are determined according to the following formula:
the boundary condition is determined according to the following formula:
wherein L is
ijIs the length of the pipe ijThe degree of the magnetic field is measured,
and
the pressure of a node i and the natural gas flow rate of a pipeline ij obtained in the power and natural gas combined steady-state power flow, sgn (x) is a sign function, sgn (x) is 1 when x is larger than or equal to 0, and sgn (x) is-1 when x is smaller than 0, and C
ijFor the characteristic parameters of the pipeline in the Weymouth natural gas flow equation,
set of natural gas lines to which node i is connected, w
iGas production rate of natural gas source of node i, gd
iIn order to be the load of the natural gas,
is the set of gas turbine groups of node i,
generated power, xi, of gas turbine group j as node i
i,jFor its efficiency, E is the number of EH, E
iSet of EHs, gi, for node i
eNatural gas consumption as EH;
for the power system, the power system is coupled with the natural gas system through a gas turbine set and an integrated energy user, so that the model of the operation period is as follows:
fij=(θi-θj)/Xij
wherein the content of the first and second substances,
is the collection of non-gas turbine groups on node i,
power generation for non-gas turbine units, ed
iTo the electrical load, ei
eIs the power consumption of EH, f
ijFor power flow on line ij, θ
iIs the phase angle of voltage, X
ijIs reactive.
S3: according to the flexibility model of the comprehensive energy user, the trend dynamic characteristic model of the natural gas system and the Markov process in a discrete time domain, establishing an operation reliability model of a system element and generating a forward-looking comprehensive energy system emergency state cooperative management technology; it should be noted that:
in the operation process of the comprehensive energy system, the system may enter an emergency state from a normal operation state due to random failure of energy supply elements such as a generator and an air source on a transmission side; in this case, on the one hand, the gas production rate of the gas source and the generated power of the generator set may be rescheduled, and on the other hand, the integrated energy user may also adjust its own operating mode to maintain the balance of supply and demand of the system. In some more severe emergency situations, the electrical or natural gas load may also be curtailed, thereby affecting the reliability of the system. In order to reduce the influence of the emergency state on the system reliability as much as possible, the embodiment makes full use of the flexible model of the integrated energy user and the dynamic model of the power and natural gas combined system to construct a "look-ahead" collaborative management framework of the emergency state of the integrated energy system.
In order to simulate the probability characteristic and the time sequence characteristic of the system emergency state, firstly, modeling is carried out aiming at the reliability of an element; to match the basic scheduling period of the system, the state transition process of an element is treated as a discrete-time markov process with a basic time step of the system state duration being one scheduling period Δ d; in the next scheduling period d +1, the system may enter different states according to whether the element state is transferred and the state after the transfer is different. Assuming that only one element can have a state transition at the same time, the probability that the system is in each state during the next scheduling period can be calculated by:
(1) still remaining in the original state, i.e. without the probability Pr of a state transition of an element during the d +1 period0Can be calculated as:
wherein NC is the serial number of the system component, NC is the total number of the system component,
for element nc in state h
ncIs calculated from a partial differential equation describing the state transition of the system, h
ncFor the state of element nc in the scheduling period d, d
ncFor the first time element nc is in state h
ncThe sequence number of the scheduling period of (1);
(2) a state transition occurs, element nc from state hncIs transferred to hncThe probability of' is:
and continuously repeating the state generation process to obtain the state sequence of the elements in the operation period, so that the state sequence of the system is formed by combination.
Due to the continuity of the natural gas system in the state caused by the dynamic characteristic of the natural gas flow, the optimization range of the emergency state management is the element operation state in a certain time domain, however, the system scheduling mechanism cannot predict all system state sequences of the operation time period in advance, and only can know the state of the system in the current scheduling time period and predict the system state in a plurality of limited scheduling time periods in the future.
Further, the goal of "look-ahead" integrated energy system emergency coordinated management is to minimize the total cost of operation C over a given time domain
T. Where "look ahead" means that optimal control over a certain time domain requires restrictions on the end conditions at the end of the period to prevent misuseThe management is used, so that the operation of the system in the next time domain can have a better system initial state, and the capability of resisting risks in the future scheduling period is maintained; the state variables of the optimization model comprise two categories of state variables of the power and natural gas combined system and state variables of the comprehensive energy users. Wherein, the state variable of the power and natural gas combined system comprises the following parameters in each time step k: natural gas pressure p on each pipeline segment m
m,kAnd natural gas flow q
m,k(ii) a Output w of natural gas source on natural gas node i
i,k(ii) a Load shedding ec on natural gas and power nodes i
i,kAnd gc
i,k(ii) a Generating power of gas turbine set and non-gas turbine set j on power node i
And
phase angle θ of voltage at power node i
i,k. The state variables of the integrated energy users include at each time step k: electric power consumption ei
e,kAnd natural gas consumption gi
e,k(ii) a Reduction lc for electric, cold and heat load
lL belongs to { el, cl, ht }; the state variables of the remaining devices of the EH, as noted in fig. 3.
Wherein the total running cost CTComprises the following steps:
wherein EB and GB are respectively the set of power nodes and natural gas nodes,
and C
IEGSThe self-scheduling cost of the comprehensive energy user e and the operation cost of the electric power and natural gas combined system are calculated in the following mode:
wherein K is a set of time steps in a time domain involved in the emergency cooperative management, CDF
eAnd CDF
gUser loss function, cst, for the electrical and natural gas load, respectively
i,jIs the generating cost function, gp, of the non-gas turbine set j on the node i
i,kFor the natural gas purchase price of the gas source on the node i at the time step k,
and
respectively the climbing cost coefficients of the non-gas turbine set/gas turbine set j on the node i,
is the climbing cost coefficient of the natural gas source on the node i.
Further, the constraints of the operational reliability model for all time steps k include:
power flow constraint of the power system:
fij=(θi-θj)/Xij
natural gas dynamic flow and boundary condition constraints;
element upper and lower limit constraints: the upper limit of the power generation capacity or the gas production rate of the element is determined by the failure or repair of the element, and the state sequence of the element in operation is determined by the method; assuming that at time step k, at each element is in state h, then:
wherein the content of the first and second substances,
and W
i hRespectively the power generation capacity and the gas production capacity of the non-gas turbine set, the gas turbine set and the gas source when the scheduling time interval is in a state h;
terminal conditions:
pi,j,m,NK≥(1-γ)pi,j,m,0
wherein p isi,j,m,0Representing the air pressure of the natural gas pipeline ij at the pipeline section m in the normal operation state at the time when t is 0, NK is the time step number of the management time domain of the time emergency state, and γ is a relative value of an allowable fluctuation range of the air pressure;
and (4) self-scheduling operation constraint at the user side of the comprehensive energy.
S4: performing operation reliability evaluation on the operation reliability model solving process by a time sequence Monte Carlo method; it should be noted that:
calculating an operational reliability parameter according to a result after each iteration is finished, wherein the operational reliability parameter comprises an expected value EDNS of power supply shortage on the node iiProbability of power supply shortage LOLPiExpected value EENS for insufficient power supplyiNatural gas starvation expected value EGNSiNatural gas starvation probability LOGPiAnd natural gas supply shortage expected value EVNSiAnd calculating to obtain an operation reliability parameter by adopting the following formula:
wherein, N is the sampling times of the time sequence Monte Carlo method, and flag (x) is defined as: flag (x) 1 when x > 0, and flag (x) 0 when x ≦ 0;
the convergence criterion of the time sequence Monte Carlo method is the relative standard deviation of EVNS:
wherein Var (x) is the variance of x;
if the formula is satisfied, the operation reliability parameters are considered to be converged, and four operation reliability parameters are output.
According to the method, the operation reliability of the comprehensive energy system is judged, so that weak links and weak time periods in operation of the system can be determined, and decision help is provided for the day-ahead unit combination, equipment switching, operation scheme making and emergency fault management of the system; on one hand, the reliability evaluation method can reflect the reliability of the comprehensive energy system in the operation period more accurately in real time due to the consideration of the dynamic characteristic of natural gas transmission; on the other hand, the method can effectively ensure the reliable energy utilization of the user by utilizing the flexibility of the comprehensive energy user.
Example 2
Referring to fig. 2 to 3, another embodiment of the present invention is different from the first embodiment in that a method for analyzing reliability of an integrated energy system considering flexibility of both supply and demand sides is provided, and in order to verify and explain technical effects adopted in the method, the embodiment adopts specific examples to test the inventive method, and uses a scientific demonstration to verify a real effect of the method.
And processing to obtain the operation reliability of an integrated energy system consisting of an IEEE power and natural gas combined system reliability test system, a Belgian natural gas transmission system and an integrated energy user in a certain test case.
First, parameters of the integrated energy system are initialized. Wherein the schematic structure of the integrated power and gas system is shown in FIG. 2, and the original data of the integrated power and gas system and the gas transmission system are derived from the published documents, Grigg C, Wong P, Albrecht P, et al, the IEEE availability test system-1996.A report prepared by the availability test system task for the application of the performance method is provided by IEEE Transactions on power systems,1999,14(3) 1010. 1020. Table 1, tables 5, 6, 7, table 12 and appendix [ DeWolf D, Smeers Y. the gas transmission solution of the benefits of the Management analysis of the Management of J. 2000. 1464; on this basis, the present embodiment makes the following modifications to this: in the position shown in the figure 2 illustration, the original 12, 20 and 100MW fuel units on the power nodes 15, 13, 14 and 2 are replaced by compatible capacity gas units, the thermal efficiency coefficient is set according to the published setting, the coupling relationship between the gas units and the natural gas system is shown in figure 2, and the user interruption cost valuation of each type of users is set according to the 2 part in the published document Wacker G, Billingon R. customer core of electric service intervals [ J ]. Proceedings of the IEEE,1989,77(6): 919-; the unit valuations of natural gas for each source in a natural gas system are set forth in Table 2 of the publications UNSIHUay C, Lima J W M, De Souza A C Z.
The structure of the integrated energy consumer is shown in fig. 3. The electricity, cold and heat load curves of the Energy user and the capacity and efficiency parameters of the equipment in the EH are set according to the fifth chapter of the literature, "Mancarella P, Chicco G.real-Time Demand from Energy development in Distributed Multi-Generation [ J ]. IEEE Transactions on Smart Grid,2013,4(4): 1928-; the proportion of transferable and reducible loads is set in chapter five of the book "Wangs, Shao C, Ding Y, et al, operational Reliability of Multi-Energy stores Considering Service-Based Self-Scheduling [ J ]. Applied Energy,2019,254:113531.
The implementation process is concretely as follows:
(1) setting the simulated operation duration, the scheduling interval duration, the time step length and the length step length of a finite difference method, setting reliability parameters of each device in an air source, a gas turbine unit, a non-gas turbine unit and an EH, setting pure electric load and natural gas load curves in an electric and natural gas combined system and electric, cold and hot terminal demand load curves of a comprehensive energy user, setting relevant physical characteristic parameters of the comprehensive energy system, and determining the number of scheduling time periods involved in each emergency cooperative management;
(2) according to the method described in embodiment 1, a system state sequence of each scheduling period is generated, including the gas production capacity of the natural gas source and the power generation capacity of the gas turbine set and the non-gas turbine set;
(3) observing whether an emergency state appears in the Monte Carlo simulation in the current running period, if not, indicating that the load reduction does not appear in the simulation, and entering the step (6); if the emergency state occurs, calculating the running state of the system at the moment before the emergency state occurs as an initial condition by adopting a steady-state power and natural gas combined optimization tide technology and a comprehensive energy user self-scheduling strategy according to the power and natural gas load at the moment of the emergency state and the comprehensive energy requirement of the comprehensive energy user;
(4) respectively updating the upper and lower limit constraints of the elements according to the states of the system elements in the scheduling period;
(5) executing emergency state cooperative management according to the optimization model to obtain the running state of the system in each time step in the scheduling period and the node power and natural gas load reduction;
(6) rolling and repeatedly executing the steps (4) to (5) until the operation time period is finished, so that the reduction of the electric power and the natural gas load on each time step in the operation time period can be obtained;
(7) calculating an operation reliability index, judging whether the time sequence Monte Carlo simulation reaches a convergence criterion, and if so, outputting the operation reliability index as an evaluation result; otherwise, the next time sequence Monte Carlo simulation is executed again from the step (1).
The method proposed according to the invention thus yields an index of the operational reliability of the system, as shown in table 1.
Table 1: and (4) a reliability index table of the comprehensive energy system.
It can be seen that, due to the adoption of the time-varying load, the reliability indexes of the power system and the natural gas system tend to 0 respectively in the vicinity of 0-7h with a lower power load level and 0-4h with a lower natural gas load level, and later, the reliability indexes also start to increase along with the increase of the load.
Table 2: and (4) a node reliability index table of the comprehensive energy system.
As shown in table 2, it can be seen that, because the line transmission capacity of the power system is large, the reliability distribution of different nodes is relatively balanced, whereas in the natural gas system, GB20 is located at the end of the natural gas transmission branch and has no large gas source nearby, so its EVNS is significantly higher than other nodes, and in general, because of the flexibility brought by the dynamic characteristics of the natural gas system, the reliability of the natural gas system is relatively high, and the reliability of the natural gas nodes located nearby the gas source nodes, such as GB 3, 6, 7, etc., is relatively high in all nodes.
Therefore, the method can accurately analyze the operation reliability of the comprehensive energy system under the condition of considering the dynamic characteristic of the transmission side and the flexibility of the demand side, thereby providing quantitative index basis for the reliability management of the scheduling mechanism of the comprehensive energy system, filling the blank of the industry and realizing the outstanding method effect.
It should be noted that the above-mentioned embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.