CN115549111A - A microgrid-oriented temperature-controlled load cluster control method, system and medium - Google Patents

A microgrid-oriented temperature-controlled load cluster control method, system and medium Download PDF

Info

Publication number
CN115549111A
CN115549111A CN202211217777.4A CN202211217777A CN115549111A CN 115549111 A CN115549111 A CN 115549111A CN 202211217777 A CN202211217777 A CN 202211217777A CN 115549111 A CN115549111 A CN 115549111A
Authority
CN
China
Prior art keywords
load
temperature
temperature control
power
scheduling
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
CN202211217777.4A
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.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
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 Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN202211217777.4A priority Critical patent/CN115549111A/en
Publication of CN115549111A publication Critical patent/CN115549111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/12Circuit arrangements for AC mains or AC distribution networks for adjusting voltage in AC networks by changing a characteristic of the network load
    • H02J3/14Circuit arrangements for AC mains or AC distribution networks for adjusting voltage in AC networks by changing a characteristic of the network load by switching loads on to, or off from, network, e.g. progressively balanced loading
    • H02J3/144Demand-response operation of the power transmission or distribution network
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/24Arrangements for preventing or reducing oscillations of power in networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/22The renewable source being solar energy
    • H02J2300/24The renewable source being solar energy of photovoltaic origin

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a temperature control load cluster control method, a system and a medium facing a micro-grid, wherein the method comprises the steps of collecting load electricity consumption and photovoltaic output of the micro-grid at the current moment, and calculating the total scheduling power of all temperature control loads by combining scheduling requirements; and aiming at an upper-layer object containing a plurality of temperature control loads, calculating a scheduling power increment required to be provided in the next control period based on the total scheduling power of the temperature control loads, calculating the scheduling power of each temperature control load according to the scheduling power increment, and realizing consensus control on temperature control load clusters in the same upper-layer object. The method can respond to the step scheduling signal of the main network, stabilize the power fluctuation of photovoltaic power generation and loads, simultaneously realize the consensus control aiming at temperature control load clusters in different upper-layer objects (such as buildings), relieve the communication pressure of a micro-grid system, optimize the distribution of scheduling power among the buildings by considering the difference of various building parameters, and effectively avoid the off-line of a comfortable state.

Description

一种面向微电网的温控负荷集群控制方法、系统及介质A microgrid-oriented temperature-controlled load cluster control method, system and medium

技术领域technical field

本发明属于温控负荷(Thermostatically Controlled Loads,TCL)的调控领域,具体涉及一种面向微电网的温控负荷集群控制方法、系统及介质。The invention belongs to the field of regulation and control of thermostatically controlled loads (TCL), and in particular relates to a microgrid-oriented temperature-controlled load cluster control method, system and medium.

背景技术Background technique

在微电网中采用可再生能源发电可以缓解能源和环境问题。然而,可再生能源发电的间歇性和不确定性限制了其消纳能力,如果不加以控制会给主网带来不小的冲击。采用蓄电池和超级电容等储能装置是平抑功率波动的有效方法,但储能装置的老化损耗会影响其调度性能,同时加大微电网的运行开支。在房间装设空调负荷就组成了一个温控负荷(Thermostatically Controlled Loads,简称TCL)。随着TCL数量的增加,在总负荷的占比增大,通过采用合适的控制策略可以有效平抑微电网的功率波动,满足主网的调度要求。单个TCL对系统的影响较小,要实现功率的调控需要聚集大量的TCL群体。Adoption of renewable energy generation in microgrids can alleviate energy and environmental issues. However, the intermittence and uncertainty of renewable energy power generation limit its absorption capacity, and if it is not controlled, it will bring a lot of impact to the main grid. The use of energy storage devices such as batteries and supercapacitors is an effective way to stabilize power fluctuations, but the aging loss of energy storage devices will affect its dispatching performance, and at the same time increase the operating expenses of the microgrid. Installing an air-conditioning load in a room constitutes a thermostatically controlled load (TCL for short). As the number of TCLs increases, the proportion of the total load increases. By adopting an appropriate control strategy, the power fluctuation of the microgrid can be effectively stabilized and the dispatching requirements of the main grid can be met. A single TCL has little impact on the system, and a large number of TCL groups need to be gathered to achieve power regulation.

目前已有的TCL集群控制方法是基于温度的状态排队方法和基于智能算法的调控方法。基于温度的状态排队方法以当前温度和温度上限的距离作为优先级来设置TCL控制顺序,从而保证了用户的舒适度。通过对TCL的温度设定点进行动态调整,可进一步解决状态排队算法下部分TCL的频繁启停问题,降低调度对TCL寿命的影响。基于智能算法的调控方法则将TCL的集群控制被表述为一个非线性编程问题,通过智能算法来对各TCL进行调控,该方法具有较高的计算精度。然而,这些集群控制方法只能控制具有相同的设定温度的TCL,没有考虑微电网内TCL和建筑物的参数异质性问题。另外,这些方法对于空间分布较广的大规模系统会有很大的计算和通信压力。二维状态序列建模方法是解决参数异质性的有效方法,通过温度变化率信息的引入可以反应异质参数,该方法虽然降低了计算量,但没有通过等效热参数模型来准确描述TCL的状态。而且,随着变频空调(Variable FrequencyAir Conditioners,VFAC)普及,VFAC参与调度的控制方法有待进一步研究,现有的TCL集群控制方法主要关注调度功率在负荷之间的配置,用户舒适度通常被用作控制的限制条件,没有实现各个TCL之间的公平分配。The existing TCL cluster control methods are temperature-based state queuing method and intelligent algorithm-based control method. The temperature-based state queuing method takes the distance between the current temperature and the temperature upper limit as the priority to set the TCL control sequence, thus ensuring the user's comfort. By dynamically adjusting the temperature set point of the TCL, the problem of frequent start and stop of some TCLs under the state queuing algorithm can be further solved, and the impact of scheduling on the life of the TCL can be reduced. The control method based on intelligent algorithm expresses the cluster control of TCL as a non-linear programming problem, and regulates each TCL through intelligent algorithm, which has high calculation accuracy. However, these cluster control methods can only control TCLs with the same set temperature, without considering the parameter heterogeneity of TCLs and buildings within the microgrid. In addition, these methods will have great computational and communication pressure for large-scale systems with wide spatial distribution. The two-dimensional state sequence modeling method is an effective method to solve parameter heterogeneity. The introduction of temperature change rate information can reflect heterogeneous parameters. Although this method reduces the amount of calculation, it does not accurately describe TCL through the equivalent thermal parameter model. status. Moreover, with the popularization of Variable Frequency Air Conditioners (VFAC), the control method of VFAC participating in dispatching needs to be further studied. The existing TCL cluster control method mainly focuses on the configuration of dispatching power between loads, and user comfort is usually used as The constraints of the control do not achieve a fair distribution among the various TCLs.

发明内容Contents of the invention

本发明要解决的技术问题:针对现有技术的上述问题,提供一种面向微电网的温控负荷集群控制方法、系统及介质,本发明能够在响应主网的阶跃调度信号,平抑光伏发电和负荷的功率波动的同时,能够实现建筑物内TCL功率偏移和舒适度两参数的共识性控制,在部分建筑和TCL接入接出、各空调负荷设定温度不同和建筑物间参数不同三种情况下仍能完成调度,而且本发明能缓解微电网系统的通信压力,并能通过考虑各建筑参数的区别优化了建筑物间调度功率的分配,有效避免舒适状态越线。The technical problem to be solved by the present invention: Aiming at the above-mentioned problems of the prior art, a microgrid-oriented temperature-controlled load cluster control method, system and medium are provided. The present invention can respond to the step dispatching signal of the main network and stabilize photovoltaic power generation At the same time as the power fluctuation of the load, it can realize the consensus control of the two parameters of TCL power offset and comfort in the building. In some buildings and TCL access, the temperature setting of each air-conditioning load is different, and the parameters between buildings are different. Scheduling can still be completed under the three conditions, and the present invention can alleviate the communication pressure of the microgrid system, and can optimize the distribution of dispatching power among buildings by considering the differences of various building parameters, effectively avoiding crossing the line in a comfortable state.

为了解决上述技术问题,本发明采用的技术方案为:In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:

一种面向微电网的温控负荷集群控制方法,包括:A microgrid-oriented temperature control load cluster control method, comprising:

S1,收集微电网在当前时刻t的负荷用电Pload(t)和光伏出力Ppv(t),初始化时间Δt为0;S1, collect the load power P load (t) and photovoltaic output P pv (t) of the microgrid at the current moment t, and the initialization time Δt is 0;

S2,根据负荷用电Pload(t)、光伏出力Ppv(t)及调度要求计算所有温控负荷总调度功率Preq(t);S2, calculate the total scheduling power P req (t) of all temperature-controlled loads according to the load power consumption P load (t), photovoltaic output P pv (t) and scheduling requirements;

S3,分别针对包含多个温控负荷的上层对象,基于温控负荷总调度功率Preq(t)计算上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts);S3, for the upper-level objects containing multiple temperature-controlled loads, calculate the dispatching power increment ΔP L (t+Δt s ) that the upper-level object L needs to provide in the next control cycle based on the total dispatched power P req (t) of the temperature-controlled loads;

S4,针对各个上层对象中的温控负荷,分别根据对应的上层对象下一控制周期需提供的调度功率增量ΔPL(t+Δts)计算各温控负荷的调度功率并实现对同一上层对象内温控负荷集群的共识性控制;S4. For the temperature-controlled loads in each upper-level object, calculate the dispatching power of each temperature-controlled load according to the dispatching power increment ΔP L (t+Δt s ) that the corresponding upper-level object needs to provide in the next control cycle, and realize the same upper-level Consensus control of the temperature control load cluster within the object;

S5,将时间Δt加上下层控制的时间间隔Δts,若新的时间Δt等于预设的负荷和光伏数据采集时间间隔Δtc,则跳转步骤S6,否则跳转步骤S2;S5, add the time Δt to the time interval Δt s controlled by the lower layer, if the new time Δt is equal to the preset load and photovoltaic data collection time interval Δt c , then go to step S6, otherwise go to step S2;

S6,判断调度是否结束,若调度结束则结束并退出;否则,跳转步骤S1。S6, judge whether the scheduling is over, if the scheduling is over, end and exit; otherwise, skip to step S1.

可选地,步骤S2中计算温控负荷调度功率Preq(t)的函数表达式为:Optionally, the functional expression for calculating the temperature-controlled load scheduling power P req (t) in step S2 is:

Preq(t)=Ppv(t)-Pdreq(t)-Pload(t)-PTCL(t),P req (t) = P pv (t) - P dreq (t) - P load (t) - P TCL (t),

上式中,Pdreq(t)为调度要求的输出功率,PTCL(t)为温控负荷集群消耗的功率总和。In the above formula, P dreq (t) is the output power required by scheduling, and P TCL (t) is the sum of power consumed by the temperature-controlled load cluster.

可选地,步骤S3中计算上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts)包括:Optionally, the calculation of the scheduled power increment ΔP L (t+Δt s ) to be provided by the upper-level object L in the next control cycle in step S3 includes:

首先,计算上层对象L在t+td时刻的调度功率PL(t+td):First, calculate the scheduling power P L (t+t d ) of the upper-level object L at time t+t d :

Figure BDA0003876083540000021
Figure BDA0003876083540000021

上式中,下标L和M均为上层对象的编号,所述上层对象直接通过聚合器与微电网相连或者通过其他上层对象间接与微电网相连,ΔPL(t+td)为上层对象L在t+td时刻的调度功率增量,td为上层对象的单次更新时间,w表示耦合系数,Nbc为上层对象的数量,cLM为上层对象L和上层对象M之间是否有通信联系的相关系数,相关系数cLM取值为1或0;PM(t)为上层对象M在t时刻所需提供的调度功率,PL(t)为上层对象L在t时刻所需提供的调度功率,qL为上层对象是否直接连接聚合器的牵制系数,牵制系数qL取值为1或0;Preq(t)为t时刻的所有温控负荷总调度功率,PL(t+td)为上层对象L在t+td时刻的所需提供的调度功率,PL-max和PL-min分别表示上层对象L所能提供的最大和最小调度功率,βL表示牵制共识系数,αML为调度能力比例系数,且有Δts=2tdIn the above formula, the subscripts L and M are the numbers of the upper-level objects. The upper-level objects are directly connected to the microgrid through the aggregator or indirectly connected to the microgrid through other upper-level objects. ΔP L (t+t d ) is the upper-level object The scheduling power increment of L at time t+t d , t d is the single update time of the upper-layer object, w is the coupling coefficient, N bc is the number of upper-layer objects, c LM is whether the relationship between the upper-layer object L and the upper-layer object M is Correlation coefficient with communication connection, the value of correlation coefficient c LM is 1 or 0; P M (t) is the scheduling power that the upper object M needs to provide at time t, and P L (t) is the scheduling power required by the upper object L at time t. The scheduling power to be provided, q L is the pinning coefficient of whether the upper object is directly connected to the aggregator, the pinning coefficient q L takes the value of 1 or 0; P req (t) is the total scheduling power of all temperature-controlled loads at time t, P L (t+t d ) is the scheduling power required by the upper-layer object L at the time t+t d , PL-max and PL-min respectively represent the maximum and minimum scheduling power that the upper-layer object L can provide, β L Indicates the pinning consensus coefficient, α ML is the scheduling capacity proportional coefficient, and Δt s = 2t d ;

然后,将作为t+td作为新的当前时刻t,再重新计算一遍上层对象L在t+td时刻的调度功率PL(t+td)并作为上层对象L在下一控制周期需提供的调度功率PL(t+Δts);Then, take t+t d as the new current time t, recalculate the scheduled power PL (t+t d ) of the upper-level object L at the time t+t d , and use it as the upper-level object L to provide in the next control cycle The scheduling power P L (t+Δt s );

最后,根据下式计算得到上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts):Finally, the scheduling power increment ΔP L (t+Δt s ) that the upper-level object L needs to provide in the next control cycle is calculated according to the following formula:

ΔPL(t+Δts)=PL(t+Δts)-PL(t),ΔP L (t+Δt s )=P L (t+Δt s )-P L (t),

上式中,PL(t)为上层对象L在t时刻所需提供的调度功率。In the above formula, PL (t) is the scheduling power that the upper object L needs to provide at time t.

可选地,所述上层对象为建筑物,且一个建筑物对应一个上层对象,且牵制共识系数以及调度能力比例系数的计算函数表达式为:Optionally, the upper-level object is a building, and one building corresponds to one upper-level object, and the calculation function expressions of the diversion consensus coefficient and the dispatching capacity ratio coefficient are:

Figure BDA0003876083540000031
Figure BDA0003876083540000031

上式中,βL表示牵制共识系数,αML为调度能力比例系数,NL和NM表示上层对象L和上层对象M参与调度的温控负荷数量,

Figure BDA0003876083540000032
表示温控负荷的平均高功率,RL和ηL分别表示上层对象L的等效热阻和热系数,RM和ηM分别表示上层对象M的等效热阻和热系数,N1~NNbc分别表示上层对象1~Nbc参与调度的温控负荷数量,R1~RNbc分别表示上层对象1~Nbc的等效热阻,η1~ηNbc分别表示上层对象1~Nbc的热系数。In the above formula, β L represents the pinning consensus coefficient, α ML is the dispatching capacity proportional coefficient, N L and N M represent the number of temperature-controlled loads that the upper-layer object L and the upper-layer object M participate in scheduling,
Figure BDA0003876083540000032
Indicates the average high power of the temperature control load, R L and η L represent the equivalent thermal resistance and thermal coefficient of the upper object L respectively, R M and η M represent the equivalent thermal resistance and thermal coefficient of the upper object M respectively, N 1 ~ N Nbc respectively represent the number of temperature-controlled loads involved in the scheduling of upper-layer objects 1 to N bc , R 1 to R Nbc represent the equivalent thermal resistance of upper-layer objects 1 to N bc , and η 1 to η Nbc represent the upper-layer objects 1 to N bc thermal coefficient.

可选地,步骤S1之前还包括为单个温控负荷建立下式所示的状态空间模型:Optionally, before step S1, it also includes establishing a state space model shown in the following formula for a single temperature control load:

Figure BDA0003876083540000033
Figure BDA0003876083540000033

上式中,

Figure BDA0003876083540000034
为第i个温控负荷的状态变量xi(t)=[γi(t);βi(t)]的一阶导数,γi(t)为第i个温控负荷的温控负荷功率,βi(t)为第i个温控负荷的用户舒适度,A和B为系统状态矩阵,W为常数矩阵,ui(t)为第i个温控负荷的控制变量,下标i为表示第i个温控负荷,且控制变量ui(t)采用额定功率百分比变化量,且有:In the above formula,
Figure BDA0003876083540000034
is the first derivative of the state variable x i (t)=[γ i (t); β i (t)] of the i-th temperature-controlled load, and γ i (t) is the temperature-controlled load of the i-th temperature-controlled load power, β i (t) is the user comfort of the i-th temperature-controlled load, A and B are system state matrices, W is a constant matrix, u i (t) is the control variable of the i-th temperature-controlled load, subscript i represents the i-th temperature control load, and the control variable u i (t) adopts the percentage change of rated power, and there are:

γi(t)=αi(t)-αsγ i (t) = α i (t) - α s ,

Figure BDA0003876083540000035
Figure BDA0003876083540000035

Figure BDA0003876083540000036
Figure BDA0003876083540000036

上式中,αi(t)表示t时刻第i个温控负荷的功率占额定功率的百分比,αs表示温度为用户设定值Ts时对应的额定功率百分比,Ti(t)为t时刻第i个温控负荷稳定运行的时温度,ΔT为温度偏离容忍度,η表示变频空调的热系数,

Figure BDA0003876083540000041
为额定功率,Cth和Rth分别表示建筑物的热容与热阻;步骤S4包括:In the above formula, α i (t) represents the percentage of the power of the i-th temperature-controlled load to the rated power at time t, and α s represents the corresponding percentage of rated power when the temperature is the user’s set value T s , T i (t) is The temperature when the i-th temperature-controlled load runs stably at time t, ΔT is the temperature deviation tolerance, η is the thermal coefficient of the inverter air conditioner,
Figure BDA0003876083540000041
is the rated power, C th and R th represent the thermal capacity and thermal resistance of the building respectively; Step S4 includes:

S4.1,根据上层对象中N个温控负荷的通信拓扑构成内度矩阵D=diag{d1,d2,…,dN}∈RN×N,其中,d1,d2,…,dN为第1~N个温控负荷的内度,RN×N为维度,内度的计算函数表达式为:S4.1, according to the communication topology of N temperature-controlled loads in the upper object, construct the degree matrix D=diag{d 1 ,d 2 ,…,d N }∈R N×N , where d 1 ,d 2 ,… ,d N is the inner degree of the 1st to N temperature control loads, R N×N is the dimension, and the calculation function expression of the inner degree is:

Figure BDA0003876083540000042
Figure BDA0003876083540000042

上式中,di为第i个温控负荷的内度,aij为第i个温控负荷与第j个温控负荷的有无通信连接状态,有无通信连接状态取值为1或0;根据上层对象中N个温控负荷的通信拓扑构建邻接矩阵为M=[aij]∈RN×N,并根据下式构建拉普拉斯矩阵L={lij}∈RN×NIn the above formula, d i is the internal degree of the i-th temperature-controlled load, and a ij is the communication connection status between the i-th temperature-controlled load and the j-th temperature-controlled load, and the value of whether the communication connection status is 1 or 0; Construct the adjacency matrix M=[a ij ]∈R N×N according to the communication topology of N temperature-controlled loads in the upper object, and construct the Laplacian matrix L={l ij }∈R according to the following formula N :

L=D-M,L=D-M,

上式中,D为内度矩阵,M为邻接矩阵,lij为第i个温控负荷与第j个温控负荷的拉普拉斯算子值;In the above formula, D is the inner degree matrix, M is the adjacency matrix, l ij is the Laplacian value of the i-th temperature control load and the j-th temperature control load;

S4.2,根据上层对象下一控制周期需提供的调度功率增量ΔPL(t+Δts)根据下式确定每一个温控负荷接受控制器的调度信息;S4.2, according to the scheduling power increment ΔP L (t+Δt s ) to be provided by the upper object in the next control cycle, determine the scheduling information of each temperature-controlled load receiving controller according to the following formula;

Figure BDA0003876083540000043
Figure BDA0003876083540000043

上式中,Δxi(t)为第i个温控负荷在t时刻接受控制器的调度信息,k1为和控制器直接连接的温控负荷数量,

Figure BDA0003876083540000044
为温控负荷的平均功率,Δts为下层控制的时间间隔,qi为第i个温控负荷的控制系数,若第i个温控负荷和控制器有通信直接连接则有qi=1,反之qi=0;In the above formula, Δx i (t) is the scheduling information that the i-th temperature-controlled load receives from the controller at time t, k 1 is the number of temperature-controlled loads directly connected to the controller,
Figure BDA0003876083540000044
is the average power of the temperature-controlled load, Δt s is the time interval of lower-level control, q i is the control coefficient of the i-th temperature-controlled load, and if the i-th temperature-controlled load has a direct communication connection with the controller, then q i =1 , otherwise q i =0;

S4.3,确定有通信连接的温控负荷之间的状态是相对可用的,且采用的分布式静态共识协议控制的函数表达式如下式所示:S4.3, determine that the state between the temperature control loads with communication connections is relatively available, and the function expression of the distributed static consensus protocol control is as follows:

Figure BDA0003876083540000045
Figure BDA0003876083540000045

上式中,ui(t)为在t时刻的控制变量,c为大于0的耦合系数,L′∈R1×2表示反馈增益矩阵,R1×2表示维度,xi(t)为第i个温控负荷的状态变量,aij为第i个温控负荷与第j个温控负荷的有无通信连接状态,xj(t)为第j个温控负荷的状态变量,Δxi(t)为第i个温控负荷接受控制器的调度信息;将所述分布式静态共识协议控制的函数表达式代入单个温控负荷的状态空间模型得到第i个温控负荷的调控模型:In the above formula, u i (t) is the control variable at time t, c is the coupling coefficient greater than 0, L′∈R 1×2 represents the feedback gain matrix, R 1×2 represents the dimension, and xi (t) is The state variable of the i-th temperature-controlled load, a ij is the status of communication connection between the i-th temperature-controlled load and the j-th temperature-controlled load, x j (t) is the state variable of the j-th temperature-controlled load, Δx i (t) is the scheduling information of the i-th temperature-controlled load receiving controller; the function expression controlled by the distributed static consensus protocol is substituted into the state-space model of a single temperature-controlled load to obtain the regulation model of the i-th temperature-controlled load :

Figure BDA0003876083540000046
Figure BDA0003876083540000046

上式中,lij为第i个温控负荷与第j个温控负荷的拉普拉斯算子值,Δxj(t)为第j个温控负荷接受控制器的调度信息;In the above formula, l ij is the Laplacian value of the i-th temperature-controlled load and the j-th temperature-controlled load, and Δx j (t) is the scheduling information of the j-th temperature-controlled load receiving controller;

S4.4,确定反馈增益矩阵L′和耦合系数c,并将确定的反馈增益矩阵L′和耦合系数c代入各个温控负荷的调控模型以控制各个温控负荷的状态。S4.4. Determine the feedback gain matrix L' and the coupling coefficient c, and substitute the determined feedback gain matrix L' and the coupling coefficient c into the regulation model of each temperature-controlled load to control the state of each temperature-controlled load.

可选地,步骤S4.4中确定反馈增益矩阵L′包括:Optionally, determining the feedback gain matrix L' in step S4.4 includes:

S101,找出下式所示线性矩阵不等式在P>0时的解:S101, find out the solution of the linear matrix inequality shown in the following formula when P>0:

AP+PAT-2BBT<0,AP+PA T -2BB T <0,

上式中,A和B为系统状态矩阵,P为线性矩阵不等式的解;In the above formula, A and B are system state matrices, and P is the solution of linear matrix inequality;

S102,根据下式计算反馈增益矩阵L′:S102, calculate the feedback gain matrix L' according to the following formula:

L′=-BTP-1L'=-B T P -1 ,

上式中,P为线性矩阵不等式的解。In the above formula, P is the solution of the linear matrix inequality.

可选地,步骤S4.4中确定耦合系数c包括:Optionally, determining the coupling coefficient c in step S4.4 includes:

S201,确定上层对象中各个温控负荷的状态变量达成共识的条件为矩阵A+cλiBL′是赫尔维茨矩阵,且矩阵A+cλiBL′的特征多项式det(sI-(A+σBL′))稳定,其中λi是拉普拉斯矩阵L的非零特征值,s为矩阵A+cλiBL′的特征值,I为二阶单位矩阵,A和B为系统状态矩阵,σ为耦合系数c和特征值λi的乘积,L′为反馈增益矩阵,且有σ=cλi=x+jy,其中x,y分别为实轴和虚轴的坐标,j为虚数单位;S201, the condition for determining the state variables of each temperature control load in the upper object to reach a consensus is that the matrix A+cλ i BL′ is a Hurwitz matrix , and the characteristic polynomial det(sI-(A+ σBL′)) is stable, where λ i is the non-zero eigenvalue of the Laplacian matrix L, s is the eigenvalue of the matrix A+cλ i BL′, I is the second-order identity matrix, A and B are the system state matrices, σ is the product of the coupling coefficient c and the eigenvalue λ i , L' is the feedback gain matrix, and σ=cλ i =x+jy, where x and y are the coordinates of the real axis and the imaginary axis respectively, and j is the imaginary unit;

S202,根据矩阵A+cλiBL′的特征值s建立下式所示的复系数多项式p(s):S202, according to the eigenvalue s of matrix A+cλ i BL′, the complex coefficient polynomial p(s) shown in the following formula is established:

p(s)=s2+(a+jb)s+e+jd,p(s)=s2 + (a+jb)s+e+jd,

上式中,a、b、d和e均为多项式系数,j为虚数单位,且有a,b,e∈R,其中R为实数;In the above formula, a, b, d and e are polynomial coefficients, j is an imaginary number unit, and there are a, b, e∈R, where R is a real number;

S203,根据复系数多项式p(s)的稳定的充要条件a>0且abd+a2e-d2>0,确定耦合系数c的取值范围,从而在该取值范围中确定耦合系数c的值。S203, according to the stable necessary and sufficient conditions of the complex coefficient polynomial p(s) a>0 and abd+a 2 ed 2 >0, determine the value range of the coupling coefficient c, so as to determine the value of the coupling coefficient c in this value range value.

可选地,步骤S4.4中将确定的反馈增益矩阵L′和耦合系数c代入各个温控负荷的调控模型以控制各个温控负荷的状态后,任意第i个温控负荷在每次调控后状态变量为:Optionally, in step S4.4, after substituting the determined feedback gain matrix L' and coupling coefficient c into the regulation model of each temperature-controlled load to control the state of each temperature-controlled load, any i-th temperature-controlled load is The post state variables are:

Figure BDA0003876083540000051
Figure BDA0003876083540000051

上式中,xi(t+Δts)为调控后状态变量,xi(t)为第i个温控负荷的状态变量,

Figure BDA0003876083540000052
为第i个温控负荷的状态变量的一阶导数,Δts为下层控制的时间间隔。In the above formula, x i (t+Δt s ) is the state variable after regulation, and x i (t) is the state variable of the i-th temperature control load,
Figure BDA0003876083540000052
is the first derivative of the state variable of the i-th temperature-controlled load, and Δt s is the time interval of the lower layer control.

此外,本发明还提供一种面向微电网的温控负荷集群控制系统,包括相互连接的微处理器和存储器,所述微处理器被编程或配置以执行所述面向微电网的温控负荷集群控制方法。In addition, the present invention also provides a microgrid-oriented temperature-controlled load cluster control system, including an interconnected microprocessor and a memory, and the microprocessor is programmed or configured to execute the micro-grid-oriented temperature-controlled load cluster Control Method.

此外,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序用于被微处理器编程或配置以执行所述面向微电网的温控负荷集群控制方法。In addition, the present invention also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is used to be programmed or configured by a microprocessor to perform the microgrid-oriented temperature control Load cluster control method.

和现有技术相比,本发明主要具有下述优点:本发明包括收集微电网在当前时刻的负荷用电和光伏出力,结合调度要求计算所有温控负荷总调度功率;针对包含多个温控负荷的上层对象,基于温控负荷总调度功率计算下一控制周期需提供的调度功率增量,并以此计算各温控负荷的调度功率并实现对同一上层对象内温控负荷集群的共识性控制。本发明能够在响应主网的阶跃调度信号,平抑光伏发电和负荷的功率波动的同时,实现针对不同上层对象(例如建筑物)内温控负荷集群的共识性控制,能缓解微电网系统的通信压力,并能通过考虑各建筑参数的区别优化了建筑物间调度功率的分配,有效避免舒适状态越线。Compared with the prior art, the present invention mainly has the following advantages: the present invention includes collecting the load power consumption and photovoltaic output of the microgrid at the current moment, and calculating the total dispatching power of all temperature-controlled loads in combination with dispatching requirements; The upper-level object of the load calculates the dispatching power increment to be provided in the next control cycle based on the total dispatching power of the temperature-controlled load, and calculates the dispatching power of each temperature-controlled load based on this to achieve consensus on the temperature-controlled load cluster in the same upper-level object control. The present invention can respond to the step dispatching signal of the main network, stabilize the power fluctuation of photovoltaic power generation and load, and at the same time realize the consensus control of temperature-controlled load clusters in different upper-level objects (such as buildings), and can alleviate the problems of the micro-grid system. Communication pressure, and by considering the difference of various building parameters, it can optimize the distribution of dispatching power among buildings, effectively avoiding crossing the line in comfort state.

附图说明Description of drawings

图1为本发明实施例一方法的基本流程示意图。Fig. 1 is a schematic flow chart of the basic method of the first embodiment of the present invention.

图2为本发明实施例一中的分层控制原理示意图。Fig. 2 is a schematic diagram of the layered control principle in Embodiment 1 of the present invention.

图3为本发明实施例一中建筑物间的拓扑结构示意图。FIG. 3 is a schematic diagram of a topology structure between buildings in Embodiment 1 of the present invention.

图4为本发明实施例一中建筑物内TCL的拓扑结构示意图。FIG. 4 is a schematic diagram of a topology structure of a TCL in a building in Embodiment 1 of the present invention.

图5为采用和不采用本发明实施例一方法的微电网和主网的交互功率曲线对比图。Fig. 5 is a comparison diagram of interactive power curves between the microgrid and the main grid with and without the method of the first embodiment of the present invention.

图6为采用和不采用本发明实施例二方法的微电网和主网的交互功率曲线对比图。Fig. 6 is a comparison diagram of interactive power curves between the microgrid and the main grid with and without the method of Embodiment 2 of the present invention.

图7为1~5号建筑物的内TCL用户舒适状态指数βi(t)变化图。Fig. 7 is a graph showing the change of comfort state index β i (t) of TCL users in buildings No. 1 to No. 5.

图8为6~10号建筑物的内TCL用户舒适状态指数βi(t)变化图。Fig. 8 is a diagram showing the change of comfort state index β i (t) of TCL users in buildings No. 6 to No. 10.

图9为11~15号建筑物的内TCL用户舒适状态指数βi(t)变化图。Fig. 9 is a graph showing the change of comfort state index β i (t) of TCL users in buildings No. 11 to No. 15.

图10为16~20号建筑物的内TCL用户舒适状态指数βi(t)变化图。Fig. 10 is a graph showing the change of comfort state index β i (t) of TCL users in buildings No. 16-20.

具体实施方式detailed description

实施例一:Embodiment one:

如图1所示,本实施例面向微电网的温控负荷集群控制方法包括:As shown in Figure 1, the temperature-controlled load cluster control method for microgrids in this embodiment includes:

S1,收集微电网在当前时刻t的负荷用电Pload(t)和光伏出力Ppv(t),初始化时间Δt为0;S1, collect the load power P load (t) and photovoltaic output P pv (t) of the microgrid at the current moment t, and the initialization time Δt is 0;

S2,根据负荷用电Pload(t)、光伏出力Ppv(t)及调度要求计算所有温控负荷总调度功率Preq(t);S2, calculate the total scheduling power P req (t) of all temperature-controlled loads according to the load power consumption P load (t), photovoltaic output P pv (t) and scheduling requirements;

S3,分别针对包含多个温控负荷的上层对象,基于温控负荷总调度功率Preq(t)计算上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts);S3, for the upper-level objects containing multiple temperature-controlled loads, calculate the dispatching power increment ΔP L (t+Δt s ) that the upper-level object L needs to provide in the next control cycle based on the total dispatched power P req (t) of the temperature-controlled loads;

S4,针对各个上层对象中的温控负荷(Thermostatically Controlled Loads,简称TCL),分别根据对应的上层对象下一控制周期需提供的调度功率增量ΔPL(t+Δts)计算各温控负荷的调度功率并实现对同一上层对象内温控负荷集群的共识性控制;S4. For the thermostatically controlled loads (TCL for short) in each upper-level object, calculate each thermostatically-controlled load according to the dispatching power increment ΔP L (t+Δt s ) that the corresponding upper-level object needs to provide in the next control cycle Scheduling power and realize the consensus control of the temperature control load cluster in the same upper object;

S5,将时间Δt加上下层控制的时间间隔Δts,若新的时间Δt等于预设的负荷和光伏数据采集时间间隔Δtc,则跳转步骤S6,否则跳转步骤S2;S5, add the time Δt to the time interval Δt s controlled by the lower layer, if the new time Δt is equal to the preset load and photovoltaic data collection time interval Δt c , then go to step S6, otherwise go to step S2;

S6,判断调度是否结束,若调度结束则结束并退出;否则,跳转步骤S1。S6, judge whether the scheduling is over, if the scheduling is over, end and exit; otherwise, skip to step S1.

如图2所示,本实施例面向微电网的温控负荷集群控制方法包括上层控制和下层控制两个层次,上层控制的控制对象为上层对象,控制手段为步骤S3;下层控制的控制对象为上层对象的温控负荷,控制手段为步骤S4。本实施例面向微电网的温控负荷集群控制方法面向微电网的温控负荷(Thermostatically Controlled Loads,TCL)集群控制,需通过在由上层对象(温控负荷的集合,可为一栋建筑物,一个楼层,一个单元等)组成的微电网中的聚合器和控制器来实施。其中,聚合器和主网、光伏发电系统以及部分上层对象建立通信连接,控制器和上层对象内部分TCL建立通信连接。As shown in Figure 2, the temperature-controlled load cluster control method for microgrids in this embodiment includes two levels of upper-level control and lower-level control, the control object of the upper-level control is the upper-level object, and the control means is step S3; the control object of the lower-level control is The temperature control load of the upper object is controlled by step S4. In this embodiment, the temperature-controlled load cluster control method for micro-grids is oriented to micro-grids. The temperature-controlled load (Thermostatically Controlled Loads, TCL) cluster control needs to be controlled by an upper-level object (a collection of temperature-controlled loads, which can be a building, Aggregators and controllers in a microgrid consisting of one floor, one unit, etc.). Among them, the aggregator establishes communication connections with the main network, the photovoltaic power generation system, and some upper-layer objects, and the controller establishes communication connections with some TCLs in the upper-layer objects.

本实施例中,步骤S2中计算温控负荷调度功率Preq(t)的函数表达式为:In this embodiment, the functional expression for calculating the temperature-controlled load scheduling power P req (t) in step S2 is:

Preq(t)=Ppv(t)-Pdreq(t)-Pload(t)-PTCL(t),(1)P req (t) = P pv (t) - P dreq (t) - P load (t) - P TCL (t), (1)

上式中,Pdreq(t)为调度要求的输出功率,PTCL(t)为温控负荷集群消耗的功率总和。In the above formula, P dreq (t) is the output power required by scheduling, and P TCL (t) is the sum of power consumed by the temperature-controlled load cluster.

本实施例中,上层控制的数据更新时间为td,有td=0.5Δts,微电网有Nbc个上层对象参与调度,用i=1,2,…,Nbc表示。步骤S3中计算上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts)包括:首先,计算上层对象L在t+td时刻的调度功率PL(t+td):In this embodiment, the data update time of the upper-layer control is t d , and t d =0.5Δt s , and the microgrid has N bc upper-layer objects participating in scheduling, represented by i=1, 2, ..., N bc . In step S3, the calculation of the scheduled power increment ΔP L (t+Δt s ) that the upper-level object L needs to provide in the next control cycle includes: first, calculating the scheduled power PL (t+ t d ):

Figure BDA0003876083540000071
Figure BDA0003876083540000071

上式中,下标L和M均为上层对象的编号,所述上层对象直接通过聚合器与微电网相连或者通过其他上层对象间接与微电网相连,ΔPL(t+td)为上层对象L在t+td时刻的调度功率增量,td为上层对象的单次更新时间,w表示耦合系数,Nbc为上层对象的数量,cLM为上层对象L和上层对象M之间是否有通信联系的相关系数,相关系数cLM取值为1或0(cLM=1表示两座建筑物之间有通信联系,cLM=0表示没有联系);PM(t)为上层对象M在t时刻所需提供的调度功率,PL(t)为上层对象L在t时刻所需提供的调度功率,qL为上层对象是否直接连接聚合器的牵制系数,牵制系数qL取值为1或0(qL=1表示建筑物直接连接了聚合器,可接受聚合器的调整信息,qL=0表示建筑物和聚合器没有直接连接);Preq(t)为t时刻的所有温控负荷总调度功率,PL(t+td)为上层对象L在t+td时刻的所需提供的调度功率,PL-max和PL-min分别表示上层对象L所能提供的最大和最小调度功率,βL表示牵制共识系数,αML为调度能力比例系数,且有Δts=2td;代入常数可得:In the above formula, the subscripts L and M are the numbers of the upper-level objects. The upper-level objects are directly connected to the microgrid through the aggregator or indirectly connected to the microgrid through other upper-level objects. ΔP L (t+t d ) is the upper-level object The scheduling power increment of L at time t+t d , t d is the single update time of the upper-layer object, w is the coupling coefficient, N bc is the number of upper-layer objects, c LM is whether the relationship between the upper-layer object L and the upper-layer object M is Correlation coefficient with communication link, the value of correlation coefficient c LM is 1 or 0 (c LM = 1 means there is communication link between two buildings, c LM = 0 means there is no link); P M (t) is the upper object The scheduling power that M needs to provide at time t, P L (t) is the scheduling power that the upper-level object L needs to provide at time t, q L is the pinning coefficient of whether the upper-level object is directly connected to the aggregator, and the value of the pinning coefficient q L is 1 or 0 (q L = 1 means that the building is directly connected to the aggregator, and the adjustment information of the aggregator is acceptable; q L = 0 means that the building and the aggregator are not directly connected); P req (t) is the The total dispatching power of all temperature-controlled loads, PL (t+t d ) is the dispatching power required by the upper-level object L at the time t+t d , and PL-max and PL-min represent the power that the upper-level object L can provide The maximum and minimum scheduling power provided, β L represents the pinning consensus coefficient, α ML is the scheduling capability proportional coefficient, and Δt s = 2t d ; substituting the constant can be obtained:

Figure BDA0003876083540000081
Figure BDA0003876083540000081

然后,将作为t+td作为新的当前时刻t,再重新计算一遍上层对象L在t+td时刻的调度功率PL(t+td)并作为上层对象L在下一控制周期需提供的调度功率PL(t+Δts);Then, take t+t d as the new current time t, recalculate the scheduled power PL (t+t d ) of the upper-level object L at the time t+t d , and use it as the upper-level object L to provide in the next control cycle The scheduling power P L (t+Δt s );

最后,根据下式计算得到上层对象L在下一控制周期需提供的调度功率增量ΔPL(t+Δts):Finally, the scheduling power increment ΔP L (t+Δt s ) that the upper-level object L needs to provide in the next control cycle is calculated according to the following formula:

ΔPL(t+Δts)=PL(t+Δts)-PL(t), (3)ΔP L (t+Δt s )=P L (t+Δt s )-P L (t), (3)

上式中,PL(t)为上层对象L在t时刻所需提供的调度功率。In the above formula, PL (t) is the scheduling power that the upper object L needs to provide at time t.

如图3所示,本实施例中上层对象为建筑物,且一个建筑物对应一个上层对象。参见图3可知,作为一种具体的实施方式,本实施例中共包含20个建筑物,分别记为建筑物1~建筑物20,其中仅建筑物6~10通过聚合器直接连接到微电网。如图4所示,某建筑物内共包含20台温控负荷,分别记为温控负荷1~温控负荷20,其中仅温控负荷1~8直接连接到控制器。本实施例中,牵制共识系数以及调度能力比例系数的计算函数表达式为:As shown in FIG. 3 , the upper-level object in this embodiment is a building, and one building corresponds to one upper-level object. Referring to Fig. 3, it can be seen that, as a specific implementation, this embodiment includes a total of 20 buildings, which are respectively marked as buildings 1 to 20, and only buildings 6 to 10 are directly connected to the microgrid through the aggregator. As shown in Figure 4, a building contains a total of 20 temperature-controlled loads, which are recorded as temperature-controlled load 1 to temperature-controlled load 20, of which only temperature-controlled loads 1 to 8 are directly connected to the controller. In this embodiment, the calculation function expressions of the pinning consensus coefficient and the scheduling capacity ratio coefficient are:

Figure BDA0003876083540000082
Figure BDA0003876083540000082

Figure BDA0003876083540000083
Figure BDA0003876083540000083

上式中,βL表示牵制共识系数,αML为调度能力比例系数,NL和NM表示上层对象L和上层对象M参与调度的温控负荷数量,

Figure BDA0003876083540000084
表示温控负荷的平均高功率,RL和ηL分别表示上层对象L的等效热阻和热系数,RM和ηM分别表示上层对象M的等效热阻和热系数,N1~NNbc分别表示上层对象1~Nbc参与调度的温控负荷数量,R1~RNbc分别表示上层对象1~Nbc的等效热阻,η1~ηNbc分别表示上层对象1~Nbc的热系数。对于上述的上层控制的数据更新时间为td,为防止上层控制中各楼栋的调度功率出现发散现象,需要防止耦合系数w的过大,而过小的w会使上层控制的收敛速度变慢,所以通过减小更新时间来加快上层控制速度。设置td=0.5Δts,即下层控制每过两倍的数据更新时间td接受一次上层调度信息。上述的βL和αML定义式(4)和(5)充分考虑了各上层对象的参数,即上层对象内部可参与调度的TCL数量不同、额定功率不同、建筑物的热容、热阻和TCL热系数不同,计及了这些参数异质性对上层对象调度能力的影响。In the above formula, β L represents the pinning consensus coefficient, α ML is the dispatching capacity proportional coefficient, N L and N M represent the number of temperature-controlled loads that the upper-layer object L and the upper-layer object M participate in scheduling,
Figure BDA0003876083540000084
Indicates the average high power of the temperature control load, R L and η L represent the equivalent thermal resistance and thermal coefficient of the upper object L respectively, R M and η M represent the equivalent thermal resistance and thermal coefficient of the upper object M respectively, N 1 ~ N Nbc respectively represent the number of temperature-controlled loads involved in the scheduling of upper-layer objects 1 to N bc , R 1 to R Nbc represent the equivalent thermal resistance of upper-layer objects 1 to N bc , and η 1 to η Nbc represent the upper-layer objects 1 to N bc thermal coefficient. For the data update time of the above-mentioned upper-level control is t d , in order to prevent the divergence phenomenon of the dispatching power of each building in the upper-level control, it is necessary to prevent the coupling coefficient w from being too large, and the too small w will make the convergence speed of the upper-level control slow Slow, so by reducing the update time to speed up the upper control speed. Set t d =0.5Δt s , that is, the lower-layer control receives the upper-layer scheduling information every time the data update time t d is doubled. The above-mentioned definitions of β L and α ML (4) and (5) fully consider the parameters of each upper-level object, that is, the number of TCLs that can participate in scheduling in the upper-level object is different, the rated power is different, and the thermal capacity, thermal resistance and thermal resistance of the building are different. The TCL thermal coefficients are different, taking into account the impact of these parameter heterogeneity on the scheduling capabilities of upper-level objects.

本实施例中,步骤S1之前还包括为单个温控负荷建立下式所示的状态空间模型:In this embodiment, before step S1, it also includes establishing a state space model shown in the following formula for a single temperature control load:

Figure BDA0003876083540000091
Figure BDA0003876083540000091

上式中,

Figure BDA0003876083540000092
为第i个温控负荷的状态变量xi(t)=[γi(t);βi(t)]的一阶导数,γi(t)为第i个温控负荷的温控负荷功率,βi(t)为第i个温控负荷的用户舒适度,A和B为系统状态矩阵,W为常数矩阵,ui(t)为第i个温控负荷的控制变量,下标i为表示第i个温控负荷,且控制变量ui(t)采用额定功率百分比变化量,且有:In the above formula,
Figure BDA0003876083540000092
is the first derivative of the state variable x i (t)=[γ i (t); β i (t)] of the i-th temperature-controlled load, and γ i (t) is the temperature-controlled load of the i-th temperature-controlled load power, β i (t) is the user comfort of the i-th temperature-controlled load, A and B are system state matrices, W is a constant matrix, u i (t) is the control variable of the i-th temperature-controlled load, subscript i represents the i-th temperature control load, and the control variable u i (t) adopts the percentage change of rated power, and there are:

γi(t)=αi(t)-αs,(7)γ i (t) = α i (t) - α s , (7)

Figure BDA0003876083540000093
Figure BDA0003876083540000093

Figure BDA0003876083540000094
Figure BDA0003876083540000094

Figure BDA0003876083540000095
Figure BDA0003876083540000095

Figure BDA0003876083540000096
Figure BDA0003876083540000096

上式中,αi(t)表示t时刻第i个温控负荷的功率占额定功率的百分比,αs表示温度为用户设定值Ts时对应的额定功率百分比,Ti(t)为t时刻第i个温控负荷稳定运行的时温度,ΔT为温度偏离容忍度,η表示变频空调的热系数,

Figure BDA0003876083540000097
为额定功率,Cth和Rth分别表示建筑物的热容与热阻。前述为单个温控负荷(TLC)建立状态空间模型的过程如下:In the above formula, α i (t) represents the percentage of the power of the i-th temperature-controlled load to the rated power at time t, and α s represents the corresponding percentage of rated power when the temperature is the user’s set value T s , T i (t) is The temperature when the i-th temperature-controlled load runs stably at time t, ΔT is the temperature deviation tolerance, η is the thermal coefficient of the inverter air conditioner,
Figure BDA0003876083540000097
is the rated power, C th and R th represent the thermal capacity and thermal resistance of the building, respectively. The aforementioned process of establishing a state-space model for a single temperature-controlled load (TLC) is as follows:

S101,建立单个TCL的等效热参数模型:S101, establishing an equivalent thermal parameter model of a single TCL:

Figure BDA0003876083540000098
Figure BDA0003876083540000098

上式中,i=1,2,…,N,N表示建筑物内TCL的数目,Ti(t)表示t时刻屋内温度,Ta(t)表示t时刻外部环境温度(例如本实施例中为30摄氏度),Cth和Rth分别表示建筑物的热容与热阻,

Figure BDA0003876083540000099
表示TCL的额定功率,η表示VFAC的热系数(例如本实施例中为12.5),αi(t)表示t时刻第i个TCL的功率占额定功率的百分比。单个TCL的等效热参数模型描述了其内部温度随环境温度和运行功率的变化情况。In the above formula, i=1, 2,..., N, N represents the number of TCLs in the building, T i (t) represents the indoor temperature at time t, and T a (t) represents the external ambient temperature at time t (such as the present embodiment 30 degrees Celsius in the middle), C th and R th respectively represent the thermal capacity and thermal resistance of the building,
Figure BDA0003876083540000099
represents the rated power of the TCL, η represents the thermal coefficient of the VFAC (for example, 12.5 in this embodiment), and α i (t) represents the percentage of the power of the i-th TCL to the rated power at time t. The equivalent thermal parameter model of a single TCL describes how its internal temperature varies with ambient temperature and operating power.

S102,令用户的温度设定值为Ts,设置用户所接受的温度舒适度范围为[Tmin,Tmax],温度偏离容忍度为ΔT,有Tmin=Ts-ΔT、Tmax=Ts+ΔT。当TCL达到稳定运行状态时有dTi(t)/dt=0,代入单个TCL的等效热参数模型,可得稳定运行时温度Ti(t)和额定功率百分比αi(t)的对应关系:S102, set the temperature setting value of the user as T s , set the temperature comfort range accepted by the user as [T min , T max ], and the temperature deviation tolerance as ΔT, T min =T s -ΔT, T max = T s +ΔT. When the TCL reaches the stable operation state, dT i (t)/dt=0, substituting into the equivalent thermal parameter model of a single TCL, the correspondence between the temperature T i (t) and the percentage of rated power α i (t) in stable operation can be obtained relation:

Figure BDA0003876083540000101
Figure BDA0003876083540000101

S103,令当温度为用户设定值Ts时所对应的额定功率百分比设为αs,考虑到各TCL设定温度的不同,用户的舒适度范围也不同,定义TCL功率偏移指数γi(t)和用户舒适状态指数βi(t)如式(7)和(8)所示。可得βi(t)∈[0,1],为保证用户舒适度,舒适状态指数不能超出此范围,βi(t)=0.5时为用户最舒适状态。而γi(t)的范围需要根据热系数、热阻等参数以及用户t时刻的舒适度状态决定。S103, set the corresponding rated power percentage when the temperature is the user’s set value T s as α s , considering the different set temperatures of each TCL, the user’s comfort range is also different, define the TCL power offset index γ i (t) and user comfort state index β i (t) are shown in formulas (7) and (8). It can be obtained that β i (t)∈[0,1], in order to ensure user comfort, the comfort state index cannot exceed this range, and β i (t)=0.5 is the user's most comfortable state. The range of γ i (t) needs to be determined according to parameters such as thermal coefficient, thermal resistance, and the comfort state of the user at time t.

S104,定义ui(t)为第i个TCL额定功率百分比变化量,即控制输入,有:S104, define u i (t) as the percentage variation of the i-th TCL rated power, that is, the control input, which is:

Figure BDA0003876083540000102
Figure BDA0003876083540000102

取xi(t)为状态变量,则单个TCL的状态空间表达式如式(6)所示。取温控负荷功率和用户舒适度两个状态量,令xi(t)=[γi(t);βi(t)],联立式(12)~式(14)以及式(7)和(8)可写出式(6)的详细表达式为:Taking x i (t) as the state variable, the state space expression of a single TCL is shown in formula (6). Taking the two state quantities of temperature-controlled load power and user comfort, let x i (t) = [γ i (t); β i (t)], the simultaneous equations (12) ~ (14) and ) and (8), the detailed expression of formula (6) can be written as:

Figure BDA0003876083540000103
Figure BDA0003876083540000103

代入参数可得:Substitute the parameters to get:

Figure BDA0003876083540000104
Figure BDA0003876083540000104

步骤S4需要借助建筑物和TCL通信拓扑信息,其邻接矩阵为M=[aij]∈RN×N。其中,当第i,j号TCL之间有通信连接时有aij=1;当二者没有通信连接或i=j时有aij=0。通信图的内度矩阵为D=diag{d1,d2,…,dN}∈RN×N,拉普拉斯矩阵为L={lij}∈RN×NStep S4 requires the communication topology information of buildings and TCL, and its adjacency matrix is M=[a ij ]∈R N×N . Wherein, a ij =1 when there is a communication connection between the i-th and j-th TCLs; a ij =0 when there is no communication connection between them or i=j. The in-degree matrix of the communication graph is D=diag{d 1 ,d 2 ,…,d N }∈R N×N , and the Laplacian matrix is L={l ij }∈R N×N .

本实施例中,步骤S4包括:In this embodiment, step S4 includes:

S4.1,根据上层对象中N个温控负荷的通信拓扑构成内度矩阵D=diag{d1,d2,…,dN}∈RN×N,其中,d1,d2,…,dN为第1~N个温控负荷的内度,RN×N为维度,内度的计算函数表达式为:S4.1, according to the communication topology of N temperature-controlled loads in the upper object, construct the degree matrix D=diag{d 1 ,d 2 ,…,d N }∈R N×N , where d 1 ,d 2 ,… ,d N is the inner degree of the 1st to N temperature control loads, R N×N is the dimension, and the calculation function expression of the inner degree is:

Figure BDA0003876083540000105
Figure BDA0003876083540000105

上式中,di为第i个温控负荷的内度,aij为第i个温控负荷与第j个温控负荷的有无通信连接状态,有无通信连接状态取值为1或0;根据上层对象中N个温控负荷的通信拓扑构建邻接矩阵为M=[aij]∈RN×N,并根据下式构建拉普拉斯矩阵L={lij}∈RN×NIn the above formula, d i is the internal degree of the i-th temperature-controlled load, and a ij is the communication connection status between the i-th temperature-controlled load and the j-th temperature-controlled load, and the value of whether the communication connection status is 1 or 0; Construct the adjacency matrix M=[a ij ]∈R N×N according to the communication topology of N temperature-controlled loads in the upper object, and construct the Laplacian matrix L={l ij }∈R according to the following formula N :

L=D-M,(17)L=D-M, (17)

上式中,D为内度矩阵,M为邻接矩阵,lij为第i个温控负荷与第j个温控负荷的拉普拉斯算子值;In the above formula, D is the inner degree matrix, M is the adjacency matrix, l ij is the Laplacian value of the i-th temperature control load and the j-th temperature control load;

S4.2,根据上层对象下一控制周期需提供的调度功率增量ΔPL(t+Δts)根据下式确定每一个温控负荷接受控制器的调度信息;S4.2, according to the scheduling power increment ΔP L (t+Δt s ) to be provided by the upper object in the next control cycle, determine the scheduling information of each temperature-controlled load receiving controller according to the following formula;

Figure BDA0003876083540000111
Figure BDA0003876083540000111

上式中,Δxi(t)为第i个温控负荷在t时刻接受控制器的调度信息,k1为和控制器直接连接的温控负荷数量,

Figure BDA0003876083540000112
为温控负荷的平均功率,Δts为下层控制的时间间隔,qi为第i个温控负荷的控制系数,若第i个温控负荷和控制器有通信直接连接则有qi=1,反之qi=0;In the above formula, Δx i (t) is the scheduling information that the i-th temperature-controlled load receives from the controller at time t, k 1 is the number of temperature-controlled loads directly connected to the controller,
Figure BDA0003876083540000112
is the average power of the temperature-controlled load, Δt s is the time interval of lower-level control, q i is the control coefficient of the i-th temperature-controlled load, and if the i-th temperature-controlled load has a direct communication connection with the controller, then q i =1 , otherwise q i =0;

S4.3,确定有通信连接的温控负荷之间的状态是相对可用的,且采用的分布式静态共识协议控制的函数表达式如下式所示:S4.3, determine that the state between the temperature control loads with communication connections is relatively available, and the function expression of the distributed static consensus protocol control is as follows:

Figure BDA0003876083540000113
Figure BDA0003876083540000113

上式中,ui(t)为在t时刻的控制变量,c为大于0的耦合系数,L′∈R1×2表示反馈增益矩阵,R1×2表示维度,xi(t)为第i个温控负荷的状态变量,aij为第i个温控负荷与第j个温控负荷的有无通信连接状态,xj(t)为第j个温控负荷的状态变量,Δxi(t)为第i个温控负荷接受控制器的调度信息;将所述分布式静态共识协议控制的函数表达式代入单个温控负荷的状态空间模型得到第i个温控负荷的调控模型:In the above formula, u i (t) is the control variable at time t, c is the coupling coefficient greater than 0, L′∈R 1×2 represents the feedback gain matrix, R 1×2 represents the dimension, and xi (t) is The state variable of the i-th temperature-controlled load, a ij is the status of communication connection between the i-th temperature-controlled load and the j-th temperature-controlled load, x j (t) is the state variable of the j-th temperature-controlled load, Δx i (t) is the scheduling information of the i-th temperature-controlled load receiving controller; the function expression controlled by the distributed static consensus protocol is substituted into the state-space model of a single temperature-controlled load to obtain the regulation model of the i-th temperature-controlled load :

Figure BDA0003876083540000114
Figure BDA0003876083540000114

上式中,lij为第i个温控负荷与第j个温控负荷的拉普拉斯算子值,Δxj(t)为第j个温控负荷接受控制器的调度信息;In the above formula, l ij is the Laplacian value of the i-th temperature-controlled load and the j-th temperature-controlled load, and Δx j (t) is the scheduling information of the j-th temperature-controlled load receiving controller;

S4.4,确定反馈增益矩阵L′和耦合系数c,并将确定的反馈增益矩阵L′和耦合系数c代入各个温控负荷的调控模型以控制各个温控负荷的状态。S4.4. Determine the feedback gain matrix L' and the coupling coefficient c, and substitute the determined feedback gain matrix L' and the coupling coefficient c into the regulation model of each temperature-controlled load to control the state of each temperature-controlled load.

根据共识性推论,对于建筑物内TCL群体,当且仅当矩阵A+cλiBL′是赫尔维茨(Hurwitz)矩阵时,所有TCL的状态变量能够达成共识。其中,λi是拉普拉斯矩阵L的非零特征值。考虑到矩阵A、B都是稳定的,协议为式(20)的共识问题可通过找出适合的L′和c来解决。According to the consensus inference, for the TCL group in the building, if and only if the matrix A+cλ i BL' is a Hurwitz matrix, all TCL state variables can reach a consensus. Among them, λi is the non-zero eigenvalue of Laplacian matrix L. Considering that the matrices A and B are both stable, the consensus problem of the protocol (20) can be solved by finding out the appropriate L' and c.

本实施例中,步骤S4.4中确定反馈增益矩阵L′包括:In this embodiment, determining the feedback gain matrix L' in step S4.4 includes:

S101,找出下式所示线性矩阵不等式(Linear Matrix Inequalities,简称LMI)在P>0时的解:S101, find out the solution of the linear matrix inequality (Linear Matrix Inequalities, referred to as LMI) shown in the following formula when P>0:

AP+PAT-2BBT<0,(21)AP+PA T -2BB T <0, (21)

上式中,A和B为系统状态矩阵,P为线性矩阵不等式的解;In the above formula, A and B are system state matrices, and P is the solution of linear matrix inequality;

S102,根据下式计算反馈增益矩阵L′:S102, calculate the feedback gain matrix L' according to the following formula:

L′=-BTP-1,(22)L'=-B T P -1 , (22)

上式中,P为线性矩阵不等式的解。In the above formula, P is the solution of the linear matrix inequality.

本实施例中,步骤S4.4中确定耦合系数c包括:In this embodiment, determining the coupling coefficient c in step S4.4 includes:

S201,确定上层对象中各个温控负荷的状态变量达成共识的条件为矩阵A+cλiBL′是赫尔维茨矩阵,且矩阵A+cλiBL′的特征多项式det(sI-(A+σBL′))稳定,其中λi是拉普拉斯矩阵L的非零特征值,s为矩阵A+cλiBL′的特征值,I为二阶单位矩阵,A和B为系统状态矩阵,σ为耦合系数c和特征值λi的乘积,L′为反馈增益矩阵,且有σ=cλi=x+jy,其中x,y分别为实轴和虚轴的坐标,j为虚数单位;S201, the condition for determining the state variables of each temperature control load in the upper object to reach a consensus is that the matrix A+cλ i BL′ is a Hurwitz matrix , and the characteristic polynomial det(sI-(A+ σBL′)) is stable, where λ i is the non-zero eigenvalue of the Laplacian matrix L, s is the eigenvalue of the matrix A+cλ i BL′, I is the second-order identity matrix, A and B are the system state matrices, σ is the product of the coupling coefficient c and the eigenvalue λ i , L' is the feedback gain matrix, and σ=cλ i =x+jy, where x and y are the coordinates of the real axis and the imaginary axis respectively, and j is the imaginary unit;

S202,根据矩阵A+cλiBL′的特征值s建立下式所示的复系数多项式p(s):S202, according to the eigenvalue s of matrix A+cλ i BL′, the complex coefficient polynomial p(s) shown in the following formula is established:

p(s)=s2+(a+jb)s+e+jd,(23)p(s)=s2 + (a+jb)s+e+jd, (23)

上式中,a、b、d和e均为多项式系数,j为虚数单位,且有a,b,e∈R,其中R为实数;In the above formula, a, b, d and e are polynomial coefficients, j is an imaginary number unit, and there are a, b, e∈R, where R is a real number;

S203,根据复系数多项式p(s)的稳定的充要条件a>0且abd+a2e-d2>0,确定耦合系数c的取值范围,从而在该取值范围中确定耦合系数c的值。S203, according to the stable necessary and sufficient conditions of the complex coefficient polynomial p(s) a>0 and abd+a 2 ed 2 >0, determine the value range of the coupling coefficient c, so as to determine the value of the coupling coefficient c in this value range value.

本实施例中,步骤S4.4中将确定的反馈增益矩阵L′和耦合系数c代入各个温控负荷的调控模型以控制各个温控负荷的状态后,任意第i个温控负荷在每次调控后状态变量为:In this embodiment, in step S4.4, after substituting the determined feedback gain matrix L' and coupling coefficient c into the regulation model of each temperature-controlled load to control the state of each temperature-controlled load, any i-th temperature-controlled load is The adjusted state variables are:

Figure BDA0003876083540000121
Figure BDA0003876083540000121

上式中,xi(t+Δts)为调控后状态变量,xi(t)为第i个温控负荷的状态变量,

Figure BDA0003876083540000122
为第i个温控负荷的状态变量的一阶导数,Δts为下层控制的时间间隔。确定的反馈增益矩阵L′和耦合系数c代入各个温控负荷的调控模型以控制各个温控负荷的状态后,各TCL只需根据式(18)、(20)所示的共识协议调控便可满足共识要求。In the above formula, x i (t+Δt s ) is the state variable after regulation, and x i (t) is the state variable of the i-th temperature control load,
Figure BDA0003876083540000122
is the first derivative of the state variable of the i-th temperature-controlled load, and Δt s is the time interval of the lower layer control. After the determined feedback gain matrix L′ and coupling coefficient c are substituted into the regulation model of each temperature-controlled load to control the state of each temperature-controlled load, each TCL only needs to be regulated according to the consensus protocol shown in formulas (18) and (20). Satisfy the consensus requirement.

本实施例中,某地区微电网光伏发电系统装机容量为1200kW。有20栋建筑参与调控,每栋建筑有20个TCL。建筑物等效热容Cth=2kWh/℃,等效热阻Rth=2℃/kW;用户的温度偏离容忍度ΔT=2℃;环境温度为30℃;VFAC的额定功率

Figure BDA0003876083540000123
热系数η=2.5。下层单位控制时间Δts=1s,上层单次更新时间td=0.5s,负荷和光伏数据采集时间间隔Δtc=1min,耦合系数w=0.6。验证TCL系统在本专利方案下平抑光伏和负荷功率波动的性能表现,实施例依据微电网某天12:00-15:00光伏发电出力以及除VFAC外负荷消耗。主网的调度要求为将微电网和主网的交互功率Pd(t)稳定在25kW,所有TCL均参与调度。最终,本实施例方法最终确定c=12,L′=[-1.4366 2],得到的微电网和主网的交互功率如图5所示。参见图5可知,未经优化的微电网和主网的交互功率波动较大,经过本实施例方法优化后的交互功率Pd(t)稳定在25kW左右,说明本实施例方法的调度满足了主电网的要求,平抑了光伏发电和负荷的功率波动。In this embodiment, the installed capacity of the micro-grid photovoltaic power generation system in a certain area is 1200kW. There are 20 buildings participating in regulation, and each building has 20 TCLs. Building equivalent heat capacity C th = 2kWh/°C, equivalent thermal resistance R th = 2°C/kW; user's temperature deviation tolerance ΔT = 2°C; ambient temperature is 30°C; rated power of VFAC
Figure BDA0003876083540000123
Thermal coefficient η = 2.5. The lower unit control time Δt s =1s, the upper layer single update time t d =0.5s, the load and photovoltaic data collection time interval Δt c =1min, and the coupling coefficient w=0.6. To verify the performance of the TCL system in stabilizing photovoltaic and load power fluctuations under this patented solution, the embodiment is based on the output of photovoltaic power generation and the consumption of loads other than VFAC in the microgrid on a certain day from 12:00 to 15:00. The dispatching requirement of the main network is to stabilize the interactive power P d (t) between the microgrid and the main network at 25kW, and all TCLs participate in the dispatching. Finally, the method of this embodiment finally determines c=12, L′=[-1.4366 2], and the obtained interactive power between the microgrid and the main grid is shown in FIG. 5 . Referring to Figure 5, it can be seen that the interaction power between the unoptimized microgrid and the main grid fluctuates greatly, and the interaction power Pd(t) after optimization by the method of this embodiment is stable at about 25kW, indicating that the scheduling of the method of this embodiment satisfies the requirements of the main grid. The requirements of the power grid stabilize the power fluctuations of photovoltaic power generation and loads.

综上所述,本实施例方法通过在由建筑物组成的微电网中的聚合器和控制器来实施。其中,聚合器和主网、光伏发电系统以及部分建筑物建立通信连接,控制器和建筑物内部分TCL建立通信连接。首先,建立单个TCL状态空间模型,构建微电网内建筑物通信拓扑图和建筑物内TCL通信拓扑图,确定负荷和光伏数据采集时间间隔Δtc和下层控制的时间间隔Δts;然后,用聚合器收集当前时刻负荷用电Pload(t)、光伏出力Ppv(t),并根据负荷用电、光伏出力和电网调度要求计算TCL调度功率Preq(t);最后,上层聚合器基于牵制控制计算各建筑物的实时调度功率,并将结果传给下层控制器,下层依据共识性协议计算各个TCL的实时调度功率。本发明方法的实施能够实现建筑物内TCL功率偏移和舒适度两参数的共识性控制,使微电网响应主网的各种调度信号,准确有效地平抑光伏发电和负荷的功率波动。To sum up, the method of this embodiment is implemented by the aggregator and the controller in the microgrid composed of buildings. Among them, the aggregator establishes communication connections with the main network, photovoltaic power generation system and some buildings, and the controller establishes communication connections with some TCLs in the buildings. Firstly, establish a single TCL state space model, construct the building communication topology diagram in the microgrid and the TCL communication topology diagram in the building, determine the load and photovoltaic data collection time interval Δt c and the lower layer control time interval Δt s ; then, use the aggregation The aggregator collects the load power P load (t) and photovoltaic output P pv (t) at the current moment, and calculates the TCL scheduling power P req (t) according to the load power consumption, photovoltaic output and grid dispatching requirements; finally, the upper aggregator The control calculates the real-time scheduling power of each building, and transmits the result to the lower controller, and the lower layer calculates the real-time scheduling power of each TCL according to the consensus protocol. The implementation of the method of the invention can realize the consensus control of the two parameters of TCL power offset and comfort in the building, make the microgrid respond to various dispatching signals of the main network, and accurately and effectively stabilize the power fluctuations of photovoltaic power generation and loads.

此外,本实施例还提供一种面向微电网的温控负荷集群控制系统,包括相互连接的微处理器和存储器,微处理器被编程或配置以执行前述面向微电网的温控负荷集群控制方法。此外,本实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序用于被微处理器编程或配置以执行前述面向微电网的温控负荷集群控制方法。In addition, this embodiment also provides a microgrid-oriented temperature-controlled load cluster control system, including interconnected microprocessors and memories, and the microprocessor is programmed or configured to execute the aforementioned micro-grid-oriented temperature-controlled load cluster control method . In addition, this embodiment also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is used to be programmed or configured by a microprocessor to execute the above microgrid-oriented temperature control load cluster control method .

实施例二:Embodiment two:

本实施例与实施例一基本相同,其主要区别为微电网的拓扑结构不同。本实施例中在实施例一图2~图4所示的拓扑结构的基础上,由于通信故障和用户需求等原因,各建筑TCL运行情况不同,14号建筑没有参与系统调度,6~10号建筑有一台TCL没有运行,11~13、15号建筑有两台TCL没有运行,这使得各建筑TCL间通信图不同。另外,建筑内TCL的温度设定值Ts也不同。光伏出力和负荷消耗同实施例一。最终,本实施例方法最终确定c=12,L′=[-1.4366 2],得到的微电网和主网的交互功率如图6所示。参见图6可知,未经优化的微电网和主网的交互功率波动较大,经过本实施例方法优化后的交互功率Pd(t)稳定在25kW左右,说明本实施例方法的控制策略在不同的设置温度和通信故障的情况下仍然适用。This embodiment is basically the same as the first embodiment, and the main difference is that the topological structure of the microgrid is different. In this embodiment, on the basis of the topology shown in Figure 2 to Figure 4 of Embodiment 1, due to reasons such as communication failures and user needs, the TCL operation conditions of each building are different. Building No. 14 does not participate in system scheduling, No. One TCL in the building is not running, and two TCLs in buildings 11-13 and 15 are not running, which makes the communication diagrams of the TCLs in each building different. In addition, the temperature set point Ts of the TCL in the building is also different. Photovoltaic output and load consumption are the same as in Embodiment 1. Finally, the method of this embodiment finally determines c=12, L′=[-1.4366 2], and the obtained interactive power between the microgrid and the main grid is shown in FIG. 6 . Referring to Figure 6, it can be seen that the interaction power between the unoptimized microgrid and the main grid fluctuates greatly, and the interaction power Pd(t) after optimization by the method of this embodiment is stable at about 25kW, indicating that the control strategy of the method of this embodiment is different. The set temperature and communication failure conditions still apply.

此外,本实施例还提供一种面向微电网的温控负荷集群控制系统,包括相互连接的微处理器和存储器,微处理器被编程或配置以执行前述面向微电网的温控负荷集群控制方法。此外,本实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序用于被微处理器编程或配置以执行前述面向微电网的温控负荷集群控制方法。In addition, this embodiment also provides a microgrid-oriented temperature-controlled load cluster control system, including interconnected microprocessors and memories, and the microprocessor is programmed or configured to execute the aforementioned micro-grid-oriented temperature-controlled load cluster control method . In addition, this embodiment also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is used to be programmed or configured by a microprocessor to execute the above microgrid-oriented temperature control load cluster control method .

实施例三:Embodiment three:

本实施例与实施例一基本相同,其主要区别为建筑物的拓扑结构不同。本实施例在实施例一微电网中的基础上,将各建筑物热容、热阻和热系数取值不同,分别在[1.5,2.5]、[1,3]和[1.5,3.5]范围内分布,建筑和TCL的运行情况同实施例二。最终,本实施例方法最终确定c=12,L′=[-1.4366 2],最后得到各建筑物内TCL用户舒适状态指数βi(t)变化如图7~图10所示。其中,图7为1~5号建筑物的内TCL用户舒适状态指数βi(t)变化图,图8为6~10号建筑物的内TCL用户舒适状态指数βi(t)变化图,图9为11~15号建筑物的内TCL用户舒适状态指数βi(t)变化图,图10为16~20号建筑物的内TCL用户舒适状态指数βi(t)变化图。参见如图7~图10可知,用户舒适度指数在[0,1]范围内。即调度在满足舒适性要求的情况下,将交互功率控制在75kW左右。原因是在稳定运行时,温度Ti(t)与额定功率百分比αi(t)的对应关系受参数ηRth的影响。对于相同的功率偏移γi(t),对应的温度偏移ΔTi不同。参数Rth影响建筑物的调度能力,导致βL和αML的变化。在本实施例方法中,各建筑物的功率调度中考虑了参数ηRth的影响,既保证了用户的舒适度,又提高了系统的调度能力。This embodiment is basically the same as the first embodiment, and the main difference is that the topological structure of the building is different. In this embodiment, on the basis of the microgrid in Embodiment 1, the values of the thermal capacity, thermal resistance and thermal coefficient of each building are different, respectively in the range of [1.5, 2.5], [1, 3] and [1.5, 3.5] Internal distribution, building and TCL operation are the same as in Embodiment 2. Finally, the method of this embodiment finally determines c=12, L′=[-1.4366 2], and finally obtains the changes of the TCL user comfort state index β i (t) in each building as shown in FIGS. 7 to 10 . Among them, Fig. 7 is a change diagram of the comfortable state index β i (t) of TCL users in buildings 1 to 5, and Fig. 8 is a change diagram of the comfortable state index β i (t) of TCL users in buildings 6 to 10, Fig. 9 is a change diagram of comfort state index β i (t) of TCL users in buildings 11-15, and Fig. 10 is a change diagram of comfort state index β i (t) of TCL users in buildings 16-20. Referring to Figures 7 to 10, it can be seen that the user comfort index is in the range of [0,1]. That is, the scheduling controls the interactive power at about 75kW under the condition of meeting the comfort requirements. The reason is that during stable operation, the corresponding relationship between temperature T i (t) and rated power percentage α i (t) is affected by parameter ηR th . For the same power offset γ i (t), the corresponding temperature offset ΔT i is different. The parameter Rth affects the dispatchability of the building, resulting in changes in βL and αML . In the method of this embodiment, the influence of the parameter ηR th is considered in the power scheduling of each building, which not only ensures the comfort of the user, but also improves the scheduling capability of the system.

此外,本实施例还提供一种面向微电网的温控负荷集群控制系统,包括相互连接的微处理器和存储器,微处理器被编程或配置以执行前述面向微电网的温控负荷集群控制方法。此外,本实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序用于被微处理器编程或配置以执行前述面向微电网的温控负荷集群控制方法。In addition, this embodiment also provides a microgrid-oriented temperature-controlled load cluster control system, including interconnected microprocessors and memories, and the microprocessor is programmed or configured to execute the aforementioned micro-grid-oriented temperature-controlled load cluster control method . In addition, this embodiment also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is used to be programmed or configured by a microprocessor to execute the above microgrid-oriented temperature control load cluster control method .

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可读存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only preferred implementations of the present invention, and the scope of protection of the present invention is not limited to the above-mentioned embodiments, and all technical solutions under the idea of the present invention belong to the scope of protection of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications without departing from the principles of the present invention should also be regarded as the protection scope of the present invention.

Claims (10)

1. A temperature control load cluster control method facing a micro-grid is characterized by comprising the following steps:
s1, collecting load electricity consumption P of the microgrid at the current moment t load (t) and photovoltaic output P pv (t), the initialization time Δ t is 0;
s2, electricity consumption P according to load load (t) photovoltaic output P pv (t) calculating the total scheduling power P of all temperature control loads according to the scheduling requirements req (t);
S3, respectively aiming at upper-layer objects containing a plurality of temperature control loads, and scheduling power P based on the temperature control loads req (t) calculating the scheduled power increment Δ P that the upper layer object L needs to provide in the next control period L (t+Δt s );
S4, aiming at the temperature control load in each upper-layer object, respectively according to the scheduling power increment delta P required to be provided by the corresponding upper-layer object in the next control period L (t+Δt s ) Calculating the scheduling power of each temperature control load and realizing consensus control on the temperature control load clusters in the same upper-layer object;
s5, adding the time delta t to the time interval delta t of the lower layer control s If the new time Δ t is equal to the preset load and photovoltaic data acquisition time interval Δ t c If yes, skipping to the step S6, otherwise skipping to the step S2;
s6, judging whether the scheduling is finished or not, and finishing and exiting if the scheduling is finished; otherwise, jumping to step S1.
2. The microgrid-oriented temperature control load cluster control method of claim 1, characterized in that in step S2, a temperature control load scheduling power P is calculated req The functional expression of (t) is:
P req (t)=P pv (t)-P dreq (t)-P load (t)-P TCL (t),
in the above formula, P dreq (t) output Power required for scheduling, P TCL (t) is the sum of the power consumed by the temperature controlled load cluster.
3. The microgrid-oriented temperature control load cluster control method of claim 1, characterized by steps ofIn S3, calculating a scheduling power increment delta P required to be provided by the upper-layer object L in the next control period L (t+Δt s ) The method comprises the following steps:
first, compute upper level object L at t + t d Scheduled power of time P L (t+t d ):
Figure FDA0003876083530000011
In the above formula, subscripts L and M are numbers of upper layer objects, the upper layer objects are directly connected to the microgrid through the aggregator or indirectly connected to the microgrid through other upper layer objects, Δ P L (t+t d ) For the upper layer object L at t + t d Scheduled power increment of time, t d Time of single update for upper layer object, w represents coupling coefficient, N bc Number of upper level objects, c LM A correlation coefficient, c, for determining whether there is a communication link between the upper layer object L and the upper layer object M LM The value is 1 or 0; p M (t) scheduling power, P, required to be provided by upper layer object M at time t L (t) scheduling power required to be provided by the upper layer object L at the time t, q L A drag coefficient, q, for whether an upper layer object is directly connected to the aggregator L The value is 1 or 0; p req (t) Total scheduled Power, P, for all temperature controlled loads at time t L (t+t d ) For the upper layer object L at t + t d Scheduled power required to be provided, P, for a time instant L-max And P L-min Respectively representing the maximum and minimum scheduling power, beta, that the upper level object L can provide L Representing the containment consensus coefficient, alpha ML Is a scheduling capability scaling factor and has a delta t s =2t d
Then, it will be t + t d As the new current time t, the upper layer object L at t + t is recalculated d Scheduled power P of time L (t+t d ) And as the scheduled power P to be provided by the upper layer object L in the next control period L (t+Δt s );
Finally, the upper layer object is obtained through calculation according to the following formulaL scheduled power increment delta P to be provided in the next control period L (t+Δt s ):
ΔP L (t+Δt s )=P L (t+Δt s )-P L (t),
In the above formula, P L (t) is the scheduled power that the upper layer object L needs to provide at time t.
4. The microgrid-oriented temperature control load cluster control method of claim 3, wherein the upper level objects are buildings, one building corresponds to one upper level object, and the calculation function expressions of the containment consensus coefficient and the scheduling capability proportionality coefficient are as follows:
Figure FDA0003876083530000021
in the above formula,. Beta. L Represents the containment consensus coefficient, α ML For the scheduling capability scaling factor, N L And N M Represents the amount of temperature control loads that the upper layer object L and the upper layer object M participate in scheduling,
Figure FDA0003876083530000026
mean high power, R, representing temperature-controlled load L And η L Respectively representing the equivalent thermal resistance and thermal coefficient of the upper layer object L, R M And η M Respectively representing the equivalent thermal resistance and thermal coefficient of the upper layer object M, N 1 ~N Nbc Respectively represent upper layer objects 1 to N bc Number of temperature-controlled loads involved in scheduling, R 1 ~R Nbc Respectively represent upper layer objects 1 to N bc Equivalent thermal resistance of [ (. Eta. ]) 1 ~η Nbc Respectively represent upper layer objects 1 to N bc Thermal coefficient of (2).
5. The microgrid-oriented temperature control load cluster control method of claim 1, further comprising, before step S1, establishing a state space model represented by the following formula for a single temperature control load:
Figure FDA0003876083530000024
in the above-mentioned formula, the compound has the following structure,
Figure FDA0003876083530000027
state variable x for the ith temperature-controlled load i (t)=[γ i (t);β i (t)]First derivative of gamma i (t) the temperature-controlled load power, β, of the ith temperature-controlled load i (t) is the user comfort for the ith temperature controlled load, A and B are the system state matrix, W is the constant matrix, u is the constant matrix i (t) is a control variable of the ith temperature control load, subscript i is a control variable representing the ith temperature control load, and control variable u i (t) using a percentage change in rated power, and having:
γ i (t)=α i (t)-α s
Figure FDA0003876083530000022
Figure FDA0003876083530000023
in the above formula, α i (t) represents the power of the ith temperature-controlled load as a percentage of the rated power at time t, α s Indicating temperature as user set point T s Percentage of rated power, T, corresponding to time i (T) is the time temperature of the stable operation of the ith temperature control load at the moment T, delta T is the temperature deviation tolerance, eta represents the thermal coefficient of the variable frequency air conditioner,
Figure FDA0003876083530000036
to rated power, C th And R th Respectively representing the heat capacity and the heat resistance of a building; step S4 comprises the following steps:
s4.1, according to the communication topology of N temperature control loads in the upper layer objectForming degree matrix D = diag { D } 1 ,d 2 ,…,d N }∈R N×N Wherein d is 1 ,d 2 ,…,d N The internal degree of the 1 st to N temperature control loads, R N×N For dimensionality, the computational function expression for the degree of internalization is:
Figure FDA0003876083530000031
in the above formula, d i Is the internal degree of the ith temperature-controlled load, a ij The communication connection state of the ith temperature control load and the jth temperature control load is set to be 1 or 0; constructing an adjacency matrix according to the communication topology of N temperature control loads in the upper layer object, wherein M = [ a = ij ]∈R N×N And constructing a laplace matrix L = { L ] according to the following formula ij }∈R N×N
L=D-M,
In the above formula, D is an interior matrix, M is an adjacent matrix, l ij The Laplace operator values of the ith temperature control load and the jth temperature control load are obtained;
s4.2, according to the scheduling power increment delta P needed to be provided by the next control period of the upper layer object L (t+Δt s ) Determining scheduling information of each temperature control load receiving controller according to the following formula;
Figure FDA0003876083530000032
in the above formula,. DELTA.x i (t) the ith temperature-controlled load receives scheduling information of the controller at time t, k 1 For the number of temperature controlled loads directly connected to the controller,
Figure FDA0003876083530000035
average power, Δ t, of the temperature-controlled load s For the time interval of the lower layer control, q i For the control coefficient of the ith temperature control load, q is provided if the ith temperature control load is directly connected with the controller in communication i =1, otherwise q i =0;
S4.3, determining that the states among the temperature control loads with communication connection are relatively available, and adopting a function expression controlled by a distributed static consensus protocol as follows:
Figure FDA0003876083530000033
in the above formula, u i (t) is the control variable at time t, c is a coupling coefficient greater than 0, L' is e.g. R 1×2 Representing a feedback gain matrix, R 1×2 Represents dimension, x i (t) is the state variable of the ith temperature-controlled load, a ij For the communication connection state between the ith temperature control load and the jth temperature control load, x j (t) is the state variable of the jth temperature-controlled load, Δ x i (t) scheduling information of the ith temperature control load receiving controller; substituting the function expression controlled by the distributed static consensus protocol into a state space model of a single temperature control load to obtain an ith temperature control load regulation and control model:
Figure FDA0003876083530000034
in the above formula, l ij Laplace operator value, Δ x, for the ith and jth temperature controlled loads j (t) scheduling information of the jth temperature control load receiving controller;
and S4.4, determining a feedback gain matrix L 'and a coupling coefficient c, and substituting the determined feedback gain matrix L' and the coupling coefficient c into the control model of each temperature control load to control the state of each temperature control load.
6. The microgrid-oriented temperature control load cluster control method of claim 5, wherein the determination of the feedback gain matrix L' in step S4.4 includes:
s101, finding out a solution of a linear matrix inequality shown in the following formula when P > 0:
AP+PA T -2BB T <0,
in the above formula, A and B are system state matrixes, and P is a solution of a linear matrix inequality;
s102, a feedback gain matrix L' is calculated according to the following formula:
L′=-B T P -1
in the above formula, P is the solution of the linear matrix inequality.
7. The microgrid-oriented temperature controlled load cluster control method of claim 6, wherein the determining of the coupling coefficient c in step S4.4 includes:
s201, determining the condition that the state variables of the temperature control loads in the upper layer object are commonly identified as a matrix A + c lambda i BL' is a Helvelz matrix, and the matrix A + c λ i The characteristic polynomial det (sI- (A + σ BL ')) of BL' is stable, where λ i Is the non-zero eigenvalue of Laplace matrix L, s is matrix A + c λ i The eigenvalues of BL', I is a second order identity matrix, A and B are system state matrices, σ is a coupling coefficient c and an eigenvalue λ i L' is a feedback gain matrix and has σ = c λ i = x + jy, where x, y are the coordinates of real and imaginary axes, respectively, and j is the unit of imaginary number;
s202, according to the matrix A + c lambda i The eigenvalues s of BL' establish a complex coefficient polynomial p(s) as shown below:
p(s)=s 2 +(a+jb)s+e+jd,
in the formula, a, b, d and e are polynomial coefficients, j is an imaginary unit, and a, b and e belong to R, wherein R is a real number;
s203, according to the stable essential condition a of the complex coefficient polynomial p (S)>0 and abd + a 2 e-d 2 >And 0, determining the value range of the coupling coefficient c, thereby determining the value of the coupling coefficient c in the value range.
8. The microgrid-oriented temperature control load cluster control method of claim 6, wherein in step S4.4, after substituting the determined feedback gain matrix L' and coupling coefficient c into the control model of each temperature control load to control the state of each temperature control load, the state variables of any ith temperature control load after each control are:
Figure FDA0003876083530000041
in the above formula, x i (t+Δt s ) For regulating the post-state variables, x i (t) is a state variable of the ith temperature-controlled load,
Figure FDA0003876083530000042
is the first derivative, Δ t, of the state variable of the ith temperature-controlled load s The time interval controlled for the lower layer.
9. A microgrid-oriented temperature controlled load cluster control system comprising a microprocessor and a memory connected to each other, characterized in that the microprocessor is programmed or configured to perform the microgrid-oriented temperature controlled load cluster control method of any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is used for being programmed or configured by a microprocessor to execute the microgrid-oriented temperature control load cluster control method according to any one of claims 1 to 8.
CN202211217777.4A 2022-09-30 2022-09-30 A microgrid-oriented temperature-controlled load cluster control method, system and medium Pending CN115549111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211217777.4A CN115549111A (en) 2022-09-30 2022-09-30 A microgrid-oriented temperature-controlled load cluster control method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211217777.4A CN115549111A (en) 2022-09-30 2022-09-30 A microgrid-oriented temperature-controlled load cluster control method, system and medium

Publications (1)

Publication Number Publication Date
CN115549111A true CN115549111A (en) 2022-12-30

Family

ID=84731331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211217777.4A Pending CN115549111A (en) 2022-09-30 2022-09-30 A microgrid-oriented temperature-controlled load cluster control method, system and medium

Country Status (1)

Country Link
CN (1) CN115549111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117638995A (en) * 2024-01-24 2024-03-01 电子科技大学 Temperature control load cluster power comprehensive inertia control method based on time triggering

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117638995A (en) * 2024-01-24 2024-03-01 电子科技大学 Temperature control load cluster power comprehensive inertia control method based on time triggering
CN117638995B (en) * 2024-01-24 2024-04-05 电子科技大学 Temperature control load cluster power comprehensive inertia control method based on time triggering

Similar Documents

Publication Publication Date Title
Bay et al. Distributed model predictive control for coordinated, grid-interactive buildings
CN108988316A (en) A kind of alternating current-direct current mixing distribution system grid structure Optimal Configuration Method
CN110380450B (en) Photovoltaic control method, device, equipment and computer readable storage medium
CN110401187B (en) Temperature control load layered aggregation control method for intelligent building
CN113078629B (en) Aggregate power distribution model for cluster temperature control load aggregate power regulation and control and distributed consistency control method
CN110474353A (en) Layer-stepping energy-storage system and its power grid frequency modulation control method for coordinating of participation
CN110970903A (en) Voltage coordination control optimization method and system applied to active power distribution network
Ju et al. Hierarchical control of air-conditioning loads for flexible demand response in the short term
Chen et al. Day-ahead scheduling of large numbers of thermostatically controlled loads based on equivalent energy storage model
CN115149586A (en) Distributed energy aggregation regulation and autonomous regulation and control cooperative optimization method and system
CN115549111A (en) A microgrid-oriented temperature-controlled load cluster control method, system and medium
CN113191638A (en) Electric heating coordination scheduling method and device considering heat transmission dynamic characteristics of heat supply network
CN112556102A (en) Distributed consensus control method and device for constant temperature control load
Hou et al. Two-layer control framework and aggregation response potential evaluation of air conditioning load considering multiple factors
CN108832645B (en) Energy storage allocation strategy of active distribution network based on regional prediction error index
CN118014453B (en) Virtual power plant adjustment capability assessment method and system considering physical and control constraints
Zheng et al. A distributed coordination strategy for heterogeneous building flexible thermal loads in responding to smart grids
CN112838580B (en) Improved heterogeneous temperature control load aggregation model and multi-target coordination control method
CN118606052A (en) External characteristics identification method of virtual power plant based on layered partitions
CN118399364A (en) Distributed optimal control method and system for direct-current power distribution network in consideration of line loss
CN117728400A (en) A method and terminal for determining power system reserve capacity based on operating scenarios
Xiao et al. Hierarchical control strategy of thermostatically controlled load considering multiple factors
CN106410829A (en) Prediction control-based coordinated control system and method of energy storage network
CN110598894A (en) Data processing method and device for energy Internet and electronic equipment
CN115733148A (en) Active power distribution network double-layer voltage control method and system considering DG cluster access

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