CN107947166B - Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control - Google Patents
Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control Download PDFInfo
- Publication number
- CN107947166B CN107947166B CN201711248647.6A CN201711248647A CN107947166B CN 107947166 B CN107947166 B CN 107947166B CN 201711248647 A CN201711248647 A CN 201711248647A CN 107947166 B CN107947166 B CN 107947166B
- Authority
- CN
- China
- Prior art keywords
- output power
- micro
- source
- controllable
- controllable micro
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/46—Controlling of the sharing of output between the generators, converters, or transformers
-
- H02J2103/30—
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Feedback Control In General (AREA)
Abstract
Description
技术领域technical field
本发明涉及电力技术领域,尤其涉及一种基于动态矩阵控制的多能微网变时调度方法及装置。The invention relates to the field of electric power technology, in particular to a multi-energy microgrid time-varying scheduling method and device based on dynamic matrix control.
背景技术Background technique
近年来,由于能源的大量需求及传统化石能源濒临枯竭的矛盾日益突出,风能、太阳能等可再生清洁能源的发展也因此得到了人们的重视。多能源互补独立电力系统是指因地制宜对如水力、风能、太阳能等可再生能源充分利用而形成的小型电力系统,又可称为混合发电系统或新能源微网。多能源互补独立电力系统的提出同时也解决了相当一部分偏远地区的供电问题。但是,随着这些新能源微网接入电网,电网的安全运行面临着严峻的挑战,尤其大量可再生的间歇性分布式电源、储能装置、柔性负荷的接入,保证电网的经济运行和优化调度是当前亟待解决的关键问题。目前的优化调度方法主要是基于未来一段优化时段的开环优化调度控制,无法及时有效的纠正风电、光伏预测误差等随机因素产生的优化调度结果偏差。In recent years, due to the large demand for energy and the contradiction that traditional fossil energy is on the verge of exhaustion has become increasingly prominent, the development of renewable clean energy such as wind energy and solar energy has also received people's attention. Multi-energy complementary independent power system refers to a small-scale power system formed by fully utilizing renewable energy such as hydropower, wind energy, and solar energy according to local conditions. It can also be called a hybrid power generation system or a new energy microgrid. The proposal of multi-energy complementary independent power system also solves the power supply problem in quite a few remote areas. However, as these new energy micro-grids are connected to the power grid, the safe operation of the power grid is facing severe challenges, especially the access of a large number of renewable intermittent distributed power sources, energy storage devices, and flexible loads to ensure the economic operation and safety of the power grid. Optimal scheduling is a key problem to be solved urgently. The current optimal scheduling method is mainly based on the open-loop optimal scheduling control of an optimal period in the future, which cannot timely and effectively correct the deviation of optimal scheduling results caused by random factors such as wind power and photovoltaic forecast errors.
发明内容Contents of the invention
为了解决现有技术所存在的问题,本发明提供了一种基于动态矩阵控制的多能微网变时调度方法及装置,兼具PID结构简单、参数方便调节和DMC滚动优化、鲁棒性强的特点,引入了反馈校正环节,校正风电、光伏预测误差等随机因素对调度结果的影响。In order to solve the problems existing in the prior art, the present invention provides a multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control, which has the advantages of simple PID structure, convenient parameter adjustment, DMC rolling optimization, and strong robustness It introduces a feedback correction link to correct the influence of random factors such as wind power and photovoltaic forecast errors on the scheduling results.
本发明提供了一种基于动态矩阵控制的多能微网变时调度方法,包括:The present invention provides a multi-energy microgrid time-varying scheduling method based on dynamic matrix control, including:
步骤S1:根据历史数据及天气信息采用神经网络时间序列预测多能微网总负荷需求及多能微网中不可控微源的总输出功率,并求出多能微网中可控微源的总输出功率;Step S1: According to the historical data and weather information, the neural network time series is used to predict the total load demand of the multi-energy microgrid and the total output power of the uncontrollable micro-sources in the multi-energy micro-grid, and calculate the controllable micro-sources in the multi-energy microgrid. Total output power;
其中,所述多能微网总负荷需求包含所述不可控微源的总输出功率和可控微源的总输出功率;Wherein, the total load demand of the multi-energy micro-grid includes the total output power of the uncontrollable micro-source and the total output power of the controllable micro-source;
步骤S2:以步骤S1获得的所述可控微源的总输出功率为约束条件,通过经济最优目标函数分别求解最优潮流,得到可控微源中柔性负荷、储能电池和可控分布式电源的输出功率期望值;Step S2: Taking the total output power of the controllable micro-source obtained in step S1 as the constraint condition, the optimal power flow is solved respectively through the economic optimal objective function, and the flexible load, energy storage battery and controllable distribution in the controllable micro-source are obtained The expected value of the output power of the power supply;
步骤S3:将步骤S2获得的所述三种可控微源的输出功率期望值作为输入参数,根据动态矩阵控制的预测模型和优化性能指标函数,分别求解所述三种可控微源的输出功率预测值;Step S3: taking the expected output power values of the three controllable micro-sources obtained in step S2 as input parameters, and solving the output powers of the three controllable micro-sources respectively according to the prediction model of dynamic matrix control and the optimized performance index function Predictive value;
步骤S4:将步骤S3得到的所述三种可控微源的输出功率预测值与所述三种可控微源的输出功率实际测量值进行校正,并根据校正后的输出功率预测值确定调度方案;Step S4: Correct the predicted output power values of the three controllable micro-sources obtained in step S3 and the actual measured output power values of the three controllable micro-sources, and determine the schedule according to the corrected output power predicted values Program;
其中,所述经济最优目标函数用于求解当多能微网的运行调度成本最低且保证多能微网运行时的污染物对环境造成的影响最低时的所述三种可控微源的输出功率期望值。Wherein, the economic optimal objective function is used to solve the three kinds of controllable micro-sources when the operation scheduling cost of the multi-energy microgrid is the lowest and the impact of the pollutants on the environment during the operation of the multi-energy microgrid is guaranteed to be the lowest. output power expectations.
本发明提供的方法,先采用历史数据及天气信息通过现有的神经网络进行时间序列预测得到多能微网的总负荷需求以及该多能微网中不可控微源的总输出功率,用总负荷需求减去不可控微源的总输出功率,得到可控微源的总输出功率。因为在电力调度中,只有可控微源才能够进行调控,故本发明方法需要先通过总负荷需求和不可控微源总输出功率得到可控微源的总输出功率,才能进而计算出可控微源中具体的不同种类微源的输出功率。在得到可控微源的总输出功率后,以该总输出功率作为约束条件,通过经济最优目标函数求解在经济最优条件下,柔性负荷、储能电池和可控分布式电源的输出功率期望值。最后,以上述三种可控微源的输出功率期望值作为输入参数,采用动态矩阵控制模型自带的滚动优化处理步骤以及优化性能指标函数求解上述三种可控微源的输出功率预测值。同时,为了保证输出功率预测值的准确性,采用输出功率的实际测量值对预测值进行校正,从而得到更加准确的输出功率预测值,并根据该预测值确定调度方案。The method provided by the present invention first uses historical data and weather information to perform time series prediction through the existing neural network to obtain the total load demand of the multi-energy micro-grid and the total output power of the uncontrollable micro-sources in the multi-energy micro-grid. Subtract the total output power of the uncontrollable micro-source from the load demand to obtain the total output power of the controllable micro-source. Because in power dispatching, only controllable micro-sources can be regulated, so the method of the present invention needs to obtain the total output power of controllable micro-sources through the total load demand and the total output power of uncontrollable micro-sources before calculating the controllable micro-sources. The specific output power of different types of micro-sources in micro-sources. After the total output power of the controllable micro-source is obtained, the total output power is used as a constraint condition, and the output power of the flexible load, energy storage battery and controllable distributed power is solved under the economic optimal condition through the economic optimal objective function expectations. Finally, with the expected output power values of the above three controllable micro-sources as input parameters, the rolling optimization processing steps and optimized performance index functions of the dynamic matrix control model are used to solve the output power prediction values of the above-mentioned three controllable micro-sources. At the same time, in order to ensure the accuracy of the predicted value of the output power, the actual measured value of the output power is used to correct the predicted value, so as to obtain a more accurate predicted value of the output power, and determine the scheduling scheme according to the predicted value.
进一步的,将所述三种可控微源的输出功率期望值作为输入参数输入动态矩阵控制预测模型,从而求解所述三种可控微源的输出功率预测值,所述动态矩阵控制预测模型为:Further, the expected output power values of the three controllable micro-sources are input into the dynamic matrix control prediction model as input parameters, so as to solve the output power prediction values of the three controllable micro-sources, and the dynamic matrix control prediction model is :
其中,P0(k)为通过实际测量得到的可控微源输出功率初始值,ΔuT(k+t|k)为k时刻预测得到k+t时段的可控微源输出功率增量的矩阵,维度为M,P(k+i|k)为k时刻预测得到k+i 时刻的可控微源输出功率预测值,i=1,2,...,N且M≤N,N为k时刻控制作用保持不变的初始预测输出值数量。Among them, P 0 (k) is the initial value of the controllable micro-source output power obtained through actual measurement, Δu T (k+t|k) is the controllable micro-source output power increment of the k+t period predicted at k time Matrix, the dimension is M, P(k+i|k) is the predictive value of the controllable micro-source output power at k+i time, i=1,2,...,N and M≤N, N is the number of initial predicted output values for which the control action remains unchanged at time k.
进一步的,所述经济最优目标函数为:Further, the economic optimal objective function is:
minF(t)={F1(t),F2(t)},t=1,2,...,24minF(t)={F 1 (t), F 2 (t)}, t=1,2,...,24
F1(t)=Cgrid(t)+Cflex(t)+Cstor(t)+CDP(t)+COM(t)+CDG(t)F 1 (t)=C grid (t)+C flex (t)+C st o r (t)+C DP (t)+C OM (t)+C DG (t)
F2(t)=Ce(t)F 2 (t) = C e (t)
其中,F1(t)为t时刻所述多能微网的运行调度成本,F2(t)为t时刻所述多能微网的环境污染成本,Cgrid(t)为t时刻所述多能微网向外网的购电成本,Cflex(t)为t时刻所述可控微源中柔性负荷的调度成本,Cstor(t)为t时刻所述可控微源中储能电池的调度成本,CDP(t)为t时刻所述可控微源中可控分布式电源的调度成本,COM(t)为t时刻所述可控微源的投资折旧成本, CDG(t)为t时刻所述可控微源的运行维护成本,Ce(t)为t时刻所述可控微源的环境污染成本。Among them, F 1 (t) is the operation scheduling cost of the multi-energy micro-grid at time t, F 2 (t) is the environmental pollution cost of the multi-energy micro-grid at time t, and C grid (t) is the cost of the multi-energy micro-grid at time t. The power purchase cost of the multi-energy microgrid to the external grid, C flex (t) is the scheduling cost of the flexible load in the controllable micro-source at time t, and C stor (t) is the energy storage in the controllable micro-source at time t The scheduling cost of the battery, C DP (t) is the scheduling cost of the controllable distributed power source in the controllable micro-source at time t, C OM (t) is the investment depreciation cost of the controllable micro-source at time t, C DG (t) is the operation and maintenance cost of the controllable micro-source at time t, and C e (t) is the environmental pollution cost of the controllable micro-source at time t.
发明人通过研究筛选出上述各种成本的具体计算公式:The inventor screened out the specific calculation formulas of the above various costs through research:
Cgrid(t)=cp(t)×Pgrid(t)C grid (t) = cp (t) × P grid (t)
式中,cp(t)为t时刻外网电价,Pgrid(t)为t时刻多能微网向外网的购电量;In the formula, cp(t) is the electricity price of the external grid at time t, and P grid (t) is the electricity purchased from the multi-energy microgrid to the external grid at time t;
m为柔性负荷的数量,αi、βi均为柔性负荷调度成本系数,Pflex0为柔性负荷调度前的输出功率初始值,ΔPflexi为柔性负荷功率变化量;m is the number of flexible loads, α i and β i are the cost coefficients of flexible load scheduling, P flex0 is the initial value of output power before flexible load scheduling, and ΔP flexi is the power variation of flexible loads;
n为储能电池数量,λstori为t时刻第i个储能电池的调度成本系数,Pstori(t)为t时刻第i 个储能电池的充放电功率;n is the number of energy storage batteries, λ stori is the scheduling cost coefficient of the i-th energy storage battery at time t, P stori (t) is the charging and discharging power of the i-th energy storage battery at time t;
j为可分布式电源数量,Caz,i为第i个可分布式电源的单位容量安装成本,ki为第i个可分布式电源的容量因数,Q为第i个可分布式电源的年发电量(即额定功率),r为年利率,ni为第i个可分布式电源的投资偿还期,Pi(t)为第i个可分布式电源t时刻的输出功率;j is the number of distributed power sources, C az,i is the unit capacity installation cost of the i-th distributed power source, k i is the capacity factor of the i-th distributed power source, and Q is the Annual power generation (namely rated power), r is the annual interest rate, n i is the investment repayment period of the i-th distributed power source, P i (t) is the output power of the i-th distributed power source at time t;
为第i个可控微源的单位电量运行维护成本系数;is the unit power operation and maintenance cost coefficient of the i-th controllable micro-source;
k为可控微源的数量,ai、bi、ci分别为第i个可控微源的调度成本系数,PDGi(t)为t时刻第i个可控微源的输出功率;k is the number of controllable micro-sources, a i , b i , and c i are the scheduling cost coefficients of the i-th controllable micro-source, respectively, PDGi (t) is the output power of the i-th controllable micro-source at time t;
h为污染物种类,Vek、Vk分别为第k项污染物的环境价值和所受罚款,Qik为第i个微源的单位电量。h is the type of pollutant, V ek and V k are the environmental value and penalty of the k-th pollutant respectively, and Qi ik is the unit electricity of the i-th micro-source.
进一步的,所述优化性能指标函数为:Further, the optimized performance index function is:
minJ=KiA(k)TQA(k)+KpΔA(k)TQΔA(k)+KdΔ2A(k)TQΔ2A(k)+ΔU(k)TRΔU(k)minJ=K i A(k) T QA(k)+K p ΔA(k) T QΔA(k)+K d Δ 2 A(k) T QΔ 2 A(k)+ΔU(k) T RΔU(k )
其中,A(k)=W(k)-P(k),P(k)=P0(k)+ΔU(k);Among them, A(k)=W(k)-P(k), P(k)=P 0 (k)+ΔU(k);
式中,Kp为比例矩阵,Ki为积分矩阵,Kd为微分矩阵,A(k)为可控微源输出功率期望值和预测值之间的预测误差,ΔA(k)为可控微源输出功率期望值和预测值之间的预测误差增量,Δ2A(k)为可控微源输出功率期望值和预测值之间的的预测误差增量的增量,W(k)为可控微源输出功率期望值矩阵,P(k)为可控微源输出功率预测值矩阵,Q为误差权矩阵,R为控制权矩阵,ΔU(k)为控制增量矩阵;P0(k)为可控微源输出功率的初始时刻实际测量值。In the formula, K p is the proportional matrix, K i is the integral matrix, K d is the differential matrix, A(k) is the prediction error between the expected value and the predicted output power of the controllable micro-source, ΔA(k) is the controllable micro-source The prediction error increment between the expected value and the predicted value of the output power of the source, Δ 2 A(k) is the increment of the prediction error increment between the expected value and the predicted value of the controllable micro-source output power, W(k) is the Controlled micro-source output power expectation matrix, P(k) is the controllable micro-source output power predicted value matrix, Q is the error weight matrix, R is the control weight matrix, ΔU(k) is the control increment matrix; P 0 (k) is the actual measured value of the output power of the controllable micro-source at the initial moment.
其中,本发明采用的是发明人改进过的优化性能指标函数,采用由在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)。该控制算法以FPID与DMC控制为基础,重构DMC控制目标函数,充分发挥了FPID控制器结构简单、易于实现及DMC建模简单、计算量少、鲁棒性强等优点,使控制系统控制效果得到优化。Wherein, the present invention adopts the optimized performance index function improved by the inventor, and adopts a novel model predictive control algorithm combining multivariable dynamic matrix control (DMC) and fractional order PID (FPID) control in the state space equation form (FPID-DMC). The control algorithm is based on FPID and DMC control, reconstructs the DMC control objective function, and gives full play to the advantages of FPID controller, which is simple in structure, easy to implement, simple in DMC modeling, less in calculation, and strong in robustness. Effects are optimized.
进一步的,所述步骤S4所采用的校正公式为:Further, the correction formula used in step S4 is:
Pcor(k+1)=P1(k+1|k)+hE(k+1)P c o r (k+1)=P 1 (k+1|k)+hE(k+1)
E(k+1)=Psj(k+1)-P1(k+1|k)E(k+1)=P sj (k+1)-P 1 (k+1|k)
式中,P1(k+1|k)为k+1时刻可控微源输出功率预测值,Pcor(k+1)为校正后的可控微源输出功率预测值,h为误差校正系数,E(k+1)为输出误差,Psj(k+1)为k+1时刻的可控微源实际测量值。In the formula, P 1 (k+1|k) is the predicted value of the output power of the controllable micro-source at time k+1, P cor (k+1) is the predicted value of the output power of the controllable micro-source after correction, and h is the error correction coefficient, E(k+1) is the output error, and P sj (k+1) is the actual measured value of the controllable micro-source at time k+1.
小水电站、风电、光伏等受环境因素影响较大,基于DMC的预测值无法保证与各微源出力不存在偏差,因此,在基于DMC的实时调度过程中,应当增加一个反馈校正环节,形成闭环控制系统,以系统当前的有功出力再次进行滚动预测,克服小水电、光伏、风电等微源出力的不确定性。Small hydropower stations, wind power, photovoltaics, etc. are greatly affected by environmental factors, and the predicted value based on DMC cannot guarantee that there is no deviation from the output of each micro-source. Therefore, in the real-time scheduling process based on DMC, a feedback correction link should be added to form a closed loop The control system performs rolling prediction again based on the current active output of the system to overcome the uncertainty of micro-source output such as small hydropower, photovoltaic, and wind power.
本发明还提供了一种基于动态矩阵控制的多能微网变时调度装置,包括:The present invention also provides a multi-energy micro-grid time-varying scheduling device based on dynamic matrix control, including:
可控微源总输出功率预测模块,用于根据历史数据及天气信息采用神经网络时间序列预测多能微网总负荷需求及多能微网中不可控微源的总输出功率,并求出多能微网中可控微源的总输出功率;The total output power prediction module of controllable micro-sources is used to predict the total load demand of multi-energy micro-grids and the total output power of uncontrollable micro-sources in multi-energy micro-grids by using neural network time series based on historical data and weather information, and calculate the multi-energy The total output power of the controllable micro-sources in the energy micro-grid;
其中,所述多能微网总负荷需求包含所述不可控微源的总输出功率和可控微源的总输出功率;Wherein, the total load demand of the multi-energy micro-grid includes the total output power of the uncontrollable micro-source and the total output power of the controllable micro-source;
最优潮流模块,用于以所述可控微源总输出功率预测模块获得的所述可控微源的总输出功率为约束条件,通过经济最优目标函数分别求解最优潮流,得到可控微源中柔性负荷、储能电池和可控分布式电源的输出功率期望值;The optimal power flow module is used to use the total output power of the controllable micro-source obtained by the controllable micro-source total output power prediction module as a constraint condition, and solve the optimal power flow through the economic optimal objective function to obtain the controllable micro-source Expected output power values of flexible loads, energy storage batteries and controllable distributed power sources in micro-sources;
输出功率预测模块,用于将所述最优潮流模块获得的所述三种可控微源的输出功率期望值作为输入参数,根据动态矩阵控制的预测模型和优化性能指标函数,分别求解所述三种可控微源的输出功率预测值;The output power prediction module is used to use the output power expectations of the three controllable micro-sources obtained by the optimal power flow module as input parameters, and solve the three controllable micro-sources according to the prediction model of dynamic matrix control and the optimized performance index function respectively The output power prediction value of a controllable micro-source;
校正模块,用于将所述输出功率预测模块得到的所述三种可控微源的输出功率预测值与所述三种可控微源的输出功率实际测量值进行校正,并根据校正后的输出功率预测值确定调度方案;A correction module, configured to correct the predicted output power values of the three controllable micro-sources obtained by the output power prediction module and the actual measured output power values of the three controllable micro-sources, and based on the corrected The output power prediction value determines the scheduling scheme;
其中,所述经济最优目标函数用于求解当多能微网的运行调度成本最低且保证多能微网运行时的污染物对环境造成的影响最低时的所述三种可控微源的输出功率期望值。Wherein, the economic optimal objective function is used to solve the three kinds of controllable micro-sources when the operation scheduling cost of the multi-energy microgrid is the lowest and the impact of the pollutants on the environment during the operation of the multi-energy microgrid is guaranteed to be the lowest. output power expectations.
进一步的,输出功率预测模块将所述三种可控微源的输出功率期望值作为输入参数输入动态矩阵控制预测模型,从而求解所述三种可控微源的输出功率预测值,所述动态矩阵控制预测模型为:Further, the output power prediction module uses the expected output power values of the three controllable micro-sources as input parameters into the dynamic matrix control prediction model, so as to solve the output power prediction values of the three controllable micro-sources, and the dynamic matrix The control prediction model is:
其中,P0(k)为通过实际测量得到的可控微源输出功率初始值,ΔuT(k+t| k)为k时刻预测得到k+t时段的可控微源输出功率增量的矩阵,维度为M,P(k+i| k)为k时刻预测得到k+i 时刻的可控微源输出功率预测值,i=1,2,...,N且M≤N,N为k时刻控制作用保持不变的初始预测输出值数量。Among them, P 0 (k) is the initial value of the controllable micro-source output power obtained through actual measurement, Δu T (k+t| k) is the controllable micro-source output power increment of the k+t period predicted at k time Matrix, the dimension is M, P(k+i|k) is the predictive value of the controllable micro-source output power at k+i time, i=1,2,...,N and M≤N, N is the number of initial predicted output values for which the control action remains unchanged at time k.
进一步的,最优潮流模块所采用的所述经济最优目标函数为:Further, the economic optimal objective function adopted by the optimal power flow module is:
minF(t)={F1(t),F2(t)},t=1,2,...,24minF(t)={F 1 (t), F 2 (t)}, t=1,2,...,24
F1(t)=Cgrid(t)+Cflex(t)+Cstor(t)+CDP(t)+COM(t)+CDG(t)F 1 (t)=C grid (t)+C flex (t)+C st o r (t)+C DP (t)+C OM (t)+C DG (t)
F2(t)=Ce(t)F 2 (t) = C e (t)
其中,F1(t)为t时刻所述多能微网的运行调度成本,F2(t)为t时刻所述多能微网的环境污染成本,Cgrid(t)为t时刻所述多能微网向外网的购电成本,Cflex(t)为t时刻所述可控微源中柔性负荷的调度成本,Cstor(t)为t时刻所述可控微源中储能电池的调度成本,CDP(t)为t时刻所述可控微源中可控分布式电源的调度成本,COM(t)为t时刻所述可控微源的投资折旧成本, CDG(t)为t时刻所述可控微源的运行维护成本,Ce(t)为t时刻所述可控微源的环境污染成本。Among them, F 1 (t) is the operation scheduling cost of the multi-energy micro-grid at time t, F 2 (t) is the environmental pollution cost of the multi-energy micro-grid at time t, and C grid (t) is the cost of the multi-energy micro-grid at time t. The power purchase cost of the multi-energy microgrid to the external grid, C flex (t) is the scheduling cost of the flexible load in the controllable micro-source at time t, and C st o r (t) is the cost of flexible load in the controllable micro-source at time t. The scheduling cost of the energy storage battery, C DP (t) is the scheduling cost of the controllable distributed power source in the controllable micro-source at time t, C OM (t) is the investment depreciation cost of the controllable micro-source at time t, C DG (t) is the operation and maintenance cost of the controllable micro-source at time t, and C e (t) is the environmental pollution cost of the controllable micro-source at time t.
进一步的,输出功率预测模块所采用的优化性能指标函数为:Further, the optimized performance index function adopted by the output power prediction module is:
minJ=KiA(k)TQA(k)+KpΔA(k)TQΔA(k)+KdΔ2A(k)TQΔ2A(k)+ΔU(k)TRΔU(k)minJ=K i A(k) T QA(k)+K p ΔA(k) T QΔA(k)+K d Δ 2 A(k) T QΔ 2 A(k)+ΔU(k) T RΔU(k )
其中,A(k)=W(k)-P(k),P(k)=P0(k)+ΔU(k);Among them, A(k)=W(k)-P(k), P(k)=P 0 (k)+ΔU(k);
式中,Kp为比例矩阵,Ki为积分矩阵,Kd为微分矩阵,A(k)为可控微源输出功率期望值和预测值之间的预测误差,ΔA(k)为可控微源输出功率期望值和预测值之间的预测误差增量,Δ2A(k)为可控微源输出功率期望值和预测值之间的的预测误差增量的增量,W(k)为可控微源输出功率期望值矩阵,P(k)为可控微源输出功率预测值矩阵,Q为误差权矩阵,R为控制权矩阵,ΔU(k)为控制增量矩阵;P0(k)为可控微源输出功率的初始时刻实际测量值。In the formula, K p is the proportional matrix, K i is the integral matrix, K d is the differential matrix, A(k) is the prediction error between the expected value and the predicted output power of the controllable micro-source, ΔA(k) is the controllable micro-source The prediction error increment between the expected value and the predicted value of the output power of the source, Δ 2 A(k) is the increment of the prediction error increment between the expected value and the predicted value of the controllable micro-source output power, W(k) is the Controlled micro-source output power expectation matrix, P(k) is the controllable micro-source output power predicted value matrix, Q is the error weight matrix, R is the control weight matrix, ΔU(k) is the control increment matrix; P 0 (k) is the actual measured value of the output power of the controllable micro-source at the initial moment.
进一步的,所述校正模块所采用的校正公式为:Further, the correction formula adopted by the correction module is:
Pcor(k+1)=P1(k+1|k)+hE(k+1)P c o r (k+1)=P 1 (k+1|k)+hE(k+1)
E(k+1)=Psj(k+1)-P1(k+1|k)E(k+1)=P sj (k+1)-P 1 (k+1|k)
式中,P1(k+1|k)为k+1时刻可控微源输出功率预测值,Pcor(k+1)为校正后的可控微源输出功率预测值,h为误差校正系数,E(k+1)为输出误差,Psj(k+1)为k+1时刻的可控微源实际测量值。In the formula, P 1 (k+1|k) is the predicted value of the output power of the controllable micro-source at time k+1, P cor (k+1) is the predicted value of the output power of the controllable micro-source after correction, and h is the error correction coefficient, E(k+1) is the output error, and P sj (k+1) is the actual measured value of the controllable micro-source at time k+1.
有益效果Beneficial effect
本发明提供的一种基于动态矩阵控制的多能微网变时调度方法及装置,基于动态矩阵控制建立预测模型,通过在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶PID (FPID)控制相结合的新型模型预测控制算法(FPID-DMC)改善控制品质并滚动预测控制增量,进而预测未来有限时域各可控分布式电源、储能电池及柔性负荷的有功出力。本发明提供的方法及装置,兼具PID结构简单、参数方便调节和DMC滚动优化、鲁棒性强的特点,引入了反馈校正环节,校正风电、光伏预测误差等随机因素对调度结果的影响。A multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control provided by the present invention establishes a prediction model based on dynamic matrix control, through multivariable dynamic matrix control (DMC) and fractional-order PID in the form of state space equations The new model predictive control algorithm (FPID-DMC) combined with (FPID) control improves the control quality and rolls the forecast control increment, and then predicts the active output of each controllable distributed power supply, energy storage battery and flexible load in the limited time domain in the future. The method and device provided by the present invention have the characteristics of simple PID structure, convenient parameter adjustment, DMC rolling optimization, and strong robustness. The feedback correction link is introduced to correct the influence of random factors such as wind power and photovoltaic prediction errors on the scheduling results.
附图说明Description of drawings
图1是本发明实施例一提供的一种基于动态矩阵控制的多能微网变时调度方法的流程示意图;FIG. 1 is a schematic flowchart of a multi-energy microgrid time-varying scheduling method based on dynamic matrix control provided by Embodiment 1 of the present invention;
图2是本发明实施例一提供的一种基于动态矩阵控制的多能微网变时调度方法的具体实例中外网一天的实时电价;Fig. 2 is a real-time electricity price of the external network in a specific example of a multi-energy micro-grid time-varying scheduling method based on dynamic matrix control provided by Embodiment 1 of the present invention;
图3是本发明实施例一的具体实例中多能微网总负荷需求;Fig. 3 is the total load demand of the multi-energy micro-grid in the specific example of Embodiment 1 of the present invention;
图4是本发明实施例一的具体实例中小水电站的输出功率;Fig. 4 is the output power of the small hydropower station in the concrete example of embodiment one of the present invention;
图5是本发明实施例一的具体实例中光伏发电的输出功率;Fig. 5 is the output power of photovoltaic power generation in the concrete example of embodiment one of the present invention;
图6是本发明实施例一的具体实例中柔性负荷、蓄电池和微型燃气轮机的输出功率期望值;Fig. 6 is the expected value of the output power of the flexible load, the storage battery and the micro gas turbine in the specific example of the first embodiment of the present invention;
图7是本发明实施例一的具体实例中最后确定的调度方案;FIG. 7 is the finalized scheduling scheme in the specific example of Embodiment 1 of the present invention;
图8是本发明提供的方案与现有技术方法得到的调度结果的对比图;Fig. 8 is a comparison diagram of the scheduling results obtained by the scheme provided by the present invention and the prior art method;
图9是本发明实施例二提供的一种基于动态矩阵控制的多能微网变时调度装置的结构示意图。Fig. 9 is a schematic structural diagram of a multi-energy microgrid time-varying scheduling device based on dynamic matrix control provided by Embodiment 2 of the present invention.
具体实施方式Detailed ways
为了方便更好地理解本发明方案的内容,下面结合具体实施例对本发明方案进行进一步阐述。In order to facilitate a better understanding of the content of the solution of the present invention, the solution of the present invention will be further described below in conjunction with specific examples.
实施例一Embodiment one
图1是本发明实施例一提供的一种基于动态矩阵控制的多能微网变时调度方法的流程示意图,本发明提供的方法包括:步骤S1:根据历史数据及天气信息采用神经网络时间序列预测多能微网总负荷需求及多能微网中不可控微源的总输出功率,并求出多能微网中可控微源的总输出功率;其中,所述多能微网总负荷需求包含所述不可控微源的总输出功率和可控微源的总输出功率;步骤S2:以步骤S1获得的所述可控微源的总输出功率为约束条件,通过经济最优目标函数分别求解最优潮流,得到可控微源中柔性负荷、储能电池和可控分布式电源的输出功率期望值;步骤S3:将步骤S2获得的所述三种可控微源的输出功率期望值作为输入参数,根据动态矩阵控制的预测模型和优化性能指标函数,分别求解所述三种可控微源的输出功率预测值;步骤S4:将步骤S3得到的所述三种可控微源的输出功率预测值与所述三种可控微源的输出功率实际测量值进行校正,并根据校正后的输出功率预测值确定调度方案;其中,所述经济最优目标函数用于求解当多能微网的运行调度成本最低且保证多能微网运行时的污染物对环境造成的影响最低时的所述三种可控微源的输出功率期望值。Figure 1 is a schematic flow chart of a multi-energy microgrid time-varying scheduling method based on dynamic matrix control provided by Embodiment 1 of the present invention. The method provided by the present invention includes: Step S1: Using neural network time series according to historical data and weather information Predict the total load demand of the multi-energy micro-grid and the total output power of the uncontrollable micro-sources in the multi-energy micro-grid, and calculate the total output power of the controllable micro-sources in the multi-energy micro-grid; wherein, the total load of the multi-energy micro-grid The demand includes the total output power of the uncontrollable micro-source and the total output power of the controllable micro-source; step S2: taking the total output power of the controllable micro-source obtained in step S1 as a constraint condition, through the economic optimal objective function Solve the optimal power flow separately to obtain the expected output power values of flexible loads, energy storage batteries and controllable distributed power sources in the controllable micro-sources; step S3: use the expected output power values of the three controllable micro-sources obtained in step S2 as Input parameters, according to the prediction model of dynamic matrix control and the optimized performance index function, solve the output power prediction value of described three kinds of controllable micro-sources respectively; Step S4: the output of described three kinds of controllable micro-sources obtained in step S3 The predicted power value and the actual measured value of the output power of the three controllable micro-sources are corrected, and the scheduling scheme is determined according to the corrected output power predicted value; wherein, the economic optimal objective function is used to solve when the multi-energy micro- The expected value of the output power of the three controllable micro-sources when the operation scheduling cost of the multi-energy micro-grid is the lowest and the impact on the environment caused by the pollutants during the operation of the multi-energy micro-grid is the lowest.
在本发明中,将所述三种可控微源的输出功率期望值作为输入参数输入动态矩阵控制预测模型,从而求解所述三种可控微源的输出功率预测值,所述动态矩阵控制预测模型为:In the present invention, the expected output power values of the three controllable micro-sources are input into the dynamic matrix control prediction model as input parameters, thereby solving the output power prediction values of the three controllable micro-sources, and the dynamic matrix control prediction The model is:
其中,P0(k)为通过实际测量得到的可控微源输出功率初始值,ΔuT(k+t| k)为k时刻预测得到k+t时段的可控微源输出功率增量的矩阵,维度为M,P(k+i| k)为k时刻预测得到k+i 时刻的可控微源输出功率预测值,i=1,2,...,N且M≤N,N为k时刻控制作用保持不变的初始预测输出值数量。Among them, P 0 (k) is the initial value of the controllable micro-source output power obtained through actual measurement, Δu T (k+t| k) is the controllable micro-source output power increment of the k+t period predicted at k time Matrix, the dimension is M, P(k+i|k) is the predictive value of the controllable micro-source output power at k+i time, i=1,2,...,N and M≤N, N is the number of initial predicted output values for which the control action remains unchanged at time k.
在上述步骤中,采用的经济最优目标函数具体为:In the above steps, the economic optimal objective function adopted is specifically:
minF(t)={F1(t),F2(t)},t=1,2,...,24minF(t)={F 1 (t), F 2 (t)}, t=1,2,...,24
F1(t)=Cgrid(t)+Cflex(t)+Cstor(t)+CDP(t)+COM(t)+CDG(t)F 1 (t)=C grid (t)+C flex (t)+C st o r (t)+C DP (t)+C OM (t)+C DG (t)
F2(t)=Ce(t)F 2 (t) = C e (t)
其中,F1(t)为t时刻所述多能微网的运行调度成本,F2(t)为t时刻所述多能微网的环境污染成本,Cgrid(t)为t时刻所述多能微网向外网的购电成本,Cflex(t)为t时刻所述可控微源中柔性负荷的调度成本,Cstor(t)为t时刻所述可控微源中储能电池的调度成本,CDP(t)为t时刻所述可控微源中可控分布式电源的调度成本,COM(t)为t时刻所述可控微源的投资折旧成本, CDG(t)为t时刻所述可控微源的运行维护成本,Ce(t)为t时刻所述可控微源的环境污染成本。Among them, F 1 (t) is the operation scheduling cost of the multi-energy micro-grid at time t, F 2 (t) is the environmental pollution cost of the multi-energy micro-grid at time t, and C grid (t) is the cost of the multi-energy micro-grid at time t. The power purchase cost of the multi-energy microgrid to the external grid, C flex (t) is the scheduling cost of the flexible load in the controllable micro-source at time t, and C st o r (t) is the cost of flexible load in the controllable micro-source at time t. The scheduling cost of the energy storage battery, C DP (t) is the scheduling cost of the controllable distributed power source in the controllable micro-source at time t, C OM (t) is the investment depreciation cost of the controllable micro-source at time t, C DG (t) is the operation and maintenance cost of the controllable micro-source at time t, and C e (t) is the environmental pollution cost of the controllable micro-source at time t.
发明人通过研究,筛选出上述各种成本的具体计算公式:Through research, the inventor screened out the specific calculation formulas of the above various costs:
Cgrid(t)=cp(t)×Pgrid(t)C grid (t) = cp (t) × P grid (t)
式中,cp(t)为t时刻外网电价,Pgrid(t)为t时刻多能微网向外网的购电量;In the formula, cp(t) is the electricity price of the external grid at time t, and P grid (t) is the electricity purchased from the multi-energy microgrid to the external grid at time t;
m为柔性负荷的数量,αi、βi均为柔性负荷调度成本系数,Pflex0为柔性负荷调度前的输出功率初始值,ΔPflexi为柔性负荷功率变化量;m is the number of flexible loads, α i and β i are the cost coefficients of flexible load scheduling, P flex0 is the initial value of output power before flexible load scheduling, and ΔP flexi is the power variation of flexible loads;
n为储能电池数量,λstori为t时刻第i个储能电池的调度成本系数,Pstori(t)为t时刻第i 个储能电池的充放电功率;n is the number of energy storage batteries, λ stori is the scheduling cost coefficient of the i-th energy storage battery at time t, P stori (t) is the charging and discharging power of the i-th energy storage battery at time t;
j为可分布式电源数量,Caz,i为第i个可分布式电源的单位容量安装成本,ki为第i个可分布式电源的容量因数,Q为第i个可分布式电源的年发电量(即额定功率),r为年利率,ni为第i个可分布式电源的投资偿还期,Pi(t)为第i个可分布式电源t时刻的输出功率;j is the number of distributed power sources, C az,i is the unit capacity installation cost of the i-th distributed power source, k i is the capacity factor of the i-th distributed power source, and Q is the Annual power generation (namely rated power), r is the annual interest rate, n i is the investment repayment period of the i-th distributed power source, P i (t) is the output power of the i-th distributed power source at time t;
KOM,i为第i个可控微源的单位电量运行维护成本系数;K OM,i is the unit electricity operation and maintenance cost coefficient of the i-th controllable micro-source;
k为可控微源的数量,ai、bi、ci分别为第i个可控微源的调度成本系数,PDGi(t)为t时刻第i个可控微源的输出功率;k is the number of controllable micro-sources, a i , b i , and c i are the scheduling cost coefficients of the i-th controllable micro-source, respectively, PDGi (t) is the output power of the i-th controllable micro-source at time t;
h为污染物种类,Vek、Vk分别为第k项污染物的环境价值和所受罚款,Qik为第i个微源的单位电量。h is the type of pollutant, V ek and V k are the environmental value and penalty of the k-th pollutant respectively, and Qi ik is the unit electricity of the i-th micro-source.
本发明采用的是发明人改进过的优化性能指标函数,采用由在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)。该控制算法以FPID与DMC控制为基础,重构DMC控制目标函数,充分发挥了FPID控制器结构简单、易于实现及DMC建模简单、计算量少、鲁棒性强等优点,使控制系统控制效果得到优化。具体的优化性能指标函数为:What the present invention adopted is the optimized performance index function improved by the inventor, and adopts the novel model predictive control algorithm (FPID) that combines multivariable dynamic matrix control (DMC) and fractional order PID (FPID) control under state space equation form -DMC). The control algorithm is based on FPID and DMC control, reconstructs the DMC control objective function, and gives full play to the advantages of FPID controller, which is simple in structure, easy to implement, simple in DMC modeling, less in calculation, and strong in robustness. Effects are optimized. The specific optimization performance index function is:
minJ=KiA(k)TQA(k)+KpΔA(k)TQΔA(k)+KdΔ2A(k)TQΔ2A(k)+ΔU(k)TRΔU(k)minJ=K i A(k) T QA(k)+K p ΔA(k) T QΔA(k)+K d Δ 2 A(k) T QΔ 2 A(k)+ΔU(k) T RΔU(k )
其中,A(k)=W(k)-P(k),P(k)=P0(k)+ΔU(k);Among them, A(k)=W(k)-P(k), P(k)=P 0 (k)+ΔU(k);
式中,Kp为比例矩阵,Ki为积分矩阵,Kd为微分矩阵,A(k)为可控微源输出功率期望值和预测值之间的预测误差,ΔA(k)为可控微源输出功率期望值和预测值之间的预测误差增量,Δ2A(k)为可控微源输出功率期望值和预测值之间的的预测误差增量的增量,W(k)为可控微源输出功率期望值矩阵,P(k)为可控微源输出功率预测值矩阵,Q为误差权矩阵,R为控制权矩阵,ΔU(k)为控制增量矩阵;P0(k)为可控微源输出功率的初始时刻实际测量值。In the formula, K p is the proportional matrix, K i is the integral matrix, K d is the differential matrix, A(k) is the prediction error between the expected value and the predicted output power of the controllable micro-source, ΔA(k) is the controllable micro-source The prediction error increment between the expected value and the predicted value of the output power of the source, Δ 2 A(k) is the increment of the prediction error increment between the expected value and the predicted value of the controllable micro-source output power, W(k) is the Controlled micro-source output power expectation matrix, P(k) is the controllable micro-source output power predicted value matrix, Q is the error weight matrix, R is the control weight matrix, ΔU(k) is the control increment matrix; P 0 (k) is the actual measured value of the output power of the controllable micro-source at the initial moment.
在本发明步骤S4中所采用的校正公式为:The correction formula adopted in step S4 of the present invention is:
Pcor(k+1)=P1(k+1|k)+hE(k+1)P c o r (k+1)=P 1 (k+1|k)+hE(k+1)
E(k+1)=Psj(k+1)-P1(k+1|k)E(k+1)=P sj (k+1)-P 1 (k+1|k)
式中,P1(k+1|k)为k+1时刻可控微源输出功率预测值,Pcor(k+1)为校正后的可控微源输出功率预测值,h为误差校正系数,E(k+1)为输出误差,Psj(k+1)为k+1时刻的可控微源实际测量值。In the formula, P 1 (k+1|k) is the predicted value of the output power of the controllable micro-source at time k+1, P c o r (k+1) is the predicted value of the output power of the controllable micro-source after correction, and h is Error correction coefficient, E(k+1) is the output error, P sj (k+1) is the actual measurement value of the controllable micro-source at the moment k+1.
小水电站、风电、光伏等受环境因素影响较大,基于DMC的预测值无法保证与各微源出力不存在偏差,因此,在基于DMC的实时调度过程中,应当增加一个反馈校正环节,形成闭环控制系统,以系统当前的有功出力再次进行滚动预测,克服小水电、光伏、风电等微源出力的不确定性。Small hydropower stations, wind power, photovoltaics, etc. are greatly affected by environmental factors, and the predicted value based on DMC cannot guarantee that there is no deviation from the output of each micro-source. Therefore, in the real-time scheduling process based on DMC, a feedback correction link should be added to form a closed loop The control system performs rolling prediction again based on the current active output of the system to overcome the uncertainty of micro-source output such as small hydropower, photovoltaic, and wind power.
具体而言,本实施例针对湖南省小水电丰富的现实特点,建立了主要由小水电、光伏、一个可控分布式电源(本实施例中即微型燃气轮机)、储能电池(本实施例中即蓄电池)和柔性负荷构成的简单的多能微网系统,同时考虑到微网内功率需求相对较小、系统内电力线路较短,本实施例假设线路传输没有损耗,系统电压稳定,并且没有谐波干扰等。图2示出了外网一天的实时电价;各个微源不同污染物的罚款标准、环境价值标准及其排放数据参考文献《兼顾环境保护与经济效益的发电调度分布式优化策略》(喻洁,李扬,夏安邦.兼顾环境保护与经济效益的发电调度分布式优化策略[J].中国电机工程学报,2009,29(16):63-68.)和《分布式发电的环境效益分析》(钱科军,袁越,石晓丹,等.分布式发电的环境效益分析[J]. 中国电机工程学报,2008,28(29):11-15.)的记载;表1-表5示出了本实施例多能微网中各个装置的具体参数。Specifically, this embodiment aims at the rich practical characteristics of small hydropower in Hunan Province, and establishes a system consisting mainly of small hydropower, photovoltaics, a controllable distributed power source (in this embodiment, a micro gas turbine), and an energy storage battery (in this embodiment That is, a simple multi-energy micro-grid system composed of batteries) and flexible loads, and considering that the power demand in the micro-grid is relatively small and the power lines in the system are short, this embodiment assumes that there is no loss in line transmission, the system voltage is stable, and there is no harmonic interference etc. Figure 2 shows the real-time electricity price of the external network for one day; the fine standards, environmental value standards and emission data of various micro-sources and different pollutants. Li Yang, Xia Anbang. A distributed optimization strategy for power generation dispatching that takes into account both environmental protection and economic benefits [J]. Chinese Journal of Electrical Engineering, 2009, 29(16): 63-68.) and "Environmental Benefit Analysis of Distributed Power Generation" ( Qian Kejun, Yuan Yue, Shi Xiaodan, et al. Environmental Benefit Analysis of Distributed Power Generation[J]. Chinese Journal of Electrical Engineering, 2008,28(29):11-15.); Table 1-Table 5 shows Specific parameters of each device in the multi-energy microgrid in this embodiment.
表1光伏发电、水电机组参数Table 1 Parameters of photovoltaic power generation and hydropower units
表2蓄电池参数Table 2 Battery parameters
表3微型燃气轮机参数Table 3 Micro gas turbine parameters
表4柔性负荷参数Table 4 Flexible load parameters
注:Pload0为当前时刻柔性负荷预测初始值。Note: P load0 is the initial value of flexible load prediction at the current moment.
表5各微源的其余参数Table 5 The remaining parameters of each micro-source
步骤S1:根据历史数据及天气信息采用神经网络时间序列预测多能微网总负荷需求(如图3所示)及多能微网中不可控微源的总输出功率(包括图4所示的小水电站的输出功率和图5所示的光伏发电的输出功率),并求出多能微网中可控微源的总输出功率;Step S1: According to the historical data and weather information, the neural network time series is used to predict the total load demand of the multi-energy microgrid (as shown in Figure 3) and the total output power of the uncontrollable micro-sources in the multi-energy microgrid (including the The output power of the small hydropower station and the output power of photovoltaic power generation shown in Figure 5), and the total output power of the controllable micro-source in the multi-energy micro-grid is obtained;
步骤S2:以步骤S1获得的所述可控微源的总输出功率为约束条件,通过经济最优目标函数分别求解最优潮流,得到可控微源中柔性负荷、蓄电池和微型燃气轮机的输出功率期望值 (如图6所示);Step S2: Taking the total output power of the controllable micro-source obtained in step S1 as a constraint condition, solve the optimal power flow through the economic optimal objective function respectively, and obtain the output power of the flexible load, battery and micro gas turbine in the controllable micro-source Expected value (as shown in Figure 6);
步骤S3:将步骤S2获得的柔性负荷、蓄电池和微型燃气轮机的输出功率期望值作为输入参数,根据动态矩阵控制的预测模型和优化性能指标函数,分别求解所述三种可控微源的输出功率预测值;Step S3: Using the expected output power values of the flexible load, storage battery and micro gas turbine obtained in step S2 as input parameters, solve the output power predictions of the three controllable micro sources respectively according to the prediction model of dynamic matrix control and the optimized performance index function value;
步骤S4:将步骤S3得到的柔性负荷、蓄电池和微型燃气轮机的输出功率预测值与其输出功率实际测量值进行校正,并根据校正后的输出功率预测值确定调度方案(如图7所示)。Step S4: Correct the predicted output power values of flexible loads, storage batteries, and micro gas turbines obtained in step S3 and their actual measured output power values, and determine a dispatching plan based on the corrected predicted output power values (as shown in Figure 7).
由图8所示的传统开环优化调度方法(即常规DMC调度方法)与本发明提供的调度方法 (即FPID-DMC优化调度方法)的结果对比可知,两种调度的有功趋势是一样的,但是传统开环优化调度与日前调度的有功偏差值相比于FPID-DMC优化调度大得多。同时,对比两种调度结果曲线可以发现基于FPID-DMC优化调度曲线更加平滑,可以保证对光伏、小水电站出力的间歇性、波动性拥有更高的耐受能力,并且还能减小储能装置、柔性负荷等可调度设备的机械损耗,延长使用寿命。By comparing the results of the traditional open-loop optimal scheduling method shown in Figure 8 (i.e. the conventional DMC scheduling method) with the scheduling method provided by the present invention (i.e. the FPID-DMC optimal scheduling method), it can be known that the active power trends of the two types of scheduling are the same, However, the active power deviation between traditional open-loop optimal scheduling and day-ahead scheduling is much larger than that of FPID-DMC optimal scheduling. At the same time, comparing the two scheduling result curves, it can be found that the optimal scheduling curve based on FPID-DMC is smoother, which can ensure a higher tolerance to the intermittent and fluctuating output of photovoltaic and small hydropower stations, and can also reduce the energy storage device. , flexible loads and other adjustable equipment mechanical loss, prolong service life.
通过定义储能装置、柔性负荷等可调度设备的平稳性指标,定量比较本文提出的调度方式与传统开环调度方式的调度过程中可调度设备有功出力波动,平稳性指标如下式所示(以柔性负荷为例)。By defining the stability index of schedulable equipment such as energy storage devices and flexible loads, quantitatively compare the dispatching method proposed in this paper with the traditional open-loop dispatching method during the dispatching process. flexible load as an example).
式中,Pflexi为i时刻柔性负荷的有功出力,为柔性负荷的有功出力平均值,n为调度结果对应的时刻数量。In the formula, P flexi is the active output of the flexible load at time i, is the average value of the active output of the flexible load, and n is the number of moments corresponding to the scheduling result.
比较储能装置、柔性负荷等可调度设备有功出力的平稳性指标,如表6所示。Compare the stability indexes of active power output of dispatchable equipment such as energy storage devices and flexible loads, as shown in Table 6.
表6各可调度设备出力的平稳性指标比较Table 6 Comparison of the smoothness index of each schedulable equipment output
通过定量比较各可调度设备有功出力的平稳性指标,证明了本文提出的FPID-DMC优化调度平稳分布式能源有功出力波动的有效性,对间隙性强的分布式能源具有更高的消纳能力。By quantitatively comparing the stability indicators of the active output of each schedulable equipment, it is proved that the FPID-DMC proposed in this paper is effective in optimizing the dispatching of stable distributed energy active output fluctuations, and has a higher ability to accommodate distributed energy with strong gaps. .
将两种优化方法的实时调度结果的运行成本和环境成本通过本文提出的计算方法进行计算,计算结果如表7所示。The operating cost and environmental cost of the real-time scheduling results of the two optimization methods are calculated by the calculation method proposed in this paper, and the calculation results are shown in Table 7.
表7不同调度策略下的一日运行费用Table 7 One-day operating costs under different scheduling strategies
表7表明基于FPID-DMC优化调度方式相较于传统优化一日的运行成本要低的多,环境成本相差不多,证明本文提出的方法具有更好的经济效益。Table 7 shows that the operation cost based on FPID-DMC optimization scheduling method is much lower than the traditional one-day optimization, and the environmental cost is similar, which proves that the method proposed in this paper has better economic benefits.
综上所述,本发明提供的一种基于动态矩阵控制的多能微网变时调度方法,基于动态矩阵控制建立预测模型,通过在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶 PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)改善控制品质并滚动预测控制增量,进而预测未来有限时域各可控分布式电源、储能电池及柔性负荷的有功出力。本发明提供的方法及装置,兼具PID结构简单、参数方便调节和DMC滚动优化、鲁棒性强的特点,引入了反馈校正环节,校正风电、光伏预测误差等随机因素对调度结果的影响。In summary, the present invention provides a multi-energy microgrid time-varying scheduling method based on dynamic matrix control, which establishes a predictive model based on dynamic matrix control, through multivariable dynamic matrix control (DMC) and New Model Predictive Control Algorithm Combining Fractional PID (FPID) Control (FPID-DMC) New Model Predictive Control Combining Multivariable Dynamic Matrix Control (DMC) and Fractional PID (FPID) Control in State Space Equation Form The algorithm (FPID-DMC) improves the control quality and rolls the forecast control increment, and then predicts the active output of each controllable distributed power supply, energy storage battery and flexible load in the future limited time domain. The method and device provided by the present invention have the characteristics of simple PID structure, convenient parameter adjustment, DMC rolling optimization, and strong robustness. The feedback correction link is introduced to correct the influence of random factors such as wind power and photovoltaic prediction errors on the scheduling results.
实施例二Embodiment two
图2示出了本发明实施例二提供的一种基于动态矩阵控制的多能微网变时调度装置,包括:Figure 2 shows a multi-energy microgrid time-varying scheduling device based on dynamic matrix control provided by Embodiment 2 of the present invention, including:
可控微源总输出功率预测模块100,用于根据历史数据及天气信息采用神经网络时间序列预测多能微网总负荷需求及多能微网中不可控微源的总输出功率,并求出多能微网中可控微源的总输出功率;The controllable micro-source total output power prediction module 100 is used to predict the total load demand of the multi-energy micro-grid and the total output power of the uncontrollable micro-source in the multi-energy micro-grid by using the neural network time series based on historical data and weather information, and calculate The total output power of the controllable micro-sources in the multi-energy micro-grid;
其中,所述多能微网总负荷需求包含所述不可控微源的总输出功率和可控微源的总输出功率;Wherein, the total load demand of the multi-energy micro-grid includes the total output power of the uncontrollable micro-source and the total output power of the controllable micro-source;
最优潮流模块200,用于以所述可控微源总输出功率预测模块获得的所述可控微源的总输出功率为约束条件,通过经济最优目标函数分别求解最优潮流,得到可控微源中柔性负荷、储能电池和可控分布式电源的输出功率期望值;The optimal power flow module 200 is used to use the total output power of the controllable micro-source obtained by the controllable micro-source total output power prediction module as a constraint condition, and solve the optimal power flow through the economic optimal objective function to obtain Output power expectations of flexible loads, energy storage batteries and controllable distributed power sources in micro-controlled sources;
输出功率预测模块300,用于将所述最优潮流模块获得的所述三种可控微源的输出功率期望值作为输入参数,根据动态矩阵控制的预测模型和优化性能指标函数,分别求解所述三种可控微源的输出功率预测值;The output power prediction module 300 is used to use the expected output power values of the three controllable micro-sources obtained by the optimal power flow module as input parameters, and respectively solve the described Predicted output power values of three controllable micro-sources;
校正模块400,用于将所述输出功率预测模块得到的所述三种可控微源的输出功率预测值与所述三种可控微源的输出功率实际测量值进行校正,并根据校正后的输出功率预测值确定调度方案;The correction module 400 is used to correct the predicted output power values of the three controllable micro-sources obtained by the output power prediction module and the actual measured output power values of the three controllable micro-sources, and according to the corrected The predicted value of the output power determines the scheduling scheme;
其中,所述经济最优目标函数用于求解当多能微网的运行调度成本最低且保证多能微网运行时的污染物对环境造成的影响最低时的所述三种可控微源的输出功率期望值。Wherein, the economic optimal objective function is used to solve the three kinds of controllable micro-sources when the operation scheduling cost of the multi-energy microgrid is the lowest and the impact of the pollutants on the environment during the operation of the multi-energy microgrid is guaranteed to be the lowest. output power expectations.
其中,输出功率预测模块将所述三种可控微源的输出功率期望值作为输入参数输入动态矩阵控制预测模型,从而求解所述三种可控微源的输出功率预测值,所述动态矩阵控制预测模型为:Wherein, the output power prediction module inputs the expected output power values of the three controllable micro-sources into the dynamic matrix control prediction model as input parameters, thereby solving the output power prediction values of the three controllable micro-sources, and the dynamic matrix control The predictive model is:
其中,P0(k)为通过实际测量得到的可控微源输出功率初始值,ΔuT(k+t|k)为k时刻预测得到k+t时段的可控微源输出功率增量的矩阵,维度为M,P(k+i|k)为k时刻预测得到k+i 时刻的可控微源输出功率预测值,i=1,2,...,N且M≤N。Among them, P 0 (k) is the initial value of the controllable micro-source output power obtained through actual measurement, Δu T (k+t|k) is the controllable micro-source output power increment of the k+t period predicted at k time Matrix, the dimension is M, P(k+i|k) is the predictive value of the output power of the controllable micro-source at k+i time predicted at time k, i=1,2,...,N and M≤N.
其中,最优潮流模块所采用的经济最优目标函数为:Among them, the economic optimal objective function adopted by the optimal power flow module is:
minF(t)={F1(t),F2(t)},t=1,2,...,24minF(t)={F 1 (t), F 2 (t)}, t=1,2,...,24
F1(t)=Cgrid(t)+Cflex(t)+Cstor(t)+CDP(t)+COM(t)+CDG(t)F 1 (t)=C grid (t)+C flex (t)+C st o r (t)+C DP (t)+C OM (t)+C DG (t)
F2(t)=Ce(t)F 2 (t) = C e (t)
其中,F1(t)为t时刻所述多能微网的运行调度成本,F2(t)为t时刻所述多能微网的环境污染成本,Cgrid(t)为t时刻所述多能微网向外网的购电成本,Cflex(t)为t时刻所述可控微源中柔性负荷的调度成本,Cstor(t)为t时刻所述可控微源中储能电池的调度成本,CDP(t)为t时刻所述可控微源中可控分布式电源的调度成本,COM(t)为t时刻所述可控微源的投资折旧成本, CDG(t)为t时刻所述可控微源的运行维护成本,Ce(t)为t时刻所述可控微源的环境污染成本。Among them, F 1 (t) is the operation scheduling cost of the multi-energy micro-grid at time t, F 2 (t) is the environmental pollution cost of the multi-energy micro-grid at time t, and C grid (t) is the cost of the multi-energy micro-grid at time t. The power purchase cost of the multi-energy microgrid to the external grid, C flex (t) is the scheduling cost of the flexible load in the controllable micro-source at time t, and C stor (t) is the energy storage in the controllable micro-source at time t The scheduling cost of the battery, C DP (t) is the scheduling cost of the controllable distributed power source in the controllable micro-source at time t, C OM (t) is the investment depreciation cost of the controllable micro-source at time t, C DG (t) is the operation and maintenance cost of the controllable micro-source at time t, and C e (t) is the environmental pollution cost of the controllable micro-source at time t.
其中,输出功率预测模块所采用的优化性能指标函数为:Among them, the optimized performance index function adopted by the output power prediction module is:
minJ=KiA(k)TQA(k)+KpΔA(k)TQΔA(k)+KdΔ2A(k)TQΔ2A(k)+ΔU(k)TRΔU(k)minJ=K i A(k) T QA(k)+K p ΔA(k) T QΔA(k)+K d Δ 2 A(k) T QΔ 2 A(k)+ΔU(k) T RΔU(k )
其中,A(k)=W(k)-P(k),P(k)=P0(k)+ΔU(k);Among them, A(k)=W(k)-P(k), P(k)=P 0 (k)+ΔU(k);
式中,Kp为比例矩阵,Ki为积分矩阵,Kd为微分矩阵,A(k)为可控微源输出功率期望值和预测值之间的预测误差,ΔA(k)为可控微源输出功率期望值和预测值之间的预测误差增量,Δ2A(k)为可控微源输出功率期望值和预测值之间的的预测误差增量的增量,W(k)为可控微源输出功率期望值矩阵,P(k)为可控微源输出功率预测值矩阵,Q为误差权矩阵,R为控制权矩阵,ΔU(k)为控制增量矩阵;P0(k)为可控微源输出功率的初始时刻实际测量值。In the formula, K p is the proportional matrix, K i is the integral matrix, K d is the differential matrix, A(k) is the prediction error between the expected value and the predicted output power of the controllable micro-source, ΔA(k) is the controllable micro-source The prediction error increment between the expected value and the predicted value of the output power of the source, Δ 2 A(k) is the increment of the prediction error increment between the expected value and the predicted value of the controllable micro-source output power, W(k) is the Controlled micro-source output power expectation matrix, P(k) is the controllable micro-source output power predicted value matrix, Q is the error weight matrix, R is the control weight matrix, ΔU(k) is the control increment matrix; P 0 (k) is the actual measured value of the output power of the controllable micro-source at the initial moment.
其中,校正模块所采用的校正公式为:Among them, the correction formula adopted by the correction module is:
Pcor(k+1)=P1(k+1|k)+hE(k+1)P c o r (k+1)=P 1 (k+1|k)+hE(k+1)
E(k+1)=Psj(k+1)-P1(k+1|k)E(k+1)=P sj (k+1)-P 1 (k+1|k)
式中,P1(k+1|k)为k+1时刻可控微源输出功率预测值,Pcor(k+1)为校正后的可控微源输出功率预测值,h为误差校正系数,E(k+1)为输出误差,Psj(k+1)为k+1时刻的可控微源实际测量值。In the formula, P 1 (k+1|k) is the predicted value of the output power of the controllable micro-source at time k+1, P c o r (k+1) is the predicted value of the output power of the controllable micro-source after correction, and h is Error correction coefficient, E(k+1) is the output error, P sj (k+1) is the actual measurement value of the controllable micro-source at the moment k+1.
关于上述方法实施例中各个模块的具体工作原理和描述可参照上述方法实施例中各个步骤的具体处理流程的相应部分的描述,此处不再赘述。For the specific working principle and description of each module in the above method embodiment, reference may be made to the description of the corresponding part of the specific processing flow of each step in the above method embodiment, which will not be repeated here.
综上所述,本发明提供的一种基于动态矩阵控制的多能微网变时调度装置,基于动态矩阵控制建立预测模型,通过在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶 PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)在状态空间方程形式下的多变量动态矩阵控制(DMC)和分数阶PID(FPID)控制相结合的新型模型预测控制算法(FPID-DMC)改善控制品质并滚动预测控制增量,进而预测未来有限时域各可控分布式电源、储能电池及柔性负荷的有功出力。本发明提供的方法及装置,兼具PID结构简单、参数方便调节和DMC滚动优化、鲁棒性强的特点,引入了反馈校正环节,校正风电、光伏预测误差等随机因素对调度结果的影响。In summary, the present invention provides a multi-energy microgrid time-varying scheduling device based on dynamic matrix control, which establishes a predictive model based on dynamic matrix control, through multivariable dynamic matrix control (DMC) and New Model Predictive Control Algorithm Combining Fractional PID (FPID) Control (FPID-DMC) New Model Predictive Control Combining Multivariable Dynamic Matrix Control (DMC) and Fractional PID (FPID) Control in State Space Equation Form The algorithm (FPID-DMC) improves the control quality and rolls the forecast control increment, and then predicts the active output of each controllable distributed power supply, energy storage battery and flexible load in the future limited time domain. The method and device provided by the present invention have the characteristics of simple PID structure, convenient parameter adjustment, DMC rolling optimization, and strong robustness. The feedback correction link is introduced to correct the influence of random factors such as wind power and photovoltaic prediction errors on the scheduling results.
以上所述仅为本发明的实施例而已,并不用以限制本发明,凡在本发明精神和原则之内,所作任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention .
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711248647.6A CN107947166B (en) | 2017-12-01 | 2017-12-01 | Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711248647.6A CN107947166B (en) | 2017-12-01 | 2017-12-01 | Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107947166A CN107947166A (en) | 2018-04-20 |
| CN107947166B true CN107947166B (en) | 2019-08-30 |
Family
ID=61948279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711248647.6A Expired - Fee Related CN107947166B (en) | 2017-12-01 | 2017-12-01 | Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107947166B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109462231B (en) * | 2018-11-15 | 2020-09-01 | 合肥工业大学 | Load optimization scheduling method, system and storage medium for residential micro-grid |
| CN109861301B (en) * | 2018-11-27 | 2021-06-15 | 国网能源研究院有限公司 | A production simulation method for source-grid-load-storage coordinated power system |
| CN109976165B (en) * | 2019-04-29 | 2021-10-15 | 西安建筑科技大学 | Analytical optimization method and system for model predictive control parameters for multivariable fractional order systems |
| CN113988481B (en) * | 2021-12-23 | 2022-05-03 | 南京鼐威欣信息技术有限公司 | Wind power prediction method based on dynamic matrix prediction control |
| CN118232432B (en) * | 2024-05-23 | 2024-08-13 | 武汉大学 | Method and equipment for controlling secondary frequency regulation of power grid based on optimizing DMC electrolytic aluminum |
| CN119695973B (en) * | 2024-10-22 | 2025-11-28 | 广东电网有限责任公司广州供电局 | Multi-mode coordination control method and system based on wind-solar new energy power station |
| CN119247859B (en) * | 2024-12-04 | 2025-03-04 | 中控技术股份有限公司 | Dynamic matrix dimension reduction method and equipment based on predictive control |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102156407A (en) * | 2011-04-08 | 2011-08-17 | 南京师范大学 | Predictive control method and device for ARM (advanced RISC machines)-based embedded type model |
| CN102444784B (en) * | 2011-11-14 | 2013-11-20 | 上海金自天正信息技术有限公司 | Pressure control system for steel enterprise steam pipe network based on dynamic matrix control |
| CN106786677B (en) * | 2017-03-29 | 2019-01-08 | 温州大学 | A kind of interconnected electric power system distributed dynamic matrix frequency control method |
-
2017
- 2017-12-01 CN CN201711248647.6A patent/CN107947166B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN107947166A (en) | 2018-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107947166B (en) | Multi-energy micro-grid time-varying scheduling method and device based on dynamic matrix control | |
| CN110581571A (en) | A dynamic optimal scheduling method for active distribution network | |
| CN113285451B (en) | A black start coordination control method based on photovoltaic energy storage system | |
| Belkhier et al. | Novel design and adaptive coordinated energy management of hybrid fuel‐cells/tidal/wind/PV array energy systems with battery storage for microgrids | |
| CN106058917A (en) | A Dynamic Economic Dispatch Method of Power System Considering Photovoltaic Power Generation | |
| CN107196294A (en) | Micro-capacitance sensor Multiple Time Scales adaptive energy dispatching method under the net load interaction pattern of source | |
| CN118040687A (en) | A power grid planning method and system adapting to multiple uncertainties and multi-objective requirements | |
| CN107104462B (en) | A method of it is dispatched for wind power plant energy storage | |
| CN110137952A (en) | It is a kind of to realize source-lotus-storage coordinated operation Optimized model and method | |
| CN107732949A (en) | A method of energy storage point distribution and constant capacity comprehensive wind power year-round and multi-seasonal characteristics | |
| CN116014797A (en) | An evaluation method for the improvement of new energy acceptance capacity of distribution network | |
| CN110661301A (en) | Capacity allocation optimization method for water-light-storage multi-energy complementary power generation system | |
| CN116865270A (en) | Optimal scheduling method and system for flexible interconnection power distribution network containing embedded direct current | |
| CN117578449A (en) | An optimal dispatching method for multi-energy micro-energy networks taking into account the uncertainty of renewable energy | |
| CN112580872A (en) | Opportunity constraint planning-based short-term optimization scheduling method for water-light combined system | |
| CN105762806B (en) | A kind of lower power network internal/external power coordinated operation method of incoming call outside extensive area | |
| Huang et al. | A multi-time scale scheduling method for wind-pv-pumped storage-electrochemical energy storage integrated generation system | |
| Yang et al. | Research on scheduling strategy of flexible interconnection distribution network considering distributed photovoltaic and hydrogen energy storage | |
| CN103023025B (en) | A kind of polynary regenerative resource complementary power generation system of pollution assessment and method | |
| CN109672216A (en) | One kind being based on polyfactorial active distribution network hierarchical control method and system | |
| CN117114331A (en) | A robust planning method for independent microgrid IGDT containing hydrogen energy storage | |
| Sun et al. | Hierarchical Scheduling Control Method for Cascade Hydro‐PV‐Pumped Storage Generation System | |
| CN106849189A (en) | Consider the micro-capacitance sensor economy and method for optimizing stability of regenerative resource randomness | |
| CN120767931A (en) | Economic optimization scheduling method and system for large-scale new energy base considering multi-energy complementarity | |
| Wang et al. | Multi-objective optimal dispatch of wind-integrated power system based on distributed energy storage |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190830 |