Method for controlling set temperature of electric storage water heater based on three-dimensional fluid heat transfer
The method addresses the challenge of setting optimal temperatures for electric storage water heaters by using a three-dimensional fluid heat transfer model and genetic-simulated annealing algorithm to determine a suitable set temperature, achieving both energy savings and user comfort by accurately predicting temperature changes and minimizing energy waste.
Patent Information
- Application Number
- GB2024000977
- Authority / Receiving Office
- GB · GB
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-26
- Filing Date
- 2024-01-25
- Publication Date
- 2024-11-27
- Estimated Expiration
- 2044-01-25
AI Technical Summary
Electric storage water heaters face challenges in setting optimal temperatures, leading to excessive energy waste or user discomfort, as current manual or constant temperature control methods fail to balance electricity savings with sufficient water temperature for bathing.
A method for controlling the set temperature of electric storage water heaters based on three-dimensional fluid heat transfer, involving constructing a water temperature change function, three-dimensional fluid heat transfer model, energy balance equation, and genetic-simulated annealing algorithm to determine a suitable set temperature that minimizes electricity consumption while ensuring comfortable bathing temperatures.
This approach allows for high-precision and efficient prediction of the optimal set temperature, accurately replicating internal temperature changes and reducing energy waste, ensuring both user comfort and electricity savings by discretizing the heat transfer model and using a genetic-simulated annealing algorithm to avoid local optima.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELD [0001 ] The present disclosure relates to the technical field of electric water heaters, and specifically, to a method for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer. BACKGROUND
[0002] Electric storage water heaters are widely used in households due to their ease of installation and affordable price, which provides great convenience for family bathing. However, inappropriate temperature settings may result in two problems: [00031 (1) Setting the temperature too high can result in excessive electricity waste, especially given the prevalent use of electric water heaters, leading to incalculable energy wastage.
[0004] (2) Conversely, setting the temperature too low can cause discomfort during bathing, potentially impacting the user's health.
[0005] At present, most electric storage water heaters on the market adopt manual adjustment or constant temperature control for temperature setting, which may not effectively achieve a reasonable and efficient set temperature that allows users to enjoy comfortable bathing while maximizing electricity savings. Therefore, in view of the temperature setting issue with electric storage water heaters, it is crucial to determine an appropriate set temperature that minimizes electricity consumption of the electric water heaters while ensuring a sufficient water temperature during the bathing process. SUMMARY
[0006] In order to overcome the shortcomings in the prior art, an objective of the present disclosure is to provide a method for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer. The present disclosure provides a control scheme for the set temperature of the electric water heater, that is, calculating the set temperature of the electric water heater, which can not only save electricity but also meet the temperature requirements for user bathing under the condition that the electric water heater is continuously turned on.
[0007] To solve the problems existing in the prior art, the technical solution of the present disclosure is as follows:
[0008] According to a first aspect, the present disclosure provides a method for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer, 1 including the following steps: [00091 step (1): constructing a water temperature change function for the electric water heater; [00101 step (2): constructing a three-dimensional fluid heat transfer model; [00111 step (3): constructing an energy balance equation and obtaining a temperature iteration equation of the model; [00121 step (4): establishing a continuity equation; and [00131 step (5): traversing and solving the continuity equation to obtain a minimum set temperature. [00141 According to a second aspect, the present disclosure provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions executed by the processor, and the processor executes the machine-executable instructions to implement the method. [00151 According to a third aspect, the present disclosure provides a machine-readable storage medium. The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions enable the processor to implement the method. [00161 The present disclosure has the following beneficial effects:
[0017] (1) High precision:
[0018] Since the upper and lower portions of the electric water heater have different temperatures, that is, the lower portion is colder and the upper portion is hotter, in the present disclosure, the heat transfer equation and the mass exchange equation are established and solved discretely. This allows for the simulation of water temperature changes during bathing through the vertical flow of water, heat transfer between adjacent nodes, and the heating effect of the heating pipe. As a result, the internal temperature changes of the water heater are accurately replicated, and a suitable set temperature is determined. This approach ensures both comfortable water temperature for users during bathing and electricity savings.
[0019] In the present disclosure, the three-dimensional fluid heat transfer model is reasonably utilized, and it is discretized into a grid simulation. The average temperature is not used to replace the real temperature, resulting in higher accuracy and more practical significance for the model.
[0020] (2) High efficiency:
[0021] In order to address the immaturity of the technology related to set temperature control in the current electric water heater field, the present disclosure utilizes the three-dimensional fluid heat transfer equation in combination with the temperature field's heat transfer model for the inner container. This enables efficient and reliable prediction of the water heater's set temperature. By solving for the appropriate set temperature, both user comfort during bathing and electricity savings 2 can be achieved. [00221 The present disclosure provides a genetic-simulated annealing algorithm constrained based on the temperature difference for determining discrete grid parameters of the inner container of the water heater. This approach effectively addresses the issue of getting stuck in local optima, leading to enhanced accuracy in predicting the set temperature and reduced space complexity. BRIEF DESCRIPTION OF THE DRAWINGS [00231 FIG. lisa flowchart of a method according to the present disclosure; [00241 FIG. 2 is a flowchart of a genetic-simulated annealing algorithm constrained based on a temperature difference; [00251 FIG. 3 is a schematic structural diagram of a water heater; [00261 FIG. 4 is a schematic diagram of a temperature field heat transfer model; [00271 FIG. 5 is a schematic diagram of changes in water temperature during operation of a water heater;
[0028] FIG. 6 is a comparison diagram of the fitness among the present disclosure, the genetic algorithm, the Monte Carlo algorithm and the annealing algorithm;
[0029] FIG. 7 is a diagram of temperature changes at different layers of a water heater predicted according to the present disclosure when bathing at room temperature in winter;
[0030] FIG. 8 is a diagram of temperature changes at different layers of a water heater actually measured when bathing at room temperature in winter;
[0031] FIG. 9 is a diagram of one-day electricity consumption of a water heater at different set temperatures in winter; and
[0032] FIG. 10 is a comparison diagram of temperature prediction errors among the present disclosure, the heat transfer model based on multi-nodes, and the polymerization model based on energy exchange. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] A scheme for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer provided in the present disclosure is further described with reference to the accompanying drawings.
[0034] FIG. 1 shows a method for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer, including the following steps:
[0035] Step (1): Construct a water temperature change function for the electric water heater.
[0036] Because cold water needs to be filled into the water heater before use, the water must be heated prior to use. It is assumed that the electric storage water heater is heated by two heating 3 pipes arranged vertically, and the water temperature can be approximately regarded as a uniform distribution during the heating process, as shown in FIG. 3. An average heat transfer coefficient of walls of the water heater is assumed to be , a heat dissipation surface area of the water heater to be , the density and specific heat of water to be P and c respectively, the water temperature during a heating or cooling process to be and a time variable to be T , and a heat balance equation of water during the heating process is constructed as follows: [00371 dr (1) [00381 An initial condition is substituted. is an initial water temperature, and the equation (1) is equivalently transformed into the water temperature heating change function in a non-water outflow period as follows: [00391 t = if +-^ + ^0-tf (PpCp)) (2)
[0040] In the water cooling process of the electric water heater, the temperature change equation is similar to the equation (2), and a water temperature cooling function of the electric water heater is as follows:
[0041] t = tf+[to-tf^P(-KFr / (KpCp))
[0042] Step (2): Construct a three-dimensional fluid heat transfer model.
[0043] Step (2.1): Calculate flows Y of cold water flowing into and hot water flowing out of a water storage tank.
[0044] The flow P is the volume of water flowing out of the shower head per unit time, which can also be called bathing water consumption per unit time. It is assumed that a water outflow and inflow of the electric storage water heater are the same at each moment to ensure the water storage tank to be always in a full state, thus the flows of cold water flowing into and hot water flowing out of the water storage tank are . It is assumed that a flow of water entering a hot and cold water mixer through a cold water pipe is , a total water inflow is « , a total water outflow is , thus the following expression is satisfied: a = y + ft
[0045] V = P + Y (4)
[0046] A temperature expected for a human body during bathing is assumed to be Thuman, a hot water temperature to be Thot(f), a cold water temperature to be Tcoid, and a flow velocity component in a vertical direction to be v . In the cold and hot water mixer, cold water and hot water are mixed to obtain the temperature expected for the human body, and the temperature satisfies the following in the time : [00471 (P + K)tiVpTteman = + r^pT^t^) [00481 An expression of P is obtained based on the equations (4) and (5): [00491 ? human (6) [00501 An expression of is obtained based on the equation (6): [00511 _ Shuman a^cold _ ’^’human TCoid T hot(P)~T cold T }iot(t)~T cold [00521 Step (2.2): Establish a three-dimensional fluid heat transfer model. [00531 Step (2.2.1): Construct a three-dimensional fluid heat transfer equation: [00541 h is assumed that the electric storage water heater starts heating when a water temperature drops to v 0 17 0 is a set temperature, and 1 is a set value; a temperature stratification phenomenon in an inner container of the water storage tank causes natural convection; during a bathing process, cold water continuously enters the inner container of the water storage tank through a cold water inlet, and hot water flows out from a water outlet at a top portion, resulting in forced convection from bottom to top as a whole; water flow temperature transfer of the electric storage water heater satisfies the three-dimensional fluid heat transfer equation: dT z ST dT dT. d2T d2l d T F(x,y,z)
[0055] dt Sx &dz dx dz Pc (8)
[0056] is a medium thermal diffusivity, is heat generated by a heat source at a point (x’d;’z)5 P is density of water, c is a specific heat capacity of water, and ^-^11 are respectively velocity components of water in directions x, y and z when flowing through a fluid particle.
[0057] Since water flows only along a z-axis, that is, u = 0 and v = 0, for further simplification of the model, only temperature changes in the directions x and z are considered to reduce dimensions, and the equation (8) is further simplified as: dT dT d2T d2T l (x,y.z)
[0058] 5t+W dz ^ox2 + dz2 + pc
[0059] Step (2.2.2) Establish a working state equation of the water heater.
[0060] It is assumed that heat dissipation of walls of the water heater during bathing is considered as a cold source, a function of the walls is equivalent to the heater, that is, is a result of subtracting heat dissipation power of the walls from heating power of the heater. In this case, the walls are completely insulated, and the following is obtained:
[0061] (10)
[0062] During bathing, a water temperature at a bottom layer of the water heater is constantly a T\ = t cold water temperature, that is, a room temperature: lz=0 f. [00631 Therefore, the three-dimensional fluid heat transfer model is obtained as follows: ST dT d2T d2T (x,y,z) dt dz dx2 dz2 pc [00641 = 0 5=0,2=400 t\ =tf 12=0 f (11) [00651 In order to describe an entire working process of the water heater clearly, control items are constructed: ______ (0 not bathing [00661 a — ]. , , . (.1 bathing , fO water heater does not heat b = I . , , (12) tl water heater heats [00671 A working state of the water heater is expressed as follows: dT dT d2T d2T^ b* P KF*(T-tr) --= a * (-w--+ a(—- + —-)) +---—
[0068] dt dz dx dz^ Pc VP (13) 57 P2T d2Tx -w--+ a(—+ —-)
[0069] &z indicates convection heat transfer and heat conduction of water P KF*(T^tf) during bathing, Pc indicates heater heating, and P indicates natural heat dissipation of the walls of the water heater.
[0070] Step (3): Construct an energy balance equation and obtain a temperature iteration process of the model.
[0071] The inner container of the water heater tank is divided into M columns in a horizontal direction and rows in a vertical direction, the whole inner container is considered as being composed of ^*4 / nodes, energy transformation of each node is to be solved, and finally a temperature iteration process of each node is obtained. A temperature field heat transfer model is shown in FIG. 4.
[0072] FIG. 5 is a schematic diagram of water temperature changes during operation of the water heater.
[0073] Step (3.1): Calculate an energy change caused by water flow.
[0074] Both the water inlet pipe and the water outlet pipe of the water heater are installed at the bottom of the inner container. The water inlet pipe is shorter, with only a small portion extending out, while the water outlet pipe is longer, reaching near the top of the inner container. Therefore, in the process of water inflow, water gradually moves from the bottom of the inner container to the top. This leads to a transition from high-temperature water to low-temperature water in each node.
[0075] Since the cold water flows in at the bottom and the hot water flows out at the top when the water heater is in use, and the water in the inner container continuously flows in the vertical direction, the energy change caused by the water flow is represented as follows: [00761 ^=pc^t(T^-T^ (M) AA (i A [00771 indicates a time interval, M indicates the energy change at a node caused by water flow in a time A?, / indicates a change of the node in the direction x, J indicates a change of the node in the direction z , c indicates the specific heat capacity of water, P indicates the density of water, indicates a calculated inflow, indicates a temperature of a node + at a moment 7 , and indicates a temperature of a node v ' J) at the moment T . [00781 Step (3.2): Calculate heat transfer between adjacent nodes.
[0079] Because of a temperature difference between adjacent nodes, heat transfer occurs in real time, and an energy change caused by heat transfer between the node and each adjacent node per unit time is expressed as follows:
[0080] = Q[Skl+ + s + (15) 1 1 Acol2 Acol2 7 v Aarr2 Aarr2 7J v 7 ,. ..
[0081] indicates an energy change of the node caused by heat transfer in the time At, ” indicates the thermal conductivity of water, indicates a mutual contact area between the nodes in the vertical direction, indicates a mutual contact area between the nodes in the horizontal direction, indicates row spacing between the nodes, and indicates column spacing between the nodes. Calculation is performed according to the following formula: _ {Headerh,gh x Header^) kl~ N _ {Header^}2 ~ M . Header,msth Aarr =---------- 10M , , Headerh,sh Acol =--------- [00821 (16) [00831 Headerhlg‘ is a vertical height of the inner container of the electric storage water heater, and Header js a horizontal width of the inner container of the electric storage water heater. [00841 Step (3.3): Calculate a heating effect of the heating pipe. [00851 The heating pipe affects the temperature of each node in the grid. A common electric storage water heater is equipped with two heating pipes: the upper heating pipe and the lower heating pipe. It has been verified that the double-pipe heating can be approximated as uniform heating, meaning that the same amount of heat is distributed to each grid. By considering the two Md™ heating pipes as a single heating source with a boundary midpoint, an energy change Kj caused by the heating pipe with heating power of ? is expressed as:
[0086] ',J (17)
[0087] Step (3.4): Calculate a temperature iteration process.
[0088] Before and after the time the total energy change ; of the node is:
[0089] ^=^(^1^) (18)
[0090] With reference to the steps (3.1) to (3.3), a sum of all energy changes of the node in the time is equal to the total energy change of the node, and the following is obtained:
[0091] kE . = kEver + kHKI + kEhea hj hj hj hj (19)
[0092] The temperature iteration process of each node in a grid at each moment is deduced from the equation (19): rT+1 — j_ g re , , G cpv0 cpv0 L Aarr2 Aarr2 ^2 Acol2 deal2 + —--T^i (20) M*N*c2pv0 l’J v 7
[0094] In the foregoing formula, T°J T‘ and 0 <' N>0 <'
[0095] Step (3.5): As shown in FIG. 2, solve division numbers M and of the inner container of the water storage tank based on a genetic-simulated annealing algorithm constrained based on the temperature difference. [00961 Step (3.5.1): Establish a temperature difference objective function. [00971 It is assumed that ZG [0-^, TV] represents a tOp part an(j zg [O,O.27V] represents a bottom part of the electric storage water heater, node temperatures calculated in the step (3.4) are averaged TT Tt to obtain a top layer temperature up and a bottom layer temperature ldown; TT [00981 the objective function is constructed as follows according to the top layer temperature up rj-iT and the bottom layer temperature ld<™n: / •Dura f = Max( I (?2 TLn [00991 (21) [01001 Dura indicates bathing duration. [01011 Step (3.5.2): Generate an average value of the vertical division numbers and an average value of the horizontal division numbers for the two-dimensional grid of the inner container of the water storage tank.
[0102] Because the sizes of electric storage water heaters vary, it is necessary to design different two-dimensional grid division numbers of the inner container for different sizes of water heaters. Assuming Header 8 t0 be the vertical height (cm) and Header 8 t0 be the horizontal width (cm) n of the inner container of the electric storage water heater, the average value of the vertical A / division numbers and the average value ^7^ of the horizontal division numbers of the two-dimensional grid are respectively: ' aver'7 =\ (Header^11 / 3)} averM = F(Headerl,,nph / 5)1
[0103] 1 1 1 (22)
[0104] Step (3.5.3): Generate an initial population in a normal distribution.
[0105] To maintain a desired level of precision in the division of the grid nodes of the inner container and minimize computational complexity, most of the vertical and horizontal division numbers that yield better results are close to ^7^ and , and satisfy characteristics of the normal distribution, such that the initial population is obtained by using random numbers in the normal distribution.
[0106] First, probability density functions of the normal distribution with and ^7^ as I j I H central axes and yaver and yaver as standard deviations are calculated as follows: 1 _(N-m’erN')z f(N) = . V leaver < 1 JN-aver™')2 f(W = [01071 yJ2^aver ^3)
[0108] Then random numbers u and u between 0 and 1 are separately generated for and according to the principle of equal probability, inverse functions ) and ) of and are calculated, that is, the random numbers following the normal distribution are separately obtained, and the process is repeated 20 times, to finally generate normal random number sets and ga,he,g with a scale of 20.
[0109] The initial population conforming to the normal distribution is obtained after calculating a Cartesian product of the sets ^atherort an(| gather^ . [01101 gather / , x gather^
[0111] Step (3.5.4): Calculate a temperature difference objective function for each solution in the population according to the equation (21), and then obtain an optimal solution ^best of the current population.
[0112] Step (3.5.5): Iteratively obtain the division number of the two-dimensional grid of the inner container of the water storage tank.
[0113] After selection, crossover and mutation, generate a new population, and determine whether the top layer temperature is less affected by the bottom layer temperature in the current optimal f (S) >f (S ) solution, that is, whether the objective function J v ’ J where S indicates a solution in the S = S new population; if yes, update the current optimal solution best , and obtain a new optimal solution through iteration; otherwise, continue to determine whether exp(| / (5) f{Sbest)\)<iandom(Q,\) . Updating and continue to find the optimal S' = 5* S solution; otherwise, update the optimal solution to best random, where random indicates a random solution in the new population, that is, the division number of the two-dimensional grid of the inner container of the water storage tank.
[0114] Step (3.5.6): If a number of iterations reaches the maximum, stop the iteration and output the optimal solution, and substitute the optimal solution (N, M) into the temperature iteration process of the model; otherwise, proceed to the step (3.5.3).
[0115] Step (4): Establish a continuity equation. [01161 Since a lowest temperature at the top of the water heater is to be higher than a lowest bathing temperature Twarm, an objective function and a constraint condition are obtained based on the three-dimensional heat transfer model (13) and the temperature iteration process (20): VpC ^- = P-KF(t-tf} at t < ~^T< T0~5 dt VpCp — = ^KF(t^tf) t< To-5 dT dT ^d2T d2T. ---+ H’---= £(--- +---) dt dz dx dz *0 <t<t0 + 9oo,ro >r>r0-5 dT dT ^d2T d2T. q — + w— = £(—- +—-) + — dt dz dx2 dz2 pc <t<t0 + 900,7 <70-5 [01171 [01181 (25) Min(To) Tt=to + 9OO Twarm
[0119] ar indicates a water temperature change when a power supply is turned on, KT (t — ty ) indicates a water temperature change during natural heat dT dT d2T d2T --h W---— (-----2~) dissipation, &^z dz indicates a water temperature change when the water temperature is not lower than the set temperature by 5°C during bathing, dT dT d'T d2Tx q — + w— = —- +—-) + — DC indicates a water temperature change when the water temperature is lower than the set temperature by 5°C during bathing, Tt=to+9QQ >Twarm indicates the constraint condition, and Twarm indicates a minimum temperature of hot water required for bathing in different seasons.
[0120] Step (5): Traverse and solve the continuity equation to obtain a minimum set temperature and electricity consumption.
[0121] 5-1 : Initialize randomly generated .
[0122] 5-2: Assume that a minimum value of the top layer temperature of the water heater at each moment during bathing is the same as a bathing water temperature, and calculate the top layer temperatures of the water heater at different moments during bathing according to the objective function (25).
[0123] 5-3: Screen out a minimum value from the top layer temperatures at different moments, determine whether the minimum value is higher than Twarm, if yes, update a . where a indicates a temperature step, make an iteration count=count+l, and return to the step 5-2; otherwise, T T । d determine whether a current iteration count is 1; if yes, update 0-0 , make count=count+l, T and return to the step 5-2; otherwise, output 0 obtained in a last iteration as an optimal set temperature T .
[0124] 5-4: Substitute the optimal set temperature T into the temperature iteration process (20), further obtain a heating time thot of the electric water heater of the day, and multiply the power of the electric water heater with thot to obtain electricity consumption.
[0125] Example
[0126] [1] Implementation conditions
[0127] Combining with the scheme of the present disclosure, two representative seasons (summer and winter) are selected for experimentation. Specifically, 60 L and 100 L electric water heaters of a certain brand are used as experimental conditions, with heating power of 800 W, 1200 W, and 1500 W. Assuming that each user takes a bath at 8 p.m., the indoor temperature in summer is set as the lowest temperature of the day, that is, 24°C, and the indoor temperature in winter is set as the lowest temperature of the day, that is, 4°C. Additionally, the water temperature at the beginning of bathing is set at the set temperature minus 5°C, with an average bathing time of 15 minutes, a time step of 0.1 s, Twarm in summer of 37°C, Twarm in winter of 45°C, an initial water heater temperature of 20°C, a heat transfer coefficient of 0.879, a heat dissipation area of 1.08 m2, a water thermal conductivity a of 0.59, and the outflow and inflow of 0.00008 m . Under these conditions, calculations are performed to determine the lowest set temperature and the minimum electricity consumption required to enable bathing at any time in both summer and winter.
[0128] The following examples are described using a 60 L and 1500 W water heater operating in winter at room temperature, and other specifications are not described in detail herein.
[0129] [2] Implementation steps
[0130] According to the step (1), the first step is to establish the heat balance equation for a nonoutflow heating and cooling process based on the factors that affect the change in water temperature. Relevant parameters such as an initial water temperature of 20°C, an ambient temperature of 4°C, a heat transfer coefficient of 0.879, and a heat dissipation area of 1.08 are then substituted into the water temperature heating change function during the non-outflow period in the step (1), to obtain an equation that describes the change in water temperature over time during the actual heating process of the water heater.
[0131] ^(0=1600.078-1580.078^^3767^^ 1 070^(-3.767^0^) [01321 is the water temperature cooling change function of the water heater. [01331 According to the step (2), the addition of cold water to the electric water heater is considered as a process of uniform diffusion of the heat source. To maintain a constant total water volume in the electric water heater, the total water inflow must be equal to the total water outflow, that is, u By substituting the corresponding parameters, w = 0.00008 anj / / ^0.00008 are obtained. Given the constant changes of Thot,Tcoid during the heating and cooling process, the expression / = 0.00 0 0 8 37 Tcold that describes the flow of cold water flowing in and hot water Thot~Tcold flowing out of the water storage tank can be derived. Then, due to the natural convection and forced convection, a three-dimensional heat transfer model can be established, and the working state equation of the water heater can be obtained by substituting the water inflow and outflow into the three-dimensional heat transfer model: 5T ar d2T b 0.94932*(A - A)
[0134] 5 / fir2 fiz2 2800 60000 (27)
[0135] According to the step (3) and its related expressions, the two-dimensional grid structure of the inner container of the water heater can be divided. For each node, the energy balance equation of water flow up and down can be derived based on time dispersion: mij
[0136]
[0137] The energy balance equation for heat transfer between the nodes is:
[0138]
[0139] aa;.. ^+1 (29)
[0140]
[0141]
[0142]
[0143] The energy balance equation of heating effect of the heating pipes is: A,, 252000 A .. .. MN (30) The total energy change in the specified time step is: 252000 ..., aa;, =------cc+1^7;n y a a * m v y y' Based on the internal energy balance equation of the water heater, the following can be obtained: „ . . A1 AA.. = AA .. + AA .. + AA...
[0144] y m,J C,J h,J (32)
[0145] Through the above energy balance equation, change curves of the top layer temperature, the middle layer temperature, and the bottom layer temperature in the temperature field divided into two-dimensional grid nodes for the inner container of the water storage tank related to N can be 13 i r XT obtained. Then, the optimal values of LV ’ v are solved according to the genetic-simulated annealing algorithm with constrained based on the temperature. First, a random initial water temperature value To-6OC obtajne(|, anc| then aver =20 anj 1 03.H be calculated. The initial population 1(5,9),(11,30),(19,20),(20,21),...} js ranc[omiy generated according to inverse function values in the normal distribution. [01461 Next, the current optimal solution is selected based on the energy balance / •900 f = Max{I (r -Vdom equation and the constraint condition Jo . Each iteration generates a new generation of temperature node arrangement population through selection, mutation, and crossover operations. If the new optimal solution of the temperature node arrangement is better than the current optimal solution, the optimal solution is updated to the new value; otherwise, if exp(| f(S) - f(Sbes1) |) >random^, 1) is satisfied, the optimal solution is replaced by a random temperature node arrangement; otherwise, the next iteration starts. After 30 iterations, the optimal solution (^^)-(20,20) for temperature node in the grid directions is calculated, and (NyM') substitutec| into the energy balance equation to obtain the final temperature iteration process of the model: 63(7"‘-V,) = 63+^, / )+0.01092^(7^ -7,^)+1.68(7^-T’)
[0148] According to the obtained model temperature iterative formula, the time-dependent curves of the top layer temperature, middle top temperature, and bottom top temperature can be calculated for an initial set temperature.
[0149] According to the step (4), utilizing the water temperature change function and the previously derived temperature iteration formula, the continuity equation can be formulated on the basis of the three-dimensional heat transfer model and the water temperature change curve of the water heater:
[0150] Min( / ) \T >45 1 ?=?o+9OO 7( / ) = 1600.078-1580.078^3 t< zt0,T<T0-5 7( / ) = -1580.078^3 767*10^ t < ' t T >T — 5 dT ST „^cco / d2T d2T — + w— = 0.14558(—- + —-) dt dz dx2 dz2 7 <t<t0+9QQJ0 >T>T0-5 dT dT d2T d2T __ + w__ = o.14558(—^- + —^) + 0.34095 dt dz dx2 dz" < / < / 0+900,7 <70-5 [01511 L (34) [01521 According to the step (5), based on the first four formulas of the continuity equation, the change curve of the outflow water temperature of the water heater during bathing at an initial set T temperature 0 can be obtained. Then, starting from the reasonably estimated temperature of 55°C, traversing is conducted in increments of the set temperature step ±0 । C t0 find a solution target T of the continuity equation, until an initial set temperature 0 that satisfies the fifth constraint T_ >45 condition of the continuity equation (that is, the outflow water temperature of the y _ pQ water heater is always higher than 45°C during bathing) is found. Ultimately, 0 - satisfies the specified constraint, that is, the optimal set temperature is 61°C. According to the heating power P = 150017 of water heater, natural heat dissipation, and heating time of 3.2753 hours caused by cold water injection, the electricity consumption of the day can be calculated as 4.913 kwh.
[0153] [3] Measuring instruments and methods
[0154] The actual temperature measurement for each layer of the inner container of the water heater is carried out using PT1000 patch temperature sensors. These sensors are suitable for temperature measurement in the water heater, offering high precision and a wide temperature range of [-50°C, 200°C]
[0155] The temperature measurement method involves removing the thermal insulation foam covering the inner container of the water heater and attaching patch temperature probes to the upper and lower walls of the inner container. Once the probes are secured, the peeled position is refilled with foam. The walls of the inner container have good heat transfer properties, which allows to consider the real-time temperature measured on the walls as the corresponding water temperature at that position on the inner container. To collect temperature data, the PT 1000 patch temperature sensors are connected to an Arduino device, to record the temperature at each moment.
[0156] A B23 111-400 electricity meter is used to measure electricity consumption. This type of meter offers high measurement accuracy, low power consumption, and easy configuration.
[0157] The electricity consumption is measured by connecting the B23 111-400 electricity meter to the household circuit, turning off all other electrical appliances connected to the circuit, and 15 recording the readings on the electric meter once the water heater completes its operation cycle. [01581 [4] Implementation results [01591 FIG. 8 shows the water temperature change curve of each layer in the inner container of the water heater, as actually measured using the PT 1000 patch temperature sensors and the temperature measurement method during the 15-minute bath at 8 p.m. with an indoor temperature of 22°C. FIG. 7 is a water temperature change curve predicted using the model temperature iterative formula provided in the step (3) of the present disclosure. It can be concluded that the actual temperature of each layer of the water heater is generally consistent with the predicted value during the bathing process, from the beginning to the end of 15 minutes, with an initial temperature set at 61 °C. This is possible due to the discretization and gridding of the inner container of the water heater, which effectively divides the inner container into the top layer, middle layer, and bottom layer. In this way, temperature of each layer can be accurately calculated as it changes over time when the three-dimensional fluid heat transfer equation is used to predict the temperature. These findings highlight reliable accuracy and practical significance of the present disclosure.
[0160] FIG. 9 shows the electricity consumption of the water heater measured using the B23 111-400 electricity meter when the indoor temperature was 22°C, the set temperature ranged between f61°C 69°C1 L ’ J, considering natural heat dissipation of hot water and a 15-minute bath at 8 p.m. The data collected by the meter reveals that the electricity consumption increases as the set temperature increases, and the water heater's daily electricity consumption reaches its minimum at the set temperature. If the set temperature is below 61 °C, the resulting hot water temperature during bathing may be lower than the desired temperature for the human body. Conversely, if the set temperature exceeds 61 °C, it will lead to unnecessary electricity wastage. The present disclosure can accurately predict set temperature due to the consideration of energy exchange resulting from the vertical flow of water and various heat transfers. By utilizing the three-dimensional fluid heat transfer equation, these factors are comprehensively incorporated, resulting in a highly realistic simulation of real-world conditions.
[0161] Based on the above setting conditions and implementation methods, the water heaters with varying capacities and heating powers are subjected to repeated simulation under summer and winter conditions. Starting with the predicted temperature calculated in the present disclosure, a step length of 0.1°C is employed, and a temperature sensor is utilized to measure the real-time water temperature on the top layer of the water heater. The real initial set temperature of the water heater that consistently maintains the top layer temperature of the water heater higher than the temperature expected for the human body within 15-minute bath is then determined. The electricity consumption in this case is measured using an electricity meter, thereby yielding the experimental data presented in Table 1. The data in Table 1 illustrates that under different seasonal temperatures and water heater storage and power capacities, the measured and calculated values of heating energy consumption exhibit close agreement, with a maximum relative error of no more than 2%. Additionally, the actual optimal set temperature aligns well with the calculated value, with a maximum relative error of no more than 1.6%.
[0162] The comparison presented in FIG. 6 demonstrates that in contrast to other algorithms such as the Monte Carlo algorithm and traditional genetic algorithm, the method of the present disclosure yields a more stable model. It also effectively separates the top layer temperature from the bottom layer temperature, enhancing the accuracy and effectiveness of the solution. Moreover, the method's selection of the number of temperature nodes reduces space complexity while maximizing model accuracy. This is attributed to the incorporation of the annealing algorithm in the present disclosure. This algorithm allows for the acceptance of the temperature node arrangement scheme with low fitness, to overcome local optima during the crossover process. Through a sufficient number of iterations, the algorithm has a high probability of converging towards the global optimal solution. As a result, it successfully separates the temperature layers within the inner container of the water heater.
[0163] FIG. 10 shows a percentage error comparison between actual values of the top layer temperature measured by the temperature sensor when the 60 L and 1500 W water heater is used for bathing at the set temperature in winter, and top layer temperatures calculated using the temperature iterative formula of the present disclosure and two other heat transfer models. In comparison with the heat transfer model based on multiple nodes and the aggregation model based on energy exchange, the present disclosure shows superior performance in terms of the percentage error between the predicted value and the actual value of the top layer temperature of the electric water heater during bathing. The error consistently remains lower than 2%, effectively demonstrating the effectiveness of the present disclosure. This is due to the fact that the present disclosure takes into account the energy exchange between nodes in the electric water heater and derives the corresponding temperature iterative formula, but also considers the effects of natural convection and forced convection. By establishing a three-dimensional fluid heat transfer equation, the present disclosure accurately predicts and calculates the temperature change curve of each layer. This further demonstrates the considerable reliability of the present disclosure.
[0164] Table 1 Comparison between measured and calculated values of set temperature and heating electricity consumption
[0165] (L) T 1 warm (°C) P(W) Optimal set temperature (°C) Electricity consumption of the day (kwh) Measured value Calculated value Error Measured value Calculated value Error 60 37 800 44.2 44.5 0.67% 1.221 1.253 0.16% 1200 45.0 45.3 1.55% 1.305 1.312 0.53% 1500 45.2 45.8 1.32% 1.317 1.334 1.29% 45 800 60.8 60.9 0.16% 4.819 4.874 1.14% 1200 60.9 61.4 0.82% 4.896 4.901 0.10% 1500 62.0 61.0 0.16% 4.906 4.913 0.17% 100 37 800 44.9 45.0 0.22% 1.893 1.902 0.47% 1200 45.3 45.8 1.10% 1.913 1.921 0.49% 1500 45.5 45.9 0.87% 1.989 2.029 1.80% 45 800 61.4 61.3 0.16% 5.116 5.109 0.13% 1200 62.0 61.8 0.33% 5.210 5.203 0.20% 1500 62.1 62.2 0.16% 5.245 5.214 0.57%
Claims
1. A method for controlling a set temperature of an electric storage water heater based on three-dimensional fluid heat transfer, comprising the following steps:step (1): constructing a water temperature change function for the electric water heater;step (2): constructing a three-dimensional fluid heat transfer model;step (2.1): calculating flows Y of cold water flowing into and hot water flowing out of a water storage tank; andstep (2.2): establishing the three-dimensional fluid heat transfer model;step (2.2.1): constructing a three-dimensional fluid heat transfer equation, whereinit is assumed that the electric storage water heater starts heating when a water temperature (T ) 7 tdrops to v 0 17, 0 is a set temperature, and 1 is a set value; a temperature stratification phenomenon in an inner container of the water storage tank causes natural convection; during a bathing process, cold water continuously enters the inner container of the water storage tank through a cold water inlet, and hot water flows out from a water outlet at a top portion, resulting in forced convection from bottom to top as a whole; water flow temperature transfer of the electric storage water heater satisfies the three-dimensional fluid heat transfer equation:dT / dT dT d / FT d2T d T F(x,y,z)--+ (m--+ v--+ w--) = ^(—- +—- +—-) +dt dx dy dz dx2 dy2 dz2 pc ($)wherein is a medium thermal diffusivity, is heat generated by a heat source at apoint (x,y,z) , P is density of water, c is a specific heat capacity of water, and are respectively velocity components of water in directions x, y and z when flowing through a fluid particle;since water flows only along a z-axis, that is, u , for further simplification of themodel, only temperature changes in the directions x and z are considered to reduce dimensions, and the equation (8) is further simplified as:dT dT :d"'t d T F(x,y,z)--+ w--= £(—- + —-)+ —-dt dz dx2 dz2 pcstep (2.2.2): establishing a working state equation of the water heater, whereinit is assumed that heat dissipation of walls of the water heater during bathing is considered as a cold source, a function of the walls is equivalent to the heater, that is, (x,y,z) js a resu|t of subtracting heat dissipation power of the walls from heating power of the heater; in this case, the walls are completely insulated, and the following is obtained:ST dnx=0,x=842:0,2=400(10)during bathing, a water temperature at a bottom layer of the water heater is constantly a cold 1 • r| =water temperature, that is, a room temperature: l; 0 7;the three-dimensional fluid heat transfer model is obtained as follows:dx~ cz2 pc(11)n hin order to describe an entire working process of the water heater clearly, control items ’ are constructed:(0 not bathing(1 bathingwater heater does not heat water heater heats(12)a working state of the water heater is expressed as follows:ST ST T2T S2T. b*P KF*(T-tf)--= a * (-w + a(—- + —-)) +---St dz dx1 Sz2 pc V pwhereinindicates convection heat transfer and heat conduction ofP KP^T-tf}water during bathing, Pc indicates heater heating, and P indicates natural heatdissipation of the walls of the water heater;step (3): constructing an energy balance equation and obtaining a temperature iteration process of the model, whereinthe inner container of the water heater is divided into columns in a horizontal direction and N rows in a vertical direction, the whole inner container is considered as being composed of noc[eS; energy transformation of each node is to be solved, and finally a temperature iteration process of each node is obtained;step (4): establishing a continuity equation, whereinsince a lowest temperature at the top portion of the water heater is to be higher than a lowestbathing temperature Twarm, an objective function and a constraint condition are obtained based on the three-dimensional heat transfer model (13) and the temperature iteration process:VpC^P-KFif-t^ drt<t0,T<T0-5VpCST ~dt dT ~dtp dr fdT d^T d^T- W’— = £(--- +---)dz dx2 dz2dT ^d^ d2T q-w--= £(—- +—-) + —dz dx2 dz2 pcf f T" T" Ct <q ? x F* L q 'Jt0<t<t0+9QQ,T0>T>T0-5t0<t <t0+ 900, T <To - 5(25)MinmTt=to+9OO TwarmVpCp^ = P-KF(l-tf)wherein dT indicates a water temperature change when a power supplyis turned on, dT indicates a water temperature change during natural heatdT dT d2T d2T| 14’ ________________ ( I \dissipation, dz dx (z indicates a water temperature change when the watertemperature is not lower than the set temperature by 5°C during bathing, dT dT FT c'd\ q — + w— = d(—- + —-) + — dz d\~ dz~ (~y(‘F indicates a water temperature change when the water temperatureis lower than the set temperature by 5°C during bathing, Tt=to+9OO >Twarm indicates the constraint condition, and Twarm indicates a minimum temperature of hot water required for bathing in different seasons;step (5): traversing and solving the continuity equation to obtain a minimum set temperature and electricity consumption:step (5.1): initializing randomly generated ;step (5.2): assuming a minimum value of top layer temperatures of the water heater at different moments during bathing is the same as a bathing water temperature, and calculating the top layer temperatures of the water heater at different moments during bathing according to the objective function (25);step (5.3): screening out the minimum value from the top layer temperatures at different moments, determining whether the minimum value is higher than Twarm , if yes, updatingT = T -a0 0 , wherein a indicates a temperature step, making an iteration count=count+l, andreturning to the step (5.2); otherwise, determining whether a current iteration count is 1, if yes, T T ।updating 0 “ 0 , making count=count+l and returning to the step (5.2); otherwise, outputtingT '0 obtained in a last iteration as an optimal set temperature T ; andstep (5.4): substituting the optimal set temperature T into the temperature iteration process, further obtaining a heating time thot of the electric water heater of the day, and multiplying the power P of the electric water heater with thot to obtain electricity consumption.
2. The method according to claim 1, wherein the step (1) specifically comprises:assuming that the electric storage water heater is heated by two heating pipes arranged vertically, considering the water temperature to be approximately uniformly distributed during the heating process, assuming an average heat transfer coefficient of the walls of the water heater to bea heat dissipation surface area of the water heater to be the density and specific heat of water to be P and c respectively, the water temperature during a heating or cooling process to be and a time variable to be T , and establishing a heat balance equation of water during the heating process as follows:dtVpC—^-Kdlt-t^ dr (1)substituting an initial condition wherein Z° is an initial water temperature, and equivalently transforming the equation (1) into a water temperature heating change function in a non-water outflow period as follows:p pt = tf + — +K-If ]exp(-XFr / (KpC ))Kd Kd (2)obtaining a water temperature cooling change function for the electric water heater in a water temperature cooling process of the electric water heater as follows:t = tf+[t0-tf]ew(-KFTl(VpCp» (3)3. The method according to claim 2, wherein the step (2.1) specifically comprises: assuming that a water outflow and inflow of the electric storage water heater are the same at each moment to ensure the water storage tank to be always in a full state, thus the flows of cold water flowing into and hot water flowing out of the water storage tank are ; and assuming that a flow of water entering a hot and cold water mixer through a cold water pipe is , a total water inflow is a , a total water outflow is P , thus the following expression is satisfied:a = y + / 3P = P^Y (4)assuming a temperature expected for a human body during bathing to be a hot watertemperature to be 7hOt(t), a cold water temperature to be Tcotd, a flow velocity component in a vertical direction to be v, wherein in the cold and hot water mixer, cold water and hot water are mixed to obtain the temperature expected for the human body, and the temperature satisfies the following in the time :(y5 +y)tivpThuman PhvpTcoid + YhvpT^f) (5)obtaining an expression of based on the equations (4) and (5):,, _ ^cold+iTliotW+TcolcdYP -------Z------------(6)1 humanobtaining an expression of based on the equation (6):_ human-^cold .. Thuman~Tcold sqxThot(t)~Tcold ^hotk^^cold4. The method according to claim 3, wherein the step (3) specifically comprises:step (3.1): calculating an energy change caused by water flow, whereinsince the cold water flows in at the bottom and the hot water flows out at the top when the water heater is in use, and the water in the inner container continuously flows in the vertical direction, the energy change caused by the water flow is represented as follows:(14)wherein indicates a time interval, indicates the energy change at a node y caused by water flow in the time , 1 indicates a change of the node in the direction x, J indicates a change of the node in the direction , c indicates the specific heat capacity of water, indicates TTthe density of water, indicates a calculated inflow, indicates a temperature of a node( / +1, / ) at a moment t , and indicates a temperature of a node at the moment T ;step (3.2): calculating heat transfer between adjacent nodes, whereinbecause of a temperature difference between adjacent nodes, heat transfer occurs in real time, and an energy change caused by heat transfer between the node and each adjacent node per unit time is expressed as follows:AEYf = + + + (15)i,J tfL KIA JCOJ2 Acoh J Aarr2 Aarr2 v 'whereinindicates the energy change of the node caused by heat transfer in thetime , n indicates the thermal conductivity of water, H indicates a mutual contact areabetween the nodes in the vertical direction, ” indicates a mutual contact area between the nodesin the horizontal direction, ^arr indicates row spacing between the nodes, indicates column spacing between the nodes, and calculation is performed according to the following formula:(Header^11 x Headerlensth)'k2_ (Header1^)14 Header,ensth aarr =--------- 10M. , Header''^Acol =---------wherein Header s js a vertical height of the inner container of the electric storage water heater, and Header g js a horizontal width of the inner container of the electric storage water heater;step (3.3): calculating a heating effect of the heating pipe: ^^heaan energy change caused by the heating pipe with heating power of is expressed as:=,J MHN (17)step (3.4): calculating a temperature iteration process:wherein before and after the time the total energy change j of the node is:(18)with reference to the steps (3.1) to (3.3), a sum of all energy changes of the node in the timeis equal to the total energy change of the node, and the following is obtained:j = + A£;”“ + tthe temperature iteration process of each node in a grid at each moment is deduced from the equation (19):cpv0Q Tij । Tj+ij Tij.cpv0 t felv jarr2 darr2 ■■Tjj-i TiJ । TtJ+l Tjj. ■ \coC- Acol2^l*c2pvQ Ti,j(20)wherein^ and 0<'sW-0<.'^step (3.5): solving division numbers A^ and of the inner container of the water storage tankbased on a genetic-simulated annealing algorithm constrained based on the temperature difference.
5. The method according to claim 4. wherein the step (3.5) specifically comprises:step (3.5.1): establishing a temperature difference objective function, whereinit is assumed that z G represents a top part and z G represents a bottom partof the electric storage water heater, node temperatures calculated in the step (3.4) are averaged to TT Ttobtain a top layer temperature up and a bottom layer temperature down;the objective function is constructed as follows according to the top layer temperature up and rj-iTthe bottom layer temperature ldom:?Duraf=Max(^wherein ^ura indicates bathing duration;step (3.5.2): generating an average value of the vertical division numbers and an average value of the horizontal division numbers for the two-dimensional grid of the inner container of the water storage tank, whereinthe average value aver of the vertical division number -v and the average value m’er of the horizontal division number Af for the two-dimensional grid of the inner container are calculated as follows:' averN = \ (Header^ 13)\averM = (Headerlength 15)^step (3.5.3): generating an initial population in a normal distribution, whereinmost of the vertical and horizontal division numbers that yield better results are close to aver Mand , and satisfy characteristics of the normal distribution, such that the initial population is obtained by using random numbers in the normal distribution;first, probability density functions of the normal distribution with and as central I Iaxes and yaver and ^aver as standard deviations are calculated as follows: / W = / W =। (N-avet^ Y________________2averN y / 2^averN1 JN-averMf_______________q 2 averM^2jraverM(23)then random numbers u and u between 0 and 1 are separately generated for and according to the principle of equal probability, inverse functions (w ) and -^(° ) of and are calculated, that is, the random numbers following the normal distribution are separately obtained, and the process is repeated 20 times, to finally generate normal random number sets §ather- and §ather- with a scale of 20;the initial population conforming to the normal distribution is obtained after calculating a Cartesian product of the sets ^atherort an(| gather^ .gather^ x gather" (24)step (3.5.4): calculating a temperature difference objective function for each solution in theS population according to the equation (21), and then obtaining an optimal solution best of thecurrent population;step (3.5.5): iteratively obtaining the division number of the two-dimensional grid of the inner container of the water storage tank:after selection, crossover and mutation, generating a new population, and determining whether the top layer temperature is less affected by the bottom layer temperature in the current optimal solution, that is, whether the objective function >f^be^, wherein S indicates a solution in5 = Sthe new population; if yes, updating the current optimal solution best , and obtaining a new optimal solution through iteration; otherwise, continuing to determine whetherexp(| f(S)- f(S e ; ) \) <tandomY),}). if skipping Updating an(j continuing to find the optimalsolution; otherwise, 5=5 5updating the optimal solution to best random wherein rcmdom indicates a random solution in the new population; andstep (3.5.6): if a number of iterations reaches the maximum, stopping the iteration and outputting the optimal solution, and substituting the optimal solution ) into the temperature iteration process of the model; otherwise, proceeding to the step (3.5.3).
6. An electronic device, comprising a processor and a memory, wherein the memory stores machine-executable instructions executed by the processor, and the processor executes the machineexecutable instructions to implement the method according to any one of claims 1 to 5.5 7. A machine-readable storage medium, storing machine-executable instructions, whereinwhen the machine-executable instructions are called and executed by the processor, the machineexecutable instructions enable the processor to implement the method according to any one of claims 1 to 5.10Application No: GB2400977.1Examiner: Colin WhitbreadClaims searched: 1-7Date of search: 11 June 2024Patents Act 1977: Search Report under Section 17Documents considered to be relevant:Category Relevant to claims Identity of document and passage or figure of particular relevance A,P - CN 116839229 A (UNIV HANGZHOU DIANZI) See whole document. A,P - CN 117267701 A (GUONENG TAICANG POWER GENERATION CO LTD) See whole document. A,P - CN 116358167 A (UNIV INNER MONGOLIA SCI &TECH) See whole document. A - US 2014 / 0321839 Al (ARMSTRONG) See whole document.Categories:X Document indicating lack of novelty or inventive step A Document indicating technological background and / or state of the art. Y Document indicating lack of inventive step if P Document published on or after the declared priority date but combined with one or more other documents of same category. before the filing date of this invention. & Member of the same patent family E Patent document published on or after, but with priority date earlier than, the filing date of this application.Field of Search:International Classification:Subclass Subgroup Valid From F24H 0015 / 156 01 / 01 / 2022 F24H 0015 / 175 01 / 01 / 2022 F24H 0015 / 223 01 / 01 / 2022 F24H 0015 / 238 01 / 01 / 2022 F24H 0015 / 37 01 / 01 / 2022 F24H 0015 / 414 01 / 01 / 2022
Citation Information
Patent Citations
Water heater energy-saving method, water heater energy-saving system and water heater
CN116358167A
Water storage type electric water heater set temperature control method based on three-dimensional fluid heat transfer
CN116839229A
Monitoring method and device for boiler water cooling wall, medium and electronic equipment
CN117267701A
System, method, and apparatus for heating
US20140321839A1
