CN115630473A - Sewage treatment plant optimized operation method considering sewage reuse - Google Patents

Sewage treatment plant optimized operation method considering sewage reuse Download PDF

Info

Publication number
CN115630473A
CN115630473A CN202210980706.3A CN202210980706A CN115630473A CN 115630473 A CN115630473 A CN 115630473A CN 202210980706 A CN202210980706 A CN 202210980706A CN 115630473 A CN115630473 A CN 115630473A
Authority
CN
China
Prior art keywords
sewage
time
water
chp
treatment plant
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.)
Pending
Application number
CN202210980706.3A
Other languages
Chinese (zh)
Inventor
赵霞
石诗义
毛杨
王骆
刘丁溢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University
Original Assignee
Chongqing University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing University filed Critical Chongqing University
Priority to CN202210980706.3A priority Critical patent/CN115630473A/en
Publication of CN115630473A publication Critical patent/CN115630473A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Geometry (AREA)
  • Computational Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computer Hardware Design (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an optimized operation method of a sewage treatment plant considering sewage reuse, which comprises the following steps; 1) Acquiring basic parameters of a sewage treatment plant; 2) According to basic parameters of a sewage treatment plant, modeling equipment units of the sewage treatment plant to obtain an equipment unit model of the sewage treatment plant; 3) Establishing an optimized operation model of the sewage treatment plant considering sewage reuse according to the equipment unit model of the sewage treatment plant; 4) And solving the optimal operation model of the sewage treatment plant in consideration of sewage reuse to obtain the optimal operation scheme of the sewage treatment plant. The invention fully excavates the flexibility of the sewage treatment plant, can make the load stable and carry out peak clipping and valley filling, and improves the economy and the load stability.

Description

Sewage treatment plant optimized operation method considering sewage reuse
Technical Field
The invention relates to the field of optimized operation of a multi-energy system, in particular to an optimized operation method of a sewage treatment plant considering sewage reuse.
Background
At present, with the acceleration of urbanization process and the continuous improvement of water-energy relation research, sewage treatment has become the key point of renewable energy utilization research. In a water system, a sewage treatment plant belongs to an energy-intensive facility, the operation cost is high, and the power consumption accounts for 3% -4% of the load of a power grid in the United states.
In the places of water shortage and drought, the water resources are effectively recycled, and the water, energy and land can be greatly saved. These regions are under water resource pressure due to irregular water resource supply throughout the year, and recycling nutrients and water in municipal sewage to agriculture is a key to effectively construct a water-energy-food-climate network.
At present, the research of managing sewage treatment plants mainly focuses on the aspects of ensuring the best quality of sewage water so as to ensure the health of citizens, complying with the rules of sanitation and environment and the like; most of the research on energy conservation thereof still stays in process flow optimization; for the sewage recycling, more heat energy and chemical energy contained in the recycled sewage are remained, and a few researches only discuss the aspects of recycling the sewage, but do not consider the influence of the recycling on the energy utilization behavior of a sewage treatment plant.
Disclosure of Invention
The invention aims to provide an optimized operation method of a sewage treatment plant considering sewage reuse, which comprises the following steps;
1) Acquiring basic parameters of a sewage treatment plant;
further, the basic parameters of the sewage treatment plant comprise time-of-use electricity price, gas price, sewage load, irrigation water price, secondary emission income, tertiary emission income, industrial general water load, industrial general water price and other parameters.
2) According to basic parameters of a sewage treatment plant, modeling equipment units of the sewage treatment plant to obtain an equipment unit model of the sewage treatment plant;
further, the equipment unit model of the sewage treatment plant comprises a treatment unit model, a sludge biogas production model, a CHP unit model and an energy storage device model.
Further, the treatment unit model comprises a primary sewage treatment unit model, a secondary sewage treatment unit model and a deep sewage treatment model;
wherein, the primary sewage treatment unit model is as follows:
P t,clar =γ s Q t H t /1000η (1)
H t =aQ t 2 +bQ t r+cr 2 (2)
in the formula, subscript t represents time t; p t,clar Clearing the power of the pump for the time t; eta is the efficiency of the cleaning pump; q t The flow rate of wastewater entering the regulating reservoir at the moment t; gamma ray s Is the sewage specific gravity; h t Clearing the pump lift at the moment t; r is the relative speed of the cleaning pump; a, b and c are empirical coefficients of pump head curves of the water pump;
the secondary sewage treatment unit model is as follows:
Figure BDA0003800318000000021
in the formula, P t,Aer Blower power at time t; r is the air gas constant; t is in Is the fan inlet temperature; eta B The mechanical efficiency of the blower; p a Is at atmospheric pressure; p t,stat Static pressure at the outlet of the blower diffuser; p t,dyn Is a dynamic pressure; q t,air Is the air mass flow rate; m air Is the molecular mass of air;
wherein the dynamic pressure P t,dyn Air mass flow rate Q t,air Respectively as follows:
P t,dyn =(Q t,air /A dif ) 2 k p (4)
Figure BDA0003800318000000022
in the formula, A dif Is the diffuser cross-sectional area; coefficient k p =275N s 2 /m 4 ;K La Being a standard transfer of oxygenThe efficiency of the process is improved, and the efficiency is improved,
Figure BDA0003800318000000023
is the mass of oxygen in a unit mass of air,
Figure BDA0003800318000000024
is the standard oxygen transfer rate;
standard oxygen transfer rate
Figure BDA0003800318000000025
As follows:
Figure BDA0003800318000000026
m t,BOD =Q t,2 (BOD t,in -BOD t,out )ConB (7)
m t,TKN =Q t,2 (TKN t,in -TKN t,out )ConN (8)
in the formula, m t,BOD And m t,TKN Oxidizing oxygen demand and nitrifying oxygen demand for the aeration tank; beta is the mass of oxygen in the unit mass of air; c T And C T 0 At a temperature T and a reference temperature T, respectively 0 Oxygen saturation concentration in the lower fresh water; c d Is the dissolved oxygen concentration; alpha is the oxygen transfer ratio in the wastewater; theta is a constant; BOD t,in And BOD t,out The BOD concentration of inlet water and outlet water of a sewage treatment plant; TKN t,in And TKN t,out TKN concentration of inlet water and outlet water of a sewage treatment plant; conN is the required oxygen ratio for oxidation of TKN; conB is the oxygen ratio required to oxidize BOD; q t,2 The sewage flow is treated in the second stage;
the advanced wastewater treatment model is as follows:
P t,3 =η 3 V t,3 (9)
in the formula eta 3 The volume coefficient of sewage treated by unit electric energy in a three-stage treatment link; v t,3 At time t by three stagesTreating the volume of water entering the clean water basin; p t,3 The power consumption of the three-stage treatment at the time t.
Further, the sludge-to-biogas model comprises a biogas yield calculation equation, a heat loss calculation equation of the digester wall and a heat energy calculation equation required by sludge heating;
wherein, the biogas yield calculation equation is as follows:
Figure BDA0003800318000000031
in the formula, subscript t represents time t; m is sl,t The sludge mass at the time t; beta is a beta wsl The sludge coefficient after standing and precipitating the sewage is obtained; p is a radical of t,BG The amount of biogas generated at time t;
Figure BDA0003800318000000032
is a reference temperature T 0 The sewage sludge methane yield coefficient; f. of t (T dig ) The fermentation temperature T of the biogas pool at the time T dig The gas production rate of the lower methane; f. of t (T 0 ) For the methane tank to reference the temperature T at the moment T 0 The gas production rate of the lower methane; rho wsl Is the average density of the sewage after standing and precipitation;
wherein the gas production rate f t (T dig ) And fermentation temperature T dig The relationship of (a) is as follows:
f t (T dig )=m(T dig -T 0 ) 2 +n (11)
in the formula, m and n are coefficients in a quadratic expression respectively;
the heat loss calculation equation of the digester wall and the heat energy calculation equation required by sludge heating are respectively as follows:
heat loss H from digester wall t,loss And the heat energy H required by heating the sludge t,sludge Comprises the following steps:
Figure BDA0003800318000000033
in the formula, H t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating; cp (p) sludge The specific heat capacity of the sludge; t is a unit of t,air And T t,soil Measuring the temperature of the air and the soil at the time t respectively; k is a radical of air And k soil Air and soil heat transfer coefficients, respectively; t is dig Fermentation temperature for anaerobic digestion; t is so Is the average influent sludge temperature; a. The sup And A base The side area and the base area of the digester are respectively.
Further, the CHP unit model is as follows:
P t,CHP_G =p t,gas L gas η CHP,e (13)
H t,CHP =p t,gas L gas η CHP,h (14)
in the formula, P t,CHP_G The CHP total power generation power at the time t; h t,CHP CHP thermal power at time t; p is a radical of t,gas The flow rate of the biogas consumed by the CHP at the moment t; l is gas The heat value of the biogas is obtained; eta CHP,e And η CHP,h The electrical and thermal efficiencies of CHP, respectively.
Further, the energy storage device model comprises a storage battery model and a phase change heat storage tank model;
the storage battery model is as follows:
Figure BDA0003800318000000041
in the formula, E t,bat And E t-Δt,bat The storage battery stores electric quantity at the time t and the time t-delta t respectively; Δ t is the time; p is t,bat_cha And P t,bat_dis Respectively charge and discharge power;
Figure BDA0003800318000000042
the charging power is the upper and lower limits;
Figure BDA0003800318000000043
the upper and lower limits of the discharge power; 0-1 variable I t,cha To represent the state variable of charging, I t,cha =1 denotes charging, I t,cha =0 represents no charging; 0-1 variable I t,dis To represent the state variable of the discharge, I t,dis =1 for discharge, I t,dis =0 denotes no discharge; eta cha And η dis Respectively charging and discharging efficiencies of the storage battery;
Figure BDA0003800318000000044
and
Figure BDA0003800318000000045
respectively an upper limit and a lower limit of the energy storage capacity of the storage battery; e t,bat The energy storage capacity of the storage battery at the moment t; e 0,bat And E T’,bat The starting value and the end value of the storage battery in the dispatching cycle are obtained; t' is the total number of time segments of one scheduling period.
The phase change heat storage tank model is as follows:
Figure BDA0003800318000000046
in the formula, H t,bat And H t-Δt,bat Storing heat in the phase change heat storage tanks at the time t and the time t-delta t respectively; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power;
Figure BDA0003800318000000047
the upper and lower limits of the heat storage power;
Figure BDA0003800318000000048
the upper and lower limits of the heat release power; 0-1 variable I t,hcha Is a state variable for representing heat storage, I t,hcha =1 for heat storage, I t,hcha =0 means no heat storage; 0-1 variable I t,hdis Is a state variable for representing the heat release, I t,hdis =1 denotes exotherm, I t,hdis =0 indicates no exotherm; eta hcha And η hdis Respectively the storage efficiency and the heat release efficiency of the phase-change heat storage tank;
Figure BDA0003800318000000049
And
Figure BDA00038003180000000410
respectively is the upper limit and the lower limit of the heat storage capacity of the phase change heat storage tank; h t,bat Storing heat capacity of the phase change heat storage tank at the time t; h 0,bat And H T’,bat The starting value and the ending value of the phase change heat storage tank in the scheduling period are obtained.
3) Establishing an optimized operation model of the sewage treatment plant considering sewage reuse according to the equipment unit model of the sewage treatment plant;
further, an objective function of the optimized operation model of the sewage treatment plant considering sewage reuse is as follows:
Figure BDA0003800318000000051
in the formula (f) t,gas Trading costs for the air network; f. of t,gird Trading costs for the grid; f. of t,W Earning for selling water; f. of t,en Is an environmental benefit.
Wherein the cost f of the gas network transaction t,gas Power grid transaction cost f t,gird Income f from selling water t,W Environmental gain f t,en Respectively as follows:
Figure BDA0003800318000000052
in the formula, c t,gird And c gas Time-of-use electricity price and gas price at the moment t respectively; p is t,gird And P t,gas Respectively, interaction quantity with the power grid and the gas grid at the time t; c. C W2 And c W3 Respectively a second-level water price and a third-level water price; q t,I And Q t,D The secondary water demand and the tertiary water demand at the time t are respectively; k en2 And K en3 Respectively converting coefficients of second-level discharge and third-level discharge; q t,en2 The water flow discharged by secondary treatment at the time t; q t,en3 Is at t timeThe water flow discharged by the three-stage treatment is carved.
Further, the constraint conditions of the optimized operation model of the sewage treatment plant considering sewage reuse comprise electric power balance constraint, gas balance constraint, thermal power balance constraint, secondary water treatment balance constraint, tertiary water treatment balance constraint, CHP output upper and lower limit constraint, regulating reservoir constraint, secondary reservoir constraint and clean water reservoir constraint;
wherein the electric power balance constraint is as follows:
P t,wind +P t,CHP_G +P t,gird +P t,bat_dis +P t,PV =P t,bat_cha +P t,clar +P t,Aer +P t,3 (19)
in the formula, P t,PV Generating power for the photovoltaic unit; p t,wind Generating power for the wind turbine; p t,Aer Blower power for time t; p t,CHP_G The CHP total power generation power at the time t; p t,gird The interaction quantity with the power grid at the moment t is shown; p t,bat_cha And P t,bat_dis Respectively charge and discharge power; p t,clar Clearing the power of the pump at time t; p t,3 The power consumption of the tertiary treatment at the time t;
the gas balance constraints are as follows:
p t,BG -p t,gas =P t,gas (20)
in the formula, p t,gas The flow rate of the biogas consumed by the CHP at the moment t; p is a radical of t,BG The amount of biogas generated at time t;
the thermal power balance constraint is as follows:
H t,CHP +H t,bat_dis =H t,loss +H t,sludge +H t,bat_cha (21)
in the formula, H t,CHP CHP thermal power at time t; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power; h t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating;
the secondary water treatment equilibrium constraints are as follows:
Q t,2 =α 2 Q t,se2 (22)
in the formula, Q t,se2 The flow rate after the secondary water treatment at the time t is shown; alpha (alpha) ("alpha") 2 The flow ratio of secondary water treatment is adopted; q t,2 For the secondary treatment of sewage flow at the time t
The three-stage water treatment equilibrium constraints are as follows:
Q t,3 =α 3 Q t,th3 (23)
in the formula, Q t,th3 The flow rate after the three-stage water treatment at the moment t is shown; alpha is alpha 3 The flow rate ratio of three-stage water treatment is adopted; q t,3 The flow of the three-stage treatment sewage at the time t;
the CHP upper and lower force limits are constrained as follows:
Figure BDA0003800318000000061
in the formula (I), the compound is shown in the specification,
Figure BDA0003800318000000062
and
Figure BDA0003800318000000063
the upper limit and the lower limit of CHP electric power output are respectively;
Figure BDA0003800318000000064
and
Figure BDA0003800318000000065
respectively an upper limit and a lower limit of CHP thermal power output. P t,CHP And Q t,CHP CHP electric power and thermal power at the time t respectively;
the regulation pool constraints are as follows:
Figure BDA0003800318000000066
in the formula, R t,1 And R t-1,1 Is time t,Regulating the water storage capacity of the pool at the t-1 moment;
Figure BDA0003800318000000067
the maximum water storage capacity of the regulating reservoir; r is 0,1 And R T,1 Respectively the initial value and the final value in the dispatching cycle of the regulating pool; q t The flow rate of wastewater entering the regulating reservoir at the moment t;
the secondary reservoir constraints are as follows:
Figure BDA0003800318000000068
in the formula, R t,2 And R t-1,2 The water storage capacity of the secondary reservoir at the time t and the time t-1;
Figure BDA0003800318000000069
the maximum water storage capacity R of the secondary reservoir 0,2 And R T,2 Respectively representing the starting value and the ending value in the second-level reservoir scheduling period; q t,I The secondary water demand at the time t; q t,en2 Water flow discharged by secondary treatment at time t;
and (3) restricting the clean water tank:
Figure BDA0003800318000000071
in the formula, R t,3 And R t-1,3 The water storage capacity of the clean water tank at the t moment and the t-1 moment;
Figure BDA0003800318000000072
is the maximum water storage capacity of the clean water tank, R 0,3 And R T,3 Respectively are the initial value and the final value in the clear pool scheduling period; q t,D The water demand is three-level at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
4) And solving the optimal operation model of the sewage treatment plant in consideration of sewage reuse to obtain the optimal operation scheme of the sewage treatment plant.
Further, a tool for solving the optimal operation model of the sewage treatment plant considering sewage reuse includes CPLEX.
The technical effect of the invention is undoubted, aiming at the problem that the existing sewage treatment plant neglects the reuse of water resources during operation, the invention fully considers the flexibility and the sewage reuse of the sewage treatment plant, and provides the optimized operation method of the sewage treatment plant considering the sewage reuse.
The invention fully excavates the flexibility of the sewage treatment plant, can lead the load to be stable, carries out peak clipping and valley filling and improves the economy and the load stability.
Drawings
FIG. 1 is a block diagram of the solution flow of the method of the present invention.
FIG. 2 is a structural view of energy flow of a sewage treatment plant in consideration of sewage reuse according to the present invention.
FIG. 3 is a schematic view of a sewage treatment plant stage treatment considering sewage reuse according to the present invention.
FIG. 4 is a graph comparing the secondary treatment water flow for three scenarios.
FIG. 5 is a graph comparing three stages of process water flow for three scenarios.
FIG. 6 is a graph showing the temperature comparison of the biogas digester under three scenes.
Detailed Description
The present invention is further illustrated by the following examples, but it should not be construed that the scope of the above-described subject matter is limited to the following examples. Various substitutions and alterations can be made without departing from the technical idea of the invention and the scope of the invention is covered by the present invention according to the common technical knowledge and the conventional means in the field.
Example 1:
referring to fig. 1 to 6, a method for optimizing an operation of a sewage treatment plant in consideration of sewage reuse includes the following steps;
1) Acquiring basic parameters of a sewage treatment plant;
the basic parameters of the sewage treatment plant comprise time-of-use electricity price, gas price, sewage load, irrigation water price, secondary discharge income, tertiary discharge income, industrial water use load, industrial water use price and the like.
2) According to basic parameters of a sewage treatment plant, modeling equipment units of the sewage treatment plant to obtain an equipment unit model of the sewage treatment plant;
the sewage treatment plant equipment unit model comprises a treatment unit model, a sludge biogas production model, a CHP unit model and an energy storage device model.
The treatment unit model comprises a primary sewage treatment unit model, a secondary sewage treatment unit model and an advanced sewage treatment model;
wherein, the primary sewage treatment unit model is as follows:
P t,clar =γ s Q t H t /1000η (1)
H t =aQ t 2 +bQ t r+cr 2 (2)
in the formula, subscript t represents time t; p t,clar Clearing the power of the pump at time t; eta is the efficiency of the cleaning pump; q t The flow rate of wastewater entering the regulating reservoir at the moment t; gamma ray s Is the sewage specific gravity; h t Clearing the pump lift at the moment t; r is the relative speed of the cleaning pump; a, b and c are empirical coefficients of a water pump lift curve; the coefficient mentioned in this embodiment is a predetermined constant.
The secondary sewage treatment unit model is as follows:
Figure BDA0003800318000000081
in the formula, P t,Aer Blower power at time t; r is the air gas constant; t is in Is the fan inlet temperature; eta B To the mechanical efficiency of the blower; p a Is at atmospheric pressure; p t,stat Static pressure at the outlet of the blower diffuser; p t,dyn Is a dynamic pressure; q t,air Is the air mass flow rate; m is a group of air Is the molecular mass of air;
wherein the dynamic pressure P t,dyn Air mass flow rate Q t,air Respectively as follows:
P t,dyn =(Q t,air /A dif ) 2 k p (4)
Figure BDA0003800318000000082
in the formula, A dif Is the diffuser cross-sectional area; coefficient k p =275N s 2 /m 4 ;K La In order to be the standard transfer efficiency of oxygen,
Figure BDA0003800318000000083
is the mass of oxygen in a unit mass of air,
Figure BDA0003800318000000084
standard oxygen transfer rate;
standard oxygen transfer rate
Figure BDA0003800318000000085
As follows:
Figure BDA0003800318000000091
m t,BOD =Q t,2 (BOD t,in -BOD t,out )ConB (7)
m t,TKN =Q t,2 (TKN t,in -TKN t,out )ConN (8)
in the formula, m t,BOD And m t,TKN Oxidizing oxygen demand and nitrifying oxygen demand for the aeration tank; beta is the mass of oxygen in the unit mass of air; c T And C T 0 At a temperature T and a reference temperature T, respectively 0 Oxygen saturation concentration in the lower fresh water; c d Is the dissolved oxygen concentration; alpha is the oxygen transfer ratio in the wastewater; theta is a constant; BOD t,in And BOD t,out BOD (biochemical oxygen demand) concentrations of inlet water and outlet water of a sewage treatment plant; TKN t,in And TKN t,out For sewage treatment plant to enterTKN (total kjeldahl nitrogen in wastewater) concentration of water and effluent; conN is the required oxygen ratio for oxidation of TKN; conB is the oxygen ratio required to oxidize BOD; q t,2 The sewage flow is treated in the second stage;
the advanced wastewater treatment model is as follows:
P t,3 =η 3 V t,3 (9)
in the formula eta 3 The volume coefficient of sewage treated by unit electric energy in a three-stage treatment link; v t,3 The volume of water entering the clean water tank after three-stage treatment at the moment t; p t,3 The power consumption of the three-stage treatment at the time t.
The sludge biogas production model comprises a biogas yield calculation equation, a heat loss calculation equation of the wall of the digestion tank and a heat energy calculation equation required by sludge heating;
wherein, the biogas yield calculation equation is as follows:
Figure BDA0003800318000000092
in the formula, subscript t represents time t; m is sl,t The sludge mass at the time t; beta is a wsl The sludge coefficient after standing and precipitating the sewage is obtained; p is a radical of t,BG The amount of biogas generated at time t;
Figure BDA0003800318000000093
is a reference temperature T 0 The sewage sludge generates biogas coefficient; f. of t (T dig ) The fermentation temperature T of the methane tank at the time T dig The gas production rate of the lower methane; f. of t (T 0 ) For the methane tank to reference the temperature T at the moment T 0 The gas production rate of the lower methane; rho wsl Is the average density of the sewage after standing and precipitation;
wherein the gas production rate f t (T dig ) And fermentation temperature T dig The relationship of (a) is as follows:
f t (T dig )=m(T dig -T 0 ) 2 +n (11)
in the formula, m and n are coefficients in a quadratic expression respectively;
the heat loss calculation equation of the digester wall and the heat energy calculation equation required by sludge heating are respectively as follows:
heat loss H from digester wall t,loss And the heat energy H required by heating the sludge t,sludge Comprises the following steps:
Figure BDA0003800318000000101
in the formula, H t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating; cp (p) sludge The specific heat capacity of the sludge is adopted; t is t,air And T t,soil Measuring the temperature of the air and the soil at the time t respectively; k is a radical of air And k soil Air and soil heat transfer coefficients, respectively; t is dig Fermentation temperature for anaerobic digestion; t is so Is the average influent sludge temperature; a. The sup And A base The side area and the base area of the digester are respectively.
The CHP (Combined Heat and Power) unit model is as follows:
P t,CHP_G =p t,gas L gas η CHP,e (13)
H t,CHP =p t,gas L gas η CHP,h (14)
in the formula, P t,CHP_G The CHP total power generation power at the t moment; h t,CHP CHP thermal power at time t; p is a radical of formula t,gas The flow rate of the biogas consumed by the CHP at the moment t; l is gas The heat value of the biogas is obtained; eta CHP,e And η CHP,h The electrical and thermal efficiencies of CHP, respectively.
The energy storage device model comprises a storage battery model and a phase change heat storage tank model;
the storage battery model is as follows:
Figure BDA0003800318000000102
in the formula, E t,bat And E t-Δt,bat The storage battery stores electric quantity at the time t and the time t-delta t respectively; Δ t is the time; p t,bat_cha And P t,bat_dis Respectively charge and discharge power;
Figure BDA0003800318000000103
the charging power is the upper and lower limits;
Figure BDA0003800318000000104
the upper and lower limits of the discharge power; 0-1 variable I t,cha To represent the state variable of charging, I t,cha =1 denotes charging, I t,cha =0 means no charging; 0-1 variable I t,dis To represent the state variable of the discharge, I t,dis =1 for discharge, I t,dis =0 denotes no discharge; eta cha And η dis Respectively charging and discharging efficiencies of the storage battery;
Figure BDA0003800318000000105
and
Figure BDA0003800318000000106
respectively an upper limit and a lower limit of the energy storage capacity of the storage battery; e t,bat The energy storage capacity of the storage battery at the moment t; e 0,bat And E T’,bat The starting value and the end value of the storage battery in the dispatching cycle are obtained; t' is the total number of time segments of one scheduling period.
The phase change heat storage tank model is as follows:
Figure BDA0003800318000000111
in the formula, H t,bat And H t-Δt,bat Storing heat in the phase change heat storage tank at the time t and the time t-delta t respectively; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power;
Figure BDA0003800318000000112
the upper and lower limits of the heat storage power;
Figure BDA0003800318000000113
the upper and lower limits of the heat release power; 0-1 variable I t,hcha Is a state variable for representing heat storage, I t,hcha =1 for heat storage, I t,hcha =0 indicates no heat storage; 0-1 variable I t,hdis Is a state variable for representing the heat release, I t,hdis =1 denotes exotherm, I t,hdis =0 means no exotherm; eta hcha And η hdis Respectively the storage efficiency and the heat release efficiency of the phase change heat storage tank;
Figure BDA0003800318000000114
and
Figure BDA0003800318000000115
respectively is the upper limit and the lower limit of the heat storage capacity of the phase change heat storage tank; h t,bat Storing heat capacity of the phase change heat storage tank at the time t; h 0,bat And H T’,bat The starting value and the ending value of the phase change heat storage tank in the scheduling period are obtained.
3) Establishing an optimized operation model of the sewage treatment plant considering sewage reuse according to the equipment unit model of the sewage treatment plant;
the objective function of the optimized operation model of the sewage treatment plant considering sewage reuse is as follows:
Figure BDA0003800318000000116
in the formula (f) t,gas Trading costs for the air network; f. of t,gird Trading costs for the grid; f. of t,W Earning for selling water; f. of t,en Is an environmental benefit.
Wherein the cost f of the gas network transaction t,gas Grid transaction cost f t,gird Profit f from sale of water t,W Environmental gain f t,en Respectively as follows:
Figure BDA0003800318000000117
in the formula, c t,gird And c gas Time-of-use electricity price and gas price at the moment t respectively; p is t,gird And P t,gas Respectively, interaction quantity with the power grid and the gas grid at the time t; c. C W2 And c W3 Respectively a second-level water price and a third-level water price; q t,I And Q t,D The secondary water demand and the tertiary water demand at the time t are respectively; k en2 And K en3 Respectively converting coefficients of secondary emission and tertiary emission; q t,en2 The water flow discharged by secondary treatment at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
The constraint conditions of the optimized operation model of the sewage treatment plant considering sewage reuse comprise electric power balance constraint, gas balance constraint, thermal power balance constraint, secondary water treatment balance constraint, tertiary water treatment balance constraint, CHP output upper and lower limit constraint, regulating reservoir constraint, secondary reservoir constraint and clear water reservoir constraint;
wherein the electric power balance constraint is as follows:
P t,wind +P t,CHP_G +P t,gird +P t,bat_dis +P t,PV =P t,bat_cha +P t,clar +P t,Aer +P t,3 (19)
in the formula, P t,PV Generating power for the photovoltaic unit; p t,wind Generating power for the wind turbine generator; p t,Aer Blower power at time t; p t,CHP_G The CHP total power generation power at the t moment; p is t,gird The interaction quantity with the power grid at the moment t is shown; p t,bat_cha And P t,bat_dis Respectively charge and discharge power; p t,clar Clearing the power of the pump for the time t; p is t,3 The power consumption of the tertiary treatment at the time t;
the gas balance constraints are as follows:
p t,BG -p t,gas =P t,gas (20)
in the formula, p t,gas The flow rate of the biogas consumed by the CHP at the moment t; p is a radical of t,BG The amount of biogas generated at time t;
the thermal power balance constraint is as follows:
H t,CHP +H t,bat_dis =H t,loss +H t,sludge +H t,bat_cha (21)
in the formula, H t,CHP CHP thermal power at time t; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power; h t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating;
the secondary water treatment equilibrium constraints are as follows:
Q t,2 =α 2 Q t,se2 (22)
in the formula, Q t,se2 The flow rate after the secondary water treatment at the time t is shown; alpha is alpha 2 The flow ratio of secondary water treatment is adopted; q t,2 For the secondary treatment of sewage flow at the time t
The three-stage water treatment equilibrium constraints are as follows:
Q t,3 =α 3 Q t,th3 (23)
in the formula, Q t,th3 The flow rate after the three-stage water treatment at the moment t is shown; alpha is alpha 3 The flow rate ratio of three-stage water treatment is adopted; q t,3 The flow of the three-stage treatment sewage at the time t;
the CHP upper and lower force limits are constrained as follows:
Figure BDA0003800318000000121
in the formula (I), the compound is shown in the specification,
Figure BDA0003800318000000122
and
Figure BDA0003800318000000123
the upper limit and the lower limit of CHP electric power output are respectively;
Figure BDA0003800318000000124
and
Figure BDA0003800318000000125
respectively an upper limit and a lower limit of CHP thermal power output. P t,CHP And Q t,CHP CHP electric power and thermal power at the time t respectively;
the adjustment tank constraints are as follows:
Figure BDA0003800318000000131
in the formula, R t,1 And R t-1,1 Regulating the water storage capacity of the pool at the t moment and the t-1 moment;
Figure BDA0003800318000000132
the maximum water storage capacity of the regulating reservoir; r 0,1 And R T,1 Respectively the initial value and the final value in the dispatching cycle of the regulating pool; q t The flow rate of wastewater entering the regulating reservoir at the moment t;
the secondary reservoir constraints are as follows:
Figure BDA0003800318000000133
in the formula, R t,2 And R t-1,2 The water storage capacity of the secondary reservoir at the time t and the time t-1;
Figure BDA0003800318000000134
the maximum water storage capacity of the second-stage reservoir, R 0,2 And R T,2 Respectively representing the starting value and the ending value in the second-level reservoir scheduling period; q t,I The secondary water demand at the time t; q t,en2 The water flow discharged by secondary treatment at the time t;
and (3) restricting the clean water tank:
Figure BDA0003800318000000135
in the formula, R t,3 And R t-1,3 The water storage capacity of the clean water tank at the t moment and the t-1 moment;
Figure BDA0003800318000000136
is the maximum water storage capacity of the clean water tank, R 0,3 And R T,3 Respectively are the initial value and the final value in the clear pool scheduling period; q t,D The water demand is three-level at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
4) And solving the optimal operation model of the sewage treatment plant in consideration of sewage reuse to obtain the optimal operation scheme of the sewage treatment plant.
The tool for solving the optimal operation model of the sewage treatment plant considering sewage reuse comprises CPLEX.
Example 2:
an optimized operation method of a sewage treatment plant considering sewage reuse comprises the following steps;
1) Acquiring basic parameters of a sewage treatment plant;
2) According to basic parameters of a sewage treatment plant, modeling equipment units of the sewage treatment plant to obtain an equipment unit model of the sewage treatment plant;
3) Establishing an optimized operation model of the sewage treatment plant considering sewage reuse according to the equipment unit model of the sewage treatment plant;
4) And solving the optimal operation model of the sewage treatment plant in consideration of sewage reuse to obtain an optimal operation scheme of the sewage treatment plant.
Example 3:
the main content of the optimized operation method of the sewage treatment plant considering sewage reuse is shown in an embodiment 2, wherein basic parameters of the sewage treatment plant comprise time-of-sale electricity price, gas price, sewage load, irrigation water price, secondary discharge income, tertiary discharge income, industrial miscellaneous water load, industrial miscellaneous water price and other parameters.
Example 4:
the main content of the optimized operation method of the sewage treatment plant considering sewage reuse is shown in an embodiment 2, wherein the equipment unit model of the sewage treatment plant comprises a treatment unit model, a sludge biogas production model, a CHP unit model and an energy storage device model.
Example 5:
a sewage treatment plant optimization operation method considering sewage reuse mainly includes embodiment 4, wherein the treatment unit model includes a primary sewage treatment unit model, a secondary sewage treatment unit model, and a deep sewage treatment model;
wherein, the first-level sewage treatment unit model is as follows:
P t,clar =γ s Q t H t /1000η (1)
H t =aQ t 2 +bQ t r+cr 2 (2)
in the formula, subscript t represents time t; p t,clar Clearing the power of the pump at time t; eta is the efficiency of the cleaning pump; q t The flow rate of wastewater entering the regulating reservoir at the moment t; gamma ray s Is the sewage specific gravity; h t Clearing the pump lift at the moment t; r is the relative speed of the cleaning pump; a, b and c are empirical coefficients of a water pump lift curve;
the secondary sewage treatment unit model is as follows:
Figure BDA0003800318000000141
in the formula, P t,Aer Blower power at time t; r is the air gas constant; t is in Is the fan inlet temperature; eta B To the mechanical efficiency of the blower; p a Is at atmospheric pressure; p t,stat Static pressure at the outlet of the blower diffuser; p t,dyn Is a dynamic pressure; q t,air Is the air mass flow rate;
wherein the dynamic pressure P t,dyn Air mass flow rate Q t,air Respectively as follows:
P t,dyn =(Q t,air /A dif ) 2 k p (4)
Figure BDA0003800318000000142
in the formula (I), the compound is shown in the specification,A dif is the diffuser cross-sectional area; coefficient k p =275N s 2 /m 4 ;K La In order to be the standard transfer efficiency of oxygen,
Figure BDA0003800318000000143
is the mass of oxygen in a unit mass of air,
Figure BDA0003800318000000144
is the standard oxygen transfer rate;
standard oxygen transfer rate
Figure BDA0003800318000000151
As follows:
Figure BDA0003800318000000152
m t,BOD =Q t,2 (BOD t,in -BOD t,out )ConB (7)
m t,TKN =Q t,2 (TKN t,in -TKN t,out )ConN (8)
in the formula, m t,BOD And m t,TKN Oxidizing oxygen demand and nitrifying oxygen demand for the aeration tank; beta is the mass of oxygen in the unit mass of air; c T And C T 0 At a temperature T and a reference temperature T, respectively 0 Oxygen saturation concentration in the lower fresh water; c d Is the dissolved oxygen concentration; alpha is the oxygen transfer ratio in the wastewater; theta is a constant; BOD t,in And BOD t,out The BOD concentration of inlet water and outlet water of a sewage treatment plant; TKN t,in And TKN t,out TKN concentration of inlet water and outlet water of a sewage treatment plant; conN is the required oxygen ratio for oxidation of TKN; conB is the oxygen ratio required to oxidize BOD; q t,2 The sewage flow is treated in the second stage;
the advanced wastewater treatment model is as follows:
P t,3 =η 3 V t,3 (9)
in the formula eta 3 The volume coefficient of sewage treated by unit electric energy in a three-stage treatment link; v t,3 The volume of water entering the clean water tank after three-stage treatment at the moment t; p t,3 The power consumption of the three-stage treatment at the time t.
Example 6:
a sewage treatment plant optimization operation method considering sewage reuse mainly includes an embodiment 4, wherein the sludge biogas production model includes a biogas yield calculation equation, a heat loss calculation equation of a digester wall and a heat energy calculation equation required by sludge heating;
wherein, the biogas yield calculation equation is as follows:
Figure BDA0003800318000000153
in the formula, subscript t represents time t; m is t,sl The sludge mass at the time t; beta is a wsl The sludge coefficient after standing and precipitating the sewage is obtained; p is a radical of t,BG The amount of biogas generated at time t;
Figure BDA0003800318000000154
is a reference temperature T 0 The sewage sludge generates biogas coefficient; f. of t (T dig ) The fermentation temperature T of the biogas pool at the time T dig The gas production rate of the lower methane; f. of t (T 0 ) For the methane tank to reference the temperature T at the moment T 0 The gas production rate of the lower methane;
wherein the gas production rate f t (T dig ) And fermentation temperature T dig The relationship of (a) is as follows:
f t (T dig )=m(T dig -T 0 ) 2 +n (2)
in the formula, m and n are coefficients in a quadratic expression respectively;
the heat loss calculation equation of the digester wall and the heat energy calculation equation required by sludge heating are respectively as follows:
heat loss H from digester wall t,loss And the heat energy H required by heating the sludge t,sludge Comprises the following steps:
Figure BDA0003800318000000161
in the formula, H t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating; cp (p) sludge The specific heat capacity of the sludge is adopted; t is t,air And T t,soil Measuring the temperature of the air and the soil at the time t respectively; k is a radical of air And k soil Air and soil heat transfer coefficients, respectively; t is dig Fermentation temperature for anaerobic digestion; t is a unit of so Is the average influent sludge temperature; a. The sup And A base The side area and the base area of the digester are respectively.
Example 7:
the optimized operation method of the sewage treatment plant considering sewage reuse mainly comprises the following steps of example 4, wherein a CHP unit model is as follows:
P t,CHP_G =p t,gas L gas η CHP,e (1)
H t,CHP =p t,gas L gas η CHP,h (2)
in the formula, P t,CHP_G The CHP total power generation power at the time t; h t,CHP CHP thermal power at time t; p is a radical of t,gas The flow rate of the biogas consumed by the CHP at the moment t; l is gas The heat value of the biogas is obtained; eta CHP,e And η CHP,h The electrical and thermal efficiencies of CHP, respectively.
Example 8:
the main content of the optimized operation method of the sewage treatment plant considering sewage reuse is shown in embodiment 4, wherein the energy storage device model comprises a storage battery model and a phase change heat storage tank model;
the storage battery model is as follows:
Figure BDA0003800318000000162
in the formula, E t,bat And E t-Δt,bat The storage battery stores electric quantity at the time t and the time t-delta t respectively; Δ t is the time; p t,bat_cha And P t,bat_dis Respectively charge and discharge power;
Figure BDA0003800318000000171
the charging power upper limit and the charging power lower limit;
Figure BDA0003800318000000172
the upper and lower limits of the discharge power; 0-1 variable I t,cha To represent the state variable of charging, I t,cha =1 denotes charging, I t,cha =0 means no charging; 0-1 variable I t,dis To represent the state variable of the discharge, I t,dis =1 for discharge, I t,dis =0 means no discharge; eta cha And η dis Respectively charging and discharging efficiencies of the storage battery;
Figure BDA0003800318000000173
and
Figure BDA0003800318000000174
respectively an upper limit and a lower limit of the energy storage capacity of the storage battery; e t,bat The energy storage capacity of the storage battery at the moment t; e 0,bat And E T’,bat The starting value and the end value of the storage battery in the dispatching cycle are obtained; t' is the total number of time segments of one scheduling period.
The phase change heat storage tank model is as follows:
Figure BDA0003800318000000175
in the formula, H t,bat And H t-Δt,bat Storing heat in the phase change heat storage tank at the time t and the time t-delta t respectively; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power;
Figure BDA0003800318000000176
the upper and lower limits of the heat storage power;
Figure BDA0003800318000000177
the upper and lower limits of the heat release power; 0-1 variable I t,hcha Is a state variable for representing heat storage, I t,hcha =1 for heat storage, I t,hcha =0 indicates no heat storage; 0-1 variable I t,hdis Is a state variable for representing the heat release, I t,hdis =1 denotes exotherm, I t,hdis =0 means no exotherm; eta hcha And η hdis Respectively the storage efficiency and the heat release efficiency of the phase change heat storage tank;
Figure BDA0003800318000000178
and
Figure BDA0003800318000000179
respectively is the upper limit and the lower limit of the heat storage capacity of the phase change heat storage tank; h t,bat Storing heat capacity of the phase change heat storage tank at the moment t; h 0,bat And H T’,bat The starting value and the ending value of the phase change heat storage tank in the scheduling period are obtained.
Example 9:
the main content of a sewage treatment plant optimization operation method considering sewage reuse is shown in example 2, wherein an objective function of a sewage treatment plant optimization operation model considering sewage reuse is as follows:
Figure BDA00038003180000001710
in the formula (f) t,gas Trading costs for the air network; f. of t,gird Trading costs for the grid; f. of t,W Earning for selling water; f. of t,en Is an environmental benefit.
Wherein the cost f of the gas network transaction t,gas Power grid transaction cost f t,gird Profit f from sale of water t,W Environmental gain f t,en Respectively as follows:
Figure BDA0003800318000000181
in the formula, c t,gird And c gas Are respectively astime-of-use electricity price and gas price at time t; p t,gird And P t,gas Respectively, interaction quantity with the power grid and the gas grid at the time t; c. C W2 And c W3 Respectively a second-level water price and a third-level water price; q t,I And Q t,D The secondary water demand and the tertiary water demand at the time t are respectively; k en2 And K en3 Respectively converting coefficients of secondary emission and tertiary emission; q t,en2 The water flow discharged by secondary treatment at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
Example 10:
a sewage treatment plant optimization operation method considering sewage reuse is disclosed in an embodiment 2, wherein constraint conditions of an optimization operation model of the sewage treatment plant considering sewage reuse comprise electric power balance constraint, gas balance constraint, thermal power balance constraint, secondary water treatment balance constraint, tertiary water treatment balance constraint, CHP output upper and lower limit constraint, regulating reservoir constraint, secondary reservoir constraint and clear water reservoir constraint;
wherein the electric power balance constraint is as follows:
P t,wind +P t,CHP_G +P t,gird +P t,bat_dis +P t,PV =P t,bat_cha +P t,clar +P t,Aer +P t,3 (1)
in the formula, P t,PV Generating power for the photovoltaic unit; p t,wind Generating power for the wind turbine; p t,Aer Blower power for time t; p t,CHP_G The CHP total power generation power at the t moment; p is t,gird The interaction quantity with the power grid at the moment t is shown; p t,bat_cha And P t,bat_dis Respectively charge and discharge power; p t,clar Clearing the power of the pump for the time t; p t,3 The power consumption of the tertiary treatment at the time t;
the gas balance constraints are as follows:
p t,BG -p t,gas =P t,gas (2)
in the formula, p t,gas The flow rate of the biogas consumed by the CHP at the moment t; p is a radical of t,BG The amount of biogas generated at time t;
the thermal power balance constraint is as follows:
H t,CHP +H t,bat_dis =H t,loss +H t,sludge +H t,bat_cha (3)
in the formula, H t,CHP CHP thermal power at time t; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power; h t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating;
the secondary water treatment equilibrium constraints are as follows:
Q t,2 =α 2 Q t,se2 (4)
in the formula, Q t,se2 The flow rate after the secondary water treatment at the time t; alpha (alpha) ("alpha") 2 The flow ratio of secondary water treatment is adopted; q t,2 For the secondary treatment of sewage flow at the time t
The three-stage water treatment equilibrium constraints are as follows:
Q t,3 =α 3 Q t,th3 (5)
in the formula, Q t,th3 The flow rate after the three-stage water treatment at the moment t is shown; alpha is alpha 3 The flow rate ratio of three-stage water treatment is adopted; q t,2 The flow of the three-stage treatment sewage at the time t;
the CHP upper and lower force limits are constrained as follows:
Figure BDA0003800318000000191
in the formula (I), the compound is shown in the specification,
Figure BDA0003800318000000192
and
Figure BDA0003800318000000193
respectively the upper limit and the lower limit of CHP electric power output;
Figure BDA0003800318000000194
and
Figure BDA0003800318000000195
respectively an upper limit and a lower limit of CHP thermal power output. P is t,CHP And Q t,CHP CHP electric power and thermal power at the time t respectively;
the adjustment tank constraints are as follows:
Figure BDA0003800318000000196
in the formula, R t,1 And R t-1,1 Regulating the water storage capacity of the pool at the t moment and the t-1 moment;
Figure BDA0003800318000000197
the maximum water storage capacity of the regulating tank is obtained; r 0,1 And R T,1 Respectively the initial value and the final value in the dispatching cycle of the regulating pool; q t The flow rate of wastewater entering the regulating reservoir at the moment t;
the secondary reservoir constraints are as follows:
Figure BDA0003800318000000198
in the formula, R t,2 And R t-1,2 The water storage capacity of the secondary reservoir at the time t and the time t-1;
Figure BDA0003800318000000199
the maximum water storage capacity of the second-stage reservoir, R 0,2 And R T,2 Respectively representing the starting value and the ending value in the second-level reservoir scheduling period; q t,I The secondary water demand at the time t; q t,en2 The water flow discharged by secondary treatment at the time t;
and (3) restricting the clean water tank:
Figure BDA00038003180000001910
in the formula, R t,3 And R t-1,3 The water storage capacity of the clean water tank at the t moment and the t-1 moment; r max3 Is the most important part of a clean water poolLarge water storage capacity, R 0,3 And R T,3 Respectively are the initial value and the final value in the clear pool scheduling period; q t,D The water demand is three-level at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
Example 11:
the main content of the method is shown in embodiment 2, wherein a tool for solving an optimized operation model of the sewage treatment plant considering sewage reuse comprises CPLEX.
Example 12:
an optimized operation method of a sewage treatment plant considering sewage reuse comprises the following steps:
a sewage treatment plant considering sewage reuse, which comprises treatment units and equipment units at all levels; each stage of treatment unit comprises a regulating tank, a cleaning pump, a primary sedimentation tank, a blower, a biological denitrification tank, a secondary sedimentation tank, a secondary reservoir, a deep treatment unit, a clean water tank and a filter membrane; the equipment unit comprises a photovoltaic generator set, a wind generating set, a methane generator, a methane tank, an electric boiler, a storage battery and a heat storage tank; the method is characterized in that: the sewage treatment plant is also provided with lines and pipelines to realize interaction with a power grid and an air grid; the electric boiler transfers heat energy to the heat storage tank and the methane tank through the heat pipeline.
The technical scheme for realizing the invention is as follows: an optimized operation method of a sewage treatment plant considering sewage reuse. The method mainly comprises the following steps: step 1: the basic parameters of a sewage treatment plant are first entered. Step 2: and modeling each unit in the sewage treatment plant. And step 3: and establishing an objective function and constraint conditions for optimizing operation of the sewage treatment plant in consideration of sewage reuse, carrying out piecewise linearization treatment on the nonlinear constraint, and then solving by using a commercial solver CPLEX to obtain an optimal solution of the optimization problem. The specific implementation steps are as follows:
inputting basic data
1.1 input basic data
Basic parameters input into a sewage treatment plant include: time-of-use purchase electricity price, time-of-use sale electricity price, gas price, sewage load, irrigation water price, secondary discharge income, tertiary discharge income, industrial general water load, industrial general water price and other parameters.
Each unit model of sewage treatment plant
2.1 Process models at levels
The power consumption of the primary treatment mainly comprises a cleaning pump:
P t,clar =γ s Q t H t /1000η (1)
H t =aQ t 2 +bQ t r+cr 2 (2)
in which the subscript t denotes time t, P t,clar Clearing the power of the pump at time t; eta is the efficiency of the cleaning pump; q t The flow rate of wastewater entering the regulating reservoir at the moment t; gamma ray s Is the sewage specific gravity; h t Clearing the pump lift at the moment t; r is the relative speed of the cleaning pump; and a, b and c are empirical coefficients of pump head curves of the water pump.
The aeration unit in the power consumption of the secondary sewage treatment model mainly consumes the power of a blower:
Figure BDA0003800318000000211
in which the subscript t denotes time t, P t,Aer Blower power at time t; r is the air gas constant; t is a unit of in Is the fan inlet temperature; eta B To the mechanical efficiency of the blower; p a Is at atmospheric pressure; p t,stat Is the static pressure at the exit of the blower diffuser.
Dynamic pressure P t,dyn Can be calculated from the following formula:
P t,dyn =(Q t,air /A dif ) 2 k p (4)
in the formula, the subscript t represents time t, Q t,air Is the air mass flow rate; a. The dif Is the diffuser cross-sectional area; k is a radical of formula p =275N s 2 /m 4
Air mass flow rate Q t,air Can be calculated from the following formula:
Figure BDA0003800318000000212
in the formula, the subscript t represents time t, K La For the standard transfer efficiency of oxygen, n O2 Is the mass of oxygen in the unit mass of air, m t,O2 Standard oxygen transfer rate.
The standard oxygen transfer rate can be calculated by the following formula:
Figure BDA0003800318000000213
m t,BOD =Q t,2 (BOD t,in -BOD t,out )ConB (7)
m t,TKN =Q t,2 (TKN t,in -TKN t,out )ConN (8)
in which the subscript t denotes time t, m t,BOD And m t,TKN The oxidation oxygen demand and the nitrification oxygen demand of the aeration tank are obtained, beta is the oxygen mass in unit mass of air, C T And C T 0 Oxygen saturation concentration in fresh water at T temperature and reference temperature, C d Alpha is the oxygen transfer ratio in the wastewater, theta is a constant, BOD for the dissolved oxygen concentration t,in And BOD t,out The BOD concentration, TKN of inlet water and outlet water of a sewage treatment plant t,in And TKN t,out TKN concentration of inlet water and outlet water of a sewage treatment plant, conN is required oxygen ratio for oxidation of TKN, CONB is required oxygen ratio for oxidation of BOD, Q t,2 The flow rate of the secondary treatment sewage is shown.
Deep processing model:
P t,3 =η 3 V t,3 (9)
in the formula eta 3 The volume coefficient of sewage treated by unit electric energy in a three-stage treatment link; v t,3 The volume of water entering the clean water tank after three-stage treatment at the moment t; p t,3 For three-stage treatment at time tThe power consumption.
2.2 sludge Marsh model
Carrying out anaerobic digestion treatment on the sludge obtained in the secondary treatment process to obtain biogas, wherein the yield of the biogas is as follows:
Figure BDA0003800318000000221
in the formula, subscript t represents time t; m is a unit of t,sl The sludge mass at the time t; beta is a beta wsl The sludge coefficient after standing and precipitating the sewage is obtained; p is a radical of t,BG The amount of biogas generated at time t; beta is a beta S2B,T0 Is T 0 Lower sludge biogas production coefficient, T 0 Typically 35 deg.c. f. of t (T dig ) The fermentation temperature T of the methane tank at the time T dig And lowering the gas production rate of the methane.
The relationship between biogas yield and fermentation temperature can be expressed as:
f t (T dig )=m(T dig -T 0 ) 2 +n (11)
in the formula, m and n are coefficients in a quadratic expression respectively.
Heat loss H from digester wall t,loss And the heat energy H required by heating the sludge t,sludge Comprises the following steps:
Figure BDA0003800318000000222
in the formula (II b) sludge The specific heat capacity of the sludge is 3.62kJ/kg ℃; t is air And T soil Measuring the temperature of air and soil respectively; k is a radical of air And k soil Air and soil heat transfer coefficients, respectively; t is dig The fermentation temperature for anaerobic digestion, and the average influent sludge temperature T so Should be 15 ℃; a. The sup And A base Respectively the side area and the base area of the digestion tank, m 2
2.3CHP Unit model
The CHP unit model is as follows:
P t,CHP_G =p t,gas L gas η CHP,e (13)
H t,CHP =p t,gas L gas η CHP,h (14)
in the formula, P t,CHP_G The CHP total power generation power at the time t; h t,CHP CHP thermal power at time t; p is a radical of t,gas The flow rate of the biogas consumed by the CHP at the moment t; l is gas The heat value of the biogas is; eta CHP,e And η CHP,h The electrical and thermal efficiencies of CHP, respectively.
2.4 energy storage device
The sewage treatment plant is provided with a storage battery and a phase change heat storage tank;
the storage battery model is as follows:
Figure BDA0003800318000000231
in the formula, E t,bat And E t-Δt,bat The storage battery stores electric quantity at the t moment and the t-delta t moment respectively; Δ t is the time; p is t,bat_cha And P t,bat_dis Respectively charge and discharge power;
Figure BDA0003800318000000232
the charging power is the upper and lower limits;
Figure BDA0003800318000000233
the upper and lower limits of the discharge power; 0-1 variable I t,cha To represent the state variable of charging, I t,cha =1 denotes charging, I t,cha =0 represents no charging; 0-1 variable I t,dis To represent the state variable of the discharge, I t,dis =1 for discharge, I t,dis =0 denotes no discharge; eta cha And η dis Respectively charging and discharging efficiencies of the storage battery;
Figure BDA0003800318000000234
and
Figure BDA0003800318000000235
respectively an upper limit and a lower limit of the energy storage capacity of the storage battery; Et,bat the energy storage capacity of the storage battery at the moment t; e 0,bat And E T’,bat The starting value and the end value of the storage battery in the dispatching cycle are obtained; t' is the total number of time segments of one scheduling period.
The phase change heat storage tank model is as follows:
Figure BDA0003800318000000236
in the formula, H t,bat And H t-Δt,bat Storing heat in the phase change heat storage tank at the time t and the time t-delta t respectively; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power;
Figure BDA0003800318000000237
the upper and lower limits of the heat storage power;
Figure BDA0003800318000000238
the upper and lower limits of the heat release power; 0-1 variable I t,hcha Is a state variable for representing heat storage, I t,hcha =1 for heat storage, I t,hcha =0 indicates no heat storage; 0-1 variable I t,hdis Is a state variable for representing the heat release, I t,hdis =1 denotes exotherm, I t,hdis =0 indicates no exotherm; eta hcha And η hdis Respectively the storage efficiency and the heat release efficiency of the phase change heat storage tank;
Figure BDA0003800318000000239
and
Figure BDA00038003180000002310
respectively is the upper limit and the lower limit of the heat storage capacity of the phase change heat storage tank; h t,bat Storing heat capacity of the phase change heat storage tank at the moment t; h 0,bat And H T’,bat The starting value and the ending value of the phase change heat storage tank in the scheduling period are obtained.
Establishing an objective function and constraint conditions for optimizing operation and solving
3.1 establishing an objective function with minimal operating cost
The following objective function is established according to the model:
Figure BDA00038003180000002311
in the formula, f t,gas Cost for trading with the air grid; f. of t,gird Trading costs for the grid; f. of t,W Earning for selling water; f. of t,en Is an environmental benefit.
Each cost and benefit is calculated by:
Figure BDA0003800318000000241
in the formula, c t,gird And c gas Time-of-use electricity price and gas price at the moment t respectively; p t,gird And P t,gas Respectively, interaction quantity with the power grid and the gas grid at the time t; c. C W2 And c W3 Respectively a second-level water price and a third-level water price; q t,I And Q t,D The secondary water demand and the tertiary water demand at the time t are respectively; k en2 And K en3 Respectively converting coefficients of second-level discharge and third-level discharge; q t,en2 The water flow discharged by secondary treatment at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
3.2 establishing various constraints
The electric power balance constraint is:
P t,wind +P t,CHP_G +P t,gird +P t,bat_dis +P t,PV =P t,bat_cha +P t,clar +P t,Aer +P t,3 (19)
in the formula, P t,PV Generating power for the photovoltaic unit; p t,wind The generated power of the wind turbine generator is obtained.
And (3) gas balance constraint:
p t,BG -p t,gas =P t,gas (20)
thermal power balance constraint:
H t,CHP +H t,bat_dis =H t,loss +H t,sludge +H t,bat_cha (21)
and secondary water treatment balance constraint:
Q t,2 =α 2 Q t,se2 (22)
in the formula, Q t,se2 The flow rate after the secondary water treatment at the time t is shown; alpha is alpha 2 Is the flow ratio of secondary water treatment
And (3) three-stage water treatment balance constraint:
Q t,3 =α 3 Q t,th3 (23)
in the formula, Q t,th3 The flow rate after the three-stage water treatment at the moment t is shown; alpha is alpha 3 Is a three-stage water treatment flow ratio
And (3) CHP (Chronic acid phosphate) output upper and lower limit constraint:
Figure BDA0003800318000000242
in the formula (I), the compound is shown in the specification,
Figure BDA0003800318000000243
and
Figure BDA0003800318000000244
the upper limit and the lower limit of CHP electric power output are respectively;
Figure BDA0003800318000000245
and
Figure BDA0003800318000000246
respectively an upper limit and a lower limit of CHP thermal power output.
Regulating the regulating pool:
Figure BDA0003800318000000251
in the formula, R t,1 Regulating the water storage capacity of the pool at the moment t;
Figure BDA0003800318000000252
for regulating the maximum water storage capacity of the tank, R 0,1 And R T,1 Respectively the beginning and end values in the regulation pool scheduling period.
And (3) secondary reservoir restraint:
Figure BDA0003800318000000253
in the formula, R t,2 The water storage capacity of the secondary reservoir at the moment t; r max2 The maximum water storage capacity R of the secondary reservoir 0,2 And R T,2 And the initial value and the final value in the scheduling period of the secondary reservoir are respectively.
And (3) restricting the clean water tank:
Figure BDA0003800318000000254
in the formula, R t,3 The water storage capacity of the clean water tank at the moment t; r max3 Is the maximum water storage capacity of the clean water tank, R 0,3 And R T,3 Respectively, the starting value and the ending value in the clear pool scheduling period.
3.3 constraint handling and solving
And solving by adopting a solver CPLEX after carrying out piecewise linearization processing on the formulas (1) - (8) and the formulas (10) - (11).
Example 13:
a verification test of the optimal operation method of the sewage treatment plant considering sewage reuse in the embodiments 1 to 12 comprises the following steps:
1) The classification treatment equipment for the sewage treatment plant considering sewage reuse is determined, and comprises a regulating reservoir, a secondary reservoir, a clean water reservoir, primary treatment, secondary treatment and tertiary treatment, wherein the primary treatment comprises the following steps: a pump and a primary sedimentation tank. The secondary treatment comprises the following steps: an air blower, an anoxic/aerobic (A/O) tank and a secondary sedimentation tank. The three-stage treatment comprises the following steps: and a third-stage treatment tank. Wherein: sewage firstly enters a regulating tank to ensure that the water quality is consistent, and is pumped to a primary sedimentation tank for filtration, and then enters an A/O tank for anoxic denitrification, aerobic organic matter removal and aeration treatment in a nitrification stage, so as to obtain sludge in a secondary sedimentation tank; the water after secondary treatment can be used for agricultural irrigation and for discharge to obtain pollution discharge benefits; the sludge is then anaerobically treated to reduce the volume of the sludge and produce biogas for power generation or heating. Finally, the sewage subjected to the tertiary treatment is used for industrial miscellaneous use and for discharge to obtain a pollution discharge benefit. The sewage treatment plant is provided with a regulating reservoir, a secondary reservoir and a clean water reservoir so as to realize flexible graded regulation and control.
As shown in the attached figure 2, the energy flow of the sewage treatment plant considering sewage reuse comprises electric energy, heat energy, water and methane. Wherein: the electric bus is connected with a power grid, a storage battery, a wind-solar generator set, a CHP (Chronic Hydrogen phosphate) and energy consumption equipment of a sewage treatment plant; the heat pipeline is connected with the CHP, the heat storage tank and the methane tank; the gas pipe is connected with the CHP, the methane tank and the gas network; the sewage enters a sewage treatment plant for treatment and then is recycled through a water pipe.
2) The operation of a sewage treatment plant is optimized by the method of the invention for the sewage treatment plant:
2.1 Input basic data
Basic parameters input into a sewage treatment plant include: time-of-use electricity price purchasing, time-of-use electricity price selling, gas price, sewage load, irrigation water price, secondary discharge income, tertiary discharge income, industrial water load, industrial water price and wind and light output.
The time-of-use purchase electricity price and the time-of-use sale electricity price are given in table 1; gas prices, irrigation water prices, secondary discharge gains, tertiary discharge gains, and industrial miscellaneous water prices are given in table 2; the sewage load, irrigation water load, and industrial utility water load are given in table 3;
TABLE 1 time of use electricity price
Figure BDA0003800318000000261
TABLE 2 cost benefits
Irrigation water price 0.1 yuan/m 3
Second order emission yield 0.01 yuan/m 3
Price of gas purchase 1.5 yuan/m 3
Price of gas sale 1.0 yuan/m 3
Three stage emission yield 0.09 yuan/m 3
Water price for industrial waste 0.5 yuan/m 3
TABLE 3 Water load in scheduling period
Time period Sewage load/m 3 Irrigation water load/m 3 Load of industrial miscellaneous Water/m 3
0 1500 85.40 10
1 1360 70.55 0
2 1356 87.68 10
3 1360 109.59 10
4 1320 70.55 20
5 1300 109.36 180
6 1260 109.36 70
7 1220 90.02 60
8 1280 119.43 50
9 1276 161.34 50
10 1362 264.56 90
11 1450 432.22 90
12 1540 514.01 20
13 1520 546.81 20
14 1480 538.38 30
15 1530 513.99 30
16 1510 408.48 20
17 1450 324.36 20
18 1420 204.00 70
19 1430 163.48 40
20 1426 149.56 60
21 1460 135.89 60
22 1480 94.28 0
23 1490 114.83 10
2.2 Modeling and solving a wastewater treatment plant for wastewater reuse
Through the unit models, the objective functions and the constraint conditions of the sewage treatment plant listed above, the equations (1) - (8) and (10) - (11) are subjected to piecewise linearization processing and then solved by a solver CPLEX, so that the operation cost errors and the solving time under different segmentation numbers are obtained, as shown in Table 4.
TABLE 4 running cost error and solution time for different number of stages
Number of segments Total cost/element Relative error Solution time/s
5 1198.7 0.016% 50
10 1198.6 0.0083% 169
15 1198.5 / 891
2.3 Effect of experiment)
Three operation modes are provided for a certain sewage treatment plant, and the effectiveness and superiority of the method are contrastively verified. Scene 1: and sewage reuse is considered. Scene 2: the reuse of sewage is not considered. Scene 3: the clear water tank, the secondary reservoir and the regulating tank are not arranged, and the temperature of the methane is constant.
(a) Running cost comparison
Table 5 shows the operating costs of the sewage treatment plants and the total operating cost for the three scenarios.
TABLE 5 running costs under different scenarios
Figure BDA0003800318000000281
Comprehensive comparison can show that the scene 1 has higher electricity transaction cost compared with the scene 2 because of the requirement of water recycling, and higher water selling income is obtained by sacrificing less electricity cost; scenario 3 results in higher electricity transaction costs because no elements such as a water reservoir can reduce the load during periods of high electricity prices. Scenario 1 has the least total operating cost compared to the rest of the scenarios, highlighting the effectiveness and economy of the present invention.
(b) Comparison of operating states of primary equipment units
As shown in fig. 4 and 5, in the scene 3, no elements such as a reservoir or the like are arranged, so that the load can not be reduced in a high electricity price period, and the treated water amount is consistent with the sewage load; in scenes 1 and 2, because the wind-solar generator set has low output and low electricity price in the period of 6-00-9; and in the section 12. Because the tertiary treatment is more energy-consuming, the tertiary treatment is mainly carried out in the valley period of electricity price, and the tertiary water treatment is required in the period of flat period of electricity price in the scene 1 due to the requirement of water use. In the scenario 2, since water reuse is not considered, the tertiary treatment is not performed in a time period when the electricity price is high. As shown in fig. 6, scenes 1 and 2 produce more gas at a higher temperature for sale at a lower electricity price, and keep the temperature low while using more biogas for electricity generation at a higher electricity price; 20. Therefore, the flexibility of the sewage treatment plant is fully exploited, so that the load is stable, the peak clipping and the valley filling are carried out, and the economy and the load stability are improved.

Claims (10)

1. An optimized operation method of a sewage treatment plant considering sewage reuse is characterized by comprising the following steps;
1) And acquiring basic parameters of the sewage treatment plant.
2) And modeling the equipment unit of the sewage treatment plant according to the basic parameters of the sewage treatment plant to obtain an equipment unit model of the sewage treatment plant.
3) Establishing an optimized operation model of the sewage treatment plant considering sewage reuse according to the equipment unit model of the sewage treatment plant;
4) And solving the optimal operation model of the sewage treatment plant in consideration of sewage reuse to obtain an optimal operation scheme of the sewage treatment plant.
2. The method as claimed in claim 1, wherein the basic parameters of the sewage treatment plant include time-of-sale electricity price, gas price, sewage load, irrigation water price, secondary discharge income, tertiary discharge income, industrial utility water load, and industrial utility water price.
3. The optimal operation method of the sewage treatment plant considering sewage reuse according to claim 1, wherein the equipment unit model of the sewage treatment plant comprises a treatment unit model, a sludge biogas production model, a CHP unit model and an energy storage device model.
4. The optimal operation method of sewage treatment plant considering sewage reuse according to claim 3, wherein the treatment unit models include a primary sewage treatment unit model, a secondary sewage treatment unit model, a deep sewage treatment model;
wherein, the primary sewage treatment unit model is as follows:
P t,clar =γ s Q t H t /1000η (1)
H t =aQ t 2 +bQ t r+cr 2 (2)
in the formula, subscript t represents time t; p t,clar Clearing the power of the pump at time t; eta is the efficiency of the cleaning pump; q t The flow rate of wastewater entering the regulating reservoir at the moment t; gamma ray s Is the sewage specific gravity; h t Clearing the pump lift at the moment t; r is the relative speed of the cleaning pump; a, b and c are empirical coefficients of pump head curves of the water pump;
the secondary sewage treatment unit model is as follows:
Figure FDA0003800317990000011
in the formula, P t,Aer Blower power for time t; r is the air gas constant; t is a unit of in Is the fan inlet temperature; eta B To the mechanical efficiency of the blower; p a Is at atmospheric pressure; p is t,stat Static pressure at the outlet of the blower diffuser; p t,dyn Is a dynamic pressure; q t,air Is the air mass flow rate; m is a group of air Is the molecular mass of air;
wherein the dynamic pressure P t,dyn Air mass flow rate Q t,air Respectively as follows:
P t,dyn =(Q t,air /A dif ) 2 k p (4)
Figure FDA0003800317990000021
in the formula, A dif Is the diffuser cross-sectional area; coefficient k p =275N s 2 /m 4 ;K La In order to be the standard transfer efficiency of oxygen,
Figure FDA0003800317990000022
is the mass of oxygen in a unit mass of air,
Figure FDA0003800317990000023
standard oxygen transfer rate;
standard oxygen transfer rate
Figure FDA0003800317990000024
As follows:
Figure FDA0003800317990000025
m t,BOD =Q t,2 (BOD t,in -BOD t,out )ConB (7)
m t,TKN =Q t,2 (TKN t,in -TKN t,out )ConN (8)
in the formula, m t,BOD And m t,TKN Oxidizing oxygen demand and nitrifying oxygen demand for the aeration tank; beta is the mass of oxygen in the unit mass of air; c T And C T 0 At a temperature T and a reference temperature T, respectively 0 Oxygen saturation concentration in the lower fresh water; c d Is the dissolved oxygen concentration; alpha is the oxygen transfer ratio in the wastewater; theta is a constant; BOD t,in And BOD t,out The BOD concentration of inlet water and outlet water of a sewage treatment plant; TKN t,in And TKN t,out Is a sewage placeTKN concentration of inlet water and outlet water of a treatment plant; conN is the required oxygen ratio for oxidation of TKN; conB is the oxygen ratio required to oxidize BOD; q t,2 The sewage flow is treated in the second stage;
the advanced wastewater treatment model is as follows:
P t,3 =η 3 V t,3 (9)
in the formula eta 3 The volume coefficient of sewage treated by unit electric energy in a three-stage treatment link; v t,3 The volume of water entering the clean water tank after three-stage treatment at the time t; p t,3 The power consumption of the three-stage treatment at the time t.
5. The optimal operation method of a sewage treatment plant considering sewage reuse according to claim 3, wherein the sludge-to-biogas model includes a biogas production calculation equation, a heat loss calculation equation of a digester wall, and a heat energy calculation equation required for sludge heating;
wherein, the biogas yield calculation equation is as follows:
Figure FDA0003800317990000026
in the formula, subscript t represents time t; m is sl,t The sludge mass at the time t; beta is a wsl The sludge coefficient after standing and precipitating the sewage is obtained; p is a radical of t,BG The amount of biogas generated at time t;
Figure FDA0003800317990000031
is a reference temperature T 0 The sewage sludge methane yield coefficient; f. of t (T dig ) The fermentation temperature T of the methane tank for anaerobic digestion at the moment T dig The gas production rate of the lower methane; f. of t (T 0 ) For the methane tank to reference the temperature T at the moment T 0 The gas production rate of the lower methane; rho wsl Is the average density of the sewage after standing and precipitation;
wherein the gas production rate f t (T dig ) And fermentation temperature T dig The relationship of (a) is as follows:
f t (T dig )=m(T dig -T 0 ) 2 +n (11)
in the formula, m and n are coefficients in a quadratic expression respectively;
the heat loss calculation equation of the digester wall and the heat energy calculation equation required by sludge heating are respectively as follows:
heat loss H from digester wall t,loss And the heat energy H required by heating the sludge t,sludge Comprises the following steps:
Figure FDA0003800317990000032
in the formula, H t,loss 、H t,sludge Respectively the heat loss of the wall of the digestion tank and the heat energy required by heating the sludge; cp (p) sludge The specific heat capacity of the sludge; t is t,air And T t,soil Measuring the temperature of the air and the soil at the time t respectively; k is a radical of air And k soil Air and soil heat transfer coefficients, respectively; t is so Is the average influent sludge temperature; a. The sup And A base The side area and the base area of the digester are respectively.
6. The method for optimizing operation of a sewage treatment plant considering sewage reuse according to claim 3, wherein the CHP unit model is as follows:
P t,CHP_G =p t,gas L gas η CHP,e (13)
H t,CHP =p t,gas L gas η CHP,h (14)
in the formula, P t,CHP_G The CHP total power generation power at the time t; h t,CHP CHP thermal power at time t; p is a radical of t,gas The flow rate of the biogas consumed by the CHP at the moment t; l is gas The heat value of the biogas is obtained; eta CHP,e And η CHP,h The electrical and thermal efficiencies of CHP, respectively.
7. The optimal operation method of a sewage treatment plant considering sewage reuse according to claim 3, wherein the energy storage device model comprises a storage battery model and a phase-change heat storage tank model;
the storage battery model is as follows:
Figure FDA0003800317990000041
in the formula, E t,bat And E t-Δt,bat The storage battery stores electric quantity at the time t and the time t-delta t respectively; Δ t is the time; p t,bat_cha And P t,bat_dis Respectively charge and discharge power;
Figure FDA0003800317990000042
the charging power upper limit and the charging power lower limit;
Figure FDA0003800317990000043
the upper and lower limits of the discharge power; 0-1 variable I t,cha To represent the state variable of charging, I t,cha =1 denotes charging, I t,cha =0 represents no charging; 0-1 variable I t,dis To represent the state variable of the discharge, I t,dis =1 for discharge, I t,dis =0 denotes no discharge; eta cha And η dis Respectively charging and discharging efficiencies of the storage battery;
Figure FDA0003800317990000044
and
Figure FDA0003800317990000045
respectively an upper limit and a lower limit of the energy storage capacity of the storage battery; e t,bat The energy storage capacity of the storage battery at the moment t; e 0,bat And E T’,bat The starting value and the end value of the storage battery in the dispatching cycle are obtained; t' is the total number of time segments of one scheduling period.
The phase change heat storage tank model is as follows:
Figure FDA0003800317990000046
in the formula, H t,bat And H t-Δt,bat Storing heat in the phase change heat storage tank at the time t and the time t-delta t respectively; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power;
Figure FDA0003800317990000047
the upper and lower limits of the heat storage power;
Figure FDA0003800317990000048
the upper and lower limits of the heat release power; 0-1 variable I t,hcha Is a state variable for representing heat storage, I t,hcha =1 for heat storage, I t,hcha =0 means no heat storage; 0-1 variable I t,hdis Is a state variable for representing the heat release, I t,hdis =1 denotes exotherm, I t,hdis =0 indicates no exotherm; eta hcha And η hdis Respectively the storage efficiency and the heat release efficiency of the phase change heat storage tank;
Figure FDA0003800317990000049
and
Figure FDA00038003179900000410
respectively is the upper limit and the lower limit of the heat storage capacity of the phase change heat storage tank; h t,bat Storing heat capacity of the phase change heat storage tank at the moment t; h 0,bat And H T’,bat The starting value and the ending value of the phase change heat storage tank in the scheduling period are obtained.
8. The method for optimizing operation of a wastewater treatment plant considering wastewater reuse according to claim 1, wherein an objective function of an optimized operation model of a wastewater treatment plant considering wastewater reuse is as follows:
Figure FDA00038003179900000411
in the formula (f) t,gas Trading costs for the air network; f. of t,gird Trading costs for the grid; f. of t,W Earning for selling water; f. of t,en Is an environmental benefit.
Wherein, the cost of the air network transaction f t,gas Grid transaction cost f t,gird Income f from selling water t,W Environmental gain f t,en Respectively as follows:
Figure FDA0003800317990000051
in the formula, c t,gird And c gas Time-of-use electricity price and gas price at the moment t respectively; p is t,gird And P t,gas Respectively, interaction quantity with the power grid and the gas grid at the time t; c. C W2 And c W3 Respectively a second-level water price and a third-level water price; q t,I And Q t,D The secondary water demand and the tertiary water demand at the time t are respectively; k en2 And K en3 Respectively converting coefficients of secondary emission and tertiary emission; q t,en2 The water flow discharged by secondary treatment at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
9. The optimal operation method of the sewage treatment plant considering sewage reuse according to claim 1, wherein the constraint conditions of the optimal operation model of the sewage treatment plant considering sewage reuse include electric power balance constraint, gas balance constraint, thermal power balance constraint, secondary water treatment balance constraint, tertiary water treatment balance constraint, CHP upper and lower output limit constraint, regulation pool constraint, secondary reservoir constraint and clean water pool constraint;
wherein the electric power balance constraint is as follows:
P t,wind +P t,CHP_G +P t,gird +P t,bat_dis +P t,PV =P t,bat_cha +P t,clar +P t,Aer +P t,3 (19)
in the formula, P t,PV Generating power for the photovoltaic unit; p t,wind For wind-power unitsGenerating power; p t,Aer Blower power at time t; p t,CHP_G The CHP total power generation power at the time t; p t,gird The interaction quantity with the power grid at the moment t is obtained; p t,bat_cha And P t,bat_dis Respectively charge and discharge power; p is t,clar Clearing the power of the pump at time t; p t,3 The power consumption of the tertiary treatment at the time t;
the gas balance constraints are as follows:
p t,BG -p t,gas =P t,gas (20)
in the formula, p t,gas The flow rate of the biogas consumed by the CHP at the moment t; p is a radical of t,BG The amount of biogas generated at time t; p is t,gas The interaction quantity with the air network at the time t;
the thermal power balance constraint is as follows:
H t,CHP +H t,bat_dis =H t,loss +H t,sludge +H t,bat_cha (21)
in the formula, H t,CHP CHP thermal power at time t; h t,bat_cha And H t,bat_dis Respectively storing and releasing heat power; h t,loss 、H t,sludge Respectively the heat loss of the digester wall and the heat energy required by sludge heating;
the secondary water treatment equilibrium constraints are as follows:
Q t,2 =α 2 Q t,se2 (22)
in the formula, Q t,se2 The flow rate after the secondary water treatment at the time t; alpha is alpha 2 The flow ratio of secondary water treatment is adopted; q t,2 For the secondary treatment of sewage flow at the time t
The three-stage water treatment equilibrium constraints are as follows:
Q t,3 =α 3 Q t,th3 (23)
in the formula, Q t,th3 The flow rate after the three-stage water treatment at the moment t is shown; alpha is alpha 3 The flow rate ratio of three-stage water treatment is adopted; q t,3 The flow of the three-stage treatment sewage at the time t;
the CHP upper and lower force limits are constrained as follows:
Figure FDA0003800317990000061
in the formula (I), the compound is shown in the specification,
Figure FDA0003800317990000062
and
Figure FDA0003800317990000063
the upper limit and the lower limit of CHP electric power output are respectively;
Figure FDA0003800317990000064
and
Figure FDA0003800317990000065
respectively an upper limit and a lower limit of CHP thermal power output. P t,CHP And Q t,CHP CHP electric power and thermal power at the time t respectively;
the adjustment tank constraints are as follows:
Figure FDA0003800317990000066
in the formula, R t,1 And R t-1,1 Regulating the water storage capacity of the pool at the t moment and the t-1 moment;
Figure FDA0003800317990000067
the maximum water storage capacity of the regulating reservoir; r 0,1 And R T,1 Respectively the initial value and the final value in the dispatching cycle of the regulating pool; q t The flow rate of wastewater entering the regulating reservoir at the moment t;
secondary reservoir constraints are as follows:
Figure FDA0003800317990000068
in the formula, R t,2 And R t-1,2 The water storage capacity of the secondary reservoir at the time t and the time t-1;
Figure FDA0003800317990000069
the maximum water storage capacity R of the secondary reservoir 0,2 And R T,2 Respectively representing the starting value and the ending value in the second-level reservoir scheduling period; q t,I The secondary water demand at the time t; q t,en2 The water flow discharged by secondary treatment at the time t;
and (3) restricting the clean water tank:
Figure FDA00038003179900000610
in the formula, R t,3 And R t-1,3 The water storage capacity of the clean water tank at the t moment and the t-1 moment;
Figure FDA0003800317990000071
is the maximum water storage capacity of the clean water tank, R 0,3 And R T,3 Respectively are the initial value and the final value in the clear pool scheduling period; q t,D The water demand is three-level at the time t; q t,en3 The water flow discharged by the three-stage treatment at the time t.
10. The method for optimizing the operation of a sewage treatment plant considering sewage reuse according to claim 1, wherein: tools for solving the optimal operation model of the sewage treatment plant considering sewage reuse include CPLEX.
CN202210980706.3A 2022-08-16 2022-08-16 Sewage treatment plant optimized operation method considering sewage reuse Pending CN115630473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210980706.3A CN115630473A (en) 2022-08-16 2022-08-16 Sewage treatment plant optimized operation method considering sewage reuse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210980706.3A CN115630473A (en) 2022-08-16 2022-08-16 Sewage treatment plant optimized operation method considering sewage reuse

Publications (1)

Publication Number Publication Date
CN115630473A true CN115630473A (en) 2023-01-20

Family

ID=84903043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210980706.3A Pending CN115630473A (en) 2022-08-16 2022-08-16 Sewage treatment plant optimized operation method considering sewage reuse

Country Status (1)

Country Link
CN (1) CN115630473A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118155735A (en) * 2024-05-11 2024-06-07 中国电建集团贵阳勘测设计研究院有限公司 Method for measuring and calculating oxygen consumption rate and alpha factor of ex-situ sludge

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118155735A (en) * 2024-05-11 2024-06-07 中国电建集团贵阳勘测设计研究院有限公司 Method for measuring and calculating oxygen consumption rate and alpha factor of ex-situ sludge

Similar Documents

Publication Publication Date Title
Khiewwijit et al. Energy and nutrient recovery for municipal wastewater treatment: how to design a feasible plant layout?
Simon-Várhelyi et al. Reducing energy costs of the wastewater treatment plant by improved scheduling of the periodic influent load
CN106372742A (en) Power-to-gas multi-source energy storage type microgrid day-ahead optimal economic dispatching method
CN107055813B (en) Anaerobic sewage treatment device and process
CN111398548B (en) Plant effect-based surface flow wetland water body nitrogen and phosphorus concentration prediction method
CN108711878B (en) Photovoltaic power station multi-type component capacity configuration method considering output characteristics
Solon et al. Process schemes for future energy-positive water resource recovery facilities
CN115630473A (en) Sewage treatment plant optimized operation method considering sewage reuse
CN116681545B (en) Facility agriculture park near-zero carbon implementation method considering biomass-P2G coupling
Sarpong et al. Energy autarky of small scale wastewater treatment plants by enhanced carbon capture and codigestion–a quantitative analysis
CN116263890A (en) Rural micro-energy network multi-objective optimization method considering rural production and living carbon emission
CN115471074A (en) Planning model construction method of comprehensive energy microgrid
CN114676878A (en) Multi-region virtual power plant optimal scheduling method oriented to multi-energy complementation and low carbonization
CN115292936A (en) Multi-objective optimization method for sewage treatment plant
CN112348574B (en) Coal-fired coupled biomass power generation capacity planning method, system and device
CN114091823A (en) Adjustable potential determination method and system for sewage treatment system and storage medium
Ramirez et al. Techno-Economic Assessment of PEM Electrolysis for O 2 Supply in Activated Sludge Systems—A Simulation Study Based on the BSM2 Wastewater Treatment Plant
Flores-Alsina et al. Benchmarking strategies to control GHG production and emissions
Van Horne et al. Coming full circle: Moving wastewater treatment plants toward energy neutrality
Hamda et al. Carbon Emissions, Energy Reduction, and Energy Recovery from Wastewater Treatment Plants
CN117829499A (en) Low-carbon electricity utilization scheduling method for photovoltaic power generation sewage plant and computer readable medium
Shi et al. Co-optimization of Wastewater Treatment Plants Interconnected with Power Distribution System (iSPEC 2023)
Temesgen Carbon Emissions, Energy Reduction, and Energy Recovery from Wastewater Treatment Plants
Tsalas et al. Optimization of Energy Consumption in a Wastewater Treatment Plant: An Overview
CN112487697B (en) Sewage treatment optimization control method based on improved particle swarm optimization

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