Next Article in Journal
Residue Sum Formula for Pricing Options under the Variance Gamma Model
Next Article in Special Issue
Advances in the Approximation of the Matrix Hyperbolic Tangent
Previous Article in Journal
The Curve Estimation of Combined Truncated Spline and Fourier Series Estimators for Multiresponse Nonparametric Regression
Previous Article in Special Issue
Hybrid Model for Time Series of Complex Structure with ARIMA Components
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Applied Machine Learning Algorithms for Courtyards Thermal Patterns Accurate Prediction

by
Eduardo Diz-Mellado
1,†,
Samuele Rubino
2,†,
Soledad Fernández-García
2,
Macarena Gómez-Mármol
2,*,
Carlos Rivera-Gómez
1,* and
Carmen Galán-Marín
1
1
Departamento de Construcciones Arquitectónicas 1, Escuela Técnica Superior de Arquitectura, Universidad de Sevilla, Avda. Reina Mercedes, 2, 41012 Seville, Spain
2
Departamento de Ecuaciones Diferenciales y Análisis Numérico, Facultad de Matemáticas and Instituto de Matemáticas (IMUS), Universidad de Sevilla, C/Tarfia, s/n, 41012 Seville, Spain
*
Authors to whom correspondence should be addressed.
E.D.-M. and S.R. contributed equally.
Mathematics 2021, 9(10), 1142; https://doi.org/10.3390/math9101142
Submission received: 30 March 2021 / Revised: 13 May 2021 / Accepted: 14 May 2021 / Published: 18 May 2021
(This article belongs to the Special Issue Mathematical Methods, Modelling and Applications)

Abstract

:
Currently, there is a lack of accurate simulation tools for the thermal performance modeling of courtyards due to their intricate thermodynamics. Machine Learning (ML) models have previously been used to predict and evaluate the structural performance of buildings as a means of solving complex mathematical problems. Nevertheless, the microclimatic conditions of the building surroundings have not been as thoroughly addressed by these methodologies. To this end, in this paper, the adaptation of ML techniques as a more comprehensive methodology to fill this research gap, covering not only the prediction of the courtyard microclimate but also the interpretation of experimental data and pattern recognition, is proposed. Accordingly, based on the climate zoning and aspect ratios of 32 monitored case studies located in the South of Spain, the Support Vector Regression (SVR) method was applied to predict the measured temperature inside the courtyard. The results provided by this strategy showed good accuracy when compared to monitored data. In particular, for two representative case studies, if the daytime slot with the highest urban overheating is considered, the relative error is almost below 0.05%. Additionally, values for statistical parameters are in good agreement with other studies in the literature, which use more computationally expensive CFD models and show more accuracy than existing commercial tools.

1. Introduction

According to the latest forecasts, two trends will become progressively reinforced over the present century. The first one is the gradual increase in average surface temperatures mainly due to global greenhouse gas emissions [1]. The second is the concentration of the population in cities [2]. This combination of factors, rising temperatures, and high population concentration will accentuate other environmental problems related to human thermal comfort, such as the so-called Urban Heat Island (UHI) effect. Urban Heat Islands (UHIs) are defined as urban areas with higher air temperatures than their surrounding rural areas [3]. The causes of the UHI effect are classified differently by Givoni [4] as due either to meteorological factors or to urban parameters [5].
Several urban dynamics converge to generate this overheating. Apart from domestic and industrial anthropogenic impacts, some of these factors are related to built-up topography and urban features: firstly, the constructed zones offer more surface area for heat absorption, radiating it slowly during the night; secondly, the canyon effect [6], which causes the thermal energy to remain in the ground by the influence of multiple horizontal reflections and absorption of incoming radiation provoked by tall buildings. UHI is also linked to a capsule of city gases that absorbs heat from the sun. In the city, buildings obstruct the wind and the capsule remains in place [7]. Finally, the urban albedo, which could be defined as the aptitude of construction materials to reflect solar radiation [8].
Considering the need to achieve the medium-term goal of nearly zero-energy buildings and cities [9], different passive strategies have been evaluated to counteract this urban overheating without resorting to energy-dependent cooling systems [10]. Like other animal colonies, cities are usually adapted to the climate as kinds of human termite mounds, perforating the urban fabric to regulate direct solar radiation. On a different scale than other public spaces, such as urban canyons and squares, courtyards have traditionally acted as passive cooling resources in cities around the world and not exclusively in hot and warm climates. One study on low-rise housing in the Netherlands shows how courtyards improve the energy efficiency of the building [11]. Previous research performed on courtyards in Spain has quantified the courtyard tempering effect, which enables improving thermal comfort and helping to reduce cooling energy consumption in buildings [12]. Due to the growing interest in strategies capable of achieving more climate-resilient cities, many studies have examined the microclimatic performance of the courtyard. Furthermore, several literature reviews compiling research on this topic have been published [13,14,15]. The courtyard microclimate can be explained in terms of the thermodynamic effects that occur within it, i.e., convection, radiation, stratification, and flow patterns. Among the different parameters affecting these microclimatic conditions, most of the studies emphasize the importance of courtyard geometry [13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29], in many cases considered the Aspect Ratio (AR), which is the ratio between the height and the width of the courtyard.
AR = Height Width
Courtyard location, implying climatic conditions and specifically outdoor temperature ranges, is another key factor that is becoming commonplace in a large number of publications [14,15,16,17,18,19,20,21,25,26,27,28,29,30].
The perforation of the urban block with courtyards responds to light, ventilation, and thermal needs. Different field monitoring campaigns in the existing literature have proved the thermal tempering potential of courtyards to lower the outdoor temperature, in some cases by up to 15 °C [23]. Many simulation methods and tools are currently available for the thermal performance modeling of indoor spaces [22]. Notwithstanding, the alternatives for simulating outdoor ones are more limited. This is mainly due to the complexity of these outdoor spaces’ thermodynamics, which involve multiple variables and entails enormous challenges to be modeled with enough accuracy. However, new software means have emerged in recent years that are capable, to some extent, of simulating their microclimatic conditions [31]. One of the most widely used tools is ENVI-met, based on CFD simulation [32]. Other outdoor modeling software alternatives are Urban Weather Generator (UWG), based on energy conservation principles [33]; SOLWEIG, which can simulate spatial variations of 3D radiation fluxes and mean radiant temperatures [34]; Open FOAM, which has been used in previous research to simulate urban wind flows [35]; FreeFem++, employed to perform courtyard microclimate modelling [17,36]; and ANSYS Fluent, which has been applied for the simulation of wind flows in outdoor spaces [17,36]. Most of these tools present adequate accuracy for predicting urban outdoor microclimates, but they tend to show a larger error range when they are used to model the microclimate of smaller-scale spaces, such as courtyards, with greater dependence on the built environment [12,36].
Consequently, in this work, a new tool is proposed to predict this specific microclimate inside courtyards based on Machine Learning (ML) techniques [37,38]. In the computers and information era, a large amount of data are being generated in many different fields, such as science, finance, engineering, and industry. Thus, statistical problems have grown in size and complexity and the statistical analysis tries to understand these data. This is what is called learning from data or ML. Some examples of ML problems are the following: predict the price of a stock for 6 months from now, based on company performance measures and economic data; identify the numbers in a handwritten ZIP code from a digitized image, or estimate the amount of glucose in the blood of a diabetic person from the infrared absorption spectrum of that person’s blood [38]. ML models have been shown previously to be useful for predicting and assessing structural performance [39].
ML problems are categorized as supervised or unsupervised. In supervised learning, the aim is to predict the value of an outcome measure based on a certain number of input measures (also known as features, attributes, or covariates). It is called supervised because of the presence of the outcome variable to guide the learning process. In unsupervised learning, there is no outcome measure, and the goal is to describe the associations and patterns among a set of input measures. Mathematical optimization has played a crucial role in supervised learning [37,38,39,40]. Support Vector Machine (SVM) and Support Vector Regression (SVR) are some of the main applications of mathematical optimization for supervised learning [41,42,43,44,45,46]. These are geometrical optimization problems that can be written as convex quadratic optimization problems with linear constraints, solvable by some nonlinear optimization procedure.
The present paper’s main goal is to implement the ML methodology as a suitable and accurate system for predicting courtyard thermal patterns. To achieve this, the most relevant features regarding courtyards’ thermoregulatory performance according to the literature, i.e., geometry and outdoor temperature, have been considered. The advantages of using ML techniques over conventional modeling tools are twofold: on the one hand, they allow the identification of the fundamental variables, simplifying the calculation processes; on the other hand, they are perfectible methodologies that make it possible to increase the accuracy of predictions by providing feedback from monitored data by increasing the size of the training dataset. In fact, despite presenting work based on an extensive set of field-monitoring campaigns, the case studies monitored could be considered an initial limitation of the study. Nevertheless, the proposed methodology achieves an accuracy level comparable to, and in some cases superior to, other outdoor thermal modeling methods. The overall structure of the paper can be framed in a three-phase procedure. Firstly, the case studies used to validate the thermal predictions are selected and monitored. Secondly, simulations based on SVR and correlated employing MATLAB interpolations are performed. Finally, different error ranges are verified and compared with other tools simulation errors in the thermal patterns’ prediction of the courtyard microclimate. Note that the interpolation technique is applied when characteristic parameters are within an appropriate range, defined by training data. Outside of this range, other prediction techniques are needed.

2. Materials and Methods

Regarding specifically the application of the ML methodology, it was sequenced into four steps. First, the reference study cases are defined and characterized. Second, the field monitoring campaigns are characterized. Third, the problem setup is detailed. Fourth, the SVR method is described. In particular, the following variables are considered: time (hours), outside courtyard measured temperature (CMT), wind speed and direction, with the aim of searching for a function that provides the temperature inside the courtyard all along the week. This problem was solved using the statistical software R. Finally, using the library of predicted data obtained from the ML method, the measured temperature inside a given courtyard is predicted, based on its climate zone, year´s season, and ARs. This will be done in two phases by an interpolation technique implemented in the scientific software MATLAB.

2.1. Location, Climate and Cases Study

In this research, the thermal performance of 22 selected courtyards in a total of 12 different locations in three different Thermal Ranges (TR) are analyzed as case studies.
The study was carried out in Mérida (Badajoz, Spain), Córdoba (Córdoba, Spain) and Seville (Seville, Spain), located in south-western Spain. All three cities are characterized by a hot climate in summer and a mild climate in winter. The specific Spanish regulations CTE-DB-HE [47], characterize them as C4, B4, and B4, respectively. The letter (A–D) represents the winter climate severity ranging from A for mild temperatures to D for very cold climates, and the number (1–4) represents the summer climate severity, being 1 for mild climates and 4 for very hot climates.
The selected case studies are intended to be analyzed in the warm season, so they all belong to the same climatic zone in summer. According to the Köppen classification, the selected cities are defined as Csa, with dry summers with low rainfall and very hot summers. Many case studies were analyzed over an extended period, always exceeding the minimum two-week monitoring period established by previous research [48].
Previous studies have shown the influence of outdoor temperature and geometry on the thermal tempering potential of the courtyard [49] and their thermal sensation [50], so for this research, a selection of case studies with different outdoor temperatures and different AR (Equation (1), defined in (1)) are analyzed. Therefore, two values, ARI and ARII, are defined. In Table 1, the main characteristics of the case studies selected for this research are shown, including the longitude, latitude and meters above sea level (MASL) of each case study.

2.2. Field Monitoring Campaign

As previously mentioned, in this research, numerous monitoring campaigns have been carried out in courtyards with diverse geometries (AR) and with different outdoor temperatures (TR). For both boundary conditions, AR and TR, the selected ranges are based on previous studies [23].
Some campaigns were carried out over several months to select similar outdoor temperature ranges in all case studies. One week was selected as a representative sample for each courtyard. During the monitoring campaigns, outdoor climatological parameters were analyzed, and simultaneously, the temperature inside the courtyards was recorded. According to the U.S. National Weather Service [51], dry-bulb temperature (DBT), can be measured using a normal thermometer freely exposed to the air but shielded from solar radiation and moisture. The thermometer will be affected by thermal radiation from the courtyard walls, so we will refer to the DBT as the Courtyard Measured Temperature (CMT) rather than the air temperature. In the case of outdoor environment analysis, portable weather stations model PCE-FWS 20 were used, the technical data of which are shown in Table 2. The weather station was located on the roof of the building, fully exposed, with no nearby high-rise buildings that could affect data collection. Data, such as courtyard measured temperature and wind speed and direction, were recorded with a measurement interval of 15 min.
Simultaneously, the temperatures in the courtyards of the selected case studies were recorded with sensors’ model TESTO 174 H and TESTO 174 T, whose technical data are shown in Table 2. The sensors were placed vertically suspended from the roof of the building on the north-facing façade of the courtyard so that solar radiation would not influence the results. In addition, they were protected with a reflective shield to prevent overheating and to allow ventilation of the measuring equipment (Figure 1). As the sensors’ measured temperature would vary throughout the courtyard due to several factors, including stratification and infrared radiation, all the sensors were placed at +1.00 m and +2.00 m, referring to the height of the courtyard inhabited by users.

2.3. Problem Setup

In this article, the variables selected to predict the value of the temperature inside a courtyard are the two most relevant according to the literature review, namely, TR—considering climate location zone and year´s season, and AR—as a numerical parameter synthesizing courtyard geometry. To perform the modeling, two stages were considered.
In the first stage, work was accomplished with the data from 22 monitored courtyards in every hour of one week, from different periods of the year, in various courtyards located in the Spanish cities of Badajoz, Córdoba and Seville.
The SVM method was used to create the library with some of these training data along one week in different courtyards. After that, we consider courtyards with different characteristic parameters, such as ARI and ARII, which are not included in the training data and use interpolation techniques to obtain the prediction for a week.

2.4. Support Vector Regression Method

Support Vector Machines (SVMs) were introduced in the 90s by Vapnik and his collaborators [45] in the framework of statistical learning theory. Although originally, SVMs were thought to solve binary classification problems, they are currently used to solve various types of problems, for example, regression problems [44], on which this research has focused.
In this first stage, the predicted value of the measured temperature inside a courtyard using some information related to it has been obtained. In particular, the time (hour of the day), the outside CMT, the wind speed and direction have been considered. More specifically, the following has been considered: x = x 1 , x 2 , x 3 , x 4 , where,
  • x 1 = time (hour of the day);
  • x 2 = outside temperature;
  • x 3 = wind speed;
  • x 4 = wind direction.
Searching for a function f : R 4 R , such that y = f x provides the temperature inside the courtyard was the goal in this step.
To find this function f for each courtyard, the m -collection of experimental data associated with it was used. The idea of the SVR method [6] is to obtain a function such that for every sample x i , y i , i = 1 , , m , it is satisfied that f x i y i   ε , for some ε > 0 small. Concretely, given ε , γ and C > 0 , the following optimization problem is considered:
max 1 2 i , j = 1 m α i α i α j α j exp γ x i x j 2     ε i , j = 1 m α i + α i + i , j = 1 m y i α i α i ,
subject   to   i , j = 1 m ( α i α i ) = 0 ,   for   α i , α i 0 , C .
This problem was solved using the statistical software R . In particular, we used the E1071 library [52], a software package designed to solve classification and regression problems, using Support Vector Machines, which can be easily installed in R . The solution provides a possible candidate function as follows:
f x = i = 1 m ( α i α i ) exp γ x i x 2 + b ,
where the constant b   R can be computed by forcing the Karush–Kuhn–Tucker (KKT) condition [53]. The function K x , x = exp γ x x 2 is called the radial basis kernel. It holds that f x i y i ε , for all i = 1 , , m . The quality of function f depends on the choice of the parameters ε , γ and C . In order to select the best parameters, Cross-Validation (CV) technique was used to obtain the parameter values: γ = 0.1, C = 10 and ε = 0.1, with a CV error around 1% for all test cases.

2.5. Predicted Temperature of a Courtyard

In the first stage, through the monitoring data and the SVR method, a library of predicted temperatures inside various courtyards located in different cities of the south of Spain was obtained. In this second stage, by using this library, the predicted temperature inside a given courtyard was obtained.
In this section, given that the definition of AR is two-dimensional, two ARs were measured: the first one, ARI was defined as the relation between the width and the height, and the second one, ARII was defined as the relation between the length and the height, as follows:
ARI = h m a x / W and ARII = h m a x / L ,
where h m a x is the maximum height, W represents the width and L the length of the courtyard.
Once both ARs were fixed, the predicted temperature inside a given courtyard in two different ways was performed. First, the courtyards library was classified considering three different TRs, depending on the range of temperatures of the courtyards and an interpolation technique to predict the temperature inside a courtyard of the same class by using ARs data was used, as it is explained in Section 2.5.1.
Second, the courtyards library was classified into different groups, depending on the courtyards AR range and an interpolation technique to predict the temperature inside a courtyard of the same class by using the maximum and minimum temperature data was used. Two cases (AR.1 and AR.2) were considered: first, the classification by considering ARI, and second, ARII was performed.

2.5.1. Fixed Temperature Range, Interpolation Using the ARs

In this case, the courtyards library was classified into three different TR, depending on the range of temperatures inside the courtyard. These TRs correspond to statistical climatic records in the locations where case studies are placed. The first group corresponds to the hottest days of spring or autumn, the second, to a typical summer season and, the third, to a summer heatwave.
TR1: 15 , 35 .
TR2: 20 , 40 .
TR3: 25 , 45 .
In the following Table 3, the courtyards are classified within these different TR. Note that some courtyards are in more than one TR because the temperature range in the courtyard changed from one week to another. This is because the courtyard, as a thermal tempering device, performs differently depending on the outdoor temperature.
For a given courtyard, its range of temperature is first estimated, being classified as TR1, TR2 or TR3, and its AR, being classified as ARI or ARII.
Once courtyards are classified, the temperature prediction is verified through the SVR method; by an interpolation technique, it can be obtained a prediction of the temperature inside a courtyard of the same class. To achieve these data, MATLAB function scatteredInterpolant was used, which performs interpolation on a 2D dataset of scattered data. In particular, it returns the interpolant F for the given dataset such that we can evaluate F at a set of query points in 2D to produce interpolated values Tq = F (ARIq, ARIIq), obtaining the temperature inside the courtyard T q .

2.5.2. Fixed the ARs, Interpolation Using Minimum and Maximum Temperatures

In this section, two different cases, depending on whether we fix ARI or ARII, are considered.
First, the courtyards library was classified into two different classes, depending on A R I :
ARI.1: 0 , 1 .
ARI.2: 1 , 2 .
In the following Table 4, the courtyards are classified within these different classes. Note that CS4 has not been taken into account, as its ARI is out of the considered ranges (3.41).
Thus, for a given courtyard, we measure the ARI and classify it into ARI.1 or ARI.2.
Then, given the minimum and maximum temperature, T m i n and T m a x , respectively, of some courtyards in the same class and their corresponding predicted temperatures through the SVR method, by an interpolation technique implemented in the scientific software MATLAB, it can be obtained a prediction of the temperature inside a courtyard of the same class. To do the interpolation, we have used again the MATLAB function scatteredInterpolant, which performs interpolation on a 2D dataset of scattered data. In this case, we obtained T q = F T m i n , q , T m a x , q , obtaining the temperature inside the courtyard T q .
Second, we classified the courtyards library into two different classes, depending on A R I I :
ARII.1: 0 , 1 .
ARII.2: 1 , 2.5 .
In the following Table 5, we classify the courtyards within these different classes:
Thus, for a given courtyard, first it was measured the ARII, being classified as ARII.1 or as ARII.2. To do the interpolation, the same procedure as in the case of ARI was followed, using now ARII instead.

3. Results

3.1. Fixed Temperature Range, Interpolation Using AR

In this section, it is shown the predicted temperature obtained by the method proposed in Section 2.5.1 in one courtyard of each temperature range class. The predicted temperature in comparison to the monitored temperature inside the courtyard, as well as the outdoor temperature, are both represented. In addition, a quantitative analysis was carried out. On the one hand, it was evaluated the relative error of the predicted temperature with respect to the monitored temperature in different discrete norms:
L 1 % = i = 1 N | T m o n i t . T p r e d . | t i i = 1 N T m o n i t . t i 100 , L 2 % = i = 1 N ( T m o n i t . T p r e d . ) 2 t i i = 1 N T m o n i t . 2 t i 1 / 2 100 ,
where it is denoted by T m o n i t . t i (resp, T p r e d . t i ), the monitored temperature (resp., the predicted temperature) at time t i , i = 1 , , N (hours, (h)). Moreover, the percentage in time for which the obtained absolute error within the predicted and the monitored temperature is less than or equal to a fixed tolerance t o l = 2   C was evaluated. On the other hand, the following statistical parameters were computed: the correlation coefficient R , the Root Mean Square Error ( R M S E ) and the Mean Absolute Percentage Error ( M A P E ). The formulas for these parameters are as follows:
R = i = 1 N ( T m o n i t . t i T ¯ m o n i t . ) T p r e d . t i T ¯ p r e d . i = 1 N ( T m o n i t . t i T ¯ m o n i t . ) 2 i = 1 N ( T p r e d . t i T ¯ p r e d . ) 2 1 / 2 ,
R M S E ( o C ) = i = 1 N ( T m o n i t . T p r e d . ) 2 t i N 1 / 2 ,
M A P E % = 1 N i = 1 N T m o n i t . T p r e d . t i T m o n i t . t i 100 ,
where, in the formula for the correlation coefficient R , the mean monitored temperature (resp., the mean predicted temperature) is denoted by T ¯ m o n i t . (resp, T ¯ p r e d . ). The values of the relative and absolute errors and the statistical parameters are shown in Table 6 and Table 7 for the CMT in each selected courtyard of each temperature range class.
For the class TR1, the courtyard CS1, located in Badajoz was considered. The prediction is performed for the dates 20 to 26 May. In the graph (Figure 2), simulation versus monitoring results of this courtyard with mild and very irregular temperatures is shown. There is hardly any thermal gap, and the prediction shows good accuracy. The obtained results are specified in Table 6 and Table 7 (first row).
For the class TR2, the courtyard CS5, located in Seville, was considered. The prediction is performed for the date 7 to 13 September. The obtained results are represented in Figure 3 and Table 6 and Table 7 (second row). Note that the prediction for the second half of the last day is not represented in this plot. This is due to the fact that some of the training data used for this prediction had fewer points than the 168 needed for the whole week. However, to be consistent with the other cases, we decided to keep the whole week in this plot.
For the class TR3, the courtyard CS17, located in Córdoba, was considered. The prediction is performed for the date 26 July to 1 August. Unlike the previous case shown in Figure 2, in this one (Figure 4), the outside temperature is higher and there is a large thermal gap. The predicted results show similarly good accuracy, particularly on days of maximum outdoor temperature. The obtained results are detailed in Table 6 and Table 7 (third row).

3.2. Fixed AR, Interpolation Using Minimum and Maximum Temperature

In this section, the predicted temperature obtained by the method proposed in Section 2.5.2 in one courtyard of each AR range class is shown. First, the ARI range class is considered, representing the predicted temperature in comparison to the monitored temperature inside the courtyard, as well as the outdoor temperature. Additionally, a quantitative analysis was carried out. On the one hand, the relative error of the predicted temperature with respect to the monitored temperature in different discrete norms ( L 1 and L 2 ) was evaluated, as done in Section 3.1. Moreover, the percentage in time for which the obtained absolute error within the predicted and the monitored temperature is less than or equal to a fixed tolerance t o l = 2   C was also evaluated. On the other hand, the following statistical parameters were computed: R , R M S E and M A P E . The values of the relative and absolute errors and the statistical parameters are shown in Table 8 and Table 9 for the courtyard measured temperature in each selected courtyard of each ARI range class.
For the ARI.1, the courtyard CS16, located in Córdoba, was considered. The prediction is performed for the date 26 July to 1 August. The obtained results are represented in Figure 5 and Table 7 and Table 8 (first row).
For the class ARI.2, the courtyard CS1, located in Badajoz, was considered. The prediction is performed for the date 20 to 26 May. The obtained results are represented in Figure 6 and Table 7 and Table 8 (second row).
Finally, the ARII range class was considered and the predicted temperature was represented in comparison to the monitored temperature inside the courtyard as well as the outdoor temperature. As before, a quantitative analysis was carried out. On the one hand, the relative error of the predicted temperature with respect to the monitored temperature in different discrete norms ( L 1 and L 2 ) was evaluated, as done in Section 3.1. Moreover, the percentage in time for which the obtained absolute error within the predicted and the monitored temperature is less than or equal to a fixed tolerance t o l = 2   C was also evaluated. On the other hand, the following statistical parameters were computed: R , R M S E and M A P E . The values of the relative and absolute errors, and the statistical parameters are shown in in Table 10 and Table 11 for the courtyard measured temperature in each selected courtyard of each ARII range class.
For the class ARII.1, the courtyard CS4, located in Badajoz, was considered. The prediction is performed for the date 20 to 26 May. In this case, as can be seen in Figure 7, the courtyard has a different thermal performance than in the previously described case studies. This is mainly due to the overheating that occurs in the early morning hours due to the low AR. The predicted results do not show such a tight accuracy under these conditions. The obtained results are detailed in Table 9 and Table 10 (first row).
For the class ARII.2, the courtyard CS9, located in Seville, was considered. The prediction is performed for the date 4 to 10 September. The obtained results are represented in Figure 8 and Table 9 and Table 10 (second row).

3.3. Relative Errors Calculation

The main goal of this work is the accurate thermal modeling of the courtyard for its optimization as a resilient strategy against climate change and urban overheating. Therefore, the specific performance of courtyard thermodynamics was considered for the evaluation of the model errors. The courtyard´s thermal tempering performance increases as a function of the Thermal Gap (from now on, TG), that is, the difference between the exterior monitored temperature and the monitored temperature inside the courtyard. TG usually increases as the outside temperature rises. Accordingly, in this section, relative errors from two different and representative case studies with different TRs are selected, comparing statistical parameters more in detail.
The first selected case study corresponds to the predicted temperature inside the TR1 courtyard CS1 (Figure 2), and the second case corresponds to the predicted temperature inside the TR3 courtyard CS17 (Figure 4). These cases were selected since, in the first case, monitored and predicted temperatures inside the courtyard are rather close to the exterior monitored one, while in the second case, monitored and predicted temperatures inside the courtyard are quite far from the exterior monitored one.
Conversely, the relative and absolute errors, as well as the statistical parameters considered in the previous section, were computed. Then, the daily computations all along the week were performed. The obtained results are given in Table 12 and Table 13.
On the other hand, bearing in mind the obtained results, the best predicted day in each week was selected. In the first case, the day that gives better performances is the 6th one, while in the second case, it is the 5th one. Then, the relative error of the predicted temperature was computed hourly and represented in two ways. In the first way, with respect to the TG and in the second way, with respect to the monitored temperature. The graphics corresponding to CS1 and CS17 are included in Figure 9a,b, respectively. The graphic represented in Figure 9a corresponds to the relative error of the predicted temperature with respect to TG, and the graphic in Figure 9b corresponds to the relative error of the predicted temperature with respect to the monitored temperature inside the courtyard. In addition, the segment of the day in which critical urban overheating is concentrated is indicated in each graph. These hours, according to climate records [54], are between 13:00 and 19:00. On the left, considering CS1 plotted in Figure 9a, it can be observed that the relative error with respect to TG is always below 3%, except for two peaks, corresponding to time slots where the exterior temperature and the monitored temperature inside the courtyard almost coincide. Considering CS17 in Figure 9a, it was obtained a very low relative error with respect to TG in the central time slot of the day, that is, between 13:00 and 19:00, where TG is large. On the right, regarding the relative error with respect to the courtyard measured temperature (CMT) in Figure 9b, it can be observed that the plotted relative error for CS1 is below 0.1%, while for CS17, this relative error is always below 0.05%. For both case studies, if the daytime slot with the highest urban overheating is considered, the relative error is always below 0.05%.

4. Discussion

In this section, the results that were obtained in Section 3 are discussed. Regarding the results obtained in Section 3.1 and Section 3.2, on the one hand, it can be appreciated in Table 6, Table 8 and Table 10 that the values for the relative errors in different discrete norms are around 5% and in almost all cases are below 10%, and the percentage in time for which the obtained absolute error w.r.t. the CMT is less than or equal to t o l = 2   C is superior to 80%, except for the cases of Example 3.0.2, the ARI.1 range class and the ARII.1 range class. For the first critical case, reasonable values for the relative errors in different discrete norms (within 5% and 8%) were obtained, and the percentage in time for which the obtained absolute error w.r.t. the CMT is less than or equal to t o l = 2   C is 61.45%. However, that case is rather special since it can be observed at relatively high temperatures w.r.t. the other experiments. In any case, if the tolerance parameter is increased to t o l = 3   C for that case, a higher percentage of up to 80.72%, can be obtained. For the second critical case, the relative errors in different discrete norms are within 10% and 13%, and the percentage in time for which the obtained absolute error w.r.t. the CMT is less than or equal to t o l = 2   C is 58.33%. In any case, if the tolerance parameter is increased to t o l = 3   C for that case, we obtain the higher percentage 74.40%. On the other hand, the values for the statistical parameters that indicate that the simulation is accurate are R 1 , R M S E 0 , M A P E 0 [36,42,43,44,50,51,52]. The values of these parameters for the courtyard measured temperature in the present courtyards for each simulation confirm that the used strategy is rather accurate. In particular, in Table 7, Table 9 and Table 11 it can be observed that the correlation coefficient R is quite close to 1 for all range classes (superior to 0.85, except for the cases Example 3.0.2 ARII.1 and ARII.2 range classes for which it is within 0.6 and 0.8). The R M S E values are around 1.5   C and the M A P E values are around 5%, except for the critical cases identified above for which the R M S E values are around 2.5   C and the M A P E values are within 5% and 10%.
Finally, in Section 3.3, relative and absolute errors as well as the statistical parameters in two selected cases were computed daily. The case where the predicted CMT inside the courtyard is rather close to the exterior one, and the case where the predicted CMT inside the courtyard is quite far from the exterior one were chosen. The obtained results are given in Table 12 and Table 13, respectively. It can be observed that the values for the relative errors in different discrete norms are around 6% in the first case, and around 3% in the second case, and in almost all cases are below 7%. Moreover, the percentage in time for which the obtained absolute error w.r.t. the CMT is less than or equal to t o l = 2   C is superior to 80% all the days except for the 7th day of the second case, arriving to 100% in the 6th day of the first case and on the 3rd and 5th day of the second case. With respect to statistical parameters, the correlation coefficient R is quite close to 1, being larger than 0.89 in all cases. The R M S E values are around 1.25   C in the first case and 1   C in the second one, and the M A P E values are around 5% in the first case and 3% in the second case. Thus, mostly, the results obtained in Section 3.3 daily in these selected cases improve the global results computed for the whole week in Section 3.1 and Section 3.2.
In brief, apart from the critical cases identified above, the values of the statistical parameters considered are in a similar range than those obtained in [36] for a similar problem. In that work, the authors performed a very accurate courtyard thermal simulation based upon a Computational Fluid Dynamics (CFD) FreeFEM 3D model, which is much more computationally expensive than the ML technique SVR used in this work. In particular, the computation of one-week temperature through the SVR method takes around one minute, while the CFD method takes around four minutes per one day of simulation.

5. Conclusions

In the present work, the applicability of a supervised ML model as a suitable tool for predicting microclimatic performance inside courtyards has been evaluated. For this purpose, among the ML models developed as supervised learning, Support Vector Machines (SVM) were selected. The model was fed and validated with empirical data from 22 case studies in southern Spain.
The results provided by this strategy showed good accuracy when compared to monitored data. In particular, we selected two representative and highly meaningful case studies with different TGs. The final results for both cases showed that, when the daytime slot with the highest urban overheating is considered, the relative error is almost below 0.05%. Additionally, values for statistical parameters are in good agreement with other studies in the literature that use more computationally expensive CFD models and show more accuracy than existing commercial tools. Indeed, the present strategy shows a Root Mean Square Error (RMSE) around 1   C for the two representative case studies selected, which is in a similar range to the values obtained in [36] for a similar problem by a more computationally expensive CFD model, while corresponding values for existing commercial software are typically around 3   C .
Based on the results obtained, it can be stated that the new application proposed for the ML method is useful for the development of design and measurement tools capable of modeling the complex microclimate of courtyards. Furthermore, the accuracy of the predictions for the analyzed case studies increases as a function of the courtyard thermal tempering potential linked to the intensification of the outdoor temperature.
The enhancement of the proposed methodology with the inclusion of other complementary microclimatic strategies, such as shading devices or vegetation as new ML features as well as establishing a balance between an over fitted and under fitted ML model considering the optimal number of training data, can be considered as future ways to develop this research.

Author Contributions

S.F.-G., M.G.-M. and S.R. contributed to develop the mathematical software and error analysis performed in this work. E.D.-M., C.R.-G., C.G.-M. contributed to define research conceptualization, field monitoring campaign design and performance, writing, review, and editing. M.G.-M., C.G.-M. and C.R.-G. contributed to the research funding acquisition. E.D.-M. and S.R., as the main authors of the paper, contributed equally. All authors have read and agreed to the published version of the manuscript.

Funding

Proyecto (RTI2018-093521-B-C31), financiado por: FEDER/Ministerio de Ciencia e Innovación—Agencia Estatal de Investigación (Researchers: Macarena Gómez-Mármol, Samuele Rubino and Soledad Fernández-García). Proyecto (RTI2018-093521-B-C33), financiado por: FEDER/Ministerio de Ciencia e Innovación—Agencia Estatal de Investigación (Researchers: Carmen Galán-Marín y Carlos Rivera-Gómez). Pre-doctoral contract granted to Eduardo Diz-Mellado (FPU 18/04783).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The authors gratefully acknowledge AEMET (State Meteorological Agency) for the data supplied and also want to thank Carlos Constantino Oitaven (University of Seville) for the basic version of the R code used as a starting point in the present simulations.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

UHIUrban Heat Island
ARAspect Ratio
MLMachine Learning
SVMSupport Vector Machine
SVRSupport Vector Regression
CSCase Study
TRThermal Range
CFDComputational Fluids Dynamics
TGThermal Gap
CMTCourtyard Measured Temperature

References

  1. IPCC. Proposed Outline of the Special Report in 2018 on the Impacts of Global Warming of 1.5 °C above Pre-Industrial Levels and Related Global Greenhouse Gas Emission Pathways, in the Context of Strengthening the Global Response to the Threat of Climate cha. Ipcc—Sr15. Available online: www.environmentalgraphiti.org (accessed on 10 March 2021).
  2. United Nations, Department of Economic and Social Affairs PD. The World ’s Cities in 2018; United Nations: New York, NY, USA, 2018; p. 34. [Google Scholar]
  3. Bombardelli, F.A. Handbook of Environmental Fluid Dynamics; Apple Academic Press: Cambridge, MA, USA, 2012; Volume 2. [Google Scholar]
  4. Taleb, D.; Abu-Hijleh, B. Urban heat islands: Potential effect of organic and structured urban configurations on temperature variations in Dubai, UAE. Renew. Energy 2013, 50, 747–762. [Google Scholar] [CrossRef]
  5. Climate Considerations in Building and Urban Design|Wiley. Available online: https://www.wiley.com/en-us/Climate+Considerations+in+Building+and+Urban+Design-p-9780471291770 (accessed on 10 March 2021).
  6. Vardoulakis, S.; Fisher, B.E.; Pericleous, K.; Gonzalez-Flesca, N. Modelling air quality in street canyons: A review. Atmos. Environ. 2003, 37, 155–182. [Google Scholar] [CrossRef] [Green Version]
  7. Ulpiani, G. On the linkage between urban heat island and urban pollution island: Three-decade literature review towards a conceptual framework. Sci. Total Environ. 2020, 751, 141727. [Google Scholar] [CrossRef] [PubMed]
  8. Carpio, M.; González, Á.; González, M.; Verichev, K. Influence of pavements on the urban heat island phenomenon: A scientific evolution analysis. Energy Build. 2020, 226, 110379. [Google Scholar] [CrossRef]
  9. Villa-Arrieta, M.; Sumper, A. Economic evaluation of Nearly Zero Energy Cities. Appl. Energy 2019, 237, 404–416. [Google Scholar] [CrossRef]
  10. ZEBRA 2020—NEARLY ZERO-ENERGY BUILDING STRATEGY 2020 Strategies for a nearly Zero-Energy Building Market Transition in the Euro-Pean Union. 2020. Available online: https://zebra2020.eu/ (accessed on 10 May 2021).
  11. Taleghani, M.; Tenpierik, M.; Dobbelsteen, A.V.D. Energy performance and thermal comfort of courtyard/atrium dwellings in the Netherlands in the light of climate change. Renew. Energy 2014, 63, 486–497. [Google Scholar] [CrossRef] [Green Version]
  12. López-Cabeza, V.; Galán-Marín, C.; Rivera-Gómez, C.; Roa-Fernández, J. Courtyard microclimate ENVI-met outputs deviation from the experimental data. Build. Environ. 2018, 144, 129–141. [Google Scholar] [CrossRef]
  13. Al-Masri, N.; Abu-Hijleh, B. Courtyard housing in midrise buildings: An environmental assessment in hot-arid climate. Renew. Sustain. Energy Rev. 2012, 16, 1892–1898. [Google Scholar] [CrossRef]
  14. Taleghani, M. Outdoor thermal comfort by different heat mitigation strategies—A review. Renew. Sustain. Energy Rev. 2018, 81, 2011–2018. [Google Scholar] [CrossRef]
  15. Zamani, Z.; Heidari, S.; Hanachi, P. Reviewing the thermal and microclimatic function of courtyards. Renew. Sustain. Energy Rev. 2018, 93, 580–595. [Google Scholar] [CrossRef]
  16. Xu, X.; Luo, F.; Wang, W.; Hong, T.; Fu, X. Performance-Based Evaluation of Courtyard Design in China’s Cold-Winter Hot-Summer Climate Regions. Sustainability 2018, 10, 3950. [Google Scholar] [CrossRef] [Green Version]
  17. Rojas-Fernández, J.; Galán-Marín, C.; Rivera-Gómez, C.; Fernández-Nieto, E.D. Exploring the Interplay between CAD and FreeFem++ as an Energy Decision-Making Tool for Architectural Design. Energies 2018, 11, 2665. [Google Scholar] [CrossRef] [Green Version]
  18. Taleghani, M.; Tenpierik, M.; Dobbelsteen, A.V.D.; Sailor, D.J. Heat mitigation strategies in winter and summer: Field measurements in temperate climates. Build. Environ. 2014, 81, 309–319. [Google Scholar] [CrossRef]
  19. Shahidan, M.F.; Jones, P.J.; Gwilliam, J.; Salleh, E. An evaluation of outdoor and building environment cooling achieved through combination modification of trees with ground materials. Build. Environ. 2012, 58, 245–257. [Google Scholar] [CrossRef]
  20. Muhaisen, A.S. Shading simulation of the courtyard form in different climatic regions. Build. Environ. 2006, 41, 1731–1741. [Google Scholar] [CrossRef]
  21. Taleghani, M.; Kleerekoper, L.; Tenpierik, M.; Dobbelsteen, A.V.D. Outdoor thermal comfort within five different urban forms in the Netherlands. Build. Environ. 2015, 83, 65–78. [Google Scholar] [CrossRef]
  22. Choi, J.-H. Investigation of the correlation of building energy use intensity estimated by six building performance simulation tools. Energy Build. 2017, 147, 14–26. [Google Scholar] [CrossRef]
  23. Rivera-Gómez, C.; Diz-Mellado, E.; Galán-Marín, C.; López-Cabeza, V. Tempering potential-based evaluation of the courtyard microclimate as a combined function of aspect ratio and outdoor temperature. Sustain. Cities Soc. 2019, 51. [Google Scholar] [CrossRef]
  24. Huang, L.; Hamza, N.; Lan, B.; Zahi, D. Climate-responsive design of traditional dwellings in the cold-arid regions of Tibet and a field investigation of indoor environments in winter. Energy Build. 2016, 128, 697–712. [Google Scholar] [CrossRef]
  25. Ghaffarianhoseini, A.; Berardi, U.; Ghaffarianhoseini, A. Thermal performance characteristics of unshaded courtyards in hot and humid climates. Build. Environ. 2015, 87, 154–168. [Google Scholar] [CrossRef]
  26. Soflaei, F.; Shokouhian, M.; Abraveshdar, H.; Alipour, A. The impact of courtyard design variants on shading performance in hot-arid climates of Iran. Energy Build. 2017, 143, 71–83. [Google Scholar] [CrossRef]
  27. Rodríguez-Algeciras, J.; Tablada, A.; Chaos-Yeras, M.; De la Paz, G.; Matzarakis, A. Influence of aspect ratio and orientation on large courtyard thermal conditions in the historical centre of Camagüey-Cuba. Renew. Energy 2018, 125, 840–856. [Google Scholar] [CrossRef]
  28. Nasrollahi, N.; Hatami, M.; Khastar, S.R.; Taleghani, M. Numerical evaluation of thermal comfort in traditional courtyards to develop new microclimate design in a hot and dry climate. Sustain. Cities Soc. 2017, 35, 449–467. [Google Scholar] [CrossRef]
  29. Guedouh, M.S.; Zemmouri, N. Courtyard Building’s Morphology Impact on Thermal and Luminous Environments in Hot and Arid Region. Energy Procedia 2017, 119, 153–162. [Google Scholar] [CrossRef]
  30. Rojas-Fernández, J.; Galán-Marín, C.; Roa-Fernández, J.; Rivera-Gómez, C. Correlations between GIS-Based Urban Building Densification Analysis and Climate Guidelines for Mediterranean Courtyards. Sustainability 2017, 9, 2255. [Google Scholar] [CrossRef] [Green Version]
  31. Mauree, D.; Naboni, E.; Coccolo, S.; Perera, A.; Nik, V.M.; Scartezzini, J.-L. A review of assessment methods for the urban environment and its energy sustainability to guarantee climate adaptation of future cities. Renew. Sustain. Energy Rev. 2019, 112, 733–746. [Google Scholar] [CrossRef]
  32. ENVI-Met—Decode Urban Nature with ENVI-Met Software. Available online: http://www.envi-met.com (accessed on 10 March 2011).
  33. Bueno, B.; Norford, L.; Hidalgo, J.; Pigeon, G. The urban weather generator. J. Build. Perform. Simul. 2013, 6, 269–281. [Google Scholar] [CrossRef]
  34. Lindberg, F.; Holmer, B.; Thorsson, S. SOLWEIG 1.0—Modelling spatial variations of 3D radiant fluxes and mean radiant temperature in complex urban settings. Int. J. Biometeorol. 2008, 52, 697–713. [Google Scholar] [CrossRef]
  35. Kastner, P.; Dogan, T. A cylindrical meshing methodology for annual urban computational fluid dynamics simulations. J. Build. Perform. Simul. 2019, 13, 59–68. [Google Scholar] [CrossRef]
  36. López-Cabeza, V.; Carmona-Molero, F.; Rubino, S.; Rivera-Gómez, C.; Fernández-Nieto, E.; Galán-Marín, C.; Chacón-Rebollo, T. Modelling of surface and inner wall temperatures in the analysis of courtyard thermal performances in Mediterranean climates. J. Build. Perform. Simul. 2021, 14, 181–202. [Google Scholar] [CrossRef]
  37. Kondarasaiah, M.H.; Ananda, S. Kinetic and Mechanistic Study of Ru(III)-Nicotinic Acid Complex Formation by Oxidation of Bromamine-T in Acid Solution. Oxid. Commun. 2004, 27, 140–147. [Google Scholar]
  38. Grant, P. Assessment and Selection. The Business of Giving. 2014. Available online: https://www.amazon.co.uk/Business-Giving-Philanthropy-Grantmaking-Investment-ebook/dp/B009AQUSHU (accessed on 10 March 2021).
  39. Sun, H.; Burton, H.V.; Huang, H. Machine learning applications for building structural design and performance assessment: State-of-the-art review. J. Build. Eng. 2021, 33, 101816. [Google Scholar] [CrossRef]
  40. Shawe-Taylor, J.; Cristianini, N. Kernel Methods for Pattern Analysis; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  41. Fletcher, R. Practical Methods of Optimization; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar] [CrossRef]
  42. Moguerza, J.M.; Muñoz, A. Support Vector Machines with Applications. Stat. Sci. 2006, 21, 322–336. [Google Scholar] [CrossRef] [Green Version]
  43. Chen, H.-F. In SilicoLogPPrediction for a Large Data Set with Support Vector Machines, Radial Basis Neural Networks and Multiple Linear Regression. Chem. Biol. Drug Des. 2009, 74, 142–147. [Google Scholar] [CrossRef]
  44. Vapnik, V.; Golowich, S.E.; Smola, A. Support vector method for function approximation, regression estimation, and signal processing. Adv. Neural Inf. Process. Syst. 1997, 281–287. [Google Scholar]
  45. Baumann, S.; Groß, S.; Voigt, L.; Ullrich, A.; Weymar, F.; Schwaneberg, T.; Dörr, M.; Meyer, C.; John, U.; Ulbricht, S. Pitfalls in accelerometer-based measurement of physical activity: The presence of reactivity in an adult population. Scand. J. Med. Sci. Sports 2017, 28, 1056–1063. [Google Scholar] [CrossRef]
  46. Platt, J.C. Fast training of support vector machines using sequential minimal optimization. Adv. Kernel Methods 1999, 185–208. [Google Scholar]
  47. Documento, B.E. Introducción I Objeto. 2017. Available online: https://www.codigotecnico.org/images/stories/pdf/ahorroEnergia/DBHE.pdf (accessed on 10 March 2021).
  48. Diz-Mellado, E.; López-Cabeza, V.P.; Rivera-Gómez, C.; Roa-Fernández, J.; Galán-Marín, C. Improving School Transition Spaces Microclimate to Make Them Liveable in Warm Climates. Appl. Sci. 2020, 10, 7648. [Google Scholar] [CrossRef]
  49. Diz-Mellado, E.M.; Galán-Marín, C.; Rivera-Gómez, C.; López-Cabeza, V.P. Facing climate change overheating in cities through multiple ther-moregulatory courtyard potential case studies appraisal. In REHABEND; University of Cantabria, Santander (Spain)—Building Technology R&D Group: Santander, Spain, 2020; pp. 1645–1652. [Google Scholar]
  50. Callejas, I.A.; Durante, L.C.; Diz-Mellado, E.; Galán-Marín, C. Thermal Sensation in Courtyards: Potentialities as a Passive Strategy in Tropical Climates. Sustainability 2020, 12, 6135. [Google Scholar] [CrossRef]
  51. National Weather Service. Available online: https://www.weather.gov/source/zhu/ZHU_Training_Page/definitions/dry_wet_bulb_definition/dry_wet_bulb.htm (accessed on 6 May 2021).
  52. Hornik, K.; Weingessel, A.; Leisch, F. Davidmeyerr-Projectorg, M.D.M. Package ‘E1071’. 2020. Available online: https://cran.r-project.org/web/packages/e1071/e1071.pdf (accessed on 6 May 2021).
  53. Luenberger, G.; Mateos, M.L. Programación Lineal y no Lineal. Number 90C05 LUEp; Addison-Wesley Iberoamericana: Madrid, Spain, 1989. [Google Scholar]
  54. Revista espasa.planetasaber. Condiciones Atmosféricas De Un Lugar Clima. Available online: http://espasa.planetasaber.com/theworld/gats/article/default.asp?pk=793&art=59 (accessed on 6 May 2021).
Figure 1. Location of the measurement instruments: (a) Weather station PCE-FWS 20; (b,c) sensors TESTO 174.
Figure 1. Location of the measurement instruments: (a) Weather station PCE-FWS 20; (b,c) sensors TESTO 174.
Mathematics 09 01142 g001
Figure 2. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR1 courtyard.
Figure 2. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR1 courtyard.
Mathematics 09 01142 g002
Figure 3. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR2 courtyard.
Figure 3. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR2 courtyard.
Mathematics 09 01142 g003
Figure 4. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR3 courtyard.
Figure 4. Example 3.0.1. Predicted temperature versus monitored and outdoor temperatures inside a TR3 courtyard.
Mathematics 09 01142 g004
Figure 5. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside an ARI.1 courtyard.
Figure 5. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside an ARI.1 courtyard.
Mathematics 09 01142 g005
Figure 6. Example 3.0.2 Predicted temperature versus monitored and outdoor temperatures inside an ARI.2 courtyard.
Figure 6. Example 3.0.2 Predicted temperature versus monitored and outdoor temperatures inside an ARI.2 courtyard.
Mathematics 09 01142 g006
Figure 7. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside a ARII.1 courtyard.
Figure 7. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside a ARII.1 courtyard.
Mathematics 09 01142 g007
Figure 8. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside an ARII.2 courtyard.
Figure 8. Example 3.0.2. Predicted temperature versus monitored and outdoor temperatures inside an ARII.2 courtyard.
Mathematics 09 01142 g008
Figure 9. Relative errors CS1 and CS17 according to: (a) TG (b) CT.
Figure 9. Relative errors CS1 and CS17 according to: (a) TG (b) CT.
Mathematics 09 01142 g009
Table 1. Location of monitored courtyards in this work.
Table 1. Location of monitored courtyards in this work.
CourtyardTRLocationLongitudeLatitudeMASLClimate ZoneFloor Area
(m2)
Dimensions
(m)
Height
(m)
AR IAR II
CS1TR1M38.90°6.35°229C434.15.26.55.91.140.91
CS2TR1M38.92°6.93°229C425.24.16.16.31.541.04
CS3TR1M38.91°6.34°229C434.75.26.76.31.210.95
CS4TR1M38.92°6.35°229C436.53.211.510.83.410.94
CS5TR2S37.39°5.96°16B435.96.95.250.720.96
CS6TR2C37.88°4.78°106B414.64.33.46.31.471.85
CS7TR2S37.40°6.00°16B4101.2119.2121.11.3
CS8TR2S37.39°5.96°16B435.96.95.250.720.96
CS9TR2S37.36°5.99°16B448.27.36.6141.922.12
CS10TR2S37.40°6.00°16B422.45.648.51.52.12
CS11TR2S37.39°5.96°16B435.96.95.250.720.96
CS12TR2S37.36°5.99°16B448.27.36.6141.922.12
CS13TR2S37.28°5.92°16B475.9116.98.90.811.29
CS14TR2237.39°5.96°16B435.96.95.250.720.96
CS15TR2-3S37.28°5.93°16B49913.27.510.70.811.43
CS16TR3C37.88°4.78°106B465.58.47.86.80.810.87
CS17TR3C37.88°4.77°106B414.64.33.46.31.471.85
CS18TR3S37.36°5.99°16B448.27.36.6141.922.12
CS19TR3C37.88°4.78°106B465.58.47.86.80.810.87
CS20TR3S37.35°5.99°16B448.27.36.6141.922.12
CS21TR3C37.88°4.77°106B414.64.33.46.31.471.85
CS22TR3C37.89°4.78°106B465.58.47.86.80.810.87
Table 2. Technical data of the measurement equipment.
Table 2. Technical data of the measurement equipment.
SensorSituationVariableResolutionRangeAccuracy
PCE-FWS 20OutdoorWind-0–180 km/h±1 m/s
Dry bulb Temp0.1 °C−40 to +65 °C±1 °C
RH1%12–99%±5%
TESTO 174H/TCourtyardDry bulb Temp0.1 °C−20 to +70 °C±0.5 °C
RH2%0–100%±0.1%
Table 3. Classification of courtyards within temperature range classes.
Table 3. Classification of courtyards within temperature range classes.
Thermal RangeCourtyards
TR1CS1, CS2, CS3, CS4
TR2CS5, CS6, CS7, CS8, CS9, CS10, CS11, CS12, CS13, CS14
TR3CS16, CS17, CS18, CS19, CS20, CS21, CS22
Table 4. Classification of courtyards within ARI range class.
Table 4. Classification of courtyards within ARI range class.
ARI Range ClassCourtyards
ARI.1CS5, CS8, CS11, CS13, CS14, CS15, CS16, CS19, CS22
ARI.2CS1, CS2, CS3, CS6, CS7, CS9, CS10, CS12, CS17, CS18, CS20, CS21
Table 5. Classification of courtyards within ARII range class.
Table 5. Classification of courtyards within ARII range class.
ARII Range ClassCourtyards
ARII.1CS1, CS3, CS4, CS5, CS8, CS11, CS14, CS16, CS19, CS22
ARII.2CS2, CS6, CS7, CS9, CS10, CS12, CS13, CS15, CS17, CS18, CS20, CS21
Table 6. Example 3.0.1. Relative and absolute errors for the courtyard measured temperature in each selected courtyard of each TR.
Table 6. Example 3.0.1. Relative and absolute errors for the courtyard measured temperature in each selected courtyard of each TR.
Thermal Range L 1 (%) L 2 (%) Absolute Error  tol (%)
TR1 5.09 6.10 91.67
TR2 4.93 6.62 84.28
TR3 3.50 4.31 89.88
Table 7. Example 3.0.1. Statistical parameters for the courtyard measured temperature in each selected courtyard of each TR.
Table 7. Example 3.0.1. Statistical parameters for the courtyard measured temperature in each selected courtyard of each TR.
Thermal Range R RMSE (°C)MAPE (%)
TR1 0.96 1.24 5.17
TR2 0.88 1.62 4.82
TR3 0.89 1.21 3.52
Table 8. Example 3.0.1. Statistical parameters for the courtyard measured temperature in each selected courtyard of each temperature range class.
Table 8. Example 3.0.1. Statistical parameters for the courtyard measured temperature in each selected courtyard of each temperature range class.
ARI Range Class L 1 (%) L 2 (%) Absolute Error  tol (%)
ARI.1 5.79 7.05 61.45
ARI.2 5.09 6.10 91.67
Table 9. Example 3.0.2. Statistical parameters for the courtyard measured temperature in each selected courtyard of each ARI range class.
Table 9. Example 3.0.2. Statistical parameters for the courtyard measured temperature in each selected courtyard of each ARI range class.
ARI Range Class R RMSE (°C)MAPE (%)
ARI.1 0.92 2.30 5.99
ARI.2 0.96 1.24 5.17
Table 10. Example 3.0.2. Relative and absolute errors for the courtyard measured temperature in each selected courtyard of each ARII range class.
Table 10. Example 3.0.2. Relative and absolute errors for the courtyard measured temperature in each selected courtyard of each ARII range class.
ARII Range Class L 1 (%) L 2 (%) Absolute Error  tol (%)
ARII.1 10.10 12.69 58.33
ARII.2 4.80 5.87 80.72
Table 11. Example 3.0.2. Statistical parameters for the courtyard measured temperature in each selected courtyard of each ARII range class.
Table 11. Example 3.0.2. Statistical parameters for the courtyard measured temperature in each selected courtyard of each ARII range class.
ARII Range Class R RMSE (°C)MAPE (%)
ARII.1 0.64 2.65 9.78
ARII.2 0.79 1.46 4.86
Table 12. Relative error CS1.
Table 12. Relative error CS1.
Errors + Stat. Param.\Day1234567
L 1 % 5.705.554.775.674.573.625.55
L 2 % 6.796.955.626.405.304.426.52
Absolute error t o l % 95.8383.3387.5091.6795.8310087.50
R 0.920.950.980.970.910.970.96
R M S E ( C ) 1.301.411.251.441.030.801.32
M A P E % 5.825.844.915.904.543.575.60
Table 13. Relative Error CS17.
Table 13. Relative Error CS17.
Errors + Stat. Param.\Day1234567
L 1 % 2.162.682.715.102.403.235.95
L 2 % 3.263.143.035.482.653.927.02
Absolute error t o l % 95.8395.8310083.3310095.8358.33
R 0.910.960.960.920.970.910.89
R M S E ( C ) 0.900.870.851.540.761.121.93
M A P E % 2.422.652.745.182.423.305.91
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Diz-Mellado, E.; Rubino, S.; Fernández-García, S.; Gómez-Mármol, M.; Rivera-Gómez, C.; Galán-Marín, C. Applied Machine Learning Algorithms for Courtyards Thermal Patterns Accurate Prediction. Mathematics 2021, 9, 1142. https://doi.org/10.3390/math9101142

AMA Style

Diz-Mellado E, Rubino S, Fernández-García S, Gómez-Mármol M, Rivera-Gómez C, Galán-Marín C. Applied Machine Learning Algorithms for Courtyards Thermal Patterns Accurate Prediction. Mathematics. 2021; 9(10):1142. https://doi.org/10.3390/math9101142

Chicago/Turabian Style

Diz-Mellado, Eduardo, Samuele Rubino, Soledad Fernández-García, Macarena Gómez-Mármol, Carlos Rivera-Gómez, and Carmen Galán-Marín. 2021. "Applied Machine Learning Algorithms for Courtyards Thermal Patterns Accurate Prediction" Mathematics 9, no. 10: 1142. https://doi.org/10.3390/math9101142

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop