CN110610276B - Comprehensive energy system scheduling method and system containing generalized predictive control - Google Patents
Comprehensive energy system scheduling method and system containing generalized predictive control Download PDFInfo
- Publication number
- CN110610276B CN110610276B CN201910888813.1A CN201910888813A CN110610276B CN 110610276 B CN110610276 B CN 110610276B CN 201910888813 A CN201910888813 A CN 201910888813A CN 110610276 B CN110610276 B CN 110610276B
- Authority
- CN
- China
- Prior art keywords
- energy
- heat
- storage tank
- equipment
- gas
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000006243 chemical reaction Methods 0.000 claims abstract description 90
- 238000004146 energy storage Methods 0.000 claims abstract description 70
- 239000007789 gas Substances 0.000 claims description 144
- 238000003860 storage Methods 0.000 claims description 109
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 claims description 98
- 238000005338 heat storage Methods 0.000 claims description 77
- 239000003345 natural gas Substances 0.000 claims description 49
- 238000009826 distribution Methods 0.000 claims description 31
- 239000000446 fuel Substances 0.000 claims description 31
- 238000005457 optimization Methods 0.000 claims description 18
- 238000012423 maintenance Methods 0.000 claims description 16
- 238000010248 power generation Methods 0.000 claims description 14
- 238000012546 transfer Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000006835 compression Effects 0.000 claims description 9
- 238000007906 compression Methods 0.000 claims description 9
- 230000005611 electricity Effects 0.000 claims description 9
- 238000005096 rolling process Methods 0.000 claims description 8
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 5
- 230000001133 acceleration Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000017525 heat dissipation Effects 0.000 claims description 4
- 238000007599 discharging Methods 0.000 claims description 3
- 230000005484 gravity Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 238000005381 potential energy Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 6
- 238000005485 electric heating Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000002485 combustion reaction Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- ZZVUWRFHKOJYTH-UHFFFAOYSA-N diphenhydramine Chemical compound C=1C=CC=CC=1C(OCCN(C)C)C1=CC=CC=C1 ZZVUWRFHKOJYTH-UHFFFAOYSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- Educational Administration (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Engine Equipment That Uses Special Cycles (AREA)
Abstract
The invention discloses a comprehensive energy system scheduling method and system with generalized predictive control, which are used for respectively modeling energy conversion equipment and energy storage equipment in a comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment; constructing an energy conversion equipment controller according to the generalized predictive control; determining an objective function, and solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment; setting scheduling time, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through an energy conversion equipment controller according to equipment constraint conditions and the capacity of the energy storage equipment so as to realize scheduling of energy; the method and the device realize accurate control of the comprehensive energy system and solve the problems of poor scheduling flexibility and poor accuracy of the traditional energy scheduling method.
Description
Technical Field
The invention relates to the technical field of energy scheduling, in particular to a comprehensive energy system scheduling method and system with generalized predictive control.
Background
With the continuous development of economic society, the urbanization process of China is continuously accelerated, at present, urban energy of China faces the problems of energy resource supply shortage, low comprehensive utilization efficiency and the like, a park is used as an important platform for urban economic structure adjustment and crossing development, and the economic, reliable and efficient operation of an energy system is of great significance.
The existing comprehensive energy system optimization scheduling model has certain disadvantages when in use, firstly, the differences among energy varieties can not be fully utilized in the current research, such as the differences of inherent characteristics of gas, heat and electricity, more redundancy can easily appear when energy supply equipment is built, further the utilization rate of partial equipment is low, the energy supply economy of the system is influenced, in addition, under the extreme condition of insufficient energy supply and the like, the differences of energy utilization reliability requirements among different energy varieties can not be fully utilized, and the integral energy supply reliability of the system is influenced.
At present, there is a need for an energy scheduling method to solve the problems of poor scheduling flexibility and poor scheduling accuracy of the energy scheduling method in the prior art.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a comprehensive energy system scheduling method and system with generalized predictive control, which can complete quick response to a comprehensive energy system scheduling signal, enable accurate conversion of electricity, gas and heat and realize accurate control of the comprehensive energy system.
The invention provides a comprehensive energy system scheduling method with generalized predictive control, which comprises the following steps:
respectively modeling energy conversion equipment and energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
constructing an energy conversion equipment controller according to the generalized predictive control;
determining an objective function, and solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment;
and setting scheduling time, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through an energy conversion equipment controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize scheduling of energy.
Further, the energy conversion apparatus includes a gas turbine and an electric boiler, including:
constructing an energy supply model of a gas turbine and an energy supply model of an electric boiler;
constructing a gas turbine controller and an electric boiler controller according to the generalized predictive control;
determining an objective function, and respectively solving an energy supply model of the gas turbine, an energy supply model of the electric boiler and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy supply model, a predicted output value of the electric boiler and the capacity of the energy storage equipment;
setting scheduling time, and respectively controlling the output of an energy supply model of the gas turbine and the output of an energy supply model of the electric boiler through the gas turbine controller and the electric boiler controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize the scheduling of energy.
Further, the objective function S is determined by the following formula:
min S=minF(L)+min price;
min F(L)=F(LE)+F(LH)+F(LG);
wherein minF (L) is the minimum value of the energy shortage function of the integrated energy system, and minprice is the minimum value of the daily operation cost function of the integrated energy system.
Further, the calculation formula of the daily operation cost function of the integrated energy system is as follows:
min price=min(prifuel+prigrid+primaintain);
wherein prifuelAs a function of fuel cost, prigridPower cost function for grid interaction, primaintainFor the system operation maintenance cost function, fGHPiAs a function of the gas turbine consumption characteristic,is the gas price per hour,is the price of electricity for each hour,is real-time electric power provided by an external network to an integrated energy system, pmdisCost of maintenance for unit power operation of distributed power generation equipment, pmCHPiOperating maintenance costs for a unit power of the gas turbine; p is a radical ofEBiThe unit power operation and maintenance cost of the electric boiler is saved; p is a radical ofmstorRefers to the operating and maintenance cost per unit power of the energy storage device,is the charging power of the accumulator at the time t, Pi tRefers to the real-time power generation power of the ith gas turbine at the moment t,the power consumption of the electric boiler at the moment tThe ratio of the total weight of the particles,for the charging power of the energy storage device,for discharging power of energy storage devices, nCHPNumber of gas turbines, ndisIs the number of storage batteries, nEBThe number of the electric boilers is.
Further, the equipment constraint conditions comprise energy conversion equipment constraint conditions and energy storage equipment constraint conditions, the energy conversion equipment constraint conditions comprise gas turbine constraint conditions and electric boiler constraint conditions, and the energy storage equipment constraint conditions comprise storage battery constraint conditions, gas storage equipment constraint conditions and heat storage equipment constraint conditions;
the gas turbine constraints are as follows:
Pi min≤Pi t≤Pi max,i∈nCHP;
the constraint conditions of the electric boiler are as follows:
the constraint conditions of the storage battery are as follows:
the constraint conditions of the gas storage device are as follows:
the heat storage equipment has the following constraint conditions:
wherein,is the real-time power generation power, P, of the ith gas turbine at time ti minIs the minimum value of the generated power of the ith gas turbine, Pi maxIs the maximum value of the generated power of the ith gas turbine,is the power consumption of the electric boiler,is the minimum value of the power consumption of the electric boiler,is the maximum value of the electric power consumption of the electric boiler, PchFor charging the accumulator, PdisIs the discharge power of the accumulator, PchminMinimum value of charging power, P, for accumulatorchmaxMaximum value of charging power, P, for accumulatordisminIs the minimum value of the discharge power of the accumulator, PdismaxIs the maximum value of the discharge power of the storage battery,the energy storage capacity of the storage battery at the moment t,is the minimum value of the energy storage of the storage battery,is the maximum value of the energy storage of the storage battery,the air charging quantity of the air storage tank,is the air discharge quantity of the air storage tank,is the minimum value of the air charging quantity of the air storage tank,is the maximum value of the air charging quantity of the air storage tank,is the minimum value of the air discharge quantity of the air storage tank,is the maximum value of the air discharge amount of the air storage tank,the amount of the gas stored in the gas storage tank at the moment t,the minimum sum of the gas storage capacity of the gas storage tankIs the maximum value of the air storage quantity of the air storage tank,in order to charge the heat of the heat storage tank,in order to release the heat of the heat storage tank,the minimum amount of heat charged in the heat storage tank,the maximum amount of heat charged in the heat storage tank,is the minimum value of the heat release of the heat storage tank,is the maximum value of the heat release quantity of the heat storage tank,the amount of heat stored in the heat storage tank at time t,is the minimum value of the heat storage quantity of the heat storage tank,is the maximum value of the heat storage capacity of the heat storage tank, nCHPThe number of gas turbines.
Further, in the building an energy conversion device controller according to the generalized predictive control, it includes:
adopting a minimum variance control method to construct an output prediction model of the gas turbine and the electric boiler;
modifying the output prediction model by adopting rolling optimization to obtain an optimized prediction value;
judging whether the optimized predicted value is in the equipment constraint condition;
if so, respectively scheduling the prediction outputs of an energy supply model of the gas turbine and an energy supply model of the electric boiler according to the optimized predicted values;
and if not, respectively scheduling the predicted outputs of the energy supply model of the gas turbine and the energy supply model of the electric boiler through the critical value of the equipment constraint condition.
Further, the energy storage device comprises a storage battery, an air storage tank and a heat storage tank, and the gas turbine comprises a rotating speed control module, a temperature control module, a fuel supply module and a compressor-turbine module;
(1) the battery is modeled by the following equation:
wherein S isoc(t) is the residual capacity of the battery at time t, Soc(t0) For the accumulator at t0The remaining capacity at that moment; delta is the self-discharge rate of the storage battery, and the unit is%/h; Δ t is t0The time span to t; pchFor charging the accumulator, PdisIs the discharge power of the storage battery; etachFor the charging efficiency of the accumulator, etadisThe discharge efficiency of the battery.
(2) The gas storage tank is modeled by the following formula:
wherein, VGSThe effective gas storage volume of the gas storage tank; vCThe geometric volume of the gas storage tank; p is a radical ofhighIs the absolute pressure, p, at the highest operating conditionlowAbsolute pressure under the lowest working condition; p is a radical of0Representing engineering standard pressure;
(3) the thermal storage tank is modeled by the following formula:
wherein Q isHS(t) represents the heat storage amount of the heat storage tank at time t; mu.sLossRepresenting the heat dissipation loss rate of the heat storage tank; qHS(t0) Denotes the initial t0Storage of time heat storage tankHeat quantity,. DELTA.t, is t0The time span to t is the time span,represents t0The heat charging quantity of the heat storage tank is increased until t moment;representing the heat charging efficiency of the heat storage tank;represents t0The heat release amount of the heat storage tank is up to t time;representing the heat release efficiency of the heat storage tank;
(4) the rotating speed control module carries out modeling through the following steps:
input reference rotational speed WrefAnd the actual rotor speed omega of the gas turbine power generation system;
using a lead-lag transfer function pair WrefAnd omega are controlled and output through a minimum value selector;
(5) the temperature control module is modeled by:
obtaining an exhaust temperature TxWill TxTo rated exhaust temperature TrefThe comparison is carried out in such a way that,
when T isxHigher than TrefThen, the output is controlled to a minimum value selector through a proportional integral regulator PI until TxLess than TrefStopping the PI from working;
(6) the fueling module is modeled by the following equation:
wherein f is3As a transfer function, Kv、KfTo gain, TvFor valve opening, TfTo implement the time constant of the structure, cIs a constant.
(7) The compressor-turbine module is modeled by the following equation:
f1=Tref-700(1-Wf1)+500(1-ω);
f2=1.3(Wf2-0.23)+0.5(1-ω);
wherein f is1As a function of the turbine exhaust temperature of the gas turbine, f2As a function of the turbine torque output of the gas turbine, TrefIs the nominal exhaust temperature; wf1、Wf2To signal fuel flow, ω is the actual turbine speed.
Further, the integrated energy system also comprises a network transmission pipeline, wherein the network transmission pipeline comprises a natural gas pipeline and a heat power pipeline;
the natural gas pipeline is modeled by the following formula:
wherein M isdRepresenting the mass flow of natural gas; q. q.sd,0Representing the volumetric flow rate of natural gas at 101.325kPa, 273.15K; psRepresenting the absolute pressure rating of the natural gas at the beginning of the pipeline; zsRepresenting the compression factor of the natural gas at the beginning of the pipeline; cBRepresenting a potential energy factor function of the natural gas; peAn absolute pressure rating indicative of the natural gas at the end of the pipeline; zeA compression factor representing natural gas at the end of the pipeline; zaveRepresents the average compression factor of the natural gas; d represents the inner diameter of the pipe; λ represents the coefficient of on-way resistance of the pipeline; l represents a natural gas pipeline length; r represents a natural gas constant; t represents the natural gas temperature; rho0Represents the density of natural gas at 101.325kPa, 273.15K;
the thermal pipeline is modeled by the following formula:
wherein, P1The pressure at the beginning of the heat distribution pipeline, P2Is the pressure at the end of the thermal conduit,is the average flow velocity of the thermal conduit,is the average specific volume of the thermal conduit, g is the acceleration of gravity, D1Is the inner diameter of the heat distribution pipe, D0Is the external diameter of the heat distribution pipeline, lambda is the on-way resistance coefficient of the heat distribution pipeline, Sigma xi is the local resistance coefficient, H1Height of the initial end of the heat distribution pipe, H2Height of end of thermal conduit, tinIs the initial temperature of the heat distribution pipeline, toutIs the temperature at the end of the thermal conduit, QLossFor heat loss of the pipe, GLIs the flow of the heat distribution pipe, cpIs the specific constant pressure heat capacity of hot water, K is the equivalent length coefficient of the heat loss element, L represents the length of the heat distribution pipeline, R is the heat resistance of the heat distribution pipeline, t is the average temperature of the medium in the heat distribution pipelineaIs ambient temperature.
An integrated energy system dispatching system with generalized predictive control, comprising: the system comprises a classification modeling module, a controller construction module, an optimization solving module and a scheduling module;
the classification modeling module is used for respectively modeling the energy conversion equipment and the energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
the controller construction module is used for constructing an energy conversion equipment controller according to the generalized predictive control;
the optimization solving module is used for determining an objective function, solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function, and obtaining a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment;
the scheduling module is used for setting scheduling duration, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through the energy conversion equipment controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize scheduling of energy.
Further, the computer readable storage medium has stored thereon a number of get classification programs for being invoked by the processor and performing the steps of:
respectively modeling energy conversion equipment and energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
constructing an energy conversion equipment controller according to the generalized predictive control;
determining an objective function, and solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment;
and setting scheduling time, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through an energy conversion equipment controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize scheduling of energy.
The comprehensive energy system scheduling method and system with generalized predictive control provided by the invention have the advantages that: according to the comprehensive energy system scheduling method and system with generalized predictive control, a gas turbine controller controls the predictive output of an energy supply model of a gas turbine, an electric heating boiler controller controls the predictive output of the energy supply model of an electric heating boiler, when the energy supply and demand in the comprehensive energy system are unbalanced, the comprehensive energy system makes an optimal energy mediation scheme through a comprehensive energy network structure according to energy difference information, so that the rapid response of a comprehensive energy system scheduling signal is completed, the accurate conversion of electricity, gas and heat is realized, and the accurate control of the comprehensive energy system is realized; meanwhile, the comprehensive energy system carries out classified modeling, so that the calculated amount of the model is reduced, and the accuracy of the model is improved; the optimal prediction expression is obtained by deducing a series of formulas by the gas turbine controller and the electric boiler controller, and the formulas are corrected in real time by rolling optimization, so that the accurate prediction of the output of the next moment after the current moment of the equipment is further improved.
Drawings
FIG. 1 is a schematic structural diagram of a generalized predictive control-based scheduling method for an integrated energy system according to the present invention;
FIG. 2 is a structural framework diagram of the integrated energy system;
FIG. 3 is a modeling schematic of a speed control module;
FIG. 4 is a modeling schematic of a temperature control module;
FIG. 5 is a modeling schematic of a fueling module;
FIG. 6 is a modeling schematic of a compressor-turbine module;
fig. 7 is a detailed step flowchart of step S4;
FIG. 8 is a schematic flow diagram of an integrated energy system dispatch system with generalized predictive control;
the system comprises a classification modeling module 100, a controller construction module 200, an optimization solving module 300 and a scheduling module 400.
Detailed Description
The present invention is described in detail below with reference to specific embodiments, and in the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather should be construed as broadly as the present invention is capable of modification in various respects, all without departing from the spirit and scope of the present invention.
Referring to fig. 1 to 7, the scheduling method of an integrated energy system with generalized predictive control according to the present invention includes steps S1 to S4:
s1: respectively modeling energy conversion equipment and energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
the energy conversion equipment comprises a gas turbine and an electric boiler, wherein the gas turbine converts gas source into electricity and heat to supply energy to an electric load and a thermal load, and the electric boiler converts the electricity into the heat to supply energy to the thermal load. The energy supply model of the energy conversion apparatus thus constructed includes an energy supply model of a gas turbine and an energy supply model of an electric boiler.
S2: constructing an energy conversion equipment controller according to the generalized predictive control;
the energy conversion equipment controller comprises a gas turbine controller and an electric boiler controller.
S3: determining an objective function, and solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment;
through steps S1 and S2, the energy supply model of the gas turbine, the energy supply model of the electric boiler, and the energy supply model of the energy storage device are solved according to the objective function, and the predicted output value of the energy supply model, the predicted output value of the electric boiler, and the capacity of the energy storage device are obtained.
Further, the comprehensive energy system performs scheduling control on the whole system by taking energy shortage and daily operation cost as the lowest targets, and determines an objective function S through the following formula:
min S=minF(L)+min price;
wherein minF (L) is the minimum value of the energy shortage function of the integrated energy system, and minprice is the minimum value of the daily operation cost function of the integrated energy system.
The calculation formula of the energy shortage function of the integrated energy system is as follows:
min F(L)=F(LE)+F(LH)+F(LG);
wherein, F (L)E) As a function of the power shortage of the integrated energy system, F (L)H) Is the heat deficiency function of the integrated energy system, F (L)G) Is the gas shortage function of the integrated energy system;
the calculation formula of the daily operation cost function of the comprehensive energy system is as follows:
min price=min(prifuel+prigrid+primaintain);
wherein prifuelAs a function of fuel cost, prigridPower cost function for grid interaction, primaintainFor the system operation maintenance cost function, fGHPiAs a function of the consumption characteristic of the gas turbine, PiFor the generated power of the ith gas turbine,is the gas price per hour,is the price of electricity for each hour,is real-time electric power, P, provided by an external network to the integrated energy systemmdisCost of maintenance for unit power operation of distributed power generation equipment, PmCHPiFor the maintenance cost per power operation of the gas turbine, PEBiThe unit power operation and maintenance cost of the electric boiler is saved; pmstorRefers to the operating and maintenance cost per unit power of the energy storage device,is the charging power of the accumulator at the time t, Pi tRefers to the real-time power generation power of the ith gas turbine at the moment t,the unit power operation and maintenance cost of the electric boiler at the moment t,for charging energy of an energy storage device, the energy storage device comprises a storage battery, a storage battery and a heat storage tank,for discharging power of energy storage devices, nCHPNumber of gas turbines, ndisIs the number of storage batteries, nEBThe number of the electric boilers is.
S4: and setting scheduling time, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through an energy conversion equipment controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize scheduling of energy.
The equipment constraint conditions comprise energy conversion equipment constraint conditions and energy storage equipment constraint conditions, the energy conversion equipment constraint conditions comprise gas turbine constraint conditions and electric boiler constraint conditions, and the energy storage equipment constraint conditions comprise storage battery constraint conditions, gas storage equipment constraint conditions and heat storage equipment constraint conditions;
the gas turbine constraints are as follows:
Pi min≤Pi t≤Pi max,i∈nCHP
the constraint conditions of the electric boiler are as follows:
the constraint conditions of the storage battery are as follows:
the constraint conditions of the gas storage device are as follows:
the heat storage equipment has the following constraint conditions:
wherein,is the real-time power generation power, P, of the ith gas turbine at time ti minIs the minimum value of the generated power of the ith gas turbine, Pi maxIs the maximum value of the generated power of the ith gas turbine,is the power consumption of the electric boiler,is the minimum value of the power consumption of the electric boiler,is the maximum value of the electric power consumption of the electric boiler, PchFor charging the accumulator, PdisIs the discharge power of the accumulator, PchminMinimum value of charging power, P, for accumulatorchmaxMaximum value of charging power, P, for accumulatordisminIs the minimum value of the discharge power of the accumulator, PdismaxTo storeThe maximum value of the discharge power of the battery,the energy storage capacity of the storage battery at the moment t,is the minimum value of the energy storage of the storage battery,is the maximum value of the energy storage of the storage battery,the air charging quantity of the air storage tank,is the air discharge quantity of the air storage tank,is the minimum value of the air charging quantity of the air storage tank,is the maximum value of the air charging quantity of the air storage tank,is the minimum value of the air discharge quantity of the air storage tank,is the maximum value of the air discharge quantity of the air storage tank,the amount of the gas stored in the gas storage tank at the moment t,the minimum sum of the gas storage capacity of the gas storage tankIs the maximum value of the air storage quantity of the air storage tank,in order to charge the heat of the heat storage tank,in order to release the heat of the heat storage tank,is the minimum value of the heat charging amount of the heat storage tank,the maximum amount of heat charged in the heat storage tank,is the minimum value of the heat release of the heat storage tank,is the maximum value of the heat release quantity of the heat storage tank,the amount of heat stored in the heat storage tank at time t,is the minimum value of the heat storage quantity of the heat storage tank,is the maximum value of the heat storage capacity of the heat storage tank, nCHPThe number of gas turbines.
According to the steps S1 to S4, the energy conversion equipment controller controls the output of the energy supply model of the energy conversion equipment, completes the quick response to the dispatching signal of the comprehensive energy system, enables the accurate conversion of electricity, gas and heat, and realizes the accurate control of the comprehensive energy system. That is, the gas turbine controller controls the predicted output of the energy supply model of the gas turbine, and the electric boiler controller controls the predicted output of the energy supply model of the electric boiler. Meanwhile, the comprehensive energy system carries out classified modeling, so that the calculated amount of the model is reduced, and the accuracy of the model is improved.
Further, in the present embodiment, the energy conversion apparatus described in step S1 includes a gas turbine and an electric boiler, the energy storage apparatus includes a storage battery, an air storage tank, and a heat storage tank, and the gas turbine includes a rotation speed control module, a temperature control module, a fuel supply module, and a compressor-turbine module; the modeling may be performed by the following steps or equations (1) to (7):
(1) the battery is modeled by the following equation:
wherein S isoc(t) is the residual capacity of the battery at time t, Soc(t0) For the accumulator at t0The remaining capacity at that moment; delta is the self-discharge rate of the storage battery, and the unit is%/h; Δ t is t0The time span to t; pchFor charging the accumulator, PdisIs the discharge power of the storage battery; etachFor the charging efficiency of the accumulator, etadisThe discharge efficiency of the battery.
(2) The gas storage tank is modeled by the following formula:
wherein, VGSThe effective gas storage volume of the gas storage tank; vCThe geometric volume of the gas storage tank; p is a radical ofhighIs the absolute pressure, p, at the highest operating conditionlowAbsolute pressure under the lowest working condition; p is a radical of0Representing engineering standard pressure;
(3) the thermal storage tank is modeled by the following formula:
wherein Q isHS(t) represents the heat storage amount of the heat storage tank at time t;μLossrepresenting the heat dissipation loss rate of the heat storage tank; qHS(t0) Denotes the initial t0The heat storage quantity of the heat storage tank at the moment, delta t is t0The time span to t is the time span,represents t0The amount of heat charged in the heat storage tank up to time t,indicating the heat charging efficiency of the thermal storage tank,represents t0The heat release amount of the heat storage tank until the time t,representing the heat release efficiency of the heat storage tank;
(4) the speed control module is modeled by the following steps, as shown in FIG. 3:
s101: input reference rotational speed WrefAnd the actual rotating speed omega of the rotor of the power generation system of the gas turbine;
input is a reference rotating speed WrefDeviation from the actual rotor speed ω of the gas turbine power generation system;
s102: using a lead-lag transfer function pair WrefAnd omega are controlled and output through a minimum value selector; g is the controller gain, T1And T2Respectively, lead-lag time constant, formulaIs an expression after the laplace transform.
In actual operation, the speed control module plays a major role in partial load, and changes the output fuel reference value by adjusting the deviation between the reference speed and the actual speed, so as to achieve the purpose of adjusting the load.
(5) The temperature control module is modeled by the following steps, as shown in fig. 4:
s111: obtaining an exhaust temperature TxWill TxTo rated exhaust temperature TrefComparing;
the temperature control reflects the temperature of the turbine inlet of the gas turbine by controlling the fuel flow, and the temperature of the gas at the turbine inlet is difficult to measure and control due to severe change of the temperature of the gas at the turbine inlet; the temperature control ensures that the inlet temperature is within a safe range by controlling the exhaust temperature. The temperature regulation module is a proportional-integral regulator (PI) whose input signal is the exhaust temperature T measured by a thermocouplex;
S112: when T isxHigher than TrefThen, the output is controlled to a minimum value selector through a proportional integral regulator PI until TxLess than Tref;
As long as TxAnd TrefIf there is a deviation between them, the temperature controller will continue to integrate and lower the fuel reference value until TxBelow TrefUntil now. During normal operation, the gas turbine is controlled by changing the fuel quantity to prevent the turbine inlet temperature from exceeding the maximum design value Tmax。
(6) The fueling module is modeled by the following equation:
wherein f is3As a transfer function, Kv、KfTo gain, TvFor valve opening, TfTo implement the time constant of the structure, c is a constant, f3Is obtained by the time domain laplacian transform, and s corresponds to t in the time domain laplacian transform and represents a variable in space.
The process of the fueling module, as shown in fig. 5, speed control, temperature control, and acceleration control generate fuel references F1, F2, and F3, respectively, which are acted upon by the Min selector (Min module) and the high and low limit modules to generate a minimum fuel reference command to the fueling module. Since the fuel pressure and the rotation speed of the fuel pump are both in direct proportion to the rotor rotation speed, the limited valuesThe actual sub-rotational speed ω is multiplied to obtain an actual fuel quantity signal. The fuel system of the gas turbine consists of a valve and an actuator, the fuel flowing out of the fuel system has certain inertia with the action time of the actuator and the valve, and the transfer function f3 is obtained by the formula. In FIG. 5, where WfGain K for fuel flow2=1-K1,K1To ensure the minimum value of the continuous proceeding of the combustion process of the combustion chamber. K1The selection must be such that the rotor can reach the rated speed in the absence of load, typically 0.15-0.3, preferably 0.23.
(7) The compressor-turbine module is modeled by the following equation:
the compressor-turbine system is the core part of the gas turbine, which enables the conversion of energy, which is essentially a linear non-dynamic system (except for the rotor time constant). As shown in FIG. 6, the single shaft gas turbine output torque Tmtur and the exhaust temperature TxAs outputs, fuel flow and turbine as inputs, with the output being linearly related to the speed of the input, the compressor-turbine module is modeled by the following equation:
f1=Tref-700(1-Wf1)+500(1-ω);
f2=1.3(Wf2-0.23)+0.5(1-ω);
wherein f is1As a function of the turbine exhaust temperature of the gas turbine, f2As a function of the turbine torque output of the gas turbine, TrefThe rated exhaust temperature can be 950 ℃ or other fixed values; wf1、Wf2To signal fuel flow, ω is the actual turbine speed.
It should be clear that the torque output function is substantially accurate at 100% load, that in other cases there is less than 5% error, and that the exhaust temperature equation is effective around the temperature reference, so its effect can be ignored.
Further, at step S2: the building of the energy conversion device controller according to the generalized predictive control includes S21 to S23:
s21: an output prediction model of the energy conversion equipment controller is constructed by adopting a minimum variance control method;
the output prediction model of the energy conversion equipment controller comprises an output prediction model of a gas turbine and an output prediction model of an electric boiler;
in generalized predictive control, a controlled autoregressive integrated moving average model (CARIMA) used in least square error control is used to describe the subject suffering random disturbances, as follows:
q-1is a backward shift operator; y (k) q-1=y(k-1);Δ=1-q-1Is a difference operator; ξ (k) is an independent random noise sequence.
Introducing a Diphantine equation and taking C (q)-1) 1, the optimal predicted output for time k to the future time k + j is:
where y1(k + j) is determined by past control inputs and outputsDetermined by present and future control inputs.
The optimal prediction expression is thus obtained as:
y(k+j)=y*(k+j|k)+E(q-1)ξ(k+j);
where y (k + j) is the actual output at the future time k + j; y is*(k + j | k) optimizing the predicted output at a future time k + j, Ej(q-1)=ej,0+ej,1q-1+…+ej,j-1q-(j-1),EjFrom A (q)-1) And the prediction length j is uniquely determined; ξ (k + j) is the noise at time k + j in the future.
y (k + j) may be represented as yM(k + j), where M represents the M step output that can be predicted. Since the generalized predictive control adopts rolling optimization, the predictive control at each moment only actually acts on the next optimization index, so that y is used in the multi-step prediction of y (k + j) every time1(k+j),y1(k + j) represents the next prediction output.
S22: correcting an output prediction model of the energy conversion equipment controller by adopting rolling optimization to obtain an optimized prediction value;
the rolling optimization adopts a quadratic performance index weighted by an output error and a control increment to correct an output prediction model to obtain:
Δu=(GTG+λI)-1GT(yr-y1);
wherein Δ u ═ Δ u (k), Δ u (k +1), … Δ u (k + N)u-1)]T(ii) a Δ u represents the current control action.
yr=[yr(k+N1),yr(k+N1+1),…yr(k+N2)]T;
y1=[y1(k+N1),y1(k+N1+1),…y1(k+N2)]T;
λ is a control increment weighting coefficient;
then the current integrated energy system inputs u (k) are:
u(k)=u(k-1)+[1,0,…,0](GTG+λI)-1GT(yr-y1);
then through online identification and feedback correction pair, the following results are obtained:
estimating a model parameter theta value by using a recursive least square method (RLS) with forgetting factors, finally obtaining y (k) after online identification, substituting the y (k) after online identification into a formulaAnd then, obtaining corrected u (k) through a series of deductions, controlling the input of the current comprehensive energy system through the corrected u (k), and ensuring the accuracy of the output of the prediction result through online feedback correction so as to realize accurate scheduling of the energy.
S23: and controlling the predicted output of the energy supply model of the gas turbine and the energy supply model of the electric boiler through the optimized predicted value:
obtaining a controller model of the gas turbine and the electric boiler through a generalized predictive control algorithm according to mathematical models of the gas turbine and the electric boiler; the controller model is obtained through derivation of formulas of generalized predictive control on the basis of a mathematical model, and the optimal predictive expression is realized through modeling, and is corrected in real time through rolling optimization, so that accurate output prediction of output of the equipment at the next moment after the current moment is further improved.
Applying a pseudo-random signal to a gas turbine rotating speed open loop system under a rated working condition by an energy supply model of a gas turbine in energy conversion equipment in a Matlab/Simulink environment, and accumulating input and output data. Based on an augmented least square method with forgetting factors, A and B in the CARIMA are obtained through parameter identification. And obtaining the optimal prediction expression according to the steps S21 to S23, and further obtaining the optimized control quantity and the expected output of the gas turbine.
And applying a pseudo-random signal to an electric heating boiler rotating speed open loop system under a rated working condition by an energy supply model of the electric heating boiler in the energy conversion equipment in a Matlab/Simulink environment, and accumulating input and output data. Based on an augmented least square method with forgetting factors, A and B in the CARIMA are obtained through parameter identification. And obtaining the optimal prediction expression according to the steps S21 to S23, and further obtaining the optimized control quantity and the expected output of the electric boiler. The pseudo-random signal may be a white noise signal or an M-sequence signal, etc.
As shown in fig. 7, in step S4: in the scheduling of the energy source by the energy conversion plant controller correcting the predicted output value of the energy source supply model controlling the energy conversion plant, since the energy conversion plant includes a gas turbine and an electric boiler and the energy source supply model of the energy conversion plant includes an energy source supply model of the gas turbine and an energy source supply model of the electric boiler, the scheduling process of the energy source includes S41 to S49:
s41: acquiring energy supply and load demand data in the comprehensive energy system at the current moment;
s42: judging whether the energy supply meets the load demand data;
if yes, go to step S43;
if not, go to step S44;
s43: storing the redundant energy and entering the step S49;
s44: respectively obtaining a predicted output value of an energy supply model of the gas turbine and a predicted output value of an energy supply model of the electric boiler through a gas turbine controller and an electric boiler controller; the predicted output value can be the power to be adjusted of the element, and can also be other output parameters to be adjusted of the equipment;
s45: judging whether the predicted output value of the ith element exceeds the corresponding equipment constraint condition or not; e.g., whether the ith element is power off-limit;
if yes, go to step S46;
if not, go to step S47;
s46: the ith element is operated at the critical value of the constraint condition of the equipment, and the other elements are adjusted and operated at the predicted output value, and the step S48 is entered;
s47: adjusting operation of each element according to the predicted output value, and proceeding to step S48;
s48: the gas turbine controller and the electric boiler controller respectively control the output of the gas turbine and the output of the electric boiler according to the scheduling signal, and the step S49 is entered;
s49: judging whether the scheduling time length is reached;
if yes, finishing scheduling;
if not, the process proceeds to update the time domain, and proceeds to step S41.
Through steps S41 to S49, the internal components of the integrated energy system respond to the scheduling signal in time, and when the energy supply and demand are unbalanced in the integrated energy system, the integrated energy system makes an optimal energy mediation scheme through the integrated energy network structure according to the energy difference information. Specifically, when certain energy is insufficient, the comprehensive energy system compensates the difference through energy conversion according to the collected internal information if redundant heterogeneous energy exists and the stability of the system is not affected after conversion, otherwise, the rest part is supplied with energy through a gas turbine and an electric heating boiler.
As an embodiment, in the scheduling of the integrated energy system, the loss in the energy transportation process affects the scheduling accuracy, so in this embodiment, the loss in the energy transportation process is considered through modeling, and the integrated energy system further includes a network transmission pipeline, where the network transmission pipeline includes a natural gas pipeline and a heat power pipeline;
the natural gas pipeline is modeled by the following formula:
wherein M isdRepresenting the mass flow of natural gas;qd,0representing the volumetric flow rate of natural gas at 101.325kPa (pressure), 273.15K (temperature); psRepresenting the absolute pressure rating of the natural gas at the beginning of the pipeline; zsRepresenting the compression factor of the natural gas at the beginning of the pipeline; cBRepresenting a potential energy factor function of the natural gas; peAn absolute pressure rating indicative of the natural gas at the end of the pipeline; zeA compression factor representing natural gas at the end of the pipeline; zaveRepresents the average compression factor of natural gas, is ZsAnd ZeAverage value of (d); d represents the inner diameter of the pipe; λ represents the coefficient of on-way resistance of the pipeline; l represents a natural gas pipeline length; r represents a natural gas constant; t represents the natural gas temperature; rho0Represents the density of natural gas at 101.325kPa, 273.15K;
the natural gas pipeline is used for transmitting natural gas, the purpose of establishing a natural gas pipeline model is to simulate the actual natural gas transmission process, the loss of the natural gas in the transmission process is considered, so that the dispatching of the comprehensive energy system is more accurate, and the natural gas pipeline is used for transmitting the natural gas to energy conversion equipment and other users needing gas.
The thermal pipeline is modeled by the following formula:
wherein, P1The pressure at the beginning of the heat distribution pipeline, P2Is the pressure at the end of the thermal conduit,is the average flow velocity of the thermal conduit,is the average specific volume of the thermal conduit, g is the acceleration of gravity, D1Is the inner diameter of the heat distribution pipe, D0Is the external diameter of the heat distribution pipeline, lambda is the on-way resistance coefficient of the heat distribution pipeline, L represents the length of the heat distribution pipeline, Sigma xi is the local resistance coefficient, H1Is the beginning of the heat distribution pipelineHeight, H2Height of end of thermal conduit, tinIs the initial temperature of the heat distribution pipeline, toutIs the temperature at the end of the thermal conduit, QLossFor heat loss of the pipe, GLIs the flow of the heat distribution pipe, cpIs the specific constant pressure heat capacity of hot water, K is the equivalent length coefficient of the heat loss element, R is the heat resistance of the heat distribution pipeline, t is the average temperature of the medium in the heat distribution pipelineaIs ambient temperature.
The heat distribution pipeline has similar action with the natural gas pipeline, and the heat energy loss in the transmission process is considered, so that the comprehensive energy system is more accurately scheduled; since the transfer of heat energy is generally provided by a change in water temperature, water is also required to be transported to various locations where it is needed through pipes. The heat pipeline only provides heat energy to one side of a user through temperature change of flowing water, and does not provide the heat energy to the energy conversion equipment.
As shown in fig. 8, an integrated energy system dispatching system with generalized predictive control includes: the system comprises a classification modeling module 100, a controller construction module 200, an optimization solving module 300 and a scheduling module 400;
the classification modeling module 100 is configured to divide the integrated energy system into a plurality of single energy subsystems according to energy sources, and respectively construct an energy supply model of the single energy subsystems;
the controller building module 200 is used for building a gas turbine controller and an electric boiler controller according to generalized predictive control;
the optimization solving module 300 is used for setting scheduling duration, determining an objective function and constructing an optimization scheduling model of the comprehensive energy system;
the scheduling module 400 is configured to control the outputs of the gas turbine and the electric boiler respectively according to the equipment constraint conditions and the predicted output result of the optimized scheduling model of the integrated energy system, so as to implement energy scheduling.
A computer readable storage medium having stored thereon a number of get classification programs for being invoked by a processor and performing the steps of:
dividing the comprehensive energy system into a plurality of single energy subsystems according to energy sources, and respectively constructing energy supply models of the single energy subsystems, wherein the energy supply models of the single energy subsystems comprise an energy supply model of a gas turbine and an energy supply model of an electric boiler;
constructing a gas turbine controller and an electric boiler controller according to generalized predictive control, wherein the gas turbine controller is used for controlling the predictive output of an energy supply model of the gas turbine, and the electric boiler controller is used for controlling the predictive output of the energy supply model of the electric boiler;
setting scheduling duration, determining a target function, and constructing an optimized scheduling model of the comprehensive energy system;
and respectively controlling the output of the gas turbine and the output of the electric boiler by the gas turbine controller and the electric boiler controller according to the equipment constraint condition and the predicted output result of the optimized scheduling model of the comprehensive energy system so as to realize the scheduling of energy.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (7)
1. A comprehensive energy system scheduling method containing generalized predictive control is characterized by comprising the following steps:
respectively modeling energy conversion equipment and energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
constructing an energy conversion equipment controller according to the generalized predictive control;
determining an objective function, and solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function to obtain a predicted output value of the energy conversion equipment and the real-time capacity of the energy storage equipment;
setting scheduling time, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through an energy conversion equipment controller according to equipment constraint conditions and the capacity of the energy storage equipment so as to realize scheduling of energy;
the energy conversion equipment comprises a gas turbine and an electric boiler, the energy storage equipment comprises a storage battery, an air storage tank and a heat storage tank, and the gas turbine comprises a rotating speed control module, a temperature control module, a fuel supply module and a compressor-turbine module;
(1) the battery is modeled by the following equation:
wherein S isoc(t) is the residual capacity of the battery at time t, Soc(t0) For the accumulator at t0The remaining capacity at that moment; delta is the self-discharge rate of the storage battery, and the unit is%/h; Δ t is t0The time span to t; pchFor charging the accumulator, PdisIs the discharge power of the storage battery; etachFor the charging efficiency of the accumulator, etadisThe discharge efficiency of the storage battery;
(2) the gas storage tank is modeled by the following formula:
wherein, VGSIs a gas storage tankThe effective gas storage volume; vCThe geometric volume of the gas storage tank; p is a radical ofhighIs the absolute pressure, p, at the highest operating conditionlowAbsolute pressure under the lowest working condition; p is a radical of0Representing engineering standard pressure;
(3) the thermal storage tank is modeled by the following formula:
wherein Q isHS(t) represents the heat storage amount of the heat storage tank at time t; mu.sLossRepresenting the heat dissipation loss rate of the heat storage tank; qHS(t0) Denotes the initial t0The heat storage quantity of the heat storage tank at the moment, delta t is t0The time span to t is the time span,represents t0The amount of heat charged in the heat storage tank up to time t,indicating the heat charging efficiency of the thermal storage tank,represents t0The heat release amount of the heat storage tank until the time t,representing the heat release efficiency of the heat storage tank;
(4) the rotating speed control module carries out modeling through the following steps:
input reference rotational speed WrefAnd the actual rotor speed omega of the gas turbine power generation system;
using a lead-lag transfer function pair WrefAnd omega are controlled and output through a minimum value selector;
(5) the temperature control module is modeled by:
obtaining an exhaust temperature TxWill TxTo rated exhaust temperature TrefComparing;
when T isxHigher than TrefThen, the output is controlled to a minimum value selector through a proportional integral regulator PI until TxLess than TrefStopping the PI from working;
(6) the fueling module is modeled by the following equation:
wherein f is3As a transfer function, Kv、KfTo gain, TvFor valve opening, TfC is a constant, s is a variable in space;
(7) the compressor-turbine module is modeled by the following equation:
f1=Tref-700(1-Wf1)+500(1-ω)
f2=1.3(Wf2-0.23)+0.5(1-ω)
wherein f is1As a function of the turbine exhaust temperature of the gas turbine, f2As a function of the turbine torque output of the gas turbine, TrefIs the nominal exhaust temperature; wf1、Wf2As a fuel flow signal, ω is the turbine actual speed; wherein, in the constructing the energy conversion device controller according to the generalized predictive control, it includes:
an output prediction model of the energy conversion equipment is constructed by adopting a minimum variance control method;
modifying the output prediction model by adopting rolling optimization to obtain an optimized prediction value;
judging whether the optimized predicted value is in the equipment constraint condition;
if so, scheduling the prediction output of the energy supply model of the energy conversion equipment according to the optimized predicted value;
and if not, scheduling the prediction output of the energy supply model of the energy conversion equipment through the critical value of the equipment constraint condition.
2. The method according to claim 1, wherein the objective function S is determined by the following formula:
min S=minF(L)+min price
wherein minF (L) is the minimum value of the energy shortage function of the integrated energy system, and minprice is the minimum value of the daily operation cost function of the integrated energy system.
3. The method for scheduling the comprehensive energy system with the generalized predictive control as claimed in claim 2, wherein the calculation formula of the daily operation cost function of the comprehensive energy system is as follows:
min price=min(prifuel+prigrid+primaintain)
wherein prifuelAs a function of fuel cost, prigridPower cost function for grid interaction, primaintainFor the system operation maintenance cost function, fGHPiAs a function of the gas turbine consumption characteristic,is the gas price per hour,is the price of electricity for each hour,is real-time electric power provided by an external network to an integrated energy system, pmdisCost of maintenance for unit power operation of distributed power generation equipment, pmCHPiOperating maintenance costs for a unit power of the gas turbine; p is a radical ofEBiFor the unit power operating maintenance cost, p, of the electric boilermstorRefers to the operating and maintenance cost per unit power of the energy storage device,is the charging power of the accumulator at the time t, Pi tRefers to the real-time power generation power of the ith gas turbine at the moment t,is the power consumption of the electric boiler at the moment t,for charging energy of an energy storage device, the energy storage device comprises a storage battery, a storage battery and a heat storage tank,for discharging power of energy storage devices, nCHPNumber of gas turbines, ndisIs the number of storage batteries, nEBThe number of the electric boilers is.
4. The method of claim 1, wherein the plant constraints comprise energy conversion plant constraints and energy storage plant constraints, the energy conversion plant constraints comprise gas turbine constraints and electric boiler constraints, and the energy storage plant constraints comprise battery constraints, gas storage plant constraints, and heat storage plant constraints;
the gas turbine constraints are as follows:
Pi min≤Pi t≤Pi max,i∈nCHP
the constraint conditions of the electric boiler are as follows:
the constraint conditions of the storage battery are as follows:
the constraint conditions of the gas storage device are as follows:
the heat storage equipment has the following constraint conditions:
wherein,is the real-time power generation power, P, of the ith gas turbine at time ti minIs the minimum value of the generated power of the ith gas turbine, Pi maxIs the maximum value of the generated power of the ith gas turbine,is the power consumption of the electric boiler,is the minimum value of the power consumption of the electric boiler,is the maximum value of the electric power consumption of the electric boiler, PchFor charging the accumulator, PdisIs the discharge power of the accumulator, PchminMinimum value of charging power, P, for accumulatorchmaxMaximum value of charging power, P, for accumulatordisminIs the minimum value of the discharge power of the accumulator, PdismaxIs the maximum value of the discharge power of the storage battery,the energy storage capacity of the storage battery at the moment t,is the minimum value of the energy storage of the storage battery,is the maximum value of the energy storage of the storage battery,the air charging quantity of the air storage tank,is the air discharge quantity of the air storage tank,is the minimum value of the air charging quantity of the air storage tank,is the maximum value of the air charging quantity of the air storage tank,is the minimum value of the air discharge quantity of the air storage tank,is the maximum value of the air discharge quantity of the air storage tank,the amount of the gas stored in the gas storage tank at the moment t,the minimum sum of the gas storage capacity of the gas storage tankIs the maximum value of the air storage quantity of the air storage tank,in order to charge the heat of the heat storage tank,in order to release the heat of the heat storage tank,is the minimum value of the heat charging amount of the heat storage tank,the maximum amount of heat charged in the heat storage tank,is the minimum value of the heat release of the heat storage tank,is the maximum value of the heat release quantity of the heat storage tank,the amount of heat stored in the heat storage tank at time t,is the minimum value of the heat storage quantity of the heat storage tank,is the maximum value of the heat storage capacity of the heat storage tank, nCHPThe number of gas turbines.
5. The integrated energy system dispatching method with generalized predictive control of claim 1, wherein the integrated energy system further comprises a network transmission pipeline, the network transmission pipeline comprising a natural gas pipeline and a thermal pipeline;
the natural gas pipeline is modeled by the following formula:
wherein M isdRepresenting the mass flow of natural gas; q. q.sd,0Representing the volumetric flow rate of natural gas at 101.325kPa, 273.15K; psRepresenting the absolute pressure rating of the natural gas at the beginning of the pipeline; zsRepresenting the compression factor of the natural gas at the beginning of the pipeline; cBRepresenting a potential energy factor function of the natural gas; peAn absolute pressure rating indicative of the natural gas at the end of the pipeline; zeA compression factor representing natural gas at the end of the pipeline; zaveRepresents the average compression factor of the natural gas; d represents the inner diameter of the pipe; λ represents the coefficient of on-way resistance of the pipeline; l represents a natural gas pipeline length; r represents natural gasA gas constant; t represents the natural gas temperature; rho0Represents the density of natural gas at 101.325kPa, 273.15K;
the thermal pipeline is modeled by the following formula:
wherein, P1The pressure at the beginning of the heat distribution pipeline, P2Is the pressure at the end of the thermal conduit,is the average flow velocity of the thermal conduit,is the average specific volume of the thermal conduit, g is the acceleration of gravity, D1Is the inner diameter of the heat distribution pipe, D0Is the external diameter of the heat distribution pipeline, lambda is the on-way resistance coefficient of the heat distribution pipeline, Sigma xi is the local resistance coefficient, H1Height of the initial end of the heat distribution pipe, H2Height of end of thermal conduit, tinIs the initial temperature of the heat distribution pipeline, toutIs the temperature at the end of the thermal conduit, QLossFor heat loss of the pipe, GLIs the flow of the heat distribution pipe, cpIs the specific constant pressure heat capacity of hot water, K is the equivalent length coefficient of the heat loss element, L represents the length of the heat distribution pipeline, R is the heat resistance of the heat distribution pipeline, t is the average temperature of the medium in the heat distribution pipelineaIs ambient temperature.
6. An integrated energy system dispatching system with generalized predictive control, comprising: the system comprises a classification modeling module (100), a controller building module (200), an optimization solving module (300) and a scheduling module (400);
the classification modeling module (100) is used for respectively modeling energy conversion equipment and energy storage equipment in the comprehensive energy system to obtain an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment;
the controller construction module (200) is used for constructing the energy conversion equipment controller according to the generalized predictive control;
the optimization solving module (300) is used for determining an objective function, solving an energy supply model of the energy conversion equipment and an energy supply model of the energy storage equipment according to the objective function, and obtaining a predicted output value of the energy conversion equipment and the capacity of the energy storage equipment;
the scheduling module (400) is used for setting scheduling duration, and modifying and controlling a predicted output value of an energy supply model of the energy conversion equipment through the energy conversion equipment controller according to the equipment constraint condition and the capacity of the energy storage equipment so as to realize scheduling of energy;
wherein the classification modeling module (100) is specifically configured to:
the energy conversion equipment comprises a gas turbine and an electric boiler, the energy storage equipment comprises a storage battery, an air storage tank and a heat storage tank, and the gas turbine comprises a rotating speed control module, a temperature control module, a fuel supply module and a compressor-turbine module;
(1) the battery is modeled by the following equation:
wherein S isoc(t) is the residual capacity of the battery at time t, Soc(t0) For the accumulator at t0The remaining capacity at that moment; delta is the self-discharge rate of the storage battery, and the unit is%/h; Δ t is t0The time span to t; pchFor charging the accumulator, PdisIs the discharge power of the storage battery; etachFor the charging efficiency of the accumulator, etadisThe discharge efficiency of the storage battery;
(2) the gas storage tank is modeled by the following formula:
wherein, VGSThe effective gas storage volume of the gas storage tank; vCThe geometric volume of the gas storage tank; p is a radical ofhighIs the absolute pressure, p, at the highest operating conditionlowAbsolute pressure under the lowest working condition; p is a radical of0Representing engineering standard pressure;
(3) the thermal storage tank is modeled by the following formula:
wherein Q isHS(t) represents the heat storage amount of the heat storage tank at time t; mu.sLossRepresenting the heat dissipation loss rate of the heat storage tank; qHS(t0) Denotes the initial t0The heat storage quantity of the heat storage tank at the moment, delta t is t0The time span to t is the time span,represents t0The amount of heat charged in the heat storage tank up to time t,indicating the heat charging efficiency of the thermal storage tank,represents t0The heat release amount of the heat storage tank until the time t,representing the heat release efficiency of the heat storage tank;
(4) the rotating speed control module carries out modeling through the following steps:
input reference rotational speed WrefAnd the actual rotor speed omega of the gas turbine power generation system;
using a lead-lag transfer function pair WrefAnd omega are controlled and output through a minimum value selector;
(5) the temperature control module is modeled by:
obtaining exhaust gasesTemperature TxWill TxTo rated exhaust temperature TrefComparing;
when T isxHigher than TrefThen, the output is controlled to a minimum value selector through a proportional integral regulator PI until TxLess than TrefStopping the PI from working;
(6) the fueling module is modeled by the following equation:
where f3 is the transfer function, Kv、KfTo gain, TvFor valve opening, TfC is a constant, s is a variable in space;
(7) the compressor-turbine module is modeled by the following equation:
f1=Tref-700(1-Wf1)+500(1-ω)
f2=1.3(Wf2-0.23)+0.5(1-ω)
where f1 is a function of turbine exhaust temperature of the gas turbine, f2As a function of the turbine torque output of the gas turbine, TrefIs the nominal exhaust temperature; wf1、Wf2As a fuel flow signal, ω is the turbine actual speed;
wherein the controller building block (200) is specifically configured to:
an output prediction model of the energy conversion equipment is constructed by adopting a minimum variance control method;
modifying the output prediction model by adopting rolling optimization to obtain an optimized prediction value;
judging whether the optimized predicted value is in the equipment constraint condition;
if so, scheduling the prediction output of the energy supply model of the energy conversion equipment according to the optimized predicted value;
and if not, scheduling the prediction output of the energy supply model of the energy conversion equipment through the critical value of the equipment constraint condition.
7. A computer readable storage medium storing a plurality of acquisition classification programs, the acquisition classification programs being used for being called by a processor and executing the method for scheduling an integrated energy system with generalized predictive control according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910888813.1A CN110610276B (en) | 2019-09-19 | 2019-09-19 | Comprehensive energy system scheduling method and system containing generalized predictive control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910888813.1A CN110610276B (en) | 2019-09-19 | 2019-09-19 | Comprehensive energy system scheduling method and system containing generalized predictive control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110610276A CN110610276A (en) | 2019-12-24 |
CN110610276B true CN110610276B (en) | 2021-01-08 |
Family
ID=68891644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910888813.1A Active CN110610276B (en) | 2019-09-19 | 2019-09-19 | Comprehensive energy system scheduling method and system containing generalized predictive control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110610276B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113885311B (en) * | 2021-09-18 | 2024-04-16 | 东南大学溧阳研究院 | Gas turbine combustion chamber model closed-loop identification method based on generalized frequency method |
CN118152884A (en) * | 2024-03-21 | 2024-06-07 | 北京溥络数智科技有限责任公司 | Chemical tank quantity prediction method and device and chemical tank real-time monitoring system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802411B (en) * | 2017-11-15 | 2021-07-13 | 国家能源投资集团有限责任公司 | Energy storage system control method and device, energy storage system and power system |
EP3502012A1 (en) * | 2017-12-21 | 2019-06-26 | Transition Technologies S.A. | Method for optimising the process of gas injection to and withdrawal from an underground gas storage facility |
CN109474025B (en) * | 2018-10-08 | 2022-05-13 | 国网能源研究院有限公司 | Optimized dispatching model of park level comprehensive energy system |
CN110009244B (en) * | 2019-04-12 | 2021-04-20 | 西安交通大学 | Regional comprehensive energy system optimization scheduling method considering disaster recovery |
-
2019
- 2019-09-19 CN CN201910888813.1A patent/CN110610276B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110610276A (en) | 2019-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110571789B (en) | Electric heating air network three-stage scheduling method based on wind power uncertainty under data driving | |
CN107895971B (en) | Regional energy Internet scheduling method based on stochastic programming and model predictive control | |
CN112072712B (en) | Multi-time scale optimization scheduling method and system for comprehensive energy system and storage medium | |
CN113255992B (en) | Optimal scheduling method and device for park-level multi-energy complementary system | |
US20120053751A1 (en) | Distributed electrical power production system and method of control thereof | |
CN112186811B (en) | AGC unit dynamic optimization method based on deep reinforcement learning | |
CN115693757A (en) | Photovoltaic energy optimization regulation and control method based on digital twinning technology | |
CN110009244B (en) | Regional comprehensive energy system optimization scheduling method considering disaster recovery | |
CN112398115B (en) | Multi-time-scale thermal power-photovoltaic-pumped storage joint optimization scheduling scheme based on improved model predictive control | |
CN110137981B (en) | Distributed energy storage aggregator AGC method based on consistency algorithm | |
CN115000991A (en) | Thermal power-flywheel energy storage cooperative frequency modulation control method and system | |
CN110610276B (en) | Comprehensive energy system scheduling method and system containing generalized predictive control | |
CN111210054A (en) | Micro-energy network optimization scheduling method considering direct load control uncertainty | |
CN114048908B (en) | Multi-time scale reinforcement interval optimization method for unified power grid-distributed heat supply network system | |
WO2015035134A1 (en) | Combined cycle power generation optimization system | |
CN112381424A (en) | Multi-time scale active power optimization decision method for uncertainty of new energy and load | |
CN111598289A (en) | Distributed optimization method of integrated energy system considering LSTM photovoltaic output prediction | |
CN114243727B (en) | Source network load self-optimizing intelligent regulation system based on wide area perception prediction and real-time control optimization technical method | |
CN105244870A (en) | Method for rapidly calculating wind curtailment rate of power grid wind power plant and generating capacity of unit | |
CN115189367A (en) | Wind-solar storage combined optimization scheduling method and device under multiple time scales | |
CN115187018A (en) | Double-layer optimized scheduling method and device for park comprehensive energy system | |
CN117436773A (en) | Independent micro-grid resource planning method and system containing interruptible load | |
CN110994639B (en) | Simulation constant volume method, device and equipment for power plant energy storage auxiliary frequency modulation | |
CN115080907A (en) | Control method, device and equipment of comprehensive energy system | |
CN115271194A (en) | Comprehensive energy system double-layer optimization operation method based on multivariable predictive control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |