A method for optimizing operation of an integrated energy system based on carbon trading and considering uncertainty
By establishing a tiered carbon trading mechanism and a comprehensive energy system optimization model with fuzzy opportunity constraints, the problems of source-side uncertainty and load-side volatility were solved, achieving smooth system load and low-carbon operation, and reducing operating costs and carbon emissions.
Patent Information
- Application Number
- CN202310132793.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-18
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-02-18
AI Technical Summary
In the study of integrated energy system optimization, existing technologies are unable to effectively handle the uncertainties on the source side and the fluctuations on the load side, especially the random fluctuations in the output of new energy sources, which leads to high system operating costs and difficulty in controlling carbon emissions.
An integrated energy system optimization model based on a tiered carbon trading mechanism and fuzzy opportunity constraints is established. The nonlinearity of the system is handled by electricity, gas and heat demand response models, combined with second-order cone relaxation and piecewise linearization methods. The optimization is performed using a commercial solver in the MATLAB environment, and fuzzy membership parameters are introduced to handle wind power uncertainty.
It achieves smoothing of the system load curve, reduces peak-to-valley difference, improves the system's economy and environmental friendliness, reduces carbon emission levels, and maintains system stability after handling uncertainties.
Smart Images

Figure CN116822683B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of integrated energy system optimization operation, and in particular to an integrated energy system optimization operation method based on carbon trading and uncertainty. Background Technology
[0002] Low-carbon transformation of energy systems and vigorous promotion of new energy development are key technological means for carbon neutrality. An integrated energy system (IES) is an integrated energy management system that integrates traditional energy systems within a certain region to achieve unified planning and dispatch.
[0003] With the continuous development of integrated energy systems and the gradual opening of energy markets, demand response is increasingly participating in the optimization of integrated energy systems (IES). Demand response has the benefits of smoothing load curves and reducing peak-to-valley differences; its introduction into IES can further optimize the economics of system operation. Introducing carbon trading into the optimal scheduling of energy systems can promote the low-carbon nature of the system and help achieve the "dual carbon" goal. The output of new energy sources in integrated energy systems often exhibits random fluctuations; handling these uncertain fluctuations is also a problem that must be solved.
[0004] Currently, there are few studies on the optimization of integrated energy systems that simultaneously consider the problems caused by source-side uncertainties and load-side volatility. Summary of the Invention
[0005] This invention is based on a comprehensive energy system operation optimization model that considers the demand response of electricity, gas and heat and fuzzy opportunity constraints in a tiered carbon trading mechanism. It simulates multiple scenarios and analyzes the results from multiple perspectives, including considering demand response, different types of carbon trading, and handling uncertainties by fuzzy opportunity constraints.
[0006] The technical solution adopted in this invention is as follows:
[0007] Step 1: Establish a demand response model for electricity, gas, and heat loads in the integrated energy system;
[0008] Step 2: Taking into account the constraints of each network, including the constraints and operating conditions of energy equipment, construct dynamic response models for the power grid, gas network, and heating network;
[0009] Step 3: Establish a reward and punishment tiered carbon trading mechanism, and use second-order cone relaxation and piecewise linearization methods to linearize the nonlinear model in the system;
[0010] Step 4: Establish a fuzzy membership model of wind power uncertainty in the system. With the minimum system operating cost and the minimum carbon trading cost as objective functions, establish an integrated energy system optimization operation model with fuzzy opportunity constraints. Use the commercial solver YALMIP+GUROBI in the MATLAB environment to perform optimization and obtain an optimization operation method that takes into account both economic efficiency and low carbon emissions.
[0011] Furthermore, in step 1, the integrated energy system's electricity, gas, and heat load demand response model is as follows:
[0012] In the price-based demand response model of electricity load, an electricity price elasticity matrix is introduced. This indicates the impact of electricity price changes on electricity load. The coefficients in the matrix are set by comparing the demand-price changes at the same time before and after the implementation of time-of-use pricing.
[0013]
[0014] In the formula: diagonal elements The coefficients are the self-elasticity coefficients; the off-diagonal elements are the mutual elasticity coefficients.
[0015] The electrical load after price-based demand response is:
[0016]
[0017]
[0018]
[0019] In the formula: and They are respectively The rate of change of electrical load and the rate of change of electricity price at any given time; and the total load remains unchanged before and after the demand response. This represents the load forecast value before demand response; The load forecast is the value after demand response; similarly, the price-based demand response model for heat load and gas load can be obtained.
[0020] Furthermore, in step 2, the dynamic response models for the power grid, gas network, and heating network constructed based on the constraints of each network are as follows:
[0021] 2.1 Power grid constraints
[0022] a) DC power flow constraints of the power grid
[0023]
[0024] In the formula: The active power of the branch circuit; For branch circuit susceptance; The phase angle difference between the voltages at both ends of the branch; and Representing nodes respectively and nodes The phase angle; This is the branch resistance.
[0025] b) Unit operating status constraints:
[0026]
[0027]
[0028] In the formula: and These are integer variables between 0 and 1, representing the generating units respectively. During the period and time period The start / stop status; and A 0-1 integer variable, representing the generator unit. During the period The power-on and power-off actions.
[0029] c) Unit output constraints:
[0030]
[0031] In the formula: For nodes The output value of the connected thermal power unit; and They are nodes Minimum and maximum output limits for connected thermal power units; They are respectively Time node Connect the start-stop variables of the thermal power unit.
[0032] d) Unit ramp-up constraints
[0033]
[0034] In the formula: and These are the unit's downhill ramp rate and uphill ramp rate, respectively; and Time periods Time and period The unit's output power.
[0035] e) Energy storage constraints
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042] In the formula: For nodes Connect to battery State of charge at any given moment; For access nodes Storage battery Real-time charging power; For access nodes Storage battery Discharge power at any given moment; and Residual batteries The charging and discharging state is a 0-1 variable at all times; and These are the charging efficiency and discharging efficiency of the battery, respectively. and These are the lower and upper limits of battery charge, respectively.
[0043] 2.2 Gas network constraint
[0044] a) Gas network flow balance constraints
[0045]
[0046] In the formula: for Gas supply volume at the gas source point at any time; for Gas pipelines in the gas network under steady-state conditions flow; for The flow rate of natural gas obtained from the electro-gas conversion equipment at all times; for The amount of natural gas consumed by the CHP unit at any given time; for Real-time gas network natural gas load.
[0047] b) Gas network pipeline flow constraints
[0048] The power flow model for the natural gas pipeline network adopts the Weymouth model, as shown below:
[0049]
[0050]
[0051] In the formula: The sign function represents the direction of flow in the pipe; and As a gas network node and nodes air pressure value; For pipelines The pipeline constant.
[0052] c) Nodal air pressure constraints
[0053]
[0054] In the formula: As a gas network node air pressure value; , These are gas network nodes Minimum and maximum allowable air pressure.
[0055] d) Gas supply constraints
[0056]
[0057] In the formula: They are respectively Gas source at all times The lower and upper limits of gas supply.
[0058] e) Gas network pipeline flow constraints
[0059]
[0060] In the formula: for Time Gas Network Pipeline The maximum allowable airflow rate.
[0061] 2.3 Heating Network Constraints
[0062] The district heating network consists of supply and return water pipes, providing heat in the form of hot water or steam. A dynamic thermodynamic model is used for modeling, and the node method is used to determine the hot water temperature in each pipe section. Assuming that the working fluid flow rate is constant, a "quality regulation" operation mode is adopted, which only changes the heating temperature, that is, the heating temperature of the heat source is changed by keeping the fuel input rate constant.
[0063] a) CHP thermal power constraint
[0064]
[0065]
[0066] In the formula: For CHP units exist The heat output at all times; This is the specific heat capacity of water; , and CHP units Export location The working fluid flow rate, supply water temperature, and return water temperature at any given time; , CHP units The upper and lower limits of the water supply temperature at the outlet.
[0067] b) Pipeline temperature loss constraint
[0068] Considering the temperature loss caused by heat exchange with the pipe wall during hot water transmission, the Sukhov temperature drop formula is used to correct the pipe outlet temperature:
[0069]
[0070]
[0071] In the formula: and They are respectively Water supply pipes should always be considered in light of temperature loss. outlet temperature and return water pipe The outlet temperature; and They are respectively Water supply pipes without considering temperature loss outlet temperature and return water pipe The outlet temperature; The ambient temperature; This is the temperature loss coefficient; and Water supply pipes The thermal conductivity and specific heat capacity of water; for The moment when the working medium flowing through the pipeline is injected into the pipeline; For water supply pipes The cross-sectional area; The density of water; for Injection into the pipeline at all times Total working fluid flow rate; From Time's up The flow rate of the working medium constantly injected into the pipeline; For pipelines exist The flow rate of the working fluid at any given moment.
[0072] c) Thermal network constraints
[0073] At the pipe junction, the outlet hot water temperature of the pipes entering that node mixes at this node, and the inlet temperature of all pipes flowing out of that node is equal to this mixing temperature.
[0074]
[0075]
[0076]
[0077]
[0078] In the formula: and Representing nodes respectively Pipelines for terminating and starting nodes; For pipelines exist The flow rate of the working fluid at any given moment; and These are the outlet and inlet temperatures of the water supply pipeline, respectively. and These are the nodes for the water supply pipe and the return pipe. The temperature at that location.
[0079] 2.4. Coupling Device Constraints
[0080] a) P2G operational constraints
[0081] (29)
[0082] (30)
[0083] In the formula: As a gas network node Natural gas converted by P2G equipment; For power grid nodes The electrical power consumed by the connected P2G devices; The electrical energy conversion efficiency of P2G equipment; It has a high calorific value for natural gas; The upper limit of power consumption for P2G devices.
[0084] b) CHP unit constraints
[0085] (31)
[0086] (32)
[0087] (33)
[0088] In the formula: and They are respectively The electrical and thermal power output of the CHP unit at any given time; Let be the number of vertices in the feasible region; for Time-feasible domain The combination coefficients at each vertex; and The first The electrical and thermal power at each vertex.
[0089] The combined heat and power (CHP) units used are all gas turbine units, and the natural gas consumed by the CHP units is...
[0090] (34)
[0091] In the formula: express Natural gas consumed by the CHP unit at any given time; and These represent the amount of natural gas consumed per unit of electrical power and per unit of thermal power output by the CHP unit, respectively.
[0092] Furthermore, in step 3, a reward-and-penalty tiered carbon trading mechanism is established. The nonlinear model in the system is linearized using second-order cone relaxation and piecewise linearization methods, specifically:
[0093] In an integrated energy system, each generating unit is the main source of carbon emissions. Establishing a carbon emissions trading mechanism is an effective means of reducing carbon emissions. The tiered carbon trading mechanism mainly consists of the initial carbon emission allowance, actual carbon emissions, and carbon trading costs.
[0094] The initial carbon emission allowance model is as follows:
[0095] (35)
[0096] In the formula: , , These are the initial carbon emission allowances for the IES system, thermal power units, and CHP units, respectively. This represents the set of numbers for each generating unit; and These are carbon emission allowances for each unit of electrical and thermal power produced; for thermal power units The electrical power generated; and They are respectively CHP Unit The generated thermal power and electrical power.
[0097] The tiered carbon trading mechanism divides the traditional carbon trading mechanism into several sub-ranges and introduces compensation and penalty factors. When a company's actual carbon emissions are lower than its free carbon emission limit, the company can obtain additional income by selling the limit, thus giving full play to the role of the compensation factor. When a production company's actual carbon emissions are higher than its free carbon emission limit, the company needs to purchase additional limits, resulting in an economic burden.
[0098] (36)
[0099] In the formula: This represents the actual carbon emissions of the IES system. The carbon trading cost in IES; This is the reward coefficient for carbon trading; The base price for the carbon trading market; The length of the carbon emission range; This represents the increase in carbon trading prices.
[0100] 1) Piecewise linearization of thermal power unit costs
[0101] The operating cost of a thermal power unit is a quadratic function. To construct a linear model, this nonlinear function is piecewise linearized by introducing 0-1 variables, as shown below:
[0102] (37)
[0103] In the formula: To provide power to thermal power units; This represents the total cost of the thermal power unit. The number of linearized segments; , and This is the cost coefficient; and These represent the power and cost of each segment in the linearization process, respectively. , These are variables in the linearization process.
[0104] 2) Convexification of the gas flow network model
[0105] For the non-convex nonlinear model constrained by the gas network, considering the bidirectional flow of natural gas in the gas network, the nonlinear model is transformed into the SOCP model through bidirectional second-order cone relaxation.
[0106] (38)
[0107] (39)
[0108] (40)
[0109] In the formula: , An auxiliary 0-1 binary variable representing the direction of flow in the pipeline; This is an auxiliary variable representing the pressure difference between the two ends of the pipeline.
[0110] Furthermore, step 4 is as follows:
[0111] Fuzzy chance constraints are used to handle the uncertainty of wind power output, and fuzzy membership parameters are introduced.
[0112] Suppose a planning problem containing fuzzy variables is shown in the following equation. Because the constraints contain fuzzy variables, the planning problem cannot obtain a definite feasible set; therefore, the constraints are set with a certain confidence level. If true, then the fuzzy constraint conditions are obtained.
[0113] (41)
[0114] (42)
[0115] In the formula: For decision variables; It is a fuzzy variable; Represented as an objective function; This indicates a constraint condition containing fuzzy variables; Constraints The corresponding confidence level; This is represented as a fuzzy chance constraint.
[0116] Assume constraints If a problem has the following form, and the fuzzy variables are represented by trapezoidal membership functions, then the fuzzy chance-constrained programming is transformed using clear equivalence classes, and the optimization problem is then solved using conventional methods.
[0117] (43)
[0118] In the formula: It is a trapezoidal fuzzy variable; , … They represent decision variables respectively. The first function, the second function, ..., the kth function; , … These represent the first fuzzy parameter, the second fuzzy parameter, ..., the kth fuzzy parameter, respectively.
[0119] Then the power balance is equivalent to:
[0120] (44)
[0121] In the formula: This is a wind power forecast value; and The proportional coefficient for fuzzy membership degree.
[0122] Establish an objective function that minimizes both system operating costs and carbon trading costs:
[0123] (45)
[0124] In the formula: Operating costs for P2G equipment; Operating costs of thermal power generating units; For the operating costs of combined heat and power units; The cost of curtailing wind power; This represents the carbon trading cost within the IES.
[0125] 1) Operating costs of P2G equipment
[0126] (46)
[0127] In the formula: For P2G devices Operating costs; A collection of P2G devices; for Moment P2G devices The converted active power;
[0128] 2) Operating costs of combined heat and power units
[0129] A steam turbine generator with an adjustable heat-to-power ratio is used to supply electricity, and the steam generated after it performs work is used for heating. Its operating cost is...
[0130] (47)
[0131] In the formula: , These are the operation and maintenance costs required for a combined heat and power unit to generate a unit of electrical energy and heat energy, respectively. , For example, cogeneration units at Constant electrical and thermal output;
[0132] 3) Cost of wind curtailment penalty
[0133] (48)
[0134] In the formula: A collection of wind turbine units; This is the wind curtailment penalty coefficient; , They are respectively Time of the first The predicted and actual output of typhoon generators;
[0135] 4) Battery cost
[0136] (49)
[0137] In the formula: , They are respectively Time of the first The discharge and charging power of each battery; This refers to the charging and discharging cost coefficient. and These are discharge efficiency and charging efficiency, respectively.
[0138] The beneficial effects of this invention are:
[0139] After demand response (DRT) for electricity, gas, and heat guides users to adjust their consumption of these energy sources through time-of-use pricing, the system's load curve becomes relatively flat. The peak-to-valley load difference is significantly reduced, and load fluctuations are effectively mitigated, improving the economics of the integrated energy system. Tiered carbon trading with rewards and penalties effectively reduces the system's carbon emissions, improving its environmental friendliness. Combining DRT and tiered carbon trading reduces both the economic costs of system operation and enhances its environmental impact. While considering fuzzy opportunity constraints to address wind power uncertainties increases system operating costs, the system becomes more stable. Attached Figure Description
[0140] Figure 1 This is a flowchart illustrating the optimized operation of the integrated energy system of the present invention.
[0141] Figure 2 This is a schematic diagram of the integrated energy system of the present invention;
[0142] Figure 3 This is the power balance diagram of the integrated energy system of the present invention;
[0143] Figure 4 This is the gas power balance diagram of the integrated energy system of the present invention;
[0144] Figure 5 This is the thermal power balance diagram of the integrated energy system of the present invention;
[0145] Figure 6 A comparison diagram of electrical load before and after demand response is provided for the system of this invention;
[0146] Figure 7 A comparison diagram of gas load before and after demand response is provided for the system of this invention;
[0147] Figure 8 A comparison diagram of heat load before and after demand response is shown for the system of this invention. Detailed Implementation
[0148] A method for optimizing the operation of an integrated energy system based on carbon trading and uncertainty, the specific process of which is as follows: Figure 1 As shown, it includes the following steps:
[0149] Step 1: Establish a demand response model for electricity, gas, and heat loads in the integrated energy system;
[0150] Step 2: Taking into account the constraints of each network, including the constraints and operating conditions of energy equipment, construct dynamic response models for the power grid, gas network, and heating network;
[0151] Step 3: Establish a reward and punishment tiered carbon trading mechanism, and use second-order cone relaxation and piecewise linearization methods to linearize the nonlinear model in the system;
[0152] Step 4: Establish a fuzzy membership model of wind power uncertainty in the system. With the minimum system operating cost and the minimum carbon trading cost as objective functions, establish an integrated energy system optimization operation model with fuzzy opportunity constraints. Use the commercial solver YALMIP+GUROBI in the MATLAB environment to perform optimization and obtain an optimization operation method that takes into account both economic efficiency and low carbon emissions.
[0153] Furthermore, in step 1, the integrated energy system is as follows: Figure 2 The integrated energy system's electricity, gas, and heat load demand response model is shown below:
[0154] Price-based demand response (PRT) sets reasonable energy prices based on consumer psychology and adjusts time-of-use pricing accordingly, thereby guiding users to change their energy consumption patterns. Taking electricity load as an example, a power-price elasticity matrix is introduced. This indicates the impact of electricity price changes on electricity load. The coefficients in the matrix are set by comparing the demand-price changes at the same time before and after the implementation of time-of-use pricing.
[0155]
[0156] In the formula: diagonal elements The coefficients are the self-elasticity coefficients; the off-diagonal elements are the mutual elasticity coefficients.
[0157] The electrical load after price-based demand response is:
[0158]
[0159]
[0160]
[0161] In the formula: and They are respectively The rate of change of electrical load and the rate of change of electricity price at any given time. And the total load remains unchanged before and after the demand response. This represents the load forecast value before demand response; This represents the predicted load value after demand response. Similarly, price-based demand response models for heat load and gas load can be obtained.
[0162] Furthermore, in step 2, based on the constraints of each network, the dynamic response models of the power grid, gas network, and heating network are constructed as follows:
[0163] 2.1 Power grid constraints
[0164] a) DC power flow constraints of the power grid
[0165]
[0166] In the formula: The active power of the branch circuit; For branch circuit susceptance; The phase angle difference between the voltages at both ends of the branch; and Representing nodes respectively and nodes The phase angle; Branch resistance;
[0167] b) Unit operating status constraints:
[0168]
[0169]
[0170] In the formula: and These are integer variables between 0 and 1, representing the generating units respectively. During the period and time period The start / stop status; and A 0-1 integer variable, representing the generator unit. During the period The power-on and power-off actions;
[0171] c) Unit output constraints:
[0172]
[0173] In the formula: For nodes The output value of the connected thermal power unit; and They are nodes Minimum and maximum output limits for connected thermal power units; They are respectively Time node Connect the start / stop variables of the thermal power unit;
[0174] d) Unit ramp-up constraints
[0175]
[0176] In the formula: and These are the unit's downhill ramp rate and uphill ramp rate, respectively; and Time periods Time and period The unit's output power;
[0177] e) Energy storage constraints
[0178]
[0179]
[0180]
[0181]
[0182]
[0183]
[0184] In the formula: For nodes Connect to battery State of charge at any given moment; For access nodes storage battery Real-time charging power; For access nodes storage battery Discharge power at any given moment; and Residual batteries The charging and discharging state is a 0-1 variable at all times; and These are the charging efficiency and discharging efficiency of the battery, respectively. and These are the lower and upper limits of battery charge, respectively.
[0185] 2.2 Gas network constraint
[0186] a) Gas network flow balance constraints
[0187]
[0188] In the formula: for Gas supply volume at the gas source point at any time; for Gas pipelines in the gas network under steady-state conditions flow; for The flow rate of natural gas obtained from the electro-gas conversion equipment at all times; for The amount of natural gas consumed by the CHP unit at any given time; for Real-time gas network natural gas load;
[0189] b) Gas network pipeline flow constraints
[0190] The power flow model for the natural gas pipeline network adopts the Weymouth model, as shown below:
[0191]
[0192]
[0193] In the formula: The sign function represents the direction of flow in the pipe; and As a gas network node and nodes air pressure value; For pipelines Pipeline constant;
[0194] c) Nodal air pressure constraints
[0195]
[0196] In the formula: As a gas network node air pressure value; , These are gas network nodes Minimum and maximum allowable air pressure;
[0197] d) Gas supply constraints
[0198]
[0199] In the formula: They are respectively Gas source at all times The lower and upper limits of gas supply;
[0200] e) Gas network pipeline flow constraints
[0201]
[0202] In the formula: for Time gas network pipeline The maximum allowable airflow rate inside;
[0203] 2.3 Heating Network Constraints
[0204] The district heating network consists of supply and return water pipes, providing heat in the form of hot water or steam; a dynamic thermodynamic model is used for modeling, and the node method is used to determine the hot water temperature in each pipe section; assuming a constant working fluid flow rate, a "quality regulation" operation mode is adopted that only changes the heating temperature, that is, the heating temperature of the heat source is changed by keeping the fuel input rate constant.
[0205] a) CHP thermal power constraint
[0206]
[0207]
[0208] In the formula: For CHP units exist The heat output at all times; This is the specific heat capacity of water; , and CHP units Export location The hot water flow rate, supply water temperature, and return water temperature at all times; , CHP units Upper and lower limits of water supply temperature at the outlet;
[0209] b) Pipeline temperature loss constraint
[0210] Considering the temperature loss caused by heat exchange with the pipe wall during hot water transmission, the Sukhov temperature drop formula is used to correct the pipe outlet temperature:
[0211]
[0212]
[0213] In the formula: and They are respectively Water supply pipes should always be considered in light of temperature loss. outlet temperature and return water pipe The outlet temperature; and They are respectively Water supply pipes without considering temperature loss outlet temperature and return water pipe The outlet temperature; The ambient temperature; This is the temperature loss coefficient; and Water supply pipes The thermal conductivity and specific heat capacity of water; for The moment when the working medium flowing through the pipeline is injected into the pipeline; For water supply pipes The cross-sectional area; The density of water; for Injection into the pipeline at all times Total working fluid flow rate; From Time's up The flow rate of the working medium constantly injected into the pipeline; For pipelines exist The flow rate of the working fluid at any given moment;
[0214] c) Thermal network constraints
[0215] At the pipe junction, the outlet hot water temperature of the pipes entering that node mixes at this node, and the inlet temperature of all pipes flowing out of that node is equal to this mixing temperature.
[0216]
[0217]
[0218]
[0219]
[0220] In the formula: and Representing nodes respectively Pipelines for terminating and starting nodes; For pipelines exist The flow rate of the working fluid at any given moment; and These are the outlet and inlet temperatures of the water supply pipeline, respectively. and These are the nodes for the water supply pipe and the return pipe. Temperature at that location;
[0221] 2.4. Coupling Device Constraints
[0222] a) P2G operational constraints
[0223] (29)
[0224] (30)
[0225] In the formula: As a gas network node Natural gas converted by P2G equipment; For power grid nodes The electrical power consumed by the connected P2G devices; The electrical energy conversion efficiency of P2G equipment; It has a high calorific value for natural gas; This represents the upper limit of power consumption for P2G devices.
[0226] b) CHP unit constraints
[0227] (31)
[0228] (32)
[0229] (33)
[0230] In the formula: and They are respectively The electrical and thermal power output of the CHP unit at any given time; Let be the number of vertices in the feasible region; for Time-feasible domain The combination coefficients at each vertex; and The first The electrical and thermal power at each vertex;
[0231] The combined heat and power (CHP) units used are all gas turbine units, and the natural gas consumed by the CHP units is...
[0232] (34)
[0233] In the formula: express Natural gas consumed by the CHP unit at any given time; and These represent the amount of natural gas consumed per unit of electrical power and per unit of thermal power output by the CHP unit, respectively.
[0234] Furthermore, in step 3, a reward-and-penalty tiered carbon trading mechanism is established. The nonlinear model in the system is linearized using second-order cone relaxation and piecewise linearization methods, specifically:
[0235] In an integrated energy system, each generating unit is the main source of carbon emissions. Establishing a carbon emissions trading mechanism is an effective means of reducing carbon emissions. The tiered carbon trading mechanism mainly consists of the initial carbon emission allowance, actual carbon emissions, and carbon trading costs.
[0236] The initial carbon emission allowance model is as follows:
[0237] (35)
[0238] In the formula: , , These are the initial carbon emission allowances for the IES system, thermal power units, and CHP units, respectively. This represents the set of numbers for each generating unit; and These are carbon emission allowances for each unit of electrical and thermal power produced; for thermal power units The electrical power generated; and They are respectively CHP Unit The generated thermal power and electrical power.
[0239] The tiered carbon trading mechanism divides the traditional carbon trading mechanism into several sub-ranges and introduces compensation and penalty factors. When a company's actual carbon emissions are lower than its free carbon emission limit, the company can obtain additional income by selling the limit, thus giving full play to the role of the compensation factor. When a production company's actual carbon emissions are higher than its free carbon emission limit, the company needs to purchase additional limits, resulting in an economic burden.
[0240] (36)
[0241] In the formula: This represents the actual carbon emissions of the IES system. The cost of carbon trading in IES; This is the reward coefficient for carbon trading; The base price for the carbon trading market; The length of the carbon emission range; This represents the increase in carbon trading prices.
[0242] 1) Piecewise linearization of thermal power unit costs
[0243] The operating cost of a thermal power unit is a quadratic function. To construct a linear model, this nonlinear function is piecewise linearized by introducing 0-1 variables, as shown below:
[0244] (37)
[0245] In the formula: To provide power to thermal power units; This represents the total cost of the thermal power unit. The number of linearized segments; , and This is the cost coefficient; and These represent the power and cost of each segment in the linearization process, respectively. , These are variables in the linearization process.
[0246] 2) Convexification of the gas flow network model
[0247] For the non-convex nonlinear model constrained by the gas network, considering the bidirectional flow of natural gas in the gas network, the nonlinear model is transformed into the SOCP model through bidirectional second-order cone relaxation.
[0248] (38)
[0249] (39)
[0250] (40)
[0251] In the formula: , An auxiliary 0-1 binary variable representing the direction of flow in the pipeline; This is an auxiliary variable representing the pressure difference between the two ends of the pipeline.
[0252] Furthermore, step 4 is as follows:
[0253] Fuzzy chance constraints are used to handle the uncertainty of wind power output, and fuzzy membership parameters are introduced.
[0254] Suppose a planning problem containing fuzzy variables is shown in the following equation. Because the constraints contain fuzzy variables, the planning problem cannot obtain a definite feasible set; therefore, the constraints are set with a certain confidence level. If true, then the fuzzy constraint conditions are obtained.
[0255] (41)
[0256] (42)
[0257] In the formula: For decision variables; It is a fuzzy variable; Represented as an objective function; This indicates a constraint containing fuzzy variables; Constraints The corresponding confidence level; This is represented as a fuzzy chance constraint.
[0258] Assume constraints If the following form exists and the fuzzy variables are represented by trapezoidal membership functions, then the fuzzy chance-constrained programming is transformed using clear equivalence classes, and the optimization problem is then solved using conventional methods.
[0259] (43)
[0260] In the formula: It is a trapezoidal fuzzy variable; , … They represent decision variables respectively. The first function, the second function, ..., the kth function; , … These represent the first fuzzy parameter, the second fuzzy parameter, ..., the kth fuzzy parameter, respectively.
[0261] Then the power balance is equivalent to:
[0262] (44)
[0263] In the formula: This is a wind power forecast value; and The proportional coefficient for fuzzy membership degree;
[0264] Establish an objective function that minimizes both system operating costs and carbon trading costs:
[0265] (45)
[0266] In the formula: Operating costs for P2G equipment; For the operating costs of thermal power generating units; For the operating costs of combined heat and power units; The cost of curtailing wind power; The cost of carbon trading in IES;
[0267] 1) Operating costs of P2G equipment
[0268] (46)
[0269] In the formula: For P2G devices Operating costs; A collection of P2G devices; for Moment P2G devices The converted active power;
[0270] 2) Operating costs of combined heat and power units
[0271] A steam turbine generator with an adjustable heat-to-power ratio is used to supply electricity, and the steam generated after it performs work is used for heating. Its operating cost is...
[0272] (47)
[0273] In the formula: , These are the operation and maintenance costs required for a combined heat and power unit to generate a unit of electrical energy and heat energy, respectively. , For example, cogeneration units at Constant electrical and thermal output;
[0274] 3) Cost of wind curtailment penalty
[0275] (48)
[0276] In the formula: A collection of wind turbine units; This is the wind curtailment penalty coefficient; , They are respectively Time of the first The predicted and actual output of typhoon generators;
[0277] 4) Battery cost
[0278] (49)
[0279] In the formula: , They are respectively Time of the first The discharge and charging power of each battery; This refers to the charging and discharging cost coefficient. and These are discharge efficiency and charging efficiency, respectively.
[0280] To verify the effectiveness of the proposed integrated electrical and thermal demand response model, the reward-penalty tiered carbon trading system, and fuzzy opportunity constraints in reducing system carbon emissions and operating costs, this invention constructs the following five operating scenarios for comparative analysis:
[0281] Scenario 1: Without considering integrated demand response and tiered reward / penalty carbon trading;
[0282] Scenario 2: Considering only the overall demand response;
[0283] Scenario 3: Considering only carbon trading;
[0284] Scenario 4: Considering demand response and tiered reward / penalty carbon trading;
[0285] Scenario 5: Based on Scenario 4, consider fuzzy chance constraints to handle wind power uncertainties.
[0286] Table 1 System operating costs and carbon trading costs under different scenarios
[0287]
[0288] Figure 3 , Figure 4 and Figure 5 This demonstrates that the electrical, gas, and thermal power in this example are all in balance. Figure 6 , Figure 7 and Figure 8 In this context, demand response is considered to smooth out load fluctuations in the power grid, gas grid, and heating grid. Energy consumption is reduced during periods of high prices and increased during periods of low prices, thus achieving peak shaving and valley filling, thereby reducing system operating costs.
[0289] Analyzing Scenario 1 and Scenario 2 reveals that considering demand response reduces system operating costs. In Scenario 1, users cannot adjust load fluctuations in real time based on price information, leading to peak energy consumption during periods of high prices, which in turn results in higher overall energy system operating costs and carbon emissions. In Scenario 2, users flexibly adjust their energy consumption periods based on real-time prices, leading to lower system operating costs and reduced carbon emissions.
[0290] In scenarios 1 and 3, the carbon emissions of the system are reduced after considering the tiered carbon trading system with rewards and penalties. However, the carbon trading system will increase the output of new energy sources and increase the operating costs of the system.
[0291] Scenario 4 shows that after comprehensively considering demand response and tiered carbon trading, the system's carbon emissions are reduced. Compared to Scenario 3, the system's operating costs are also considerable.
[0292] Compared with scenario 4, scenario 5 shows a significant increase in system operating costs and carbon emissions. This is because scenario 5 takes into account the uncertainty of wind power. With the reduction of new energy output, the uncertainty of wind turbine output makes the system more inclined to increase traditional energy to ensure stable system operation, thereby avoiding the operational risks brought about by uncertainty.
[0293] Finally, it should be noted that the above description is only for specific embodiments of the present invention. However, the present invention is not limited to the specific embodiments described above. Equivalent modifications and substitutions made to the present invention by those skilled in the art are also within the scope of the present invention. Therefore, all equivalent changes and modifications made without departing from the spirit and scope of the present invention are covered within the scope of the present invention.
Claims
1. A method for optimizing the operation of a comprehensive energy system based on carbon trading and uncertainty, characterized in that, Includes the following steps: Step 1: Establish a demand response model for electricity, gas, and heat loads in the integrated energy system; Step 2: Taking into account the constraints of each network, including the constraints and operating conditions of energy equipment, construct dynamic response models for the power grid, gas network, and heating network; Step 3: Establish a tiered carbon trading mechanism with rewards and penalties. Construct a carbon trading cost model based on the initial carbon emission allowances of integrated energy systems, thermal power units, and combined heat and power units, as well as the actual carbon emissions. Perform piecewise linearization on the operating costs of thermal power units and bidirectional second-order cone relaxation convexization on the Weymouth gas flow model. Step 4: Establish a fuzzy membership model of wind power uncertainty in the system. With the minimum system operating cost and the minimum carbon trading cost as objective functions, establish an integrated energy system optimization operation model with fuzzy opportunity constraints. Use the commercial solver YALMIP+GUROBI in the MATLAB environment to perform optimization and obtain an optimization operation method that takes into account both economic efficiency and low carbon emissions.
2. The method for optimizing the operation of a comprehensive energy system based on carbon trading and uncertainty as described in claim 1, characterized in that: In step 1, the integrated energy system's electricity, gas, and heat load demand response model is as follows: In the price-based demand response model of electricity load, an electricity price elasticity matrix is introduced. The coefficients in the matrix represent the impact of electricity price changes on electricity load, and are set by comparing the demand-price changes at the same time before and after the implementation of time-of-use pricing. , In the formula: diagonal elements The coefficients for self-elasticity are represented by the coefficients for off-diagonal elements; The electrical load after price-based demand response is: , , , In the formula: and They are respectively The rate of change of electrical load and the rate of change of electricity price at any given time; And the total load remains unchanged before and after the demand response. This represents the load forecast value before demand response; The load forecast is the value after demand response; similarly, the price-based demand response model for heat load and gas load can be obtained.
3. The method for optimizing the operation of a comprehensive energy system based on carbon trading and uncertainty as described in claim 1, characterized in that: In step 2, the dynamic response models for the power grid, gas grid, and heating grid, constructed based on the constraints of each network, are as follows: 2.1 Grid Constraints a) DC power flow constraints of the power grid , In the formula: For the active power of the branch circuit, For branch circuit susceptance, The phase angle difference between the voltages at both ends of the branch is... and Representing nodes respectively and nodes phase angle, Branch resistance; b) Unit operating status constraints: , , In the formula: and These are integer variables between 0 and 1, representing the generating units respectively. During the period and time period Start-stop status, and A 0-1 integer variable, representing the generator unit. During the period The power-on and power-off actions; c) Unit output constraints: , In the formula: For nodes The output value of the thermal power unit is connected. and They are nodes Minimum and maximum output limits of the connected thermal power unit. for Time node Connect the start / stop variables of the thermal power unit; d) Unit ramp-up constraints , In the formula: and These are the unit's downhill ramp rate and uphill ramp rate, respectively; and They are respectively Time and The output power of the time unit; e) Energy storage constraints , , , , , , In the formula: For nodes Connect to battery State of charge at any given moment; For access nodes storage battery Real-time charging power; For access nodes storage battery Discharge power at any given moment; and Residual batteries The charging and discharging state is a 0-1 variable at all times; and These are the charging efficiency and discharging efficiency of the battery, respectively. and These are the lower and upper limits of battery charge, respectively. 2.2 Air network constraint a) Gas network flow balance constraints , In the formula: for Gas supply volume at the gas source point at any time; for Gas pipelines in the gas network under steady-state conditions flow; for The flow rate of natural gas obtained from the electro-gas conversion equipment at all times; for The amount of natural gas consumed by the CHP unit at any given time; for Real-time gas network natural gas load; b) Gas network pipeline flow constraints The power flow model for the natural gas pipeline network adopts the Weymouth model, as shown below: , , In the formula: The sign function represents the direction of flow in the pipe; and As a gas network node and nodes air pressure value; For pipelines Pipeline constant; c) Nodal air pressure constraints , In the formula: As a gas network node air pressure value; , These are gas network nodes Minimum and maximum allowable air pressure; d) Gas supply constraints , In the formula: They are respectively Gas source at all times The lower and upper limits of gas supply; e) Gas network pipeline flow constraints , In the formula: for Time gas network pipeline The maximum allowable airflow rate inside; 2.3 Heating Network Constraints The district heating network consists of supply and return water pipes, providing heat in the form of hot water or steam; a dynamic thermodynamic model is used for modeling, and the node method is used to determine the hot water temperature in each pipe section; assuming a constant working fluid flow rate, a "quality regulation" operation mode that only changes the heating temperature is adopted, that is, the heating temperature of the heat source is changed by keeping the fuel input rate constant. a) CHP thermal power constraint , , In the formula: For CHP units exist The heat output at all times; This is the specific heat capacity of water; , and CHP units Export location The working fluid flow rate, supply water temperature, and return water temperature at any given time; , CHP units Upper and lower limits of water supply temperature at the outlet; b) Pipeline temperature loss constraint Considering the temperature loss caused by heat exchange with the pipe wall during hot water transmission, the Sukhov temperature drop formula is used to correct the pipe outlet temperature: , , In the formula: and They are respectively Water supply pipes should always be considered in light of temperature loss. outlet temperature and return water pipe The outlet temperature; and They are respectively Water supply pipes without considering temperature loss outlet temperature and return water pipe The outlet temperature; The ambient temperature; This is the temperature loss coefficient; and Water supply pipes The thermal conductivity and specific heat capacity of water; for The moment when the working medium flowing through the pipeline is injected into the pipeline; For water supply pipes The cross-sectional area; The density of water; for Injection into the pipeline at all times Total working fluid flow rate; From Time's up The flow rate of the working medium constantly injected into the pipeline; For pipelines exist The flow rate of the working fluid at any given moment; c) Thermal network constraints At the pipe junction, the outlet hot water temperature of the pipes entering that node mixes at this node, and the inlet temperature of all pipes flowing out of that node is equal to this mixing temperature. , , , , In the formula: and Representing nodes respectively Pipelines for terminating and starting nodes; For pipelines exist The flow rate of the working fluid at any given moment; and These are the outlet and inlet temperatures of the water supply pipeline, respectively. and These are the nodes for the water supply pipe and the return pipe. Temperature at that location; 2.4 Coupling Device Constraints a) P2G operational constraints (29), (30), In the formula: As a gas network node Natural gas converted by P2G equipment; For power grid nodes The electrical power consumed by the connected P2G devices; The electrical energy conversion efficiency of P2G equipment; It has a high calorific value for natural gas; This represents the upper limit of power consumption for P2G devices. b) CHP unit constraints (31), (32), (33), In the formula: and They are respectively The electrical and thermal power output of the CHP unit at any given time; Let be the number of vertices in the feasible region; The feasible region at time t is the first The combination coefficients at each vertex; and The first The electrical and thermal power at each vertex; The combined heat and power (CHP) units used are all gas turbine units, and the natural gas consumed by the CHP units is... (34), In the formula: express Natural gas consumed by the CHP unit at any given time; and These represent the amount of natural gas consumed per unit of electrical power and per unit of thermal power output by the CHP unit, respectively.
4. The method for optimizing the operation of a comprehensive energy system based on carbon trading and uncertainty as described in claim 1, characterized in that: In step 3, a tiered reward and punishment carbon trading mechanism is established. The nonlinear model in the system is linearized using second-order cone relaxation and piecewise linearization methods, specifically: In an integrated energy system, each generating unit is the main source of carbon emissions. Establishing a carbon emissions trading mechanism is an effective means of reducing carbon emissions. The tiered carbon trading mechanism mainly consists of the initial carbon emission allowance, actual carbon emissions, and carbon trading costs. The initial carbon emission allowance model is as follows: (35), In the formula: , , These are the initial carbon emission allowances for the IES system, thermal power units, and CHP units, respectively. This represents the set of numbers for each generating unit; and These are carbon emission allowances for each unit of electrical and thermal power produced; for thermal power units The electrical power generated; and They are respectively CHP Unit The generated thermal power and electrical power; The tiered reward and punishment carbon trading mechanism divides the traditional carbon trading mechanism into several sub-ranges and introduces compensation and punishment factors. When a company's actual carbon emissions are lower than its free carbon emission limit, the company can obtain additional income by selling the limit, giving full play to the role of the compensation factor. When a production company's actual carbon emissions are higher than its free carbon emission limit, the company needs to purchase additional limits, resulting in an economic burden. (36), In the formula: This represents the actual carbon emissions of the IES system. For carbon trading costs in IES, This is the reward coefficient for carbon trading. As the base price for the carbon trading market, The length of the carbon emission range. The increase in carbon trading prices; 1) Piecewise linearization of thermal power unit costs The operating cost of a thermal power unit is a quadratic function, which is also a nonlinear function. To construct a linear model, this nonlinear function is piecewise linearized by introducing 0-1 variables, as shown below: (37), In the formula: To provide power to thermal power units, This represents the total cost of the thermal power unit. To linearize the number of segments, , and This is the cost coefficient. and These represent the power and cost of each segment in the linearization process. , These are variables in the linearization process; 2) Convexification of the gas flow network model For the non-convex nonlinear model constrained by the gas network, considering the bidirectional flow of natural gas in the gas network, the nonlinear model is transformed into the SOCP model through bidirectional second-order cone relaxation. (38), (39), (40), In the formula: , An auxiliary 0-1 binary variable representing the direction of flow in the pipeline; This is an auxiliary variable representing the pressure difference between the two ends of the pipeline.
5. The method for optimizing the operation of a comprehensive energy system based on carbon trading and uncertainty as described in claim 1, characterized in that: Step 4 is as follows: Fuzzy opportunity constraints are used to handle the uncertainty of wind power output, and fuzzy membership parameters are introduced. Suppose a planning problem containing fuzzy variables is shown in the following equation. Because the constraints contain fuzzy variables, the planning problem cannot obtain a definite feasible set; therefore, the constraints are set with a certain confidence level. If true, then the fuzzy constraint conditions are obtained. (41), (42), In the formula: As decision variables, For fuzzy variables, Represented as the objective function, This indicates a constraint containing fuzzy variables. Constraints The corresponding confidence level, Represented as a fuzzy chance constraint; Assume constraints If the following form is used, and the fuzzy variables are represented by trapezoidal membership functions, then the fuzzy chance-constrained programming is transformed using clear equivalence classes, and then the optimization problem is solved using conventional methods. (43), In the formula: It is a trapezoidal fuzzy variable; , … They represent decision variables respectively. The first function, the second function, ..., the kth function; , … These represent the first fuzzy parameter, the second fuzzy parameter, ..., the kth fuzzy parameter, respectively. Then the power balance is equivalent to: (44), In the formula: This is a wind power forecast value. and The proportional coefficient for fuzzy membership degree; Establish an objective function that minimizes both system operating costs and carbon trading costs: (45), In the formula: For the operating costs of P2G equipment, For the operating costs of thermal power generating units, For the operating costs of combined heat and power units, To mitigate the cost of wind curtailment penalties, The carbon trading cost in IES; 1) Operating costs of P2G equipment (46), In the formula: For P2G devices Operating costs; A collection of P2G devices; for Moment P2G devices The converted active power; 2) Operating costs of combined heat and power units A steam turbine generator with an adjustable heat-to-power ratio is used to supply electricity, and the steam generated after it performs work is used for heating. Its operating cost is... (47), In the formula: , These are the operation and maintenance costs required for a combined heat and power unit to generate a unit of electrical energy and heat energy, respectively. , For example, cogeneration units at Constant electrical and thermal output; 3) Cost of wind curtailment penalty (48), In the formula: A collection of wind turbine units; This is the wind curtailment penalty coefficient; , They are respectively Time of the first The predicted and actual output of typhoon generators; 4) Battery cost (49), In the formula: , They are respectively Time of the first The discharge and charging power of each battery; This refers to the charging and discharging cost coefficient. and These are discharge efficiency and charging efficiency, respectively.
