## 1 Introduction
TMYs have been used in the simulation and estimation of energy produced for different renewable energy technologies and energy efficiencies, such as SAM ([[https://sam.nrel.gov/](https://sam.nrel.gov/)]([https://sam.nrel.gov/](https://sam.nrel.gov/))) (accessed on 6 September 2022), PVsyst ([[https://www.pvsyst.com/](https://www.pvsyst.com/)]([https://www.pvsyst.com/](https://www.pvsyst.com/))) (accessed on 6 September 2022), ESP-r ([[https://www.strath.ac.uk/research/energysystemsresearchunit/applications/esp-r/](https://www.strath.ac.uk/research/energysystemsresearchunit/applications/esp-r/)]([https://www.strath.ac.uk/research/energysystemsresearchunit/applications/esp-r/](https://www.strath.ac.uk/research/energysystemsresearchunit/applications/esp-r/))) (accessed on 6 September 2022), DOE-2 ([[https://www.doe2.com/](https://www.doe2.com/)]([https://www.doe2.com/](https://www.doe2.com/))) (accessed on 6 September 2022), TRNSYS ([[http://www.trnsys.com/](http://www.trnsys.com/)]([http://www.trnsys.com/](http://www.trnsys.com/))) (accessed on 6 September 2022), EnergyPlus ([[https://energyplus.net/](https://energyplus.net/)]([https://energyplus.net/](https://energyplus.net/))) (accessed on 6 September 2022), and others. As has been said before, variability due to changes in climatology has a great impact on crop productivity. In this way, agricultural production models would require a long-term description of the climatology of the location to obtain estimates of the crop yield. In this context, TMY has been used in studies on greenhouse designs [11; 12; 13], as well as for the development of an optimal irrigation scheme for different crops under external conditions [1; 9; 14]. Furthermore, it could be used in the hypothetical simulation of hybrid energy systems based on the use of semitransparent photovoltaic energy in microalgae production greenhouses [15] or to study the appropriate material for the greenhouse to reduce its energy consumption as much as possible [16]. As far as has been possible to review, the Typical Meteorological Sequence (TMS) concept has not been applied to study the behavior of a WWT in a HRAP, considering a representative typical meteorological series corresponding to the hydraulic retention time necessary for WWT. A TMS made up of seven consecutive days, then called a Typical Meteorological Week (TMW), could be analyzed as a period comparable to the water retention time to be treated in the HRAP (our case study), although the typical period can vary, depending on its application. Therefore, it may be useful in the long term to know in which seasons of the year the system can be in operation and when it can be stopped, depending on the climate of the location. It may also be useful in the identification of optimal sites for the implementation of this system, since it is expected that the process should not be stopped due to excess or a lack of solar irradiance or temperature. The main objective of this paper is the development of a methodology to generate a Typical Meteorological Sequence, a week for our case study, representative of each meteorological season. For this, the work is divided into the following sections: (1) description of the Sandia methodology, (2) case study, with an indication of the locations where the TMW are generated in the Madrid region, (3) application of the TMW methodology for each season of the year, and finally, the (4) results and discussion.