CN116384155A - Home energy management optimization method considering user behavior uncertainty - Google Patents

Home energy management optimization method considering user behavior uncertainty Download PDF

Info

Publication number
CN116384155A
CN116384155A CN202310596274.0A CN202310596274A CN116384155A CN 116384155 A CN116384155 A CN 116384155A CN 202310596274 A CN202310596274 A CN 202310596274A CN 116384155 A CN116384155 A CN 116384155A
Authority
CN
China
Prior art keywords
user
period
time
temperature
energy management
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
CN202310596274.0A
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.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN202310596274.0A priority Critical patent/CN116384155A/en
Publication of CN116384155A publication Critical patent/CN116384155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/08Thermal analysis or thermal optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Geometry (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention relates to the technical field of intelligent energy conservation, and aims to provide a new household energy management model which can ensure the electricity economy and improve the comfort level of users. The household energy management optimization method is characterized in that uncertainty of user behavior is considered, the uncertainty of the user is quantified on the basis of a household energy management system model, the allowable start-stop time, the environmental temperature preference and the temporary hot water consumption of the user are represented by comfort level deviation coefficients, the uncertainty parameters of the user and the electricity cost are jointly used as objective functions to solve, meanwhile, the household energy management system model is operated in a rolling optimization mode in the day by adopting a model prediction control method, and an operation plan is adjusted in real time along with the operation state and prediction information of the system to realize household energy management optimization. The invention is mainly applied to intelligent energy-saving occasions.

Description

考虑用户行为不确定性的家庭能量管理优化方法Home energy management optimization method considering user behavior uncertainty

技术领域technical field

本发明涉及智能节能技术领域,具体涉及考虑用户行为不确定性的家庭能量管理优化方法。The invention relates to the technical field of intelligent energy saving, in particular to a family energy management optimization method considering user behavior uncertainty.

背景技术Background technique

随着互联网技术、通信技术的发展,智能电网通过与电网的基础设施相联合,解决了目前电网当中存在电能信息传递较慢、系统稳定性不足等许多方面的困难。以家庭能量管理系统为代表的家庭智能化微网逐渐发展,更好地满足人们对于电能质量、舒适度需求、环境保护等方面的要求。家庭能量管理系统的优化在降低用户成本、满足用户舒适度、促进可再生能源就地消纳等方面起到重要作用,有利于提升家庭用户的智能用电水平。而在家庭智能用电的过程当中,由于用户的行为参数具有较大的随机性,对其只能得知其概率分布或分布区间的上下限,无法精确进行求解。倘若不考虑此类不确定性因素,那预计得出的优化方案将会与实际情况相偏离,严重情况下与实际约束相违背,无法得到最优的调度方案,对用户的用电经济性和舒适度造成较大的影响。With the development of Internet technology and communication technology, the smart grid solves many difficulties in the current power grid, such as slow transmission of power information and insufficient system stability, by combining with the infrastructure of the power grid. Home intelligent micro-grids represented by home energy management systems are gradually developing to better meet people's requirements for power quality, comfort requirements, and environmental protection. The optimization of the home energy management system plays an important role in reducing user costs, satisfying user comfort, and promoting the on-site consumption of renewable energy, which is conducive to improving the smart power consumption level of home users. In the process of household smart electricity consumption, due to the large randomness of the user's behavior parameters, only the upper and lower limits of the probability distribution or the distribution interval can be known, and it is impossible to accurately solve it. If such uncertain factors are not considered, the estimated optimization scheme will deviate from the actual situation, and in severe cases, it will violate the actual constraints, and the optimal dispatching scheme cannot be obtained, which will affect the user's electricity economy and Comfort has a big impact.

发明内容Contents of the invention

为克服现有技术的不足,解决家庭能量管理系统中用户主观行为对设备运行造成的影响,本发明旨在提出家庭能量管理新模型,在保证用电经济性的同时提高用户的舒适度。为此,本发明采取的技术方案是,考虑用户行为不确定性的家庭能量管理优化方法,在家庭能量管理系统模型的基础上,将用户不确定行为量化,将用户的电气设备允许启止时间、环境温度偏好、临时热水用量用舒适度偏差系数表示,将用户不确定性参数和用电成本共同作为目标函数进行求解,同时,采用模型预测控制的方法,将所述家庭能量管理系统模型在日内以滚动优化的方式运行,随着系统运行状态和预测信息实时调整运行计划实现家庭能量管理优化。In order to overcome the deficiencies of the existing technology and solve the impact of the user's subjective behavior on the operation of the equipment in the home energy management system, the present invention aims to propose a new model of home energy management to improve the comfort of the user while ensuring the economy of electricity consumption. For this reason, the technical solution adopted by the present invention is to consider the home energy management optimization method of user behavior uncertainty, quantify the user's uncertain behavior on the basis of the home energy management system model, and calculate the allowable start-stop time of the user's electrical equipment , environmental temperature preference, and temporary hot water consumption are represented by the comfort deviation coefficient, and the user uncertainty parameters and electricity cost are jointly used as the objective function to solve the problem. It operates in a rolling optimization mode within a day, and adjusts the operation plan in real time according to the system operating status and forecast information to achieve home energy management optimization.

具体步骤如下:Specific steps are as follows:

1)根据家用电器的用电特性,将家用电器分为分布式发电设备、储能设备和家庭用电负荷,建立家庭用电设备运行模型;1) According to the power consumption characteristics of household appliances, household appliances are divided into distributed power generation equipment, energy storage equipment and household electricity load, and the operation model of household electrical equipment is established;

2)对用户的主观行为进行分析,将用户的电气设备允许启止时间,环境温度偏好,临时热水用量用舒适度偏差系数表示,对用户行为进行建模;2) Analyze the user's subjective behavior, and model the user's behavior by expressing the allowable start and stop time of the user's electrical equipment, environmental temperature preference, and temporary hot water consumption with the comfort deviation coefficient;

3)针对用户行为和家庭用户成本,建立考虑用户行为不确定性的家庭能量管理模型,选用用户净电费和舒适度=违反系数为目标函数,求解多目标优化问题;3) Aiming at user behavior and household user cost, establish a household energy management model that considers user behavior uncertainty, select user net electricity cost and comfort = violation coefficient as the objective function, and solve the multi-objective optimization problem;

4)利用模型预测控制方法,对建立的日前家庭运行模型进行滚动优化求解,得出仿真优化结果。4) Using the model predictive control method, the rolling optimization solution is carried out on the established day-ahead household operation model, and the simulation optimization result is obtained.

详细步骤如下:The detailed steps are as follows:

一、家庭能量管理系统模型1. Home energy management system model

在家庭能量管理系统中,家庭智能用电设备是主要的控制对象,通过对不同类型的设备的电气特性进行分类和建模,分析其对家庭用电的影响,设定调度周期为24h,将其等为N个时段,每个时段时长为Δt,各个时段记为i,则各类电气设备的运行模型如下:In the home energy management system, home smart electrical equipment is the main control object. By classifying and modeling the electrical characteristics of different types of equipment, analyzing their impact on home electricity consumption, setting the dispatch cycle to 24h, the It is equal to N time periods, the duration of each time period is Δt, and each time period is recorded as i, then the operation model of various electrical equipment is as follows:

(一)可中断负荷:PICL,i为可中断负荷在第i时段内的运行功率;pICL,r为可中断负荷的额定功率,xICL,i为第i时段内可中断负荷的运行状态,0为不运行,1为运行;[bICL,eICL]为可中断负荷的允许工作时段,lICL为可中断负荷的运行总时长,则可中断负荷工作约束为:(1) Interruptible load: P ICL,i is the operating power of the interruptible load in the i-th period; p ICL,r is the rated power of the interruptible load, x ICL,i is the operation of the interruptible load in the i-th period state, 0 is not running, 1 is running; [b ICL , e ICL ] is the allowable working period of the interruptible load, l ICL is the total running time of the interruptible load, then the work constraint of the interruptible load is:

PICL,i=xICL,i·pICL,r (1)P ICL,i = x ICL,i p ICL,r (1)

Figure BDA0004248633590000021
Figure BDA0004248633590000021

Figure BDA0004248633590000022
Figure BDA0004248633590000022

(二)不可中断负荷:包括可中断负荷的运行约束,同时增加保证不可中断特性的补充约束为:(2) Uninterruptible load: including the operational constraints of the interruptible load, and at the same time adding the supplementary constraints to ensure the uninterruptible characteristics are:

Figure BDA0004248633590000023
Figure BDA0004248633590000023

PUICL,i为不可中断负荷在第i时段的运行功率;pUICL,r为负荷的额定功率。xUICL,i为负荷第i时段的运行状态;[bUICL,eUICL]为允许的运行时段,lUICL为运行总时长;P UICL,i is the operating power of the uninterruptible load in the i period; p UICL,r is the rated power of the load. x UICL,i is the running status of the load in the i-th period; [b UICL ,e UICL ] is the allowed running period, l UICL is the total running time;

(三)温控负荷:温控型负荷指那些通过控制温度实现负荷运行优化的设备,设Tin,i和Tout,i分别代表第i时段的室内和室外空气温度;Cac是室内空气的热容量;pac,i是第i时段内空调的运行功率,R是房屋的热阻,则空调的运行模型和温度上下限约束为:(3) Temperature-controlled loads: Temperature-controlled loads refer to those equipments that optimize the load operation by controlling the temperature. Let T in,i and T out,i represent the indoor and outdoor air temperatures in the i-th period respectively; C ac is the indoor air temperature The thermal capacity of the air conditioner; p ac,i is the operating power of the air conditioner in the i-th time period, and R is the thermal resistance of the house, then the operating model of the air conditioner and the upper and lower limits of the temperature constraints are:

Figure BDA0004248633590000024
Figure BDA0004248633590000024

Tin,min≤Tin,i≤Tin,max (6)T in,min ≤T in,i ≤T in,max (6)

设Tst,i表示第i时段内电热水器的热水温度;

Figure BDA0004248633590000025
为注入到水箱中的冷水温度;Vcold,i为第i时段内需注入的冷水体积;Vtotal为水箱的总容量;Cst为千瓦时和焦耳的转换系数;pst,i为第i时段电热水器的运行功率,则热水器的运行模型和温度上下限约束为:Let T st,i represent the hot water temperature of the electric water heater in the i-th period;
Figure BDA0004248633590000025
is the temperature of cold water injected into the water tank; V cold,i is the volume of cold water to be injected in the i-th period; V total is the total capacity of the water tank; C st is the conversion coefficient of kWh and Joule; p st,i is the i-th period The operating power of the electric water heater, the operating model of the water heater and the upper and lower limit constraints of the temperature are:

Figure BDA0004248633590000026
Figure BDA0004248633590000026

Tst,min≤Tst,i≤Tst,max (8)T st,min ≤T st,i ≤T st,max (8)

(四)分布式光伏设备:在家庭能量管理系统中,光伏设备通过光能转化为电能,在经过变流器和逆变器,转化为可供家庭用电设备使用的工频电流,从而提供给家庭用电设备或存储至储能设备中,设ppv,i代表光伏输出功率,ηpv表示光伏系统的光电转化效率,Spv表示光伏电板的接收面积m2,Ipv,i表示光伏系统阳光辐射强度(kW/m2),

Figure BDA0004248633590000027
表示室外的温度(℃),则光伏电池的功率特性为:(4) Distributed photovoltaic equipment: In the home energy management system, photovoltaic equipment converts light energy into electrical energy, and then converts it into power frequency current that can be used by household electrical equipment through converters and inverters, thereby providing For household electrical equipment or stored in energy storage equipment, let p pv,i represent the photovoltaic output power, η pv represent the photoelectric conversion efficiency of the photovoltaic system, S pv represent the receiving area m 2 of the photovoltaic panel, and I pv,i represent Photovoltaic system solar radiation intensity (kW/m 2 ),
Figure BDA0004248633590000027
Indicates the outdoor temperature (°C), then the power characteristics of the photovoltaic cell are:

Figure BDA0004248633590000031
Figure BDA0004248633590000031

(五)储能设备:设SOC为储能设备的荷电状态,

Figure BDA0004248633590000032
分别代表家庭储能设备的充电和放电功率以及充电和放电的工作状态;ηch为充电效率;ηdch为放电效率;/>
Figure BDA0004248633590000033
和/>
Figure BDA0004248633590000034
代表充电和放电的最大功率;ε代表自放电率,Qr为蓄电池额定容量,则家庭储能设备的充电放电特性和运行约束如式(10)-式(15)所示:(5) Energy storage equipment: Let SOC be the state of charge of the energy storage equipment,
Figure BDA0004248633590000032
Represent the charging and discharging power of the household energy storage equipment and the working state of charging and discharging respectively; η ch is the charging efficiency; η dch is the discharging efficiency; />
Figure BDA0004248633590000033
and />
Figure BDA0004248633590000034
Represents the maximum power of charging and discharging; ε represents the self-discharge rate, Q r is the rated capacity of the battery, then the charging and discharging characteristics and operating constraints of household energy storage equipment are shown in formula (10) - formula (15):

Figure BDA0004248633590000035
Figure BDA0004248633590000035

SOCmin≤SOCi+1≤SOCmax (11)SOC min ≤ SOC i+1 ≤ SOC max (11)

Figure BDA0004248633590000036
Figure BDA0004248633590000036

Figure BDA0004248633590000037
Figure BDA0004248633590000037

Figure BDA0004248633590000038
Figure BDA0004248633590000038

SOC96≤SOCini (15)SOC 96 ≤SOC ini (15)

二、用户不确定行为分析2. User Uncertain Behavior Analysis

(1)不可中断负荷不确定性行为(1) Uninterruptible Load Uncertainty Behavior

在实际运行中,由于用户行为会导致工作允许开始时间延后或者工作允许截止时间提前,这两种情况都会导致原有的运行计划不能正常完成,不可中断负荷的实际允许工作时间和实际截止工作时间的变化服从正态分布,满足

Figure BDA0004248633590000039
与/>
Figure BDA00042486335900000310
采用蒙特卡洛抽样的方法模拟N种不同场景,设bUICL,j为场景j下的起始工作时段,eUICL,j为场景j下的终止工作时段,xUICL,i为不可中断负荷运行状态,pUICL,i为不可中断负荷的用电功率,得到的不可中断负荷舒适度偏差CUICL如下所示:In actual operation, due to user behavior, the allowable start time of the work will be delayed or the allowable cut-off time of the work will be advanced. Both of these situations will cause the original operation plan to not be completed normally. The change of time obeys the normal distribution, satisfying
Figure BDA0004248633590000039
with />
Figure BDA00042486335900000310
Use the Monte Carlo sampling method to simulate N different scenarios, let b UICL,j be the initial working period under scenario j, e UICL,j be the end working period under scenario j, and x UICL,i be the uninterruptible load operation state, p UICL,i is the electric power of the uninterruptible load, and the obtained uninterruptible load comfort deviation C UICL is as follows:

Figure BDA00042486335900000311
Figure BDA00042486335900000311

(2)可中断负荷不确定性行为(2) Uncertain behavior of interruptible load

与不可中断型负荷类似,可中断负荷的运行时间同样会收到用户行为的影响,可中断负荷的实际工作开始时间bICL,j和实际工作截止时间eICL,j同样满足正态分布,采用蒙特卡洛模拟的方法,设bICL,j为场景j下可中断负荷的实际允许运行时间,eICL,j为场景j下可中断负荷的实际截止运行时间,xICL,i为可中断负荷的运行状态,pICL,i为可中断负荷的用电功率,得到的可中断负荷舒适度偏差CICL如下所示:Similar to non-interruptible loads, the running time of interruptible loads will also be affected by user behavior. The actual work start time b ICL,j and the actual work deadline e ICL,j of interruptible loads also satisfy the normal distribution. Monte Carlo simulation method, let b ICL,j be the actual allowable running time of the interruptible load under scenario j, e ICL,j be the actual cut-off running time of the interruptible load under scenario j, x ICL,i be the interruptible load The operating state of p ICL,i is the electric power of the interruptible load, and the obtained interruptible load comfort deviation C ICL is as follows:

Figure BDA00042486335900000312
Figure BDA00042486335900000312

(3)不确定温度偏好(3) Not sure about temperature preference

用户的偏好温度发生时间iac,b,j在规定时段内均匀分布,改变时间为30分钟,而用户的偏好温度Tin,j,i服从正态分布,并在发生时间内保持恒定,采用蒙特卡特抽样的方法,设Tin,j,t为场景j下第i时段的用户偏好舒适温度,Tin,i为第i时段的室内温度,得到的用户温度舒适度偏差为:The user's preferred temperature occurrence time i ac,b,j is uniformly distributed within a specified period of time, and the change time is 30 minutes, while the user's preferred temperature T in,j,i obeys a normal distribution and remains constant within the occurrence time, using In the Montecat sampling method, let T in,j,t be the user's preferred comfort temperature in the i-th period of scene j, and T in,i be the indoor temperature in the i-th period, and the deviation of the user's temperature comfort degree obtained is:

Figure BDA0004248633590000041
Figure BDA0004248633590000041

(4)不确定热水用量(4) Uncertain hot water consumption

用户在[ist,min,ist,max]内出现临时的用水,启动时间ist,b,j和用水量Vst,j服从均匀分布,用水时长为30分钟,通过蒙特卡特抽样的方法,设Qst,j,i为场景j下第i时段的热水器消耗热量,Tws,j,i为场景j下第i时段的热水温度。Qi为i时段的热水器消耗热量,得到的用户热水用量舒适度偏差Cst如下所示:The user has temporary water consumption within [i st,min ,i st,max ], the start time i st,b,j and the water consumption V st,j follow a uniform distribution, and the water use time is 30 minutes, through the Montecat sampling method , Let Q st,j,i be the heat consumed by the water heater in the i-th period under scene j, and T ws,j,i be the hot water temperature in the i-th period under scene j. Q i is the heat consumed by the water heater in the i period, and the user's hot water consumption comfort deviation C st is as follows:

Figure BDA0004248633590000042
Figure BDA0004248633590000042

Qst,j,i=cwater·Vtotal·(Tst,j,i+1-Tst,j,i) (20)Q st,j,i =c water V total (T st,j,i+1 -T st,j,i ) (20)

Figure BDA0004248633590000043
Figure BDA0004248633590000043

Qi=cwater·Vtotal·(Tst,i+1-Tst,i) (22)Q i =c water V total (T st,i+1 -T st,i ) (22)

三、考虑用户行为不确定性的家庭能量管理优化模型3. Home energy management optimization model considering user behavior uncertainty

选择用户净电费和舒适度违反系数两个目标作为优化模型的目标函数,采用加权和的方法进行求解,ω1和ω2为用户经济性和舒适度的权重系数,ω12=1;通过归一化的方法,设Ccost为考虑用户行为的家庭能量管理模型一天的用电成本,Ccom为模型一天内的用户舒适违反指数总和,Ccost,max和Ccost,min为迭代中出现的用电成本的最大值和最小值,Ccom,max和Ccom,min为迭代中出现的用户舒适违反指数的最大值和最小值,Select the two objectives of the user’s net electricity cost and the comfort violation coefficient as the objective function of the optimization model, and use the weighted sum method to solve it. ω 1 and ω 2 are the weight coefficients of the user’s economy and comfort, ω 12 =1 ; By means of normalization, let C cost be the daily electricity cost of the household energy management model considering user behavior, C com be the sum of the user comfort violation indices in the model in one day, and C cost,max and C cost,min be iterations The maximum and minimum values of the electricity cost appearing in , C com,max and C com,min are the maximum and minimum values of the user comfort violation index appearing in the iteration,

pgrid,i表示第i时段家庭能量管理系统与电网的交互功率,priceb,i代表第i时段用户的购电价格,prices,i代表第i时段用户的售电价格,ρ为惩罚因子,εn为不确定性行为n的发生概率,B为不确定行为集合。得到的家庭能量管理系统优化模型的目标函数为:p grid,i represents the interactive power between the home energy management system and the grid in the i-th period, price b,i represents the electricity purchase price of the user in the i-th period, price s,i represents the electricity sales price of the user in the i-th period, and ρ is the penalty factor , ε n is the occurrence probability of uncertain behavior n, and B is the set of uncertain behaviors. The objective function of the obtained home energy management system optimization model is:

Figure BDA0004248633590000044
Figure BDA0004248633590000044

Figure BDA0004248633590000051
Figure BDA0004248633590000051

Figure BDA0004248633590000052
Figure BDA0004248633590000052

Figure BDA0004248633590000053
Figure BDA0004248633590000053

在家庭能量优化调度模型中,除了运行设备约束外,还需添加电功率平衡约束,设Ppv,i为第i时段分布式光伏设备的发电功率,Pδ,i为δ类负荷第i时段的用电功率,包含储能设备和各类用电负荷。则电功率平衡约束如下所示In the household energy optimal dispatch model, in addition to the constraints of operating equipment, electric power balance constraints also need to be added. Let P pv,i be the power generation power of distributed photovoltaic equipment in the i-th period, and P δ,i be the power of the δ-type load in the i-th period. Electric power, including energy storage equipment and various electric loads. Then the electric power balance constraint is as follows

Figure BDA0004248633590000054
Figure BDA0004248633590000054

四、基于模型预测控制的实时滚动优化4. Real-time rolling optimization based on model predictive control

模型预测控制通过滚动优化过程,是将公式中的运行时段t=1...N变为t=i...N。如t=i时刻,将i时刻的热水器水温,室内温度等真实运行数据与下一个优化时域T内的预测数据一起带入到家庭能量管理系统中,得到下一个优化时域T的优化调度结果。在(i,i+1)时段,采用优化调度结果对家庭用电设备进行优化调度,到了t=i+1后,重复上述过程,一直持续到一天结束。The model predictive control changes the running period t=1...N in the formula to t=i...N through the rolling optimization process. For example, at time t=i, the real operating data such as the water temperature of the water heater and the indoor temperature at time i are brought into the home energy management system together with the forecast data in the next optimization time domain T, and the optimal scheduling of the next optimization time domain T is obtained result. During the time period (i, i+1), use the optimized scheduling result to optimize the scheduling of the household electrical equipment, and repeat the above process until the end of the day when t=i+1.

本发明的特点及有益效果是:Features and beneficial effects of the present invention are:

本发明采用多目标优化的方法可以在保证较低的用电成本的同时提高用户的舒适度,降低不确定行为对用户用电产生的影响。本发明相较于一般的以用户成本的目标的家庭能量管理优化而言,可以更好的满足用户的舒适度需求,并可根据用户对经济性和舒适度的偏好自行调节,设定不同的偏好因子,得到最适宜用户的用电方案。The invention adopts the method of multi-objective optimization, which can improve the user's comfort while ensuring lower electricity consumption cost, and reduce the impact of uncertain behavior on the user's electricity consumption. Compared with the general home energy management optimization based on user cost, the present invention can better meet the user's comfort requirements, and can self-adjust according to the user's preference for economy and comfort, and set different The preference factor is used to obtain the most suitable power consumption plan for the user.

附图说明:Description of drawings:

图1不可中断负荷不确定性行为。Figure 1 Uninterruptible load uncertainty behavior.

图2可中断负荷不确定性行为。Fig. 2 Interruptible load uncertainty behavior.

图3滚动优化的时间框架图。Figure 3. Time frame diagram of rolling optimization.

图4售电电价曲线。Figure 4 Electricity price curve for electricity sales.

图5光伏功率曲线。Fig. 5 Photovoltaic power curve.

图6室外温度曲线。Figure 6 Outdoor temperature curve.

图7热水用量曲线。Figure 7 Hot water consumption curve.

图8不同ω1下的运行结果。Fig. 8 The running results under different ω 1 .

具体实施方式Detailed ways

为了解决家庭能量管理系统中用户主观行为对设备运行造成的影响,本发明在家庭能量管理系统模型的基础上,引入随机优化方法,将用户不确定行为量化,将用户的电气设备允许启止时间,环境温度偏好,临时热水用量等用舒适度偏差系数表示,将用户不确定性参数和用电成本共同作为目标函数进行求解,在保证用电经济性的同时提高了用户的舒适度。同时,采用模型预测控制的方法,将上述模型在日内以滚动优化的方式运行,随着系统运行状态和预测信息实时调整运行计划,更加适用于实际的运行优化系统。In order to solve the impact of the user's subjective behavior on the operation of the equipment in the home energy management system, the present invention introduces a random optimization method based on the home energy management system model, quantifies the user's uncertain behavior, and calculates the allowable start-stop time of the user's electrical equipment , environmental temperature preference, temporary hot water consumption, etc. are expressed by the comfort deviation coefficient, and the user uncertainty parameters and electricity cost are used as the objective function to solve the problem, which improves the comfort of the user while ensuring the economy of electricity consumption. At the same time, the model predictive control method is adopted to run the above model in a rolling optimization mode within a day, and adjust the operation plan in real time according to the system operation status and forecast information, which is more suitable for the actual operation optimization system.

1)根据家用电器的用电特性,将家用电器分为分布式发电设备、储能设备和家庭用电负荷,建立家庭用电设备运行模型。1) According to the power consumption characteristics of household appliances, household appliances are divided into distributed power generation equipment, energy storage equipment and household electricity load, and an operation model of household electrical equipment is established.

2)对用户的主观行为进行分析,将用户的电气设备允许启止时间,环境温度偏好,临时热水用量用舒适度偏差系数表示,对用户行为进行建模。2) Analyze the user's subjective behavior, and model the user's behavior by expressing the allowable start and stop time of the user's electrical equipment, environmental temperature preference, and temporary hot water consumption with the comfort deviation coefficient.

3)针对用户行为和家庭用户成本,建立考虑用户行为不确定性的家庭能量管理模型,选用用户净电费和舒适度=违反系数为目标函数,求解多目标优化问题。3) Aiming at user behavior and household user cost, establish a household energy management model that considers user behavior uncertainty, and select user net electricity cost and comfort level = violation coefficient as the objective function to solve the multi-objective optimization problem.

4)利用模型预测控制方法,对建立的日前家庭运行模型进行滚动优化求解,得出仿真优化结果。4) Using the model predictive control method, the rolling optimization solution is carried out on the established day-ahead household operation model, and the simulation optimization result is obtained.

下面对本发明进行详细说明。The present invention will be described in detail below.

一、家庭能量管理系统模型1. Home energy management system model

在家庭能量管理系统中,家庭智能用电设备是主要的控制对象,通过对不同类型的设备的电气特性进行分类和建模,可以更方便的构建优化模型,分析其对家庭用电的影响。设定调度周期为24h,将其等为N个时段,每个时段时长为Δt,各个时段记为i,则各类电气设备的运行模型如下:In the home energy management system, home smart electrical equipment is the main control object. By classifying and modeling the electrical characteristics of different types of equipment, it is more convenient to build an optimization model and analyze its impact on home electricity consumption. Set the scheduling cycle to 24h, divide it into N time periods, each time period is Δt, and record each time period as i, then the operation model of various electrical equipment is as follows:

(一)可中断负荷:对于可中断负荷而言,其运行周期固定,但运行方式较为灵活,可在运行时段内任意调度,运行当中暂停不会对设备造成较大影响。设PICL,i为可中断负荷在第i时段内的运行功率;pICL,r为可中断负荷的额定功率。xICL,i为第i时段内可中断负荷的运行状态,0为不运行,1为运行;[bICL,eICL]为可中断负荷的允许工作时段,lICL为可中断负荷的运行总时长。则可中断负荷工作约束为:(1) Interruptible load: For interruptible loads, the operating cycle is fixed, but the operating mode is more flexible, and can be scheduled arbitrarily within the operating period, and the suspension during operation will not cause a major impact on the equipment. Let P ICL,i be the operating power of the interruptible load in the i-th period; p ICL,r is the rated power of the interruptible load. x ICL,i is the operating state of the interruptible load in the i-th period, 0 is not running, 1 is running; [b ICL ,e ICL ] is the allowable working period of the interruptible load, l ICL is the total running duration. Then the interruptible load work constraint is:

PICL,i=xICL,i·pICL,r (28)P ICL,i = x ICL,i p ICL,r (28)

Figure BDA0004248633590000061
Figure BDA0004248633590000061

Figure BDA0004248633590000062
Figure BDA0004248633590000062

(二)不可中断负荷:不可中断负荷的运行模型与可中断负荷类似,但由于其在运行时无法暂停和停止运行的特点,因此,除了可中断负荷的运行约束外,还需增加保证其不可中断特性的补充约束。设PUICL,i为不可中断负荷在第i时段的运行功率;pUICL,r为负荷的额定功率。xUICL,i为负荷第i时段的运行状态;[bUICL,eUICL]为允许的运行时段,lUICL为运行总时长。则保证其不可中断特性的补充约束为:(2) Uninterruptible loads: The operation model of uninterruptible loads is similar to that of interruptible loads, but due to the characteristics that they cannot be suspended and stopped during operation, in addition to the operational constraints of interruptible loads, it is necessary to increase the Supplementary constraints for the break feature. Let P UICL,i be the operating power of the uninterruptible load in the i period; p UICL,r is the rated power of the load. x UICL,i is the running state of the load in the i-th period; [b UICL ,e UICL ] is the allowed running period, and l UICL is the total running time. Then the supplementary constraints that guarantee its uninterruptible properties are:

Figure BDA0004248633590000063
Figure BDA0004248633590000063

(三)温控负荷:温控型负荷指那些通过控制温度实现负荷运行优化的设备。在本文中选用空调和电热水器作为典型代表。设Tin,i和Tout,i分别代表第i时段的室内和室外空气温度;Cac是室内空气的热容量;pac,i是第i时段内空调的运行功率。R是房屋的热阻,则空调的运行模型和温度上下限约束为:(3) Temperature-controlled loads: Temperature-controlled loads refer to equipment that optimizes load operation by controlling temperature. In this paper, air conditioners and electric water heaters are selected as typical representatives. Let T in,i and T out,i represent the indoor and outdoor air temperature in the i-th period, respectively; C ac is the heat capacity of the indoor air; p ac,i is the operating power of the air conditioner in the i-th period. R is the thermal resistance of the house, then the operating model of the air conditioner and the upper and lower limits of the temperature constraints are:

Figure BDA0004248633590000071
Figure BDA0004248633590000071

Tin,min≤Tin,i≤Tin,max (33)T in,min ≤T in,i ≤T in,max (33)

与空调的运行模型类似,电热水器的运行状态和热水温度密切相关。设Tst,i表示第i时段内电热水器的热水温度;

Figure BDA0004248633590000072
为注入到水箱中的冷水温度;Vcold,i为第i时段内需注入的冷水体积;Vtotal为水箱的总容量;Cst为千瓦时和焦耳的转换系数;pst,i为第i时段电热水器的运行功率。则热水器的运行模型和温度上下限约束为:Similar to the operating model of the air conditioner, the operating state of the electric water heater is closely related to the temperature of the hot water. Let T st,i represent the hot water temperature of the electric water heater in the i-th period;
Figure BDA0004248633590000072
is the temperature of cold water injected into the water tank; V cold,i is the volume of cold water to be injected in the i-th period; V total is the total capacity of the water tank; C st is the conversion coefficient of kWh and Joule; p st,i is the i-th period The operating power of the electric water heater. Then the operating model of the water heater and the upper and lower limit constraints of the temperature are:

Figure BDA0004248633590000073
Figure BDA0004248633590000073

Tst,min≤Tst,i≤Tst,max (35)T st,min ≤T st,i ≤T st,max (35)

(四)分布式光伏设备:在家庭能量管理系统中,光伏设备通过光能转化为电能,在经过变流器和逆变器,转化为可供家庭用电设备使用的工频电流,从而提供给家庭用电设备或存储至储能设备中。设ppv,i代表光伏输出功率,ηpv表示光伏系统的光电转化效率,Spv表示光伏电板的接收面积m2,Ipv,i表示光伏系统阳光辐射强度(kW/m2),

Figure BDA0004248633590000074
表示室外的温度(℃),则光伏电池的功率特性为:(4) Distributed photovoltaic equipment: In the home energy management system, photovoltaic equipment converts light energy into electrical energy, and then converts it into power frequency current that can be used by household electrical equipment through converters and inverters, thereby providing For household electrical equipment or stored in energy storage equipment. Suppose p pv,i represents the photovoltaic output power, η pv represents the photoelectric conversion efficiency of the photovoltaic system, S pv represents the receiving area m 2 of the photovoltaic panel, and I pv,i represents the solar radiation intensity of the photovoltaic system (kW/m 2 ),
Figure BDA0004248633590000074
Indicates the outdoor temperature (°C), then the power characteristics of the photovoltaic cell are:

Figure BDA0004248633590000075
Figure BDA0004248633590000075

(五)储能设备:以铅酸电池为代表的家用储能装置,主要利用其充电和放电功能,以高电价时段向房屋供电,低电价时段从电网买电,从而达到降低用电成本的目的。设SOC为储能设备的荷电状态,

Figure BDA0004248633590000076
分别代表家庭储能设备的充电和放电功率以及充电和放电的工作状态;ηch为充电效率;ηdch为放电效率;/>
Figure BDA0004248633590000077
和/>
Figure BDA0004248633590000078
代表充电和放电的最大功率;ε代表自放电率,Qr为蓄电池额定容量,则家庭储能设备的充电放电特性和运行约束如式(10)-式(15)所示:(5) Energy storage equipment: Household energy storage devices represented by lead-acid batteries mainly use their charging and discharging functions to supply power to houses during high electricity price periods, and buy electricity from the grid during low electricity price periods, so as to reduce electricity costs. Purpose. Let SOC be the state of charge of the energy storage device,
Figure BDA0004248633590000076
Represent the charging and discharging power of the household energy storage equipment and the working state of charging and discharging respectively; η ch is the charging efficiency; η dch is the discharging efficiency; />
Figure BDA0004248633590000077
and />
Figure BDA0004248633590000078
Represents the maximum power of charging and discharging; ε represents the self-discharge rate, Q r is the rated capacity of the battery, then the charging and discharging characteristics and operating constraints of household energy storage equipment are shown in formula (10) - formula (15):

Figure BDA0004248633590000079
Figure BDA0004248633590000079

SOCmin≤SOCi+1≤SOCmax (38)SOC min ≤ SOC i+1 ≤ SOC max (38)

Figure BDA00042486335900000710
Figure BDA00042486335900000710

Figure BDA00042486335900000711
Figure BDA00042486335900000711

Figure BDA00042486335900000712
Figure BDA00042486335900000712

SOC96≤SOCini (42)SOC 96 ≤SOC ini (42)

二、用户不确定行为分析2. User Uncertain Behavior Analysis

在实际家庭用电过程中,用户的用电行为存在一定的主观不确定性,导致实际的运行方案不符合家庭能量管理系统的最佳用电计划,从而降低家庭能量管理系统的鲁棒性和可靠性。因此,需要对用户的不确定性行为进行定量分析,对用户的行为进行建模,减少对用户舒适度的影响。用户的不确定行为分析如下:In the actual household electricity consumption process, there is a certain subjective uncertainty in the user's electricity consumption behavior, which leads to the fact that the actual operation plan does not conform to the optimal electricity consumption plan of the household energy management system, thereby reducing the robustness and reliability of the household energy management system. reliability. Therefore, it is necessary to quantitatively analyze the user's uncertain behavior, model the user's behavior, and reduce the impact on user comfort. The user's uncertain behavior is analyzed as follows:

(1)不可中断负荷不确定性行为(1) Uninterruptible Load Uncertainty Behavior

在实际运行中,由于用户行为会导致工作允许开始时间延后或者工作允许截止时间提前,这两种情况都会导致原有的运行计划不能正常完成。图1为不可中断负荷的不确定性行为。因此,假设不可中断负荷的实际允许工作时间和实际截止工作时间的变化服从正态分布,满足

Figure BDA0004248633590000081
与/>
Figure BDA0004248633590000082
采用蒙特卡洛抽样的方法模拟N种不同场景,设bUICL,j为场景j下的起始工作时段,eUICL,j为场景j下的终止工作时段,xUICL,i为不可中断负荷运行状态,pUICL,i为不可中断负荷的用电功率,得到的不可中断负荷舒适度偏差CUICL如下所示:In actual operation, due to user behavior, the start time of work permission may be delayed or the work permission deadline may be advanced, both of which will lead to the failure of the original operation plan to be completed normally. Figure 1 shows the uncertain behavior of uninterruptible loads. Therefore, it is assumed that the changes of the actual allowable working time and the actual cut-off working time of the uninterruptible load obey the normal distribution, satisfying
Figure BDA0004248633590000081
with />
Figure BDA0004248633590000082
Use the Monte Carlo sampling method to simulate N different scenarios, let b UICL,j be the initial working period under scenario j, e UICL,j be the end working period under scenario j, and x UICL,i be the uninterruptible load operation state, p UICL,i is the electric power of the uninterruptible load, and the obtained uninterruptible load comfort deviation C UICL is as follows:

Figure BDA0004248633590000083
Figure BDA0004248633590000083

(2)可中断负荷不确定性行为(2) Uncertain behavior of interruptible load

与不可中断型负荷类似,可中断负荷的运行时间同样会收到用户行为的影响。图2为可中断负荷的不确定性行为。假设可中断负荷的实际工作开始时间bICL,j和实际工作截止时间eICL,j同样满足正态分布,采用蒙特卡洛模拟的方法,设bICL,j为场景j下可中断负荷的实际允许运行时间,eICL,j为场景j下可中断负荷的实际截止运行时间,xICL,i为可中断负荷的运行状态,pICL,i为可中断负荷的用电功率,得到的可中断负荷舒适度偏差CICL如下所示:Similar to non-interruptible workloads, the running time of interruptible workloads is also affected by user behavior. Figure 2 shows the uncertain behavior of interruptible loads. Assuming that the actual work start time b ICL,j of the interruptible load and the actual work cut-off time e ICL,j also satisfy the normal distribution, using the method of Monte Carlo simulation, let b ICL,j be the actual time of the interruptible load under scenario j Allowable running time, eICL,j is the actual cut-off running time of the interruptible load in scenario j, xICL ,i is the running state of the interruptible load, pICL ,i is the power consumption of the interruptible load, and the obtained interruptible load The Comfort Deviation C ICL looks like this:

Figure BDA0004248633590000084
Figure BDA0004248633590000084

(3)不确定温度偏好(3) Not sure about temperature preference

用户对温度的偏好同样会对用户舒适度造成影响,主要体现在用户偏好温度上限和下限的改变。假设用户的偏好温度发生时间iac,b,j在规定时段内均匀分布,改变时间为30分钟,而用户的偏好温度Tin,j,i服从正态分布,并在发生时间内保持恒定。采用蒙特卡特抽样的方法,设Tin,j,t为场景j下第i时段的用户偏好舒适温度,Tin,i为第i时段的室内温度,得到的用户温度舒适度偏差为:The user's preference for temperature will also affect the user's comfort, which is mainly reflected in the change of the upper and lower limits of the user's preferred temperature. Assume that the user's preferred temperature occurrence time i ac,b,j is uniformly distributed within a specified period of time, and the change time is 30 minutes, while the user's preferred temperature T in,j,i obeys a normal distribution and remains constant within the occurrence time. Using the Montecat sampling method, let T in,j,t be the user's preferred comfort temperature in the i-th period of scene j, and T in,i be the indoor temperature in the i-th period, and the deviation of the user's temperature comfort degree obtained is:

Figure BDA0004248633590000091
Figure BDA0004248633590000091

(4)不确定热水用量(4) Uncertain hot water consumption

电热水器的运行同时伴随着热量交换和用水量的消耗与补充。当用户在计划方案外出现大量用水时,会导致热水器内突然注入大量冷水,而电热水器由于功率恒定,在短时间内提供的热量无法迅速使冷水升温达到温度下限,导致热水器内温度进一步降低,最终低于温度下限,对用户的舒适度产生影响。因此,假设用户在[ist,min,ist,max]内出现临时的用水,启动时间ist,b,j和用水量Vst,j服从均匀分布,用水时长为30分钟,通过蒙特卡特抽样的方法,设Qst,j,i为场景j下第i时段的热水器消耗热量,Tws,j,i为场景j下第i时段的热水温度。Qi为i时段的热水器消耗热量,得到的用户热水用量舒适度偏差Cst如下所示:The operation of electric water heaters is accompanied by heat exchange and water consumption and replenishment. When the user uses a large amount of water outside the planned plan, a large amount of cold water will be suddenly injected into the water heater. However, due to the constant power of the electric water heater, the heat provided in a short period of time cannot quickly raise the temperature of the cold water to the lower limit of the temperature, resulting in a further drop in the temperature inside the water heater. Ultimately below the lower temperature limit, impacting user comfort. Therefore, assuming that the user has temporary water consumption within [i st,min ,i st,max ], the start time i st,b,j and the water consumption V st,j follow a uniform distribution, and the water use time is 30 minutes, through Montecut Sampling method, let Q st,j,i be the heat consumed by the water heater in the i-th period under scene j, and T ws,j,i be the hot water temperature in the i-th period under scene j. Q i is the heat consumed by the water heater in the i period, and the user's hot water consumption comfort deviation C st is as follows:

Figure BDA0004248633590000092
Figure BDA0004248633590000092

Qst,j,i=cwater·Vtotal·(Tst,j,i+1-Tst,j,i) (47)Q st,j,i =c water V total (T st,j,i+1 -T st,j,i ) (47)

Figure BDA0004248633590000093
Figure BDA0004248633590000093

Qi=cwater·Vtotal·(Tst,i+1-Tst,i) (49)Q i =c water V total (T st,i+1 -T st,i ) (49)

三、考虑用户行为不确定性的家庭能量管理优化模型3. Home energy management optimization model considering user behavior uncertainty

家庭能量管理系统通常旨在更好地管理家庭用电设备的运行规划。同时,为了降低用户行为对用电计划的影响,需使用户的舒适度违反系数达到最小。因此,综合考虑用户的经济性和舒适性,选择用户净电费和舒适度违反系数两个目标作为优化模型的目标函数。为了更好求解多目标优化问题,采用加权和的方法进行求解。设ω1和ω2为用户经济性和舒适度的权重系数,ω12=1;由于经济性目标和舒适性目标的数量级差异,无法直接参与计算,通过归一化的方法,设Ccost为考虑用户行为的家庭能量管理模型一天的用电成本,Ccom为模型一天内的用户舒适违反指数总和,Ccost,max和Ccost,min为迭代中出现的用电成本的最大值和最小值,Ccom,max和Ccom,min为迭代中出现的用户舒适违反指数的最大值和最小值,Home energy management systems are generally aimed at better managing the planning of the operation of household electrical appliances. At the same time, in order to reduce the impact of user behavior on power consumption plan, it is necessary to minimize the user's comfort violation coefficient. Therefore, taking into account the user's economy and comfort, the two objectives of the user's net electricity cost and the comfort violation coefficient are selected as the objective function of the optimization model. In order to better solve the multi-objective optimization problem, the method of weighted sum is used to solve it. Let ω 1 and ω 2 be the weight coefficients of user economy and comfort, ω 1 + ω 2 = 1; due to the order of magnitude difference between economic goals and comfort goals, they cannot directly participate in the calculation. Through the normalization method, set C cost is the one-day electricity cost of the household energy management model considering user behavior, C com is the sum of user comfort violation indices in the model in one day, C cost,max and C cost,min are the maximum value of electricity cost that occurs in iterations and the minimum value, C com,max and C com,min are the maximum and minimum values of the user comfort violation index that appear in the iteration,

pgrid,i表示第i时段家庭能量管理系统与电网的交互功率,priceb,i代表第i时段用户的购电价格,prices,i代表第i时段用户的售电价格,ρ为惩罚因子,εn为不确定性行为n的发生概率,B为不确定行为集合。得到的家庭能量管理系统优化模型的目标函数为:p grid,i represents the interactive power between the home energy management system and the grid in the i-th period, price b,i represents the electricity purchase price of the user in the i-th period, price s,i represents the electricity sales price of the user in the i-th period, and ρ is the penalty factor , ε n is the occurrence probability of uncertain behavior n, and B is the set of uncertain behaviors. The objective function of the obtained home energy management system optimization model is:

Figure BDA0004248633590000094
Figure BDA0004248633590000094

Figure BDA0004248633590000101
Figure BDA0004248633590000101

Figure BDA0004248633590000102
Figure BDA0004248633590000102

Figure BDA0004248633590000103
Figure BDA0004248633590000103

在家庭能量优化调度模型中,除了运行设备约束外,还需添加电功率平衡约束,设Ppv,i为第i时段分布式光伏设备的发电功率,Pδ,i为δ类负荷第i时段的用电功率,包含储能设备和各类用电负荷。则电功率平衡约束如下所示In the household energy optimal dispatch model, in addition to the constraints of operating equipment, electric power balance constraints also need to be added. Let P pv,i be the power generation power of distributed photovoltaic equipment in the i-th period, and P δ,i be the power of the δ-type load in the i-th period. Electric power, including energy storage equipment and various electric loads. Then the electric power balance constraint is as follows

Figure BDA0004248633590000104
Figure BDA0004248633590000104

四、基于模型预测控制的实时滚动优化4. Real-time rolling optimization based on model predictive control

上述建立的调度优化模型,在一天运行开始时利用预测数据制定出24小时内的运行计划,从而得到一天的运行结果。但在实际运行中,由于预测数据误差,需要考虑实时参数,根据用电设备的实际运行状态对控制策略进行修正。而模型预测控制通过滚动优化过程,将公式中的运行时段t=1...N变为t=i...N。如t=i时刻,将i时刻的热水器水温,室内温度等真实运行数据与下一个优化时域T内的预测数据一起带入到家庭能量管理系统中,得到下一个优化时域T的优化调度结果。在(i,i+1)时段,采用优化调度结果对家庭用电设备进行优化调度。到了t=i+1后,重复上述过程,一直持续到一天结束。因此,每个优化方案只有第一个时段的运行结果会实际运行。随着系统运行状态和预测信息实时调整运行计划,可以减少不确定性的影响,更加适用于实际的运行优化系统,得出最优的家庭能量管理运行方案。图3为滚动优化时间的框架图。The scheduling optimization model established above uses forecast data to formulate an operation plan within 24 hours at the beginning of a day's operation, so as to obtain a day's operation result. However, in actual operation, due to the error of forecast data, real-time parameters need to be considered, and the control strategy should be corrected according to the actual operating status of electrical equipment. However, the model predictive control changes the running period t=1...N in the formula to t=i...N through the rolling optimization process. For example, at time t=i, the real operating data such as the water temperature of the water heater and the indoor temperature at time i are brought into the home energy management system together with the forecast data in the next optimization time domain T, and the optimal scheduling of the next optimization time domain T is obtained result. In the (i, i+1) time period, the optimized scheduling results are used to optimize the scheduling of household electrical equipment. After t=i+1, repeat the above process until the end of the day. Therefore, only the running results of the first period of each optimization scheme will actually be run. Adjusting the operation plan in real time with the system operation status and forecast information can reduce the impact of uncertainty, which is more suitable for the actual operation optimization system, and the optimal home energy management operation plan can be obtained. Figure 3 is a frame diagram of the rolling optimization time.

以春季某用户的家庭智能用电系统的相关数据对所提出的模型进行验证。调度持续时间为0:00到24:00,调度步长为15分钟,总共96个时段,各个时段用i∈{1,2,…,95,96}表示,建立家庭能量优化调度模型。本文售电电价如图4所示,购电电价为售电电价的二分之一。光伏输出功率曲线如图5所示。各类可中断型负荷和不可中断负荷的运行参数如表1所示,储能设备的运行参数如表2所示。The proposed model is verified with the relevant data of a user's home smart power system in spring. The scheduling duration is from 0:00 to 24:00, and the scheduling step is 15 minutes. There are 96 time periods in total. Each time period is represented by i∈{1,2,…,95,96}, and the household energy optimization scheduling model is established. The price of electricity sold in this paper is shown in Figure 4, and the price of electricity purchased is half of the price of electricity sold. The photovoltaic output power curve is shown in Figure 5. The operating parameters of various interruptible loads and non-interruptible loads are shown in Table 1, and the operating parameters of energy storage equipment are shown in Table 2.

表1可中断型、不可中断型可控负荷运行参数Table 1 Interruptible and non-interruptible controllable load operating parameters

Figure BDA0004248633590000105
Figure BDA0004248633590000105

表2储能设备的运行参数Table 2 Operating parameters of energy storage equipment

Figure BDA0004248633590000106
Figure BDA0004248633590000106

Figure BDA0004248633590000111
Figure BDA0004248633590000111

家用空调选用额定功率为1.8kW,热容Cac为0.426(kW·h/℃),房屋热阻R为75.71kJ/℃。家庭电热水器选用额定功率为3.6kW,水的比热Cwater为4.26kJ/(kg·℃)。室外温度和热水用量的预测曲线如图6和图7所示。The rated power of the household air conditioner is 1.8kW, the heat capacity C ac is 0.426 (kW h/°C), and the thermal resistance R of the house is 75.71kJ/°C. The rated power of the domestic electric water heater is 3.6kW, and the specific heat C water of water is 4.26kJ/(kg·℃). The forecast curves of outdoor temperature and hot water consumption are shown in Fig. 6 and Fig. 7.

在不确定行为的场景模拟中,设定场景数N=100。用户可能的临时用水时段和温度偏好改变时间设定为18:00-22:00,ω1和ω2均取0.5。用户可能不确定行为的概率分布如表3所示,不确定行为的发生概率εn=0.16667,惩罚因子ρ=100,ω1=ω2=0.5。In the scene simulation of uncertain behavior, set the number of scenes N=100. The user's possible temporary water use period and temperature preference change time are set as 18:00-22:00, and both ω 1 and ω 2 are taken as 0.5. The probability distribution of the user's possible uncertain behavior is shown in Table 3, the occurrence probability of uncertain behavior ε n =0.16667, the penalty factor ρ=100, ω 12 =0.5.

表3不确定行为概率分布参数Table 3 Probability distribution parameters of uncertain behavior

Figure BDA0004248633590000112
Figure BDA0004248633590000112

为了模拟实际运行中所测得的实际数据,对日前的预测曲线进行调整,通过在预测数据上添加一正态分布的偏差来模拟实际数据。并假设预测数据8个时段后的预测误差更为明显,视为远预测误差,8个时段内的预测误差视为近预测误差。设置的参数预测误差如表4所示。In order to simulate the actual data measured in the actual operation, the forecast curve of the day before is adjusted, and the actual data is simulated by adding a normal distribution deviation to the forecast data. It is also assumed that the prediction error after 8 periods of forecast data is more obvious, which is regarded as the far forecast error, and the forecast error within 8 periods is regarded as the near forecast error. The set parameter prediction errors are shown in Table 4.

使用本发明调度方法,为了验证提出的考虑用户行为不确定性的优化模型,模拟了家庭三种不同的优化场景。场景1为目标函数中仅考虑用电成本;场景2为目标函数仅考虑用户不确定性行为;场景3为目标函数中同时考虑用电成本和用户不确定性行为,得出的不同场景下的结论如表4所示。Using the scheduling method of the present invention, in order to verify the proposed optimization model considering user behavior uncertainty, three different optimization scenarios of the family are simulated. Scenario 1 considers only electricity cost in the objective function; Scenario 2 considers only user uncertainty behavior in the objective function; Scenario 3 considers both electricity cost and user uncertainty behavior in the objective function. The conclusions are shown in Table 4.

表4参数预测误差Table 4 Parameter prediction error

Figure BDA0004248633590000113
Figure BDA0004248633590000113

从表4中可以看出,相较于仅考虑用电成本的场景1而言,场景3通过将用户行为量化的方式,将用户的舒适偏差指数从7.05降至0.72。在考虑用户不确定行为的优化方案中,为了避免可控类负荷的启停时间超出实际允许启停时间,优化方案会尽可能将此类负荷的工作时间转移至允许运行时段的中部,尽管这会牺牲掉部分的用电成本,但可以很有效地提升用户的舒适度。而温控类负荷为了避免温度过低,会在温度变化的发生时间内保持热水温度和室内温度在一个较高的范围内,以应对随时而来的临时热水量和温度偏好的变化。通过对两类负荷的及时调整,可以很好的降低用户不确定行为对用户舒适度的影响。分析场景2和场景3可知,当完全将舒适偏差指数作为目标函数后,并不能有效的降低不确定行为对用户舒适度的影响,相反会显著增加用户的用电成本,对于用户而言,付出较高的用电成本来换取较低的舒适偏差指数的意愿是相对较低的。因此,采用多目标优化的方法可以在保证较低的用电成本的同时提高用户的舒适度,降低不确定行为对用户用电产生的影响。It can be seen from Table 4 that compared with Scenario 1, which only considers the cost of electricity consumption, Scenario 3 reduces the user's comfort deviation index from 7.05 to 0.72 by quantifying user behavior. In the optimization scheme considering the user’s uncertain behavior, in order to avoid the start-stop time of controllable loads exceeding the actual allowable start-stop time, the optimization scheme will try to shift the working time of such loads to the middle of the allowable operating period, although this Part of the electricity cost will be sacrificed, but it can effectively improve the user's comfort. In order to avoid the temperature being too low, the temperature control load will keep the hot water temperature and indoor temperature within a relatively high range during the temperature change time, so as to cope with the temporary hot water quantity and temperature preference changes at any time. Through the timely adjustment of the two types of loads, the impact of user uncertain behavior on user comfort can be well reduced. Analysis of Scenario 2 and Scenario 3 shows that when the comfort deviation index is completely used as the objective function, it cannot effectively reduce the impact of uncertain behavior on user comfort, on the contrary, it will significantly increase the user's electricity cost. The willingness to exchange higher electricity cost for lower comfort deviation index is relatively low. Therefore, the method of multi-objective optimization can improve the comfort of users while ensuring lower electricity costs, and reduce the impact of uncertain behavior on users' electricity consumption.

考虑到不同用户对于经济性和舒适性的偏好不同,设定了不同的权重因子,用0.1为尺度来模拟家庭用电成本系数和舒适度偏差系数,得到的结论如图8所示。从中可知,随着用电成本系数的增加,舒适偏差指数不断增加,用电成本逐渐降低,运行结果主要分为三部分:在ω1处于[0.1,0.3]期间,ω1的变化会对用电成本有较大影响,而对舒适偏差指数的影响不大,属于舒适偏好型用户的适用方案,此类用户对舒适性的要求远高于对经济性的要求。在ω1处于[0.7,0.9]期间,ω1的变化会对用户舒适偏差指数有较大影响,而对用电成本的影响不大,属于经济偏好型用户的适用方案,此类用户更希望获得较低的用电成本。而在ω1处于[0.4,0.6]期间,ω1的变化对用户舒适偏差指数和用电成本都有较大影响,属于中性偏好型用户,此类用户通常根据采用优化方案后的体验选择适宜的系数。通过上述结果可以发现,本发明相较于一般的以用户成本的目标的家庭能量管理优化而言,可以更好的满足用户的舒适度需求,并可根据用户对经济性和舒适度的偏好自行调节,设定不同的偏好因子,得到最适宜用户的用电方案。Considering that different users have different preferences for economy and comfort, different weight factors are set, and the household electricity cost coefficient and comfort deviation coefficient are simulated with a scale of 0.1. The conclusions obtained are shown in Figure 8. It can be seen that with the increase of the electricity cost coefficient, the comfort deviation index continues to increase, and the electricity cost gradually decreases. The operation results are mainly divided into three parts: when ω 1 is in [0.1,0.3], the change of ω 1 will affect the energy consumption The electricity cost has a great impact, but has little impact on the comfort deviation index. It is an applicable scheme for comfort-preferred users, whose requirements for comfort are far higher than those for economy. When ω 1 is in [0.7,0.9], the change of ω 1 will have a greater impact on the user comfort deviation index, but has little impact on the electricity cost. Get lower electricity costs. However, when ω 1 is in [0.4,0.6], the change of ω 1 has a great impact on the user comfort deviation index and electricity cost, and belongs to neutral preference users. Such users usually choose according to the experience after adopting the optimization scheme Appropriate coefficient. From the above results, it can be found that compared with the general household energy management optimization based on the user cost, the present invention can better meet the user's comfort requirements, and can automatically adjust according to the user's preference for economy and comfort. Adjust and set different preference factors to obtain the most suitable power consumption plan for users.

表5不同场景下的用电成本和用户舒适度Table 5 Electricity cost and user comfort under different scenarios

Figure BDA0004248633590000121
Figure BDA0004248633590000121

本领域技术人员可以理解附图只是一个优选实施例的示意图,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the serial numbers of the above-mentioned embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are 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 in the protection of the present invention. within range.

Claims (3)

1.一种考虑用户行为不确定性的家庭能量管理优化方法,其特征是,在家庭能量管理系统模型的基础上,将用户不确定行为量化,将用户的电气设备允许启止时间、环境温度偏好、临时热水用量用舒适度偏差系数表示,将用户不确定性参数和用电成本共同作为目标函数进行求解,同时,采用模型预测控制的方法,将所述家庭能量管理系统模型在日内以滚动优化的方式运行,随着系统运行状态和预测信息实时调整运行计划实现家庭能量管理优化。1. A home energy management optimization method considering user behavior uncertainty, characterized in that, on the basis of the home energy management system model, the user's uncertain behavior is quantified, and the user's electrical equipment is allowed to start and stop time, ambient temperature The preference and temporary hot water consumption are expressed by the comfort deviation coefficient, and the user uncertainty parameters and the electricity cost are jointly used as the objective function to solve. It operates in a rolling optimization mode, and adjusts the operation plan in real time according to the system operation status and forecast information to achieve home energy management optimization. 2.如权利要求1所述的考虑用户行为不确定性的家庭能量管理优化方法,其特征是,具体步骤如下:2. The family energy management optimization method considering user behavior uncertainty as claimed in claim 1, wherein the specific steps are as follows: 1)根据家用电器的用电特性,将家用电器分为分布式发电设备、储能设备和家庭用电负荷,建立家庭用电设备运行模型;1) According to the power consumption characteristics of household appliances, household appliances are divided into distributed power generation equipment, energy storage equipment and household electricity load, and the operation model of household electrical equipment is established; 2)对用户的主观行为进行分析,将用户的电气设备允许启止时间,环境温度偏好,临时热水用量用舒适度偏差系数表示,对用户行为进行建模;2) Analyze the user's subjective behavior, and model the user's behavior by expressing the allowable start and stop time of the user's electrical equipment, environmental temperature preference, and temporary hot water consumption with the comfort deviation coefficient; 3)针对用户行为和家庭用户成本,建立考虑用户行为不确定性的家庭能量管理模型,选用用户净电费和舒适度=违反系数为目标函数,求解多目标优化问题;3) Aiming at user behavior and household user cost, establish a household energy management model that considers user behavior uncertainty, select user net electricity cost and comfort = violation coefficient as the objective function, and solve the multi-objective optimization problem; 4)利用模型预测控制方法,对建立的日前家庭运行模型进行滚动优化求解,得出仿真优化结果。4) Using the model predictive control method, the rolling optimization solution is carried out on the established day-ahead household operation model, and the simulation optimization results are obtained. 3.如权利要求1所述的考虑用户行为不确定性的家庭能量管理优化方法,其特征是,详细步骤如下:3. The family energy management optimization method considering user behavior uncertainty as claimed in claim 1, wherein the detailed steps are as follows: 一、家庭能量管理系统模型1. Home energy management system model 在家庭能量管理系统中,家庭智能用电设备是主要的控制对象,通过对不同类型的设备的电气特性进行分类和建模,分析其对家庭用电的影响,设定调度周期为24h,将其等为N个时段,每个时段时长为Δt,各个时段记为i,则各类电气设备的运行模型如下:In the home energy management system, home smart electrical equipment is the main control object. By classifying and modeling the electrical characteristics of different types of equipment, analyzing their impact on home electricity consumption, setting the dispatch cycle to 24h, the It is equal to N time periods, the duration of each time period is Δt, and each time period is recorded as i, then the operation model of various electrical equipment is as follows: (一)可中断负荷:PICL,i为可中断负荷在第i时段内的运行功率;pICL,r为可中断负荷的额定功率,xICL,i为第i时段内可中断负荷的运行状态,0为不运行,1为运行;[bICL,eICL]为可中断负荷的允许工作时段,lICL为可中断负荷的运行总时长,则可中断负荷工作约束为:(1) Interruptible load: P ICL,i is the operating power of the interruptible load in the i-th period; p ICL,r is the rated power of the interruptible load, x ICL,i is the operation of the interruptible load in the i-th period state, 0 is not running, 1 is running; [b ICL , e ICL ] is the allowable working period of the interruptible load, l ICL is the total running time of the interruptible load, then the work constraint of the interruptible load is: PICL,i=xICL,i·pICL,r (1)P ICL,i = x ICL,i p ICL,r (1)
Figure FDA0004248633580000011
Figure FDA0004248633580000011
Figure FDA0004248633580000012
Figure FDA0004248633580000012
(二)不可中断负荷:包括可中断负荷的运行约束,同时增加保证不可中断特性的补充约束为:(2) Uninterruptible load: including the operational constraints of the interruptible load, and at the same time adding the supplementary constraints to ensure the uninterruptible characteristics are:
Figure FDA0004248633580000013
Figure FDA0004248633580000013
PUICL,i为不可中断负荷在第i时段的运行功率;pUICL,r为负荷的额定功率。xUICL,i为负荷第i时段的运行状态;[bUICL,eUICL]为允许的运行时段,lUICL为运行总时长;P UICL,i is the operating power of the uninterruptible load in the i period; p UICL,r is the rated power of the load. x UICL,i is the running status of the load in the i-th period; [b UICL ,e UICL ] is the allowed running period, l UICL is the total running time; (三)温控负荷:温控型负荷指那些通过控制温度实现负荷运行优化的设备,设Tin,i和Tout,i分别代表第i时段的室内和室外空气温度;Cac是室内空气的热容量;pac,i是第i时段内空调的运行功率,R是房屋的热阻,则空调的运行模型和温度上下限约束为:(3) Temperature-controlled loads: Temperature-controlled loads refer to those equipments that optimize the load operation by controlling the temperature. Let T in,i and T out,i represent the indoor and outdoor air temperatures in the i-th period respectively; C ac is the indoor air temperature The thermal capacity of the air conditioner; p ac,i is the operating power of the air conditioner in the i-th time period, and R is the thermal resistance of the house, then the operating model of the air conditioner and the upper and lower limits of the temperature constraints are:
Figure FDA0004248633580000021
Figure FDA0004248633580000021
Tin,min≤Tin,i≤Tin,max (6)T in,min ≤T in,i ≤T in,max (6) 设Tst,i表示第i时段内电热水器的热水温度;
Figure FDA0004248633580000022
为注入到水箱中的冷水温度;Vcold,i为第i时段内需注入的冷水体积;Vtotal为水箱的总容量;Cst为千瓦时和焦耳的转换系数;pst,i为第i时段电热水器的运行功率,则热水器的运行模型和温度上下限约束为:
Let T st,i represent the hot water temperature of the electric water heater in the i-th period;
Figure FDA0004248633580000022
is the temperature of cold water injected into the water tank; V cold,i is the volume of cold water that needs to be injected in the i-th period; V total is the total capacity of the water tank; C st is the conversion coefficient between kWh and Joule; p st,i is the i-th period The operating power of the electric water heater, the operating model of the water heater and the upper and lower limit constraints of the temperature are:
Figure FDA0004248633580000023
Figure FDA0004248633580000023
Tst,min≤Tst,i≤Tst,max (8)T st,min ≤T st,i ≤T st,max (8) (四)分布式光伏设备:在家庭能量管理系统中,光伏设备通过光能转化为电能,在经过变流器和逆变器,转化为可供家庭用电设备使用的工频电流,从而提供给家庭用电设备或存储至储能设备中,设ppv,i代表光伏输出功率,ηpv表示光伏系统的光电转化效率,Spv表示光伏电板的接收面积m2,Ipv,i表示光伏系统阳光辐射强度(kW/m2),
Figure FDA0004248633580000024
表示室外的温度(℃),则光伏电池的功率特性为:
(4) Distributed photovoltaic equipment: In the home energy management system, photovoltaic equipment converts light energy into electrical energy, and then converts it into power frequency current that can be used by household electrical equipment through converters and inverters, thereby providing For household electrical equipment or stored in energy storage equipment, let p pv,i represent the photovoltaic output power, η pv represent the photoelectric conversion efficiency of the photovoltaic system, S pv represent the receiving area m 2 of the photovoltaic panel, and I pv,i represent Photovoltaic system solar radiation intensity (kW/m 2 ),
Figure FDA0004248633580000024
Indicates the outdoor temperature (°C), then the power characteristics of the photovoltaic cell are:
Figure FDA0004248633580000025
Figure FDA0004248633580000025
(五)储能设备:设SOC为储能设备的荷电状态,
Figure FDA0004248633580000026
分别代表家庭储能设备的充电和放电功率以及充电和放电的工作状态;ηch为充电效率;ηdch为放电效率;/>
Figure FDA0004248633580000027
和/>
Figure FDA0004248633580000028
代表充电和放电的最大功率;ε代表自放电率,Qr为蓄电池额定容量,则家庭储能设备的充电放电特性和运行约束如式(10)-式(15)所示:
(5) Energy storage equipment: Let SOC be the state of charge of the energy storage equipment,
Figure FDA0004248633580000026
Represent the charging and discharging power of the household energy storage equipment and the working state of charging and discharging respectively; η ch is the charging efficiency; η dch is the discharging efficiency; />
Figure FDA0004248633580000027
and />
Figure FDA0004248633580000028
Represents the maximum power of charging and discharging; ε represents the self-discharge rate, Q r is the rated capacity of the battery, then the charging and discharging characteristics and operating constraints of household energy storage equipment are shown in formula (10) - formula (15):
Figure FDA0004248633580000029
Figure FDA0004248633580000029
SOCmin≤SOCi+1≤SOCmax (11)SOC min ≤ SOC i+1 ≤ SOC max (11)
Figure FDA00042486335800000210
Figure FDA00042486335800000210
Figure FDA00042486335800000211
Figure FDA00042486335800000211
Figure FDA00042486335800000212
Figure FDA00042486335800000212
SOC96≤SOCini (15)SOC 96 ≤SOC ini (15) 二、用户不确定行为分析2. User Uncertain Behavior Analysis (1)不可中断负荷不确定性行为(1) Uninterruptible Load Uncertainty Behavior 在实际运行中,由于用户行为会导致工作允许开始时间延后或者工作允许截止时间提前,这两种情况都会导致原有的运行计划不能正常完成,不可中断负荷的实际允许工作时间和实际截止工作时间的变化服从正态分布,满足
Figure FDA0004248633580000031
与/>
Figure FDA0004248633580000032
采用蒙特卡洛抽样的方法模拟N种不同场景,设bUICL,j为场景j下的起始工作时段,eUICL,j为场景j下的终止工作时段,xUICL,i为不可中断负荷运行状态,pUICL,i为不可中断负荷的用电功率,得到的不可中断负荷舒适度偏差CUICL如下所示:
In actual operation, due to user behavior, the allowable start time of the work will be delayed or the allowable cut-off time of the work will be advanced. Both of these situations will cause the original operation plan to not be completed normally. The change of time obeys the normal distribution, satisfying
Figure FDA0004248633580000031
with />
Figure FDA0004248633580000032
Use the Monte Carlo sampling method to simulate N different scenarios, let b UICL,j be the initial working period under scenario j, e UICL,j be the end working period under scenario j, x UICL,i be the uninterruptible load operation state, p UICL , i is the electric power of the uninterruptible load, and the obtained uninterruptible load comfort deviation C UICL is as follows:
Figure FDA0004248633580000033
Figure FDA0004248633580000033
(2)可中断负荷不确定性行为(2) Uncertain behavior of interruptible load 与不可中断型负荷类似,可中断负荷的运行时间同样会收到用户行为的影响,可中断负荷的实际工作开始时间bICL,j和实际工作截止时间eICL,j同样满足正态分布,采用蒙特卡洛模拟的方法,设bICL,j为场景j下可中断负荷的实际允许运行时间,eICL,j为场景j下可中断负荷的实际截止运行时间,xICL,i为可中断负荷的运行状态,pICL,i为可中断负荷的用电功率,得到的可中断负荷舒适度偏差CICL如下所示:Similar to non-interruptible loads, the running time of interruptible loads will also be affected by user behavior. The actual work start time b ICL,j and the actual work deadline e ICL,j of interruptible loads also satisfy the normal distribution. Monte Carlo simulation method, let b ICL,j be the actual allowable running time of the interruptible load under scenario j, e ICL,j be the actual cut-off running time of the interruptible load under scenario j, x ICL,i be the interruptible load The operating state of p ICL,i is the electric power of the interruptible load, and the obtained interruptible load comfort deviation C ICL is as follows:
Figure FDA0004248633580000034
Figure FDA0004248633580000034
(3)不确定温度偏好(3) Not sure about temperature preference 用户的偏好温度发生时间iac,b,j在规定时段内均匀分布,改变时间为30分钟,而用户的偏好温度Tin,j,i服从正态分布,并在发生时间内保持恒定,采用蒙特卡特抽样的方法,设Tin,j,t为场景j下第i时段的用户偏好舒适温度,Tin,i为第i时段的室内温度,得到的用户温度舒适度偏差为:The user's preferred temperature occurrence time i ac,b,j is uniformly distributed within a specified period of time, and the change time is 30 minutes, while the user's preferred temperature T in,j,i obeys a normal distribution and remains constant within the occurrence time, using In the Montecat sampling method, let T in,j,t be the user's preferred comfort temperature in the i-th period of scene j, and T in,i be the indoor temperature in the i-th period, and the deviation of the user's temperature comfort degree obtained is:
Figure FDA0004248633580000035
Figure FDA0004248633580000035
(4)不确定热水用量(4) Uncertain hot water consumption 用户在[ist,min,ist,max]内出现临时的用水,启动时间ist,b,j和用水量Vst,j服从均匀分布,用水时长为30分钟,通过蒙特卡特抽样的方法,设Qst,j,i为场景j下第i时段的热水器消耗热量,Tws,j,i为场景j下第i时段的热水温度。Qi为i时段的热水器消耗热量,得到的用户热水用量舒适度偏差Cst如下所示:The user has temporary water consumption within [i st,min ,i st,max ], the start time i st,b,j and the water consumption V st,j follow a uniform distribution, and the water use time is 30 minutes, through the Montecat sampling method , Let Q st,j,i be the heat consumed by the water heater in the i-th period under scene j, and T ws,j,i be the hot water temperature in the i-th period under scene j. Q i is the heat consumed by the water heater in the i period, and the user's hot water consumption comfort deviation C st is as follows:
Figure FDA0004248633580000041
Figure FDA0004248633580000041
Qst,j,i=cwater·Vtotal·(Tst,j,i+1-Tst,j,i) (20)Q st,j,i =c water V total (T st,j,i+1 -T st,j,i ) (20)
Figure FDA0004248633580000042
Figure FDA0004248633580000042
Qi=cwater·Vtotal·(Tst,i+1-Tst,i) (22)Q i =c water ·V total ·(T st,i+1 -T st,i ) (22) 三、考虑用户行为不确定性的家庭能量管理优化模型3. Home energy management optimization model considering user behavior uncertainty 选择用户净电费和舒适度违反系数两个目标作为优化模型的目标函数,采用加权和的方法进行求解,ω1和ω2为用户经济性和舒适度的权重系数,ω12=1;通过归一化的方法,设Ccost为考虑用户行为的家庭能量管理模型一天的用电成本,Ccom为模型一天内的用户舒适违反指数总和,Ccost,max和Ccost,min为迭代中出现的用电成本的最大值和最小值,Ccom,max和Ccom,min为迭代中出现的用户舒适违反指数的最大值和最小值,Select the two objectives of the user’s net electricity cost and the comfort violation coefficient as the objective function of the optimization model, and use the weighted sum method to solve it. ω 1 and ω 2 are the weight coefficients of the user’s economy and comfort, ω 12 =1 ; By means of normalization, let C cost be the daily electricity cost of the household energy management model considering user behavior, C com be the sum of the user comfort violation indices in the model in one day, and C cost,max and C cost,min be iterations The maximum and minimum values of the electricity cost appearing in , C com,max and C com,min are the maximum and minimum values of the user comfort violation index appearing in the iteration, pgrid,i表示第i时段家庭能量管理系统与电网的交互功率,priceb,i代表第i时段用户的购电价格,prices,i代表第i时段用户的售电价格,ρ为惩罚因子,εn为不确定性行为n的发生概率,B为不确定行为集合。得到的家庭能量管理系统优化模型的目标函数为:p grid,i represents the interactive power between the home energy management system and the grid in the i-th period, price b,i represents the electricity purchase price of the user in the i-th period, price s,i represents the electricity sales price of the user in the i-th period, and ρ is the penalty factor , ε n is the occurrence probability of uncertain behavior n, and B is the set of uncertain behaviors. The objective function of the obtained home energy management system optimization model is:
Figure FDA0004248633580000043
Figure FDA0004248633580000043
Figure FDA0004248633580000044
Figure FDA0004248633580000044
Figure FDA0004248633580000045
Figure FDA0004248633580000045
Figure FDA0004248633580000046
Figure FDA0004248633580000046
在家庭能量优化调度模型中,除了运行设备约束外,还需添加电功率平衡约束,设Ppv,i为第i时段分布式光伏设备的发电功率,Pδ,i为δ类负荷第i时段的用电功率,包含储能设备和各类用电负荷。则电功率平衡约束如下所示In the household energy optimal dispatch model, in addition to the constraints of operating equipment, electric power balance constraints also need to be added. Let P pv,i be the power generation power of distributed photovoltaic equipment in the i-th period, and P δ,i be the power of the δ-type load in the i-th period. Electric power, including energy storage equipment and various electric loads. Then the electric power balance constraint is as follows
Figure FDA0004248633580000051
Figure FDA0004248633580000051
四、基于模型预测控制的实时滚动优化4. Real-time rolling optimization based on model predictive control 模型预测控制通过滚动优化过程,是将公式中的运行时段t=1...N变为t=i...N。如t=i时刻,将i时刻的热水器水温,室内温度等真实运行数据与下一个优化时域T内的预测数据一起带入到家庭能量管理系统中,得到下一个优化时域T的优化调度结果。在(i,i+1)时段,采用优化调度结果对家庭用电设备进行优化调度,到了t=i+1后,重复上述过程,一直持续到一天结束。The model predictive control changes the running period t=1...N in the formula to t=i...N through the rolling optimization process. For example, at time t=i, the real operating data such as the water temperature of the water heater and the indoor temperature at time i are brought into the home energy management system together with the forecast data in the next optimization time domain T, and the optimal scheduling of the next optimization time domain T is obtained result. During the time period (i, i+1), use the optimized scheduling result to optimize the scheduling of the household electrical equipment, and repeat the above process until the end of the day when t=i+1.
CN202310596274.0A 2023-05-25 2023-05-25 Home energy management optimization method considering user behavior uncertainty Pending CN116384155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310596274.0A CN116384155A (en) 2023-05-25 2023-05-25 Home energy management optimization method considering user behavior uncertainty

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310596274.0A CN116384155A (en) 2023-05-25 2023-05-25 Home energy management optimization method considering user behavior uncertainty

Publications (1)

Publication Number Publication Date
CN116384155A true CN116384155A (en) 2023-07-04

Family

ID=86980883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310596274.0A Pending CN116384155A (en) 2023-05-25 2023-05-25 Home energy management optimization method considering user behavior uncertainty

Country Status (1)

Country Link
CN (1) CN116384155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118094398A (en) * 2024-04-26 2024-05-28 深圳市云之声科技有限公司 Power supply evaluation method based on Internet of things

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118094398A (en) * 2024-04-26 2024-05-28 深圳市云之声科技有限公司 Power supply evaluation method based on Internet of things

Similar Documents

Publication Publication Date Title
Wang et al. Energy management of smart micro-grid with response loads and distributed generation considering demand response
US11610214B2 (en) Deep reinforcement learning based real-time scheduling of Energy Storage System (ESS) in commercial campus
CN112365021A (en) Regional comprehensive energy system planning optimization method based on hybrid energy storage
CN114418249B (en) A kind of optical storage flexible system operation control method and device
CN109884888B (en) A non-cooperative game-based predictive control method for multi-building microgrid models
Han et al. Economic evaluation of micro-grid system in commercial parks based on echelon utilization batteries
CN110807588A (en) An optimal scheduling method for a multi-energy coupled integrated energy system
CN110474370B (en) A collaborative control system and method for air conditioner controllable load and photovoltaic energy storage system
Rajeev et al. Dynamic load-shifting program based on a cloud computing framework to support the integration of renewable energy sources
CN105207205A (en) Distributed energy system energy optimization regulation and control method fusing demand side response
CN106096747B (en) A solar-assisted home energy management method considering multiple uncertain factors in a real-time electricity price environment
CN106372762A (en) Microgrid economic optimal operation design method with demand response included
CN110544175A (en) A Multi-Energy Comprehensive Optimal Dispatch Method for Household Intelligent Power Consumption
CN116683445A (en) Model predictive control-based multi-time scale operation optimization method for park micro-grid
Gao et al. Multi-energy sharing optimization for a building cluster towards net-zero energy system
CN116663820A (en) An Energy Management Method for Integrated Energy System under Demand Response
CN110209135A (en) Home energy source Optimization Scheduling based on minisize thermoelectric coproduction Multiple Time Scales
Jintao et al. Optimized operation of multi-energy system in the industrial park based on integrated demand response strategy
CN113131519B (en) Family energy management optimization method based on mixed integer linear programming
CN114970959A (en) A low-energy building power distribution system planning method considering the characteristics of source, network and load storage
CN115241927B (en) Home smart energy system operation control method, device, equipment and medium
CN116384155A (en) Home energy management optimization method considering user behavior uncertainty
Zhang et al. Two-stage capacity determination framework for residential second-life BESSs considering cloud energy storage service
Cao et al. Multi-Time Scale Optimal Scheduling of a Photovoltaic Energy Storage Building System Based on Model Predictive Control.
CN114362158A (en) Day-ahead optimization control method of building micro-grid system based on time-varying virtual 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