Considering Source-Charge-Storage Multiple Time Scale Cooperative Control Strategy

In order to achieve the optimization of power consumption mode, improve user power efficiency, and realize the coordination of power supply and demand, considering the advantages of distributed energy and energy storage, a source-charge-storage multitime-scale coordinated control strategy is proposed. According to the needs of the hybrid energy system, we analyze the complementary potential of the hybrid energy system from the output side and analyze the response priority mechanism of the integrated energy system equipment, taking the economic cost and pollutant gas emissions as the objective function, economy, environment, and system. *is is a constrained source-load-storage multiobjective joint optimization and adjustment model, which is solved by a multi-time-scale cooperative control strategy. Finally, a calculation example is used to verify the feasibility of the proposed method and provide technical support for the coordinated and optimized operation of “source-load-storage.”


Introduction
After the industrial revolution, energy plays a crucial role in the development of a country, and it is also an important guarantee for national strategic security [1,2]. China has invested trillions of dollars in the construction of peaking power plants, but they can only meet the temporary peak electricity consumption. With the development of urbanization, to meet the growing load demand for a long time, it is necessary to adjust the source, load, and storage and make rational use of social resources. During the peak of summer, the government and grid companies have to take orderly electric utilization measures to cope with short-term spikes. erefore, how to carry out simulation optimization research on integrated energy cooperative control strategy, so as to realize the optimization of power consumption mode, improve the efficiency of electricity consumption, and achieve the coordination of power supply and demand, is the focus of future research.
Zheng et al. [3] use distributed photovoltaic sets to optimize scheduling, which can improve the economy of distributed photovoltaic power generation. Gao Hui et al. [4] propose an optimal control model for multiple interaction and coordination of source networks to cope with the uncertainty and randomness of power grid caused by distributed generation. Li et al. [5] mainly consider the characteristics of wind storage for power generation and use the method of dynamic weighting to coordinate and optimize the wind storage. Diao et al. [6] proposed a comprehensive energy coordination optimization method involving energy storage, which can effectively increase the absorption of new energy. Ou et al. [7] consider the influence of seasons on the operation of comprehensive energy, design different operation modes in different seasons, and make full use of the complementarity and coordination of source, charge, and storage. e above literatures mainly study the coordinated and optimized operation of comprehensive energy, but the factors considered in the comprehensive energy optimization are relatively single, and the coordination and complementarity of multisource operation, the optimization of multi-time-scale, and the influence of energy storage on the power grid are not comprehensively considered. In the first part of this paper, the research status of comprehensive energy is analyzed. In the second part, the complementary potential of the hybrid energy system is studied from the output side according to the demand of the hybrid energy system. In the third part of this paper, the objective function of economic cost and pollution gas emission is established. In the fourth part of the paper, the multi-time-scale cooperative control strategy is used to solve the problem. In the last part of the paper, an example is used to verify and analyze the multi-time-scale source-storage-load multiobjective joint optimization and regulation results.

Multisource Synergy and Complementarity
Potential Analysis e integrated energy system is a large-scale complex system composed of power system, natural gas system, and heating (cooling) system, which includes energy utilization and conversion equipment with large scale and different performance. At the same time, there are a large number of coupling forms of electricity, gas, and heat (cooling) in different forms on the energy supply and energy use side. Its system architecture is shown in Figure 1.
According to the demand of the hybrid energy system, the complementary potential of the hybrid energy system is studied from the output side. Based on the real-time cooling, thermal and electrical load and related output data, the output coordination, and complementarity potential of the hybrid energy consisting of cooling, thermal and electrical load were analyzed. Figure 2 shows the matching of typical daily load and output in winter. e thermal load required in typical days in winter is relatively large, while the electrical load is relatively small. From the output side, photovoltaic output gradually increases from 7°'clock to about 10 : 30, and during this period, the thermal load demand and hot water load demand are relatively high, but the electrical load demand is relatively low. erefore, in this period of time, we can make full use of photovoltaic to supply part of the charge, and the remaining part is supplied by micro-gasturbine and mains supply. e thermal load and hot water load need to be supplied by optothermal and heat pumps, CCHP systems, and regenerative boilers. Figure 3 shows the matching of typical daily load and output in summer. As can be seen from the figure, the demand for cooling energy remains high during the whole 24 hours in summer, while the electricity and hot water loads are relatively low. During the period from 17 : 00 to 5 : 00, photovoltaic basically does not function, but the hot water load during this period is relatively large, and the CCHP system, heat pump, and regenerative boiler offer this part of heat energy. e electrical load between 0 : 00 and 5 : 00 is relatively low, which also belongs to the valley period of the power grid, so the electrical load can be supplied by the mains supply. During this period, the mains supply can also be used for refrigeration and production of domestic hot water and storage for peak use.
To sum up, in an integrated energy system, energy supply can achieve a good complementary effect under different seasonal demands. When the energy supply is sufficient, the excess heat, cold, and electric energy can be stored for peak use. When cold and hot energy consumption is in the trough, energy can be stored; when the electricity consumption is low, the excess electric energy can be stored, and the thermal energy and cold energy generated during this period can also be directly supplied to the load or stored for peak use. e coordination and complementarity of cold, hot, and electric sources can minimize the use of mains supply under the premise of meeting the current load demand.

Multiobjective Joint Optimization and Regulation Model of Source-Load-Storage
Since buildings are the main energy users in the regional integrated energy system, the demand response characteristics of buildings are further added to the multiobjective joint optimization and regulation model of "source-storageload" in the regional integrated energy system, so as to further improve the economy and environmental protection of the regional integrated energy system. In the multiobjective joint optimization and regulation model of "source-storage-load," "source" represents electricity and natural gas, "storage" represents the energy storage on the demand side of the buildings and the actual energy storage system, and "Charge" represents the cooling, thermal, and electrical loads in the regional integrated energy system [8,9].

e Objective Function.
In this paper, based on the heat storage characteristics of the buildings and energy conservation, the heat balance equation of the building is obtained, which is as follows: where ρ represents air density, and the unit is 1.29 Kg/m 3 ; C represents the specific heat capacity of air, and the unit is 1.003 kJ/(kg * K); ΔQ represents indoor heat variation, and the unit is J; V represents the volume of indoor air, and the unit is m 3 ; dT in /dτ represents the rate of change of indoor temperature. e main factors that affect the internal heat of a building are cold/heat dissipation caused by indoor and outdoor temperature differences, solar heat radiation, heating of human bodies, and equipment in the building and cooling/ thermal power output of refrigeration/thermal equipment. Taking cooling in summer as an example, the above equation can be expressed as where K wall is the heat transfer coefficient of the building exterior wall, which represents the amount of heat passing through the wall in the temperature difference between indoor and outdoor for each degree per second during steady heat transfer, and the unit is W/(㎡·K); F wall is the area of building exterior wall, and the unit is m 2 ; (T out − T in ) is the temperature difference between indoor and outdoor, and the unit is°C; k wall × F wall × (T out − T in ) represents heat transfer between building exterior wall and outdoor, and the unit is J. k win is the heat transfer coefficient of the exterior windows of the building, and the unit is W/(㎡·K); F win is the area of the exterior windows of the building, and the unit is m 2 ; k win × F win × (T out − T in ) represents heat transfer between the exterior windows of the building and outdoor, and the unit is J; I is solar radiation power, representing the heat received per square meter per second when it is perpendicular to illumination, and the unit is W; SC is the shading coefficient, and its value is related to whether there are sun visors and glass materials. Q in is the heating power of indoor heat source, such as the heating of human body and electrical equipment, and   the unit is W. Q cl is the refrigeration power of the refrigeration equipment, and the unit is W; I × F win × SC represents heat transmitted by solar thermal radiation, and the unit is J.
According to the mathematical relationship between the indoor temperature of the buildings and the refrigeration power of the refrigeration equipment, the refrigeration demand of the buildings should be adjusted within a certain range due to the heat storage characteristics of the buildings. e charge-discharge power based on the demand-side energy storage model of buildings is as follows [10,11]: where Q VSS,t is the charge-discharge power of the demandside energy storage model, and the unit is W; the discharge is positive, and the charge is negative; Q ' cl, building,t is the refrigeration power demand of the building without adjusting the indoor temperature, and the unit is W; Q cl, building,t is the power requirement for building refrigeration to adjust the indoor temperature in order to maintain the temperature within the appropriate range, and the unit is W. e cost of electricity and gas purchase constitutes the economic cost of the regional comprehensive energy system. In order to improve the economy and environmental protection of the system, this paper takes the economic cost and the emission of polluted gas as the objective function, and the multiobjective function is shown as follows: where P elec,t represents the electric power required by the regional integrated energy system at time t, and the unit is W; F gas,t represents the natural gas required by the regional integrated energy system at time t, and the unit is m 3 ; C elec,t represents the power price of the grid at time t, and the unit is ¥/kWh; E elec,i,t represents the discharge of the i-th pollutant gas from the power grid at time t, and the unit is m 3 ; C gas,t is the price of natural gas at time t, and the unit is ¥/kWh; N is the type of gas emitted from power grid, including CO 2 , CO, SO 2 , and nitrogen oxides. e elec,i is the emission factor of the i-th pollution gas in the power grid; E EC,j,t is the discharge of the j-th CCHP pollution gas at time t, and the unit is m 3 ; n represents the number of CCHP in the regional integrated energy system; L h,j,t represents the thermal charge of the j-th CCHP at time t, and the unit is kWh; χ EC,j represents the emission factor of the j-th CCHP pollution gas.

e Constraint.
In addition to pursuing the maximum economic benefit of the system, the mixed energy system should also consider the atmospheric pollution caused by carbon dioxide and other gases, the capacity and efficiency limits of the energy supply and consumption equipment, and the operating limits of the electric/thermal system. erefore, three constraints, that is, economy, environment, and system, need to be considered in this paper [12,13]:

Economic
Constraint. An allowable value of economic constraint was set in this paper, so that the sum of operation cost, equipment maintenance cost, operation cost, electricity purchase cost, and gas purchase cost is not greater than this set value.
ξ Fuel , ξ Om , ξ Grid , F max , respectively, represent the maximum allowable sum of operation cost, equipment maintenance cost, operation cost, electricity purchase cost, and gas purchase cost, and the unit is ¥.

Environmental Constraints.
e environmental constraints considered in this paper include emission constraint and carbon tax constraint. e emission of carbon dioxide, sulfur dioxide, and nitrogen oxides shall be less than or equal to the maximum allowable emission value.
where E max CO 2 is the maximum allowable value of carbon dioxide discharge, and the unit is m 3 ; E max SO 2 is the maximum allowable value of sulfur dioxide discharge, and the unit is m 3 ; E max N X O is the maximum allowable value of nitrogen discharge, and the unit is m 3 . e quantity of electricity purchased shall be less than or equal to the maximum allowable value of electricity purchase cost, and the quantity of gas purchased shall be less than or equal to the maximum allowable value of carbon tax cost.
where F F max is the maximum allowable value of electricity purchase cost, and the unit is ¥; F G max is the maximum allowable of carbon tax cost, and the unit is ¥.

System Constraints.
e supply and demand balance constraint of electric/heat/cold is considered in this paper. Under the coordination of electricity storage, heat storage, and cold storage devices, the balance between electricity production and electricity consumption should be guaranteed within the energy station and the whole park, at the same time, to ensure the balance of the heat production and heat consumption and the balance of the cold production and cold consumption.
Electrical power constraints: ermal power constraints: Cold power constraints: where p IN t,j,n p and h IN t,j,n h are, respectively, the heat consumed by the n p -th power-cold conversion equipment and the electricity consumed by the n h -th heat-cold conversion equipment in the energy station j at time t, and the unit is J; p L t,j , h L t,j , c L t,j , respectively, represent the electrical, thermal, and cooling loads of energy station j at time t, and the unit is kWh; P Buy t,j is the net electric quantity purchased at time t and is the difference between electric quantity purchased and electric quantity sold, and the unit is kWh; p OUT t,j,m p , h OUT t,j,m h , c OUT t,j,m c are, respectively, the output power of the m p -th generating unit, the m h -th generating unit, and the m c -th generating unit in the energy station j at time t, and the unit is kWh; P di s t,j , H di s t,j , C di s t,j are, respectively, the net discharge power, net heat release power, and net cold release power of the energy storage unit of the energy station at time t, and the unit is kWh.
where p di s t,j , p ch t,j , respectively, represent the discharge and discharge power of the storage unit in the energy station j at time t, and the unit is kWh; h di s t,j , h ch t,j represent the heat release and charging power of the heat storage unit in the energy station j at time t, and the unit is kWh; c di s t,j , c ch t,j represent the cold release and charging power of the cold storage unit in the energy station j at time t, and the unit is kWh; x p di s t,j , x pch t,j ∈ 0, 1 { } is the scheduling factor and denotes whether the storage equipment in the energy station j at time t is discharging or charging; x h di s t,j , x hch t,j , respectively, denote whether the heat storage device in the energy station j at time t is heat release or heat charge; x c di s t,j , x cch t,j denote whether the cold storage equipment in the energy station j at time t is cold release or cold charge.

Multi-Time-Scale Cooperative
Control Strategy e multi-time-scale cooperative control strategy includes two stages: day-ahead economic optimization scheduling and daytime real-time correction. In order to effectively schedule the demand-side response capability system to participate in daytime correction, a two-layer daytime correction algorithm is proposed, which includes upper scheduling and lower management. e flow chart is shown in Figure 4. e specific process is as follows [14,15]: (1) System initialization: e optimization goal and scheduling cycle are set according to the actual regional integrated energy system, the user demands, and electric energy storage thermal energy storage system operation constraints. e optimization objective of day-ahead dispatching is the minimum of the operation cost of regional integrated energy system. In the daytime correction, the tie-line power command in the tracking day-ahead scheduling is set as the optimization target.
(2) Day-ahead scheduling: Day-ahead scheduling plan is generated by solving the day-ahead optimization scheduling model according to the day-ahead forecast results of regional comprehensive energy system load, renewable energy output, outdoor environment, and heat from indoor heat source; (3) Update system status: Update system status according to daytime measured data (system load of Mathematical Problems in Engineering regional comprehensive energy system, output of renewable energy, outdoor environment, and heat from indoor heat source); (4) Daytime correction: e charge and discharge management of the demand-side response ability is realized by adjusting the indoor temperature of the buildings within the comfortable range of the indoor temperature of the building; in addition, the dispatching is carried out within the schedulable capacity of electric and thermal energy storage systems. us, the hybrid cold, hot, and electric energy storage system can be fully scheduled to track the set value of the tie line given by day-ahead dispatching and achieve the goal of suppressing the power fluctuation of the tie line.

Example Analysis
Taking summer refrigeration scenario as an example, the "source-storage-charge" multiobjective joint optimization regulation of typical CCHP system is studied in this paper. In this paper, the building in the regional comprehensive energy system is set as a single-family office building, with a length of 30m, a width of 20 m, and a height of 3 m, a total of three floors. 190 mm single row hole bricklaying is adopted for the external wall of the building, and 25 mm thermal insulation mortar is used for the inside and outside. e windows are PVC plastic windows, and the glass is ordinary insulating glass. Considering the angle relationship between the direct direction of the sun and the exterior windows of the building, part of the exterior windows being back to the sun and the shading coefficient of the glass, air density ρ and air specific heat capacity ratio C are, respectively, 1.2 kg/m3 and 1000 J/(kg°C). Assume that the user's office hours are from 8 : 00 to 20 : 00. Real-time electricity prices are shown in Figure 5. e price of electricity in the figure is the price of electricity purchased from the grid, and the price of electricity sold is multiplied by a certain coefficient, which is 0.8 in this paper.
start Day-ahead scheduling The minimum operation cost of regional integrated energy system is the scheduling objective  Figure 4: Multi-time-scale cooperative control strategy of hybrid energy storage system. 6 Mathematical Problems in Engineering e multi-time-scale optimization scheduling analysis of the CCHP supply system in Figure 6 was carried out on the day before and day after. Assume that the user's office time is from 8 : 00 to 20 : 00. A typical daily photovoltaic prediction/ measured curve, daily conventional electricity consumption (excluding refrigeration power consumption) prediction/ measured curve, and heat source prediction/measured curve in the building are shown in Figure 7.
In the scheduling plan, it is assumed that the user can accept the temperature fluctuation within the range of plus or minus 2.5°C during working time, and the user's set temperature is 22.5°C. ere is no requirement for indoor temperature during nonworking time. e day-ahead optimization scheduling results of the regional integrated energy system with cold and heat sources and energy storage are shown in Figures 8 and 9.
In order to verify the effect of the proposed multi-time scale optimization scheduling method on suppressing the power fluctuation of the tie line, two comparison scenarios are set as follows: Scenario 1: According to the day-ahead scheduling plan, the system is modified in real-time during the day. In Scenario 1, the hybrid energy storage system of cold, heat, and electric does not participate in the daytime real-time correction. When there is a shortage of electric/cold power caused by the day-ahead prediction error in the system, all of them take electric energy as supplementary energy. e tieline power of daytime scheduling in this scenario is shown in Figure 10.
Scenario 2: According to the day-ahead scheduling plan and considering the participation of the hybrid energy storage system of cold, heat, and electric in the daytime correction, the power results of the microgrid tie line are shown in Figure 10.
By comparing Scenario 1 and Scenario 2, it is obvious that the tie-line power tracking effect of Scenario 2 is better than that of Scenario 1 after participating in the daytime correction by scheduling the charging and discharging power of the hybrid cold, hot, and electric energy storage system, thus reducing the tie-line power fluctuation of the   Outdoor temperature (day-ahead forecast) Light intensity (day-ahead forecast)          Mathematical Problems in Engineering 9