Method for improving the performance of the energy management in a nearly zero energy building
11971185 · 2024-04-30
Assignee
Inventors
Cpc classification
G05B2219/2202
PHYSICS
H02J7/0063
ELECTRICITY
F24F11/50
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
H02J2310/12
ELECTRICITY
F24F11/47
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
H02J2310/64
ELECTRICITY
H02J7/0048
ELECTRICITY
G05B19/0405
PHYSICS
F24F11/88
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
H02J3/004
ELECTRICITY
G05B2219/2642
PHYSICS
International classification
F24F11/47
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/50
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F24F11/88
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
G05B19/04
PHYSICS
H02J3/00
ELECTRICITY
Abstract
An optimal energy management method and a system that implements the method for a nearly zero energy building (nZEB) based on the genetic algorithm technique that can provide an optimal balance between the objectives of energy saving, comfort of the building residents and maximum exploitation of the generated electric energy by the renewable energy sources through the proper utilization of a battery storage system, is developed in this invention. The above can be attained by minimizing a cost function that considers the real-time electricity price, the generated/consumed electric energy by each device, the user preferences, the state-of-charge and the energy price of the battery storage system (BSS), and the weather forecast. the system that implements the optimal energy management method comprises energy and temperature sensors, controllable power switches, a battery storage system and a controller with human machine interface. The outcomes of the energy management system are control signals that regulate the operation of the power switches and the inverter of the battery storage system.
Claims
1. A method comprising: managing optimal energy of a nearly zero energy building (nZEB); basing the managing on a genetic algorithm technique; providing an optimal balance between objectives of energy saving, comfort of building residents; using generated electric energy by wind turbines and photovoltaics; storing and using energy stored in a battery storage system (BSS), and further comprising: the following steps that are referred to a next time period of 24-hours ahead, dividing the next time period into N discrete time slot intervals: a) providing opportunity for residents' selecting acceptable starting and ending time considering residents' selection of acceptable starting and ending time-slots for programmable electrical appliances (PAs) (denoted by a.sub.PA.sup.i and b.sub.PA.sup.i, respectively for each of appliance), estimating energy consumption vectors for the PAs, for N time-slots, (denoted by E.sub.PA), where the PAs are electric loads each with a planned operating time (of an electric cooker, a washing machine, a dishwasher, an iron, a vacuum cleaner), b) providing temperature selection opportunity for residents' selecting of minimum and maximum indoor considering the residents' selection of acceptable minimum and maximum indoor temperature of the nZEB (denoted by T.sub.in .sup.min and T.sub.in.sup.max, respectively), estimating energy consumption vectors of the controllable appliances (CAs), for N time-slots, (denoted by E.sub.CA), where the CAs are electric loads having operation is regulated by temperature, (heat pumps, and air-conditioners), c) estimating for N time-slots energy consumption vectors of the uncontrollable appliances (UAs) (denoted by E.sub.uA), by utilizing data obtained from energy meters, where UAs are electric loads that cannot be programmed and are switched on/off either manually by the residents (personal computers, TV, security lighting) or automatically (lights regulated by a movement control system) and appliances that residents do not have any control, (refrigerators, water coolers), d) estimating for N time-slots, energy production vectors of the wind turbines and the photovoltaics (denoted by E.sub.WT and E.sub.PV, respectively), considering meteorological data obtained by a weather forecast utility, and estimating total energy (E.sub.RES) generated by the renewable energy sources, the wind turbine and the, photovoltaics determined by E.sub.RES=E.sub.WT+E.sub.PV, e) estimating for N time-slots, energy vectors of the BSS for charging and discharging modes (denoted by E.sub.BSS.sup.ch and E.sub.BSS.sup.dis, respectively), f) estimating for N time-slots, electric energy price vectors of buying and selling (denoted by EEP.sub.buy and EEP.sub.sell, respectively), from estimated buying and selling prices, respectively, obtained from an electric energy utility, g) determining values of the acceptable starting and ending time-slots of each i appliance (a.sub.PA.sup.i and b.sub.PA.sup.i , respectively), and the acceptable minimum and maximum indoor temperature (T.sub.in.sup.min and T.sub.in.sup.max, respectively) provided by the residents in the aforementioned steps a) and b), and the energy vectors E.sub.WT, E.sub.PV, E.sub.PA, E.sub.CA, E.sub.UA, E.sub.BSS.sup.ch, E.sub.BSS.sup.dis, and EEP.sub.buy which are calculated in the aforementioned steps b) to f), are imported to a cost function and then, by its minimization through the genetic algorithm technique, are provided optimal values, for the N time-slots ahead, of: controlling vectors of the time-slots of each PA, the reference indoor temperature, and charging or discharging operating modes of the BSS, and providing optimal value of a parameter denoted by x, that can take values 0 and 1, assuring that energy generated by RES renewable energy sources and stored in the BSS is equal TO or higher than an amount of energy which has been provided to the appliances by the BSS (x is equal to 1 when the BSS is active and 0 when the BSS is inactive), h) using optimal values, that are calculated in step g), of the: controlling vectors of the starting time-slots of each PA, reference indoor temperatures for the N time-slots and the charging or discharging operating modes of the BSS for the N time-slots are provided as input signals to a system that is the optimal energy management method, while, using a control variable x as input variable at an optimization procedure of a next time sampling, that is realized in step g.
2. The method of claim 1, wherein the genetic algorithm seeks optimal starting time t.sub.PA.sup.i of each i-PA, within the N time-slots, considering the constraints that t.sub.PA.sup.i is equal-or-higher than the acceptable starting time slot a.sub.PA.sup.i which is defined by the residents for each i-PA and also, equal-or-lower than the acceptable ending time slot b.sub.PA.sup.i which is defined by the residents for each i-PA, minus the duration of the i-PA operation denoted by LoO.sub.PA.sup.i (a.sub.PA.sup.i?t.sub.PA.sup.i?b.sub.PA.sup.i ?LoO.sub.PA.sup.i).
3. The method of claim 1, wherein with the genetic algorithm seeking an optimal reference indoor temperature T.sub.in.sup.ref for each of the N time-slots considering a constraint that T.sub.in.sup.ref is equal-or-higher than the minimum indoor temperature T.sub.in.sup.min and equal-or-lower than the maximum indoor temperature T.sub.in.sup.max, which are defined by the residents (T.sub.in.sup.min?T.sub.in.sup.ref?T.sub.in.sup.max).
4. The method of claim 1, wherein availability cost of the BSS, denoted by C.sub.b, is calculated by a ratio of the replacement cost, denoted by C.sub.rep, with respect to total lifetime cycling energy capacity of the BSS, denoted by Q.sub.bt, (namely, C.sub.b=C.sub.rep /Q.sub.bt), where total lifetime capacity is estimated by Q.sub.bt=Q.sub.br.Math.DoD[0.9L.sub.r?0.1] where DoD is depth-of-discharge that is maximum discharge with respect to rated and L.sub.r is the rated lifetime of a battery obtained by the battery datasheet.
5. The method of claim 2, wherein an objective for high comfort of the residents is determined by that home appliances should complete their work as soon as possible and specifically, the residents' comfort is considered in the method by defining the delay time rate (DTR) for each i programmable appliance (PA) that is given by
6. The method of claim 1, wherein residents comfort level degradation with respect to the total PAs of the nZEB (denoted by CLD.sub.PA) is calculated by
7. The method of claim 6, wherein residents comfort level degradation with respect to the heating and cooling (denoted by CLD.sub.H/C), is calculated by
8. The method of claim 7, wherein residents comfort level degradation (denoted by CLD.sub.tot) is calculated by CLD.sub.tot=CLD.sub.PA+CLD.sub.H/C.
9. The method of claim 8, wherein the optimization problem is solved through minimization of the cost function J=w.sub.1CLD.sub.tot+w.sub.2[F.sub.1(E.sub.ep)+F.sub.2(E.sub.BSS.sup.dis)] utilizing the genetic algorithm technique, by applying an iterative discrete calculation procedure for any sampling cycles k (where 1?k?N), where
10. The method of claim 1, wherein the parameters w.sub.1 and w.sub.2 of cost function J are two weighted factors which represent the importance of the objectives of the comfort level and energy cost, respectively, and those provided by the residents according to their preferences, considering the constraints that w.sub.1+w.sub.2=1, 0?w.sub.1?1 and 0?w.sub.2?1.
11. The method of claim 1, wherein the method comprises: providing energy meters to measure the consumed electric energy by the PAs and CAs, stored or recovered electric energy in or from the BSS, respectively, the generated electric energy by the wind turbines and photovoltaics, and the electric energy that is absorbed by or provided to a grid, providing temperature sensors to measure the indoor temperature of each room of the building, providing controllable power switches to regulate the operation of the PAs and CAs, according to the optimal energy management method, providing inverter of the BSS that controls the charging and discharging operation of the batteries and it is regulated by control signals according to the optimal energy management method, providing controller configured to implement the optimal energy management method, with a human machine interface for the insertion, by the residents, of the acceptable starting and ending time-slots of the PAs, and the acceptable minimum and maximum indoor temperatures.
12. The method of claim 11 further comprising: managing optimal energy method, wherein the controllable power switches are regulated by control signals of values 0 and 1 provided by a controller, and the charging or discharging mode of the BSS is regulated by the inverter of the BSS through a control signal provided by the controller.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) In
(7) The concept of the present invention that can attain an appropriate balance between the nZEB performance and the comfort of the residents is based on the following operations: 1) time scheduling of the operation of each PA, 2) proper regulation of the operation of each CA, so as the value of the reference variable is within the upper and lower limits set by the residents, and 3) decision for the proper operating mode (i.e. charging or discharging) and the level of the current of the BSS.
(8) The above are realized by: i) constructing a prediction plan for the estimated energy demand by the loads, the energy that can be stored and recovered by the BSS, and the expected generated energy by the RES, ii) properly controlling the operation of the PAs, CAs and BSS through the energy management method by considering: the consumed or generated or stored electric energy at several devices of the nZEB microgrid (i.e. PAs, CAs, UAs, RES, ad BSS), as well as the absorbed or provided energy to the grid, and the SoC of the BSS, and the real time electricity price, the residents' preferences for the acceptable starting and ending time of the PAs and acceptable minimum and maximum indoor temperature, and the weather forecast.
(9) The EMS of the present invention is implemented by employing the GAT where the daily operation of each appliance is divided into N discrete time intervals, as shown in
(10) The optimal operation of the EMS is accomplished with the following five control sectors.
(11) a) The output power of the wind generator is calculated by the following formula:
(12)
(13) where u is the wind speed,
(14)
(15) u.sub.ci, u.sub.co and u.sub.N are the cut-in, the cut-out and the nominal wind speeds, respectively, and P.sub.N is the rated power of wind turbine. Thus, for each sampling cycle k that has time duration ?t.sub.k, the generated electric energy is given by
e.sub.WT(k)=?.sub.0.sup.?t.sup.
(16) and the energy generation vector for the N time-slots is
E.sub.WT=[e.sub.WT(1)e.sub.WT(2) . . . e.sub.WT(N)](4)
(17) In a similar way, by having as inputs the irradiance level R.sub.irr and the average temperature of the cells T.sub.cell.sup.AV that are estimated by the weather forecast, the output power of a PV system for each sampling cycle k is given by
e.sub.PV(k)=?.sub.0.sup.?t.sup.
(18) where
(19)
(20) and N.sub.pv is the number of PV modules, P.sub.PVmax is the peak output power of a PV module and a.sub.T is the temperature effect coefficient. The predicted generated electric energy by a PV system for each sampling cycle k is given by
E.sub.PV=[e.sub.PV(1)e.sub.PV(2) . . . e.sub.PV(N)](7)
(21) Thus, by using the eq. (4) and (7), the total energy production vector by the RES is
E.sub.RES=E.sub.WT+E.sub.PV(8)
(22) b) The energy consumption vector N?M for the appliances of the building is:
(23)
(24) where, in any e.sub.A.sup.i(k) of the above vector, k is the number of the sampling cycle that each one has time duration ?t.sub.k and i is the number of the appliance A, where A={PA, CA, UA}. The N is the number of time-slots per day and M is the maximum number of the appliances in the above three types.
(25) For each i PA, additionally to the energy consumption e.sub.PA.sup.i, three parameters are introduced that their values are provided by the residents, i.e, the a.sub.PA.sup.i and b.sub.PA.sup.i that denote the acceptable starting and ending time-slot, and the LoO.sub.PA.sup.i that represents the duration of the operation of the i PA.
(26) In order to improve the performance of the nZEB, the genetic algorithm seeks the optimal starting time t.sub.PA.sup.i of each i PA with the following constraint
t.sub.PA.sup.i?[a.sub.PA.sup.i(b.sub.PA.sup.i?LoO.sub.PA.sup.i)](10)
and defines the optimal operation starting time vector for the PAs
t.sub.PA=[t.sub.PA.sup.1t.sub.PA.sup.2 . . . t.sub.PA.sup.M](11)
(27) The optimal operating starting time matrix for the PAs is
(28)
(29) The energy consumption matrix by the PAs is
(30)
and thus, the total energy consumption by the PAs is given by
(31)
(32) Finally, the energy consumption of the UAs can be calculated in a week basis by
(33)
(34) c) One of the goals of the EMS is to manipulate the energy generated by the RES and to decide if it is beneficial to be consumed by the appliances of the building, stored in the batteries or sold to the energy provider. The energy battery storage system vector for the charging and discharging modes of the BSS, respectively, for the N time-slots, are
E.sub.BSS.sup.ch=[e.sub.BSS.sup.ch(1)e.sub.BSS.sup.ch(2) . . . e.sub.BSS.sup.ch(N)](17)
E.sub.BSS.sup.dis=[e.sub.BSS.sup.dis(1)e.sub.BSS.sup.dis(2) . . . e.sub.BSS.sup.dis(N)](18)
(35) In addition, the genetic algorithm defines the optimal operating time vectors for the charging and discharging modes of the BSS, respectively, as
T.sub.ch=[t.sub.ch(1)t.sub.ch(2) . . . t.sub.ch(N)](19)
T.sub.dis=[t.sub.dis(1)t.sub.dis(2) . . . t.sub.dis(N)](20)
where the t.sub.ch(k) and the t.sub.dis(k) denote if the BSS is in the charging and discharging modes, respectively, and they can take values of 1 or 0 if the BSS is in operation or not, respectively.
(36) Thus, considering the eq. (17)-(20), the final energy battery storage system vectors for the charging and discharging modes of the BSS, respectively, for the N time-slots, are
E.sub.BSS.sup.ch=[e.sub.BSS.sup.ch(1)t.sub.ch(1)e.sub.BSS.sup.ch(2)t.sub.ch(2) . . . e.sub.BSS.sup.ch(N)t.sub.ch(N)](21)
E.sub.BSS.sup.dis=[e.sub.BSS.sup.dis(1)t.sub.dis(1)e.sub.BSS.sup.dis(2)t.sub.dis(2) . . . e.sub.BSS.sup.dis(N)t.sub.dis(N)](22)
(37) Since the batteries are charged by the RES, the main cost is the availability cost C.sub.b that is defined as the replacement cost C.sub.rep with respect to the total lifetime cycling energy capacity of the battery Q.sub.bt and it is calculated by
(38)
(39) The total lifetime capacity is estimated by Q.sub.bt=Q.sub.br.Math.DoD [0.9L.sub.r??0.1], where DoD is the depth-of-discharge that is the maximum discharge with respect to the rated and L.sub.r is the rated lifetime of a battery obtained by the battery datasheet.
(40) d) The objective for high comfort of the residents is determined by the approach that the home appliances should complete their work as soon as possible. This means that, for any i PA, it is aimed to reduce the delay between the starting time that is preferred by the residents and is expressed by the a.sub.PA.sup.i and the starting time t.sub.PA.sup.i that has been programmed by the control algorithm of the EMS.
(41) Thus, a variable which can be used to consider the residents' comfort is the delay time rate (DTR), that for each i PA is defined by the following formula
(42)
(43) The DTR takes values between 0 and 1 and specifically, the value 0 means high residents' comfort with respect to the priority in satisfying their preferences, while the 1 means the lower acceptable comfort level and thus, the lower acceptable priority in satisfying the residents' preferences.
(44) Based on the above, the residents' comfort level degradation (CLD) is introduced that is determined by the expression
(45)
(46) where the r can be any integer greater than 1 (r>1). The above parameter is used to consider the residents' comfort level in the cost function of the EMS optimization problem.
(47) Another parameter that affects the residents' comfort is the proper heating/cooling of the building premises with respect to their preferences. The residents are allowed to determine the acceptable temperature range of the building indoor temperature T.sub.in.sup.min?T.sub.in?T.sub.in.sup.max and the EMS controls the reference temperature T.sub.in.sup.ref in order to both improve the performance of the nZEB and reduce the residents' CLD with respect to heating/cooling. For any sampling cycles k, the latter is defined as
(48)
(49) Thus, from eqs. (25) and (26), the total comfort level degradation is
CLD.sub.tot=CLD.sub.PA+CLD.sub.H/C(27)
(50) Therefore, the regulation of the reference indoor temperature affects the electric energy consumption of the heat pump and thus the energy consumption vector for the heating/cooling system is
E.sub.CA=E.sub.H/C=[e.sub.H/C(1)e.sub.H/C(2) . . . e.sub.H/C(N)](28)
where e.sub.H/C(k) is the electric energy consumption by the heating/cooling system, for each sampling step k.
(51) e) The buying and selling electric energy price vectors are defined, respectively, by
EEP.sub.buy=[EEP.sub.buy(1)EEP.sub.buy(2) . . . EEP.sub.buy(N)](29)
EEP.sub.sell=[EEP.sub.sell(1)EEP.sub.sell(2) . . . EEP.sub.sell(N)](30)
where EEP.sub.buy(k) and EEP.sub.sell(k) are the buying and selling electric energy price, respectively, for any k sampling cycle (1?k?N).
(52) By using the eqs. (1)-(29), the optimization problem that involves the energy generation, consumption and storage options, can be solved by minimizing the following cost function
(53)
(54) The parameters w.sub.1 and w.sub.2 are the weighting factors that represent the importance of the objectives of the comfort level and energy cost respectively (w.sub.1+w.sub.2=1, where 0?w.sub.1?1 and 0?w.sub.2?1).
(55) The parameter x takes values 0 and 1, and it is used to assure in the eq. (34) that the energy which has been generated by the RES and stored in the BSS is equal or higher the amount of energy which has been provided to the appliances by the BSS. The x is equal to 1 when the BSS is active and 0 when it is inactive. This constraint is imposed by the fact that, the BSS should operate as uninterruptible power supply (UPS) in case of electric power outage and the RES could not provide the required amount of electric energy to the appliances.
(56) The optimal starting time t.sub.PA of the PAs as defined by the eq. (11) and the reference indoor temperature of the building T.sub.in.sup.ref considering the residents' comfort level as defined by the eq. (27), as well as the optimal time vectors T.sub.ch and T.sub.dis for the charging and discharging operation of the battery storage system are determined by the EMS that is realized by utilizing the GAT.
(57) The flow chart of the genetic algorithm-based EMS of the present invention is illustrated in
(58)