scieee AI-readable full text Open interactive document viewer

Repositorio Institucional de Documentos

Abstract

Hoy en día la mayoría de los sistemas de ventilación en uso se calibran manualmente. Teniendo en cuenta esto con la necesidad de asegurar buena ventilación en todas las oficinas, normalmente los sistemas funcionan a mayor capacidad de la necesaria. Debido a esto se puede conseguir ahorrar energía introduciendo estrategias de control con la objetivo de asegurar una buena ventilación al mínimo consumo. Para lograr esto, sistemas de ventilación con válvulas controlables han sido consideradas en este proyecto. Estrategias de control optimas dan los requerimientos necesarios con el mínimo consumo de energía para cada situación. Para realizar este control, el primer paso es saber las ecuaciones del sistema y como funcionan estos sistemas. Para implementar el control tienen que conocerse los parámetros que lo gobiernan. Algunos parámetros como los de los ventiladores y las válvulas son conocidos pero otros como las perdidas de carga en las tuberías pueden no ser conocidos. Por lo tanto los parámetros no conocidos tienen que ser estimados. En este proyecto el objetivo es diseñar como estimar los parámetros de sistemas de ventilación. Cuando los parámetros son conocidos, el sistema puede ser conducido a trabajar con un mínimo consumo para cada situación. De esta manera se alcanzará mayor eficiencia en estos sistemas. Forcada Pardo, Antonio; Lassen, Benny

Full text

Trabajo Fin de Grado OPTIMAL CONTROL OF VENTILATION SYSTEM Autor Antonio Forcada Pardo Director Benny Lassen Ponente José Ignacio Artigas Maestre Escuela de Ingeniería y Arquitectura / Universidad de Zaragoza 2015 In memory of my mom. You left fingerprints of grace on our lives. You shan’t be forgotten. I Acknowledgments First and foremost, I have to thank my supervisor Benny Lassen. Without his assistance in every step throughout the process, this bachelor thesis would have never been accomplished. I would like to thank you very much for your support and understanding over these months. I would also like to show gratitude to Jerome Jouffroy, the University of Southern Denmark, University of Zaragoza, José Ignacio Artigas Maestre, they have done possible this. I am also grateful to my father, Federico Forcada Cruz, my brother Santiago Forcada Pardo, my sister Elena Forcada Pardo, my partner, Amaya Espuelas Ruiz and my family for their help and support. I am also grateful to my friends in special to Ramon Buchaca, Glenn Hansen Nør and Lyons Wijesinghe for their help. I also place on record, my sense of gratitude to one and all, who directly or indirectly, have lent their hand in this. Thanks to all that believed in me. II Abstract Nowadays, most ventilation systems in use are being calibrated manually. Considering this and the need to ensure sufficient ventilation in all rooms, the systems normally ran at a much higher capacity than is really needed. Due to this, there are good opportunities to achieve large energy savings by introducing optimal control strategies with the aim of ensuring sufficient air ventilation at minimum energy consumption. In order to facilitate this, ventilation systems with valves situated at each exit grill will be considered as this opens up for local control of the ventilated air. Optimal control strategies give the requirements that are needed, with the least energy consumption in each situation. In order to do the optimal control in ventilation systems, the first step is to know the fundamental equations and how these systems work. To implement the optimal control in these systems, the main parameters has to be known. Some parameters such as the parameters of the exit valves and fan features will be known but other parameters like ducts will not be known (usually, the system is already built and it is not known how the ducts are). These parameters have to be estimated. Now the current challenge is to design how to estimate these parameters of ventilation systems. If the parameters are known, the system can work with a minimum energy consumption for each situation. Consequently, you will reach the best efficiency. III Contents Acknowledgments II Abstract III List of figures VI List of tables VII List of variables VIII 1 Introduction 1 2 Model development 3 3 Parameter estimation 9 4 Comparison between different strategies of control 19 5 Conclusions 28 6 Problem formulation and time schedule 31 A Model equations 40 B Model estimation 43 C Model estimation with noise 44 D Table of test 45 E Study of 24 test 48 IV F Others calculus 50 List of Figures 1.1 Ventilation system . . . . . . . . . . . . . . . . . . . . . . . . 2 2.1 Model with variables of amount of air . . . . . . . . . . . . . . 3 2.2 Model with variables of losses . . . . . . . . . . . . . . . . . . 4 2.3 Controlled valves symbol(left) and fan symbol (right) . . . . . 4 2.4 Fan characteristic curve . . . . . . . . . . . . . . . . . . . . . 6 2.5 Simplified model . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.6 Simplified model with balance point . . . . . . . . . . . . . . . 7 3.1 Mean of estimate parameters with 5 test . . . . . . . . . . . . 15 3.2 Standard deviation of estimate parameters with 5 test . . . . . 16 3.3 Mean of estimate parameters with 12 test . . . . . . . . . . . 17 3.4 Standard deviation of estimate parameters with 12 test . . . . 18 4.1 Model with variables of losses . . . . . . . . . . . . . . . . . . 19 4.2 Fan curves and working point . . . . . . . . . . . . . . . . . . 21 4.3 Manually valves . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4 Controlled valves . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.1 Change of energy consumption depends on working time in meeting room . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.1 Risk 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.2 Initial time schedule . . . . . . . . . . . . . . . . . . . . . . . 33 6.3 Risk 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.4 Final time schedule . . . . . . . . . . . . . . . . . . . . . . . . 37 E.1 Mean of estimate parameters with 24 test . . . . . . . . . . . 48 E.2 Standard deviation of estimate parameters with 24 test . . . . 49 VI where Qvj is the quantity of air in each valve j and Pdrop is the pressure drop in each valve j. In order to make the calculations simpler and since the supplier did not give the real equation of pressure loss in the valves (Pdrop), only Kvj was used in the calculations and the value of ajwas assumed to be equal to 1[Pa/(l/s)kvj ]. Due to this assumption, in the comparison part of this project the available working range of the valves should be checked (it is explained in the comparison chapter). Also, if it is wanted to work with this ajas a variable, the method employed can also be used by adding this variable. In this way, there will be less variables, and it will be easier to follow the calculations. The variables ajand Kvj depend on the position of the valve, so both depend on the same variable. The losses as Kvj and Kiare produced due to friction in the tubes and valves. In this project, it was not taken into account minor losses. These losses can also be found in some tables from different suppliers [9]. There are a lot of different types of these losses (and there are also some references about these losses in some books like [8]). The minor losses are just a constant that can be added in the (Ki) of the corresponding tube, therefore they were not added in the system to avoid a large amount of coefficients, variables, and constants (it is a small change, if it is wanted to go deep in a real system). The minor losses in these systems depend on the geometrical construction of the tubes and the impact of the construction has on the air flow due to changes in velocity and cross flow fluid accelerations. The fan is represented by the equation 2.2. A=BQ2(2.2) This is a simplified equation in order to make the calculation more understandable (in reality this equation has a constant B in the second order and another constant C in the first order) and it is a good approximation to be considered as a parabolic shape, in order to do the analytical calculus. The constant A refers to the maximum static pressure that one fan can reach (shut off point in the figure 2.4). B is the constant that makes the characteristic shape (parabolic shape) of the fan. Also with constant B, the maximum air that the fan can produce can be calculated (maximum free delivery point in the figure 2.4). In the next few lines, the characteristics equations with the different meanings will be shown. The model that was exposed before, requires a lot of equations and steps to show how was solved, so a simplified version of the model will be shown instead. These equations are a introduction to the 5 Figure 2.4: Fan characteristic curve model (all equations from the model will be show in the appendix A). The figure 2.5 is the simplified model. Figure 2.5: Simplified model The steps to solve this are: 1. Select a point to make the energy and mass balance (Pk). It has to be done in all Pkthat the system have. These Pkare all points where there is a division of air flow. The simplified version (figure 2.6) have one. 2. Make the balance of mass in each (Pk): Qinput =Qoutput (2.3) 6 Figure 2.6: Simplified model with balance point Then, it is: Q1=Q2+Q3(2.4) 3. Make the balance of energy in each (Pk): •The first equation, it is the union between the system (first point of balance) and the fan: Pk=A−BQ2 i−KiQ2 i(2.5) •This equation will be applied between each Pkand each exit (valve): Pk =KiQ2 i+ajQKvj vj (2.6) •This equation will be used in the case when there is more than one point of balance (in this simplified model it will not be used due to that there is only one point): Pk=KiQ2 i+Pk+1 (2.7) Then it is: P1=A−BQ2 1−K1Q2 1(2.8) P1=K2Q2 2+a1QKv1 v1(2.9) P1=K3Q2 3+a2QKv2 v2(2.10) 7 Putting all equations together and reordering them, the final equations are shown and will be used in the next chapter, parameter estimation. A−B(Q2+Q3)2−K1(Q2+Q3)2−K2Q2 2−a1QKv1 v1= 0 (2.11) A−B(Q2+Q3)2−K1(Q2+Q3)2−K3Q2 3−a2QKv2 v2= 0 (2.12) These equations are the characteristic equations from the simplified system. All the characteristic equations from the model can be found in the appendix A. It can be seen from these equations the dependence on several variables. Usually, A,B (features of the fan),Kvi (features of exit valves) are known. The other parameter can be known or not. These equations are nonlinear. In the next chapter, it will be explained how to solve these equations and different types of system that can be found. 8 Chapter 3 Parameter estimation In this chapter it will be shown how to solve the equations (2.10, 2.11) in order to get the parameter that it is needed. In this system, if it is known the parameter of the ventilation system (Ki), all quantities of air can be calculated in each exit valve because, usually (stated previously) the fan features and exit valves features are known, therefore the problem would be solved. But if the parameters are unknown, we cannot calculate it. To be able to solve this system, the parameters need to be estimated. It will be show in this chapter how to estimate the parameters of one system, where the structure is known (the structure is the graphic of pipes). The terms of work will be defined in the next chapter. The inputs in the system are the parameters that can be controlled, like the position of exit valves (Kvj) and the fan velocity. With these inputs, the system can be changed,that is to say, the quantity of air in exit valves can be changed. The outputs in the system are the quantity of air in each exit valve. There are 11 valves in the model (due to this the number of measuring sensor that should be in the real office are 11). The number of equations are the same as the number of valves in the system, this can be seen in the development chapter (2 equation, 2 valves in simplified model). In order to estimate the parameters, some measurements in the system have to be taken. At least one test should be done in an office to get the quantities of air in each exit valve with a determined position of the exit valves. With these inputs and outputs values, the parameters can be estimated. However, as it was written above, there was not any available office to work with. Due to that, the output values that should be taken with sensors in the office were calculated with Matlab using the equations from the model. The input values used in Matlab were different values of the Kvj that correspond with different positions of exit valves, the values of the pipe pa- 9 rameters were taken from one supplier [9] and the features of the fan were taken from a standard fan (FANTECH). Whit these values, the outputs of the system were calculated. To solve this problem as it can be seen in the equations 2.11 and 2.12, a non-linear system should be solved using the same equations and unknowns. In this project, Newton Method was used in order to solve this non-linear equations. This method was chosen because it has a quadratic convergence, a fast solution will be find. However, this method has an inconvenience, if in the way to find the solution there is a minimum, it will get stuck there. This behavior can be seen in equation 3.3, where the derivative of a minimum is 0, therefore at this point it will stop. This was taken into account in this project. Newton method [12] is a rootfinding algorithm that uses the first term of Taylor series of a function f(x) in the vicinity of a suspected root. In this method it has to give a starting point x0. This is very important because if a bad starting point is given, the algorithm might diverge. The equation 3.1 is the general equation. f(x0+ǫ)≈f(x0) + f′(x0)ǫ(3.1) In this case, the values of the variables x = Qvj that makes the the equations equal to zero need to be found (the other variables are known). And then these variables are the solution of the quantity of air in each valve. f(x0+ǫ) = 0 (3.2) Solving the general equation and letting x1=x0+ǫ0, calculating a new ǫ1and repeating the process until it converges to a fixed point (ǫ1= 0). This point is the root that it was searched. In the equation 3.3, it can be seen the algorithm that it was used. xn+1 =xn+f(xn) f′(xn)(3.3) Usually, these systems have more parameters(that are unknown) than equations, as it can be seen in simplified model (equations 2.11 and 2.12) has 3 parameters to estimate (K1, K2, K3)and 2 equations. Therefore, to be able to solve it, it is needed to increase the number of equations. One way is to put different inputs and with each input, it is taken one block of equations (characteristic equations from the system), so, with all different inputs it will have different blocks of equations dependent on the same unknown (parameters). In this way, more equations than unknowns are in the system and the system can be solved (in real life,this part of increasing the number of equations corresponds on making some test in the office with 10 different position of exit valves). The number of tests that should be done depend on the system. These should be done as much as possible, in order to get a good accuracy in the results but at some point, more test will not be needed. In this point, it will increase the number of equations (increase the computer time, and testing time) without any improvement. There is a balance between accuracy in the parameter estimation and number of test that should be done. In this chapter the number of tests to get good results in this model and some references about the model will be detailed. Consequently, several calculus with Matlab were done in order to get different outputs (associated with inputs) to be able to estimate the parameters. Newton method can be used to solve this parameters since it is working in theoretical case, due to the inputs and outputs values did not have any noise (this values come from Matlab, therefore they do not have any error or it can be neglected). In real life, when the measurements are taken, there could be some noise (bad measurements like bad set up of sensors, bad approximation between the real value of Kvi and the estimated value due to position), below it will be discussed about this. In this way, Newton method could not converge (in this equations for example could happen that there is not 0), or could give a wrong approximation. In order to get the best approximation although there is some noise, nonlinear least-squares method was used (some constrains can be added). Non-linear least squares method [11] is used in system with non-linear equations when there are more observations than unknowns. With this method an improvement of the solution can be found (respect to Newton method) because, if the solution have a minimum where the equation do not reach 0, Newton method will not converge. With non-linear least squares method, some lower and upper bounds can be added. This allow to guide the method into a region where it is wanted to search. In order to use this method, the equations have to be defined as: (F(x, z)−Y)(3.4) where x is the coefficient that solve the problem, Y is the observed data, z is the input data and F(x, z)is the vector or matrix valued function. In the equation 3.1 the general equation can be seen. The non-linear least squares method will calculate the minimum of these functions over the change of x. In this method (as Newton method) a initial point(x) is needed to start the calculation (as close as possible). minxëF(x, z)−Yë2 2=minxØ i (F1(x, zi)−Yi)2(3.5) 11 where i is the number of equation. Lower bounds were used in order to get consistent results (due to a negative Kiis physically impossible). In the system Y is the measurement of the quantity of air in each valve. The F(x, z)in the system with exit valves can not be put as in the equation 3.4. This is the reason why it has been put inside of the least square method a Newton method to make the F(x, z). The Newton method will solve the amount of air in each valve (as it was done before to get the quantity of air in each valve) with the parameters (x =Ki) and the inputs (z = Kvj ). In this way, non-linear least squares method can compare the measurements of air(Y), with the quantities of air from the model F(x, z)(solved with Newton method) and minimize over the change of the parameters (see appendix B). In the next part of this chapter, it will be explained how it was solved with the simplified model and some references about the model that was used in this project will be made. The resolution follow the next steps: 1. This part consist on the test in the office. In this case, some different inputs (Kvj) were written in Matlab and equations 2.11,2.12 were solved to get the outputs (Qvj, like sensor in real life): The inputs that were used are Kv1,Kv2. The parameters of the office are K1= 0,004,K2= 0,004,K3= 0,004, A = 100 and B = 0,004. Using the Newton method with Matlab (calculus in appendix F), the obtained are in Table 3.1. Test 1 2 Input kv1 2 1,5 Input kv2 2 2 Output Qv1[l/s] 9,8247 20,2633 Output Qv2[l/s] 9,8247 9,6170 Table 3.1: Test in simplified model 2. From this table the value of Y (measured data) can be taken as well as the input data (Kvj ). With the input data and the estimate parameters (initial guess of K1,K2and K3), Newton method can calculate the amount of air in each valve and give back to non-linear least square method. Non-linear least square method will calculate the value and it will give another parameters in order to minimize this value until reaching a minimum (the best case it would be 0, no error). In this project there was no office available, first, some outputs were generated with K1,K2and K3. Then, in the estimation part, with the generated 12 outputs and inputs, the values of K1,K2and K3should be found. Due to this, in this project it was checked, if the estimated parameters fit perfectly with K1,K2and K3or there was some error. In the next equation it will be explained briefly how it works. F= (f(x, z1)−9,8247)2+ (f(x, z2)−9,8247)2 + (f(x, z3)−20,2633)2+ (f(x, z4)−9,6170)2(3.6) where estimated parameter x(K1,K2and K3) is changing each iteration of non-linear least squares method.Then z1(Kv1, Kv2),z2(Kv1, Kv2) depends on test 1 and z3(Kv1, Kv2),z4(Kv1, Kv2)depends on test 2. Newton method calculate for each f(x,zi) with the x and zione quantity of air. Non-linear least squares method is minimizing this function F over the change of x. In this case, with two test was enough to get K1= 0,004,K2= 0,004, K3= 0,004, therefore it was found the correct values (calculus in appendix F). In the model the same steps than before were applied. The characteristics of the system are A = 1000, B = 0,004 and all Ki = 0,004. First, the test on the model was made (see equations in appendix A with exit valves), previously done in the simplified model. With this test the output values were gotten (amount of air in each exit valve). In this step, the number of equations and unknowns are the same (as in the simplified model). The results of the tests that were done, can be found in appendix D (Test in model) and the algorithm to solve the equations can be seen in appendix B. As it was done in the simplified model, with all measured data (Qvj)and input data (Kvj ), the non-linear least square method was used and newton method inside to obtain the amount of air in order to compare and minimize as before. In this case, it will be working with 13 unknowns (parameters) and 11 equations. The calculations were done using Matlab (see appendix B) and the results of the parameter estimation was Ki= 0,004. Again perfect values were reached. In order to get enough accuracy in the results, some tests had to be done. In this project, 24 tests were done and perfect results were gotten in the estimation. In order to see if is possible with less test to get the same result, the number of tests taken into account in the parameter estimation were changed. It was checked that 5 test were enough for this model (this is a field to study because when it is working in this test, it is not known how many tests it are needed necessary to do). 13 In this example, if 24 tests are used instead of 5, the computer time increased 194,83% (24 equations = 8579,448seconds, around 2 hours 23minutes and 5 equations = 2909,925 seconds, around 48,5 minutes, this test was done in a computer with Intel Core i3 M330 2,13GHz, with windows 7). Another point to take in account is the time that you have to spend doing this test, as less as possible test in order to get the maximum efficiency. All the previous calculations were just theoretical. In real life, there are a lot of factors that can modify the theoretical calculations. One factor could be, a bad approximation of losses in valves with the position. This factor in this project it was not taken into account. Another factor could be the measuring error with sensors (outputs), during the testing. The measurements could be taken wrong due to bad set up of sensors and errors in sensors. The last factor was taken into account. In order to see how much influence have this factor in the parameter estimation, a Gaussian noise was added in the outputs values (measures of quantities of air in each valve, from appendix D). The Gaussian noise was written as a Normal distribution, a mean and and standard deviation were needed to be able to work with this distribution [13] with mean the output values, and the standard deviation was written as one percentage of the mean. Four different percentages were put (0,1%, 1%, 5% and 10%) in order to know the influence. In this way, the calculus were closer to real life conditions. These calculus were only done in the model and the equations are in appendix C. Because working with statistics, 10 estimates was made for each percentage of noise and for each number of equations (5,12,24) to get a consistent sample (the time to make all this estimates was large, so it were not done more test). Appendix C will show, how the different outputs with noise (amount of air in each valve) were generated for each estimation as well as all the estimations (with the calculus). In the next figures the mean and standard deviation from these estimations will be analyzed. First, the results with 5 tests will be explained (minimum value that it was reached the correct value of the parameters without noise). 14 Figure 4.2: Fan curves and working point show different system characteristics). From the working point, if it is followed the horizontal line until the P axis, this value represent the pressure in the working point. On the other hand, if the vertical line is followed until the Q axis, this value is the quantity of air that the fan is putting in the system. In the equations, the static pressure was changed (A parameter was present in the equations along this project). The quantities of air in each valve are shown in table 4.1. This quantities are given with a shut off point of 32 pascals. With lower shut off points the air quantity was below 20[l/s] per person in each office. Exit grilles Values[l/s] Q1 17.5756 Q2 17.8662 Q3 17.5756 Q4 16.9241 Q5 17.2039 Q6 16.9241 Q7 19.6970 Q8 20.0226 Q9 21.2954 Q10 20.0226 Q11 19.6970 Table 4.1: Quantity of air in each exit grill When the quantity of air and maximum static pressure are known from 21 the fan (shut off point), the theoretical power can be calculated (in this theoretical power the efficiency of the fan in not taken into account). The theoretical power can be calculated with the equation 4.3 [13]. Fanpower =Qwp[m3/s]Pwp[Pa](4.3) where Fanpower is the theoretical power of the fan, Pwp is the pressure of the fan in the working point and Qwp is the quantity of air in the working point. The pressure in the working point can be calculated with the next equation: Pwp =A−BQ2 wp (4.4) The Qwp is also the sum of all quantities from the valves, so, the quantity of air that the fan gives to the system (both points can be taken from the working point, if it is available a graph). Therefore, the theoretical fan power can be calculated. Pwp =A−BQ2 wp = 32 −0.00025 ×(204.8041)2= 21.5138[Pa](4.5) Where Qwp = 204.8041[l/s] = 0.2048[m3/s] Fanpower =Qwp[m3/s]Pwp[Pa] = 0.2048 ×(21.5138) = 4.4060[W] (4.6) The theoretical power is 4.4060[W] for this system under the constrains. 2. System with manual valves. Valves of 125mm of diameter were chosen in each exit point (to follow the same structure than before and make the minimum change in the office). In this system the calculations were done differently. First, in the equations the quantities of air in each valve were written (predefined following IDA 1). The parameters (Ki) are known. The values of A and Kvj are missing, therefore some iterations were done by changing the parameter A in order to get the solution of Kvj . By using Kvj , the pressure drop can be calculated and this correspond with the losses in valves. Pdrop =ajQK vj (4.7) 22 The pressure drop and the quantity of air in each valve are known, therefore it can be checked in the supplier table[3], if this point is available in the range of work of this valve. These calculations were done like that, due to use the assumption aj= 1[Pa/(l/s)kvj]. Some iterations were done and since the table only showed pressure drop over 10 pascals, this value was used as minimum drop pressure for each valve. When the parameter A was found (shut off point, 26 pascals) to give at least 10 pascals of drop pressure in each valve, this parameter A was used in the comparison. In table 4.2, the pressure drop in each valve its shown as well as the quantity of air and the correspondent position of the valves. Figure 4.3 shows the supplier table. Figure 4.3: Manually valves 23 Valve Pdrop[Pa]Air[l/s] Position[mm] 1 11.73 13.34 6-9 2 11.95 13.34 6-9 3 11.73 13.34 6-9 4 10.56 13.34 6-9 5 10.77 13.34 6-9 6 10.56 13.34 6-9 7 11.67 20 12-15 8 12.17 20 12-15 9 14.18 20 9-12 10 12.17 20 12-15 11 11.67 20 12-15 Table 4.2: Correspondent position of manually valves At this point, the static pressure in the working point can be calculated since the quantity of air in the system is known. The theoretical fan power can be calculated. Pwp =A−BQ2 wp = 26 −0.00025 ×(180.04)2= 17.8964[Pa](4.8) Where Qwp = 180.04[l/s] = 0.1800[m3/s] Fanpower =Qwp[m3/s]Pwp[Pa] = 0.1800 ×(17.8964) = 3.2214[W] (4.9) The theoretical power is 3.2214[W] for this system under the constrains. 3. System with controlled valves. Valves of 125mm of diameter were chosen in each exit point (to follow the same structure than before and make the minimum change in the office). The calculus are the same than in manually valves. However, the difference is that these valves have more drop pressure in the same dimension than manually valves (it can be seen in the table from the supplier, probably because these valves have more elements). The shut off pressure was found to be 36 pascals. The pressure drop in each valve is shown in table 4.3 as well as the quantity of air and the correspondent position of the valves (following the supplier tables, figure 4.4). 24 Figure 4.4: Controlled valves Valve Pdrop[Pa]Air[l/s] Position[mm] 1 21.72 13.34 ≈6 2 21.95 13.34 ≈6 3 21.72 13.34 ≈6 4 20.55 13.34 ≈6 5 20.77 13.34 ≈6 6 20.55 13.34 ≈6 7 21.68 20 ≈15 8 22.18 20 ≈15 9 24.18 20 ≈12 10 22.18 20 ≈15 11 21.68 20 ≈15 Table 4.3: Correspondent position of controlled valves At this point, the static pressure in the working point can be calculated since the quantity of air in the system is known. Therefore the theoretical fan power can be calculated. Pwp =A−BQ2 wp = 36 −0.00025 ×(180.04)2= 27.8964[Pa](4.10) Where Qwp = 180.04[l/s] = 0.1800[m3/s] 25 Fanpower =Qwp[m3/s]Pwp[Pa] = 0.1800 ×(27.8964) = 5.0214[W] (4.11) The theoretical power is 5.0214[W] for this system under the constrains. The controlled valves have one advantage, they can be closed depending on the needs. Here, two examples are going to be shown. The first one shows the situation when the meeting room is not used. The second example is based on the use of just one office. In both cases, less air is needed, therefore the velocity of the fan decreases (as it was commented earlier in this chapter the shut off point decrease). In these cases the static pressure (Pwp) and amount of air (Qwp) in the working point are lower. Accordingly, the power consumption is lower. In these case, the same constraints in valves are considered (at least 10 pascals, pressure drop). First case. Air is introduced in two offices. The shut off point (A) was 17 pascals. In table 4.4, the pressure drop in each valve, the quantity of air and the correspondent position of the valves are shown (following the supplier tables, figure 4.4). Valve Pdrop[Pa]Air[l/s] Position[mm] 1 10.79 13.34 9-12 2 11.01 13.34 9-12 3 10.79 13.34 9-12 4 10.69 13.34 9-12 5 20.77 13.34 9-12 6 10.91 13.34 9-12 Table 4.4: Correspondent position of controlled valves In this point, the static pressure in the working point can be calculated since the quantity of air in the system is know. Therefore the theoretical fan power can be calculated. Pwp =A−BQ2 wp = 17 −0.00025 ×(80.04)2= 15.3984[Pa](4.12) Where Qwp = 80.04[l/s] = 0.0800[m3/s] 26 Fanpower =Qwp[m3/s]Pwp[Pa] = 0.0800 ×(15.3984) = 1.2319[W] (4.13) The theoretical power is 1.2319[W] for this system under the constrains. Second case. Air is introduced in one office. The shut off point (A) was 15 pascals. In table 4.5, the pressure drop in each valve, the quantity of air and the correspondent position of the valves are shown (following the supplier tables,figure 4.4). Valve Pdrop[Pa]Air[l/s] Position[mm] 1 10.28 13.34 9-12 2 10.50 13.34 9-12 3 10.28 13.34 9-12 Table 4.5: Correspondent position of controlled valves In this point the static pressure in the working point can be calculated and the quantity of air in the system is known. Therefore the theoretical fan power can be calculated. Pwp =A−BQ2 wp = 15 −0.00025 ×(40.02)2= 14.5996[Pa](4.14) Where Qwp = 40.02[l/s] = 0.0400[m3/s] Fanpower =Qwp[m3/s]Pwp[Pa] = 0.0400 ×(14.5996) = 0.5840[W] (4.15) The theoretical power is 0.5840[W] for this system under the constrains. 27 Chapter 5 Conclusions Along of this thesis, the fundamental equations of ventilation system were developed in order to control them. Once these equation were known, the control in ventilation systems could be applied where all parameters were known. If the parameters were unknown, had to be estimated. In this thesis, it was shown how to estimate the parameters under different conditions of noise. In noisy conditions, more tests were necessary to do in order to get the same results than non-noisy conditions. In this project, 12 tests were enough to reach a good estimation under noise conditions. On the one hand, with 5% and 10% of noise, the results with sensors in the valves had some error and large deviation, therefore they did not reach a good estimation. On the other hand, with 1% and 0,1% the results were very close to the real value and with a low deviation, therefore a good estimation was reached. This is the reason why sensors with low error are needed to estimate the parameters in ventilation systems, when they are only in each output valve. In the estimation it was considered that the structure of pipes is known. In systems where the structure is unknown, this parameter estimation cannot be applied leaving this field for futures studies. In systems where the structure is known, after the estimation of parameters, different control strategies can be applied and the energy consumption can be compared. In the figure 5.1, the theoretical energy consumption in one day (8 hours) can be seen. Moreover in this figure is shown, the different consumption depending on the use of the meeting room. In the system where there is no control, the consumption is the same but in the system with controlled valves the consumption change in a wide range. This can be done with different rooms but since the meeting room is the place where people make the reunions, usually the use of it is lower than the office where people is working (due to this, this comparison was considered). 28 Figure 5.1: Change of energy consumption depends on working time in meeting room It can be seen in this figure that most of times, the largest energy consumption is produced when exit grilles are used. Another point to take into account is the noise that produce the incoming air in the grilles. In the analysis made in the comparison chapter, it can be seen that with grilles the air incoming in the first office is higher than the IDA1, therefore this could produce noise in the office(depends on the design) and workers could be uncomfortable. Manually valves have a better energy consumption than exit grilles. The energy saving of this system in comparison with exit grilles is 36.77%. The fan is running in the minimum energy consumption to introduce the enough air (IDA1). As it was stated before, the valves have the same size than the exit grilles in order to change the system (exit grilles to manually valves or controlled valves) as less as possible (change that should be done in a real office). The controlled valves have the worst energy consumption in the case of 8 hours working. This is due to the drop pressure in these valves is higher than the noncontrolled valves (it can be seen in figure 4.3 and 4.4). Therefore, the fan has to put more pressure in the system to get the same amount of air. Following the equation of the power of the fan (4.3), more pressure for an equal amount of air, more power is required, therefore more energy is consumed. There are some other valves with different sizes that give less drops pressure, therefore less energy is consumed. However this project was 29 done following the same dimension in the exit devices (exit grilles and valves). Following with this study, it can be seen that control valves give less energy consumption per day in comparison with manually valves when the meeting room is used less than 5 hours (it will be profitable when the use of the meeting room is below 5 hours). In the case where the meeting room has just 1 hour of use per day, the energy saving of controlled valves in comparison with exit grilles is 158,32%. If now it is compared with manually valves, the energy saving is 88,87%. In case of offices like this, it can be seen that with use of controlled valves, money can be saved. In offices where people work at different hours, or where people work longer time than others, the use of controlled valves will result in a saving of energy consumption and thus of money. At the same time, with controlled valves less CO2is emitted, due to they are consuming less energy. 30 Figure 6.4: Final time schedule 37 Bibliography [1] Francesco Nori and Ruggero Frezza,Linear Optimal Control Problems and Quadratic Cost Functions Estimation [2] A. Yahiaoui,J. Hensen,L.Soethout,D. van Paassen MODEL BASED OPTIMAL CONTROL FOR INTEGRATED BUILDING SYSTEMS [3] M. Komareji,J. Stoustrup,H. Rasmussen,N. BidstrupP. Svendsen andF. Nielsen Optimal Model-Based Control in HVAC Systems [4] R. Parameshwaran,R. Karunakaran,S. Iniyan,Anand A. Samuel Optimization of Energy Conservation Potential for VAV Air Conditioning System using Fuzzy based Genetic Algorithm [5] Komareji, Mohammad Efficient Water Supply in HVAC Systems [6] WANG Jiangjiang,AN Dawei,ZHANG Chunfa,JING Youyin Genetic Optimization Algorithm of PID Decoupling Control for VAV Air- Conditioning System [7] Robert F. Stengel Optimal Control and Estimation [8] Yunus A.Cengel,John M.Cimbala andRobert H.Turner, «Fundamentals of Thermal-Fluid Sciences» [9] UPONOR «Ventilation system, Design and installation guide» [10] Kendall E. Atkinson «An Introduction to NUMERICAL ANALYSIS» [11] William H.Press,Saul A. Teukolsky,William T. Vetterling and Brian P.Flannery «NUMERICAL RECIPES, The Art of Scientific Computing» 38 [12] Douglas C.Montgomery,George C.Runger «Applied Statistics and Probability for Engineers» [13] http ://www.cres.gr/greenbuilding/PDF/prend/set4/WI25Pre − FVversionprEN13779Ventilationfornon −resitentialbuildings.pdf [14] WTW(Bill) Cory «Fans and Ventilation» 39 Appendix A Model equations Here all equations from the model are shown. Each equation is the balance of energy between the fan and each output exit to the office. Depending on the output device the equation change and because of that a function f was introduced. This function f is different with valves and exit grilles, it is explained below of the equations. A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K2∗(Qv1+Qv2+Qv3)2−K3∗Q2 v1−f= 0 (A.1) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K2∗(Qv1+Qv2+Qv3)2+Qv3)2−f= 0 (A.2) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K2∗(Qv1+Qv2+Qv3)2−K4∗Q2 v3−f= 0 (A.3) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K6∗(Qv4+Qv5+Qv6)2−K7∗Q2 v4−f= 0 (A.4) 40 A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K6∗(Qv4+Qv5+Qv6)2−f= 0 (A.5) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K6∗(Qv4+Qv5+Qv6)2−K8∗Q2 v6−f= 0 (A.6) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K9∗(Qv7+Qv8+Qv9+Qv10 +Qv11)2−f= 0 (A.7) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K9∗(Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K12 ∗(Qv8+Qv9)2−K13 ∗Q2 v7−f= 0 (A.8) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K9∗(Qv7+Qv8+Qv9+Qv10 +Qv11)2−K12 ∗(Qv8+Qv9)2−f= 0 (A.9) A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K9∗(Qv7+Qv8+Qv9+Qv10 +Qv11)2−K10 ∗(Qv10 +Qv11)2 −K11 ∗Q2 v11 −f= 0 (A.10) 41 A−B∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K1∗(Qv1+Qv2+Qv3+Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K5∗(Qv4+Qv5+Qv6+Qv7+Qv8+Qv9+Qv10 +Qv11)2 −K9∗(Qv7+Qv8+Qv9+Qv10 +Qv11)2−K10 ∗(Qv10 +Qv11)2−f= 0 (A.11) Equations for exit valves When it is working with valves, the equations were explained in model development chapter. Therefore, the next function is used in this study for valves: f(Qvj, Kvj, aj) = ajQKvj vj (A.12) Equations for exit grilles In order to make the comparison between different systems, it was seen that the exit grilles have different drop pressure equation. Therefore it was checked which type of function have them and the next function was found(parabolic): f(Qgj, Kgj) = KgjQ2 gj (A.13) 42 Appendix B Model estimation This appendix will be in the back of the project in a CD. Q_values The code to calculate with the inputs, the outputs values (the test done in appendix D) Function_newton This folder contains the Newton method used to solve the non-linear equations. code_lsq This folder contains the code to estimate the parameters and inside of this estimation is using the “vmodel function” vmodel This folder contains the algorithm to give back the F(x,z) to non-linear least squares method. 43 Appendix C Model estimation with noise This appendix will be in the back of the project in a CD. Noise influence This folder contains all the estimations made with different noise percents and different number of tests considered. sensor_with_noise This folder contains the algorithm to generate the different amount of air in each valve with noise, using the real values from appendix D. code_lsq This folder contains the code to estimate the parameters with noise and inside of this estimation is using the “vmodel function” (from folder “vmodel”). But now the values of the amount of air are taken with noise from “sensor_with_noise”. vmodel This folder contains the algorithm to give back the F(x,z) to non-linear least squares method (same as without noise). Function_newton This folder contains the Newton method used to solve “vmodel” 44 Appendix D Table of test In this appendix all the tests done in order to make the estimation are shown. 24 test were done and different numbers of test were analyzed to see which one is a good approximation. 45 Test 1 2 3 4 5 6 7 8 9 10 11 12 Input Kv1 2 1 2 2 2 2 2 2 2 2 2 2 Input Kv2 2 2 1 2 2 2 2 2 2 2 2 2 Input Kv3 2 2 2 1 2 2 2 2 2 2 2 2 Input Kv4 2 2 2 2 1 2 2 2 2 2 2 2 Input Kv5 2 2 2 2 2 1 2 2 2 2 2 2 Input Kv6 2 2 2 2 2 2 1 2 2 2 2 2 Input Kv7 2 2 2 2 2 2 2 1 2 2 2 2 Input Kv8 2 2 2 2 2 2 2 2 1 2 2 2 Input Kv9 2 2 2 2 2 2 2 2 2 1 2 2 Input Kv10 2 2 2 2 2 2 2 2 2 2 1 2 Input Kv11 2 2 2 2 2 2 2 2 2 2 2 1 Output Qv1[l/s] 23.2645 137.3373 12.4763 14.5580 19.9737 19.5460 19.9737 20.6603 20.3914 19.9028 20.3914 20.6603 Output Qv2[l/s] 23.3109 14.5871 156.2793 14.5871 20.0136 19.5851 20.0136 20.7016 20.4322 19.9425 20.4322 20.7016 Output Qv3[l/s] 23.2645 14.5580 12.4763 137.3373 19.9737 19.5460 19.9737 20.6603 20.3914 19.9028 20.3914 20.6603 Output Qv4[l/s] 20.9264 15.8676 14.9594 15.8676 111.9979 11.1440 12.7093 16.4471 15.9365 14.9767 15.9365 16.4471 Output Qv5[l/s] 20.9682 15.8993 14.9893 15.8993 12.7347 124.6847 12.7347 16.4800 15.9683 15.0066 15.9683 16.4800 Output Qv6[l/s] 20.9264 15.8676 14.9594 15.8676 12.7093 11.1440 111.9979 16.4471 15.9365 14.9767 15.9365 16.4471 Output Qv7[l/s] 20.1603 15.2868 14.4118 15.2868 14.5654 13.7249 14.5654 99.4931 10.3988 10.9597 12.7253 13.5986 Output Qv8[l/s] 20.2006 15.3173 14.4406 15.3173 14.5945 13.7523 14.5945 11.7936 108.5664 10.9816 12.7507 13.6258 Output Qv9[l/s] 20.3613 15.4391 14.5554 15.4391 14.7105 13.8617 14.7105 13.7342 12.8521 122.5219 12.8521 13.7342 Output Qv10[l/s] 20.2006 15.3173 14.4406 15.3173 14.5945 13.7523 14.5945 13.6258 12.7507 10.9816 108.5664 11.7936 Output Qv11[l/s] 20.1603 15.2868 14.4118 15.2868 14.5654 13.7249 14.5654 13.5986 12.7253 10.9597 10.3988 99.4931 Table D.1: Test in model 1/2 46