Impact of Derived Features from the Controlled Environment Agriculture Scenarios on Energy Consumption Prediction Model
Abstract
:1. Introduction
2. Methodology
2.1. CEA Scenario Particularity Analysis
2.2. The Basic Situation of the Research Objects
2.3. Algorithms, Data, and Hardware
2.4. The Experimental Treatment and Its Principle
2.4.1. Time Series Features
2.4.2. Logic Features
2.4.3. One-Hot Encoding Feature
2.4.4. Equal-Frequency and K-Means Cluster Binning
2.4.5. Polynomial Product
2.4.6. Cross-Combination
2.5. Evaluation
- is the actual value of the test set;
- is the predicted value;
- is the average of the whole dataset.
3. Results and Discussion
3.1. Performance of Eight Algorithms in the Training Model
3.2. Important Features in the Model
3.3. Performance of Time Series and Logical Features
3.4. Automatic Feature Construction Effect
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Li, M.; Zhang, X.; Zhao, G.; Ma, J.; Meng, H.; Xu, S.; Yan, X.; Wang, L.; Huang, W. Study on rural electrification policies and demonstration projects in China. In IOP Conference Series: Earth and Environmental Science; IOP Publishing: Bristol, UK, 2021; Volume 675, p. 012117. [Google Scholar]
- Crawley, D.B.; Lawrie, L.K.; Winkelmann, F.C.; Buhl, W.; Huang, Y.; Pedersen, C.O.; Strand, R.K.; Liesen, R.J.; Fisher, D.E.; Witte, M.J.; et al. EnergyPlus: Creating a new-generation building energy simulation program. Energy Build. 2001, 33, 319–331. [Google Scholar] [CrossRef]
- McPherson-Hathaway, B. Comparing BEopt (EnergyPlus) Energy Predictions to Measured Circuit Level Energy Consumption of 12 Similar Small Energy-Efficient Single-Family Residences. Master’s Thesis, University of Kentucky, Lexington, KY, USA, 2021. [Google Scholar]
- Björsell, N.; Bring, A.; Eriksson, L.; Grozman, P.; Lindgren, M.; Sahlin, P.; Shapovalov, A.; Bris Data; Vuolle, M. IDA indoor climate and energy. In Proceedings of the 6-th IBPSA Conference, Kyoto, Japan, 13–15 September 1999; pp. 1035–1042. [Google Scholar]
- Sayadi, S.; Hayati, A.; Salmanzadeh, M. Optimization of Window-to-Wall Ratio for Buildings Located in Different Climates: An IDA-Indoor Climate and Energy Simulation Study. Energies 2021, 14, 1974. [Google Scholar] [CrossRef]
- Ahmed, K.; Kurnitski, J.; Sormunen, P. Demand controlled ventilation indoor climate and energy performance in a high performance building with air flow rate controlled chilled beams. Energy Build. 2015, 109, 115–126. [Google Scholar] [CrossRef]
- Adesanya, M.A.; Na, W.-H.; Rabiu, A.; Ogunlowo, Q.O.; Akpenpuun, T.D.; Rasheed, A.; Yoon, Y.-C.; Lee, H.-W. TRNSYS Simulation and Experimental Validation of Internal Temperature and Heating Demand in a Glass Greenhouse. Sustainability 2022, 14, 8283. [Google Scholar] [CrossRef]
- Yamamoto, T.; Ozaki, A.; Lee, M.; Kusumoto, H. Fundamental study of coupling methods between energy simulation and CFD. Energy Build. 2018, 159, 587–599. [Google Scholar] [CrossRef]
- Yi, Y.K.; Feng, N. Dynamic integration between building energy simulation (BES) and computational fluid dynamics (CFD) simulation for building exterior surface. Build. Simul. 2013, 6, 297–308. [Google Scholar] [CrossRef]
- Aghamolaei, R.; Fallahpour, M.; Mirzaei, P.A. Tempo-spatial thermal comfort analysis of urban heat island with coupling of CFD and building energy simulation. Energy Build. 2021, 251, 111317. [Google Scholar] [CrossRef]
- Zhao, H.-X.; Magoulès, F. A review on the prediction of building energy consumption. Renew. Sustain. Energy Rev. 2012, 16, 3586–3592. [Google Scholar] [CrossRef]
- Amasyali, K.; El-Gohary, N.M. A review of data-driven building energy consumption prediction studies. Renew. Sustain. Energy Rev. 2018, 81, 1192–1205. [Google Scholar] [CrossRef]
- Wang, J.Q.; Du, Y.; Wang, J. LSTM based long-term energy consumption prediction with periodicity. Energy 2020, 197, 117197. [Google Scholar] [CrossRef]
- Wang, S.; Wang, S.; Chen, H.; Gu, Q. Multi-energy load forecasting for regional integrated energy systems considering temporal dynamic and coupling characteristics. Energy 2020, 195, 116964. [Google Scholar] [CrossRef]
- Kim, T.-Y.; Cho, S.-B. Predicting residential energy consumption using CNN-LSTM neural networks. Energy 2019, 182, 72–81. [Google Scholar] [CrossRef]
- Zekić-Sušac, M.; Has, A.; Knežević, M. Predicting energy cost of public buildings by artificial neural networks, CART, and random forest. Neurocomputing 2021, 439, 223–233. [Google Scholar] [CrossRef]
- Liu, Z.; Wu, D.; Liu, Y.; Han, Z.; Lun, L.; Gao, J.; Jin, G.; Cao, G. Accuracy analyses and model comparison of machine learning adopted in building energy consumption prediction. Energy Explor. Exploit. 2019, 37, 1426–1451. [Google Scholar] [CrossRef] [Green Version]
- Olu-Ajayi, R.; Alaka, H.; Sulaimon, I.; Sunmola, F.; Ajayi, S. Building energy consumption prediction for residential buildings using deep learning and other machine learning techniques. J. Build. Eng. 2022, 45, 103406. [Google Scholar] [CrossRef]
- Chen, J.; Yang, J.; Zhao, J.; Xu, F.; Shen, Z.; Zhang, L. Energy demand forecasting of the greenhouses using nonlinear models based on model optimized prediction method. Neurocomputing 2016, 174, 1087–1100. [Google Scholar] [CrossRef]
- Ahamed, S.; Guo, H.; Tanino, K. Development of a thermal model for simulation of supplemental heating requirements in Chinese-style solar greenhouses. Comput. Electron. Agric. 2018, 150, 235–244. [Google Scholar] [CrossRef]
- Ouammi, A. Model predictive control for optimal energy management of connected cluster of microgrids with net zero energy multi-greenhouses. Energy 2021, 234, 121274. [Google Scholar] [CrossRef]
- Hu, G.; You, F. Renewable energy-powered semi-closed greenhouse for sustainable crop production using model predictive control and machine learning for energy management. Renew. Sustain. Energy Rev. 2022, 168, 112790. [Google Scholar] [CrossRef]
- Jamil, F.; Ibrahim, M.; Ullah, I.; Kim, S.; Kahng, H.K.; Kim, D.-H. Optimal smart contract for autonomous greenhouse environment based on IoT blockchain network in agriculture. Comput. Electron. Agric. 2022, 192, 106573. [Google Scholar] [CrossRef]
- Yang, S.; Gao, H.O.; You, F. Model predictive control for Demand- and Market-Responsive building energy management by leveraging active latent heat storage. Appl. Energy 2022, 327, 120054. [Google Scholar] [CrossRef]
- Zhang, K.; Yu, J.; Ren, Y. Demand side management of energy consumption in a photovoltaic integrated greenhouse. Int. J. Electr. Power Energy Syst. 2022, 134, 107433. [Google Scholar] [CrossRef]
- Trejo-Perea, M.; Herrera-Ruiz, G.; Rios-Moreno, J.; Miranda, R.C.; Rivasaraiza, E. Greenhouse energy consumption prediction using neural networks models. Int. J. Agric. Biol. 2009, 1, 2. [Google Scholar]
- Vogler–Finck, P.; Bacher, P.; Madsen, H. Online short-term forecast of greenhouse heat load using a weather forecast service. Appl. Energy 2017, 205, 1298–1310. [Google Scholar] [CrossRef] [Green Version]
- Mahmood, F.; Govindan, R.; Bermak, A.; Yang, D.; Khadra, C.; Al-Ansari, T. Energy utilization assessment of a semi-closed greenhouse using data-driven model predictive control. J. Clean. Prod. 2021, 324, 129172. [Google Scholar] [CrossRef]
- Liang, Y.; Niu, D.; Hong, W.-C. Short term load forecasting based on feature extraction and improved general regression neural network model. Energy 2019, 166, 653–663. [Google Scholar] [CrossRef]
- Fan, C.; Sun, Y.; Zhao, Y.; Song, M.; Wang, J. Deep learning-based feature engineering methods for improved building energy prediction. Appl. Energy 2019, 240, 35–45. [Google Scholar] [CrossRef]
- Baille, A. Greenhouse structure and equipment for improving crop production in mild winter climates. In International Symposium Greenhouse Management for Better Yield & Quality in Mild Winter Climates; ISHS: Leuven, Belgium, 1997; Volume 491, pp. 37–48. [Google Scholar]
- Zhong, C. Influence of Lunar Activities on the Twenty-four Solar Terms. J. Earth Sci. Eng. 2021, 9, 29–33. [Google Scholar] [CrossRef]
- Xie, J.; Hong, T. Load forecasting using 24 solar terms. J. Mod. Power Syst. Clean Energy 2018, 6, 208–214. [Google Scholar] [CrossRef] [Green Version]
- Wangsheng, X.; Lingwei, W.; Qingtong, X. The Origin and Significance of the Twenty-Four Solar Terms in China. Contemp. Soc. Sci. 2017, 6, 4. [Google Scholar]
- Beetstra, M.; Wilson, R.; Toman, E. The influence of the seasons: How the agricultural calendar impacts farmer perceptions of cover crops. Renew. Agric. Food Syst. 2022, 37, 187–197. [Google Scholar] [CrossRef]
- Seger, C. An Investigation of Categorical Variable Encoding Techniques in Machine Learning: Binary versus One-Hot and Feature Hashing; Stockholm, Sweden. 2018. Available online: https://www.diva-portal.org/smash/get/diva2:1259073/FULLTEXT01.pdf (accessed on 11 January 2023).
- Kim, K.H.; Chang, B.; Choi, H.K. Deep learning based short-term electric load forecasting models using one-hot encoding. J. IKEEE 2019, 23, 852–857. [Google Scholar]
- Zheng, A.; Casari, A. Feature Engineering for Machine Learning: Principles and Techniques for Data Scientists; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2018. [Google Scholar]
- Zhang, J.; Wang, S.-X. Simulation of the Canopy Photosynthesis Model of Greenhouse Tomato. Procedia Eng. 2011, 16, 632–639. [Google Scholar] [CrossRef]
- Zhou, J.; Wang, J.; Hang, T.; Li, P. Photosynthetic characteristics and growth performance of lettuce (Lactuca sativa L.) under different light/dark cycles in mini plant factories. Photosynthetica 2020, 58, 740–747. [Google Scholar] [CrossRef]
Flowers Greenhouse | Cherry Tomatoes Greenhouse | Lettuce Greenhouse | |
---|---|---|---|
Area (m2) | 4180 | 12,744 | 12,744 |
Gutter height (m) | 5 | 6.5 | 6.5 |
Ridge height (m) | 7.2 | 7.5 | 7.5 |
Covering material | Double-layer inflatable PO plastic film | Float glass | Float glass |
Cultivation mode | Seedbed cultivation | Deep Flow Technique | Substrate culture |
Algorithms | Hyperparameter Adjustment |
---|---|
ANN | 3 hidden layers; number of hidden layer neurons (30 neurons); learning rate (0.001, 0.01, 0.1, 1) |
CART | Max depth (from 1 to 25); min samples split (from 2 to 11) |
GBDT | Estimators (from 50 to 150) |
SVM | Penalty coefficient (0.1, 1, 10, 100, 1000) |
LNR | - |
LOR | Penalty coefficient (0.1, 1, 10, 100, 1000); solver (liblinear, lbfgs, newton-cg, sag); Regularization (l1, l2) |
KNN | Neighbors (from 2 to 21) |
RF | Max depth (from 1 to 25); estimators 150 |
Features and Treatment | Processing Settings | Code |
---|---|---|
basic features | Indoor and outdoor temperature, indoor humidity, indoor carbon dioxide concentration, outdoor light intensity, wind speed, wind direction | TS0 |
time series features | In the experiment, the basic feature was used as a blank control, and 9 different time series features were added to the basic feature. | TS1-9 |
logic features | Taking the basic feature as a blank control, 8 different business-logic-derived features are added to the basic feature, respectively. | LG1-8 |
one-hot encoding treatment | One-hot encoding is performed on the wind direction, the 24 solar terms, the lunar calendar, the 24 solar terms considering the influence of the moon and the earth, the week, the month, and the hour, and the corresponding results without this processing are selected as the control. | OHE1-7 |
equal frequency binning treatment | For outdoor temperature, indoor temperature, indoor humidity, indoor carbon dioxide concentration, outdoor light intensity, wind speed, outdoor temperature change rate, indoor temperature change rate, indoor and outdoor temperature difference, indoor humidity change rate, indoor temperature and humidity product, indoor carbon dioxide concentration change rate, and the outdoor illumination change rate were divided into 4, 5, and 6 boxes by equal frequency binning treatment, and the corresponding results without this treatment were selected as the control. | 4EFD1-13 5EFD1-13 6EFD1-13 |
K-means cluster binning treatment | The same as equal frequency binning treatment but it uses K-means cluster binning | 4KMD1 5KMD2 6KMD3 |
polynomial encoding treatment | A total of 24 features, including basic features, time series features, and business-logic-derived features, are subjected to dual-feature polynomial coupling and change rate processing, and 576 groups of processing groups are obtained for comparison with the above-mentioned 24 untreated groups. | MPN1-576 |
cross-combination treatment | The cross-combination feature construction feature selects two different time series, that is, the daily cycle and the annual cycle, for cross-combination, and 18 groups of treatment groups are obtained as a comparison with the corresponding results without this treatment. | BCC1-18 |
Features Code | Features | Control Group |
---|---|---|
TS0 | base | - |
TS1 | base\24-Solar-terms | TS0 |
TS2 | base\lunar calendar | TS0 |
TS3 | base\moon-24-Solar-terms | TS0 |
TS4 | base\fallow day | TS0 |
TS5 | base\week | TS0 |
TS6 | base\month | TS0 |
TS7 | base\day and night | TS0 |
TS8 | base\photosynthetic state | TS0 |
TS9 | base\hour | TS0 |
Feature Code | Features | Control Group |
---|---|---|
LG1 | base\OT change rate | TS0 |
LG2 | base\IT change rate | TS0 |
LG3 | base\OT-IT | TS0 |
LG4 | base\IH change rate | TS0 |
LG5 | base\IT*IH | TS0 |
LG6 | base\CO2 change rate | TS0 |
LG7 | base\OLI change rate | TS0 |
LG8 | base\WD*WS | TS0 |
Feature Code | Features | Control Group |
---|---|---|
OHE1 | base\WD (one-hot) | TS0 |
OHE2 | base\24-Solar-terms\24-Solar-terms (one-hot) | TS1 |
OHE3 | base\lunar calendar\lunar calendar (one-hot) | TS2 |
OHE4 | base\moon-24-Solar-terms\moon-24-Solar-terms (one-hot) | TS3 |
OHE5 | base\week\week (one-hot) | TS4 |
OHE6 | base\month\month (one-hot) | TS5 |
OHE7 | base\hour\hour (one-hot) | TS9 |
Feature Code | Features | Control Group |
---|---|---|
4-6EFD1 | base\OT (EFD) | TS0 |
4-6EFD2 | base\IT (EFD) | TS0 |
4-6EFD3 | base\IH (EFD) | TS0 |
4-6EFD4 | base\CO2 (EFD) | TS0 |
4-6EFD5 | base\OLI (EFD) | TS0 |
4-6EFD6 | base\WS (EFD) | TS0 |
4-6EFD7 | base\OT change rate\OT change rate (EFD) | LG1 |
4-6EFD8 | base\IT change rate\IT change rate (EFD) | LG2 |
4-6EFD9 | base\OT-IT\OT-IT (EFD) | LG3 |
4-6EFD10 | base\IH change rate\IH change rate (EFD) | LG4 |
4-6EFD11 | base\IT*IH\IT*IH (EFD) | LG5 |
4-6EFD12 | base\CO2 change rate\CO2 change rate (EFD) | LG6 |
4-6EFD13 | base\OLI change rate\OLI change rate (EFD) | LG7 |
4-6KMD1 | base\OT (KMD) | TS0 |
4-6KMD2 | base\IT (KMD) | TS0 |
4-6KMD3 | base\IH (KMD) | TS0 |
4-6KMD4 | base\CO2 (KMD) | TS0 |
4-6KMD5 | base\OLI (KMD) | TS0 |
4-6KMD6 | base\WS (KMD) | TS0 |
4-6KMD7 | base\OT change rate\OT change rate (KMD) | LG1 |
4-6KMD8 | base\IT change rate\IT change rate (KMD) | LG2 |
4-6KMD9 | base\OT-IT\OT-IT (KMD) | LG3 |
4-6KMD10 | base\IH change rate\IH change rate (KMD) | LG4 |
4-6KMD11 | base\IT*IH\IT*IH (KMD) | LG5 |
4-6KMD12 | base\CO2 change rate\CO2 change rate (KMD) | LG6 |
4-6KMD13 | base\OLI change rate\OLI change rate (KMD) | LG7 |
Initial Features | Order | Transformation Features |
---|---|---|
2 | ||
3 | ||
4 |
Algorithm | Variance |
---|---|
ANN | 0.006902 |
LNR | 0.058159 |
LOLI | 0.042397 |
CART | 0.009389 |
KNN | 0.005112 |
GBDT | 0.004605 |
RF | 0.002635 |
SVM | 1.814549 |
Electric Load Prediction (Tomato) | Electric Load Prediction (Lettuce) | Heat Load Prediction (Tomato) | Heat Load Prediction (Lettuce) | Heat Load Prediction (Flower) | |
---|---|---|---|---|---|
TS0 | 0.791647 | 0.667267 | 0.90634 | 0.908397 | 0.878356 |
TS1 | 0.808981 | 0.714331 | 0.921685 | 0.92328 | 0.891697 |
TS2 | 0.799595 | 0.698115 | 0.919089 | 0.921532 | 0.886441 |
TS3 | 0.802259 | 0.709967 | 0.927091 | 0.924127 | 0.886599 |
TS4 | 0.786413 | 0.661225 | 0.907121 | 0.910077 | 0.878705 |
TS5 | 0.81279 | 0.733286 | 0.930125 | 0.923851 | 0.888203 |
TS6 | 0.797521 | 0.698015 | 0.923338 | 0.923517 | 0.881523 |
TS7 | 0.785515 | 0.669379 | 0.907642 | 0.909785 | 0.877667 |
TS8 | 0.807516 | 0.694927 | 0.907315 | 0.909097 | 0.880386 |
TS9 | 0.855509 | 0.750499 | 0.910408 | 0.914261 | 0.884554 |
Electric Load Prediction (Tomato) | Electric Load Prediction (Lettuce) | Heat Load Prediction (Tomato) | Heat Load Prediction (Lettuce) | Heat Load Prediction (Flower) | |
---|---|---|---|---|---|
TS0 | 0.791647 | 0.667267 | 0.90634 | 0.908397 | 0.878356 |
LG1 | 0.803024 | 0.682579 | 0.9063 | 0.913625 | 0.87894 |
LG2 | 0.837224 | 0.677027 | 0.911419 | 0.923153 | 0.89338 |
LG3 | 0.789475 | 0.677239 | 0.906165 | 0.910306 | 0.877164 |
LG4 | 0.780316 | 0.668154 | 0.907328 | 0.914761 | 0.887967 |
LG5 | 0.782213 | 0.667545 | 0.908385 | 0.906885 | 0.878493 |
LG6 | 0.817478 | 0.673809 | 0.906936 | 0.908924 | 0.876753 |
LG7 | 0.822927 | 0.688554 | 0.91037 | 0.915501 | 0.881089 |
LG8 | 0.788559 | 0.664845 | 0.905989 | 0.907066 | 0.87949 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Cao, Y.; Chen, Y.; Shi, M.; Li, C.; Wu, W.; Li, Y.; Guo, X.; Sun, X. Impact of Derived Features from the Controlled Environment Agriculture Scenarios on Energy Consumption Prediction Model. Buildings 2023, 13, 250. https://doi.org/10.3390/buildings13010250
Cao Y, Chen Y, Shi M, Li C, Wu W, Li Y, Guo X, Sun X. Impact of Derived Features from the Controlled Environment Agriculture Scenarios on Energy Consumption Prediction Model. Buildings. 2023; 13(1):250. https://doi.org/10.3390/buildings13010250
Chicago/Turabian StyleCao, Yifan, Yangda Chen, Mingwen Shi, Chuanzhen Li, Weijun Wu, Yapeng Li, Xuxin Guo, and Xianpeng Sun. 2023. "Impact of Derived Features from the Controlled Environment Agriculture Scenarios on Energy Consumption Prediction Model" Buildings 13, no. 1: 250. https://doi.org/10.3390/buildings13010250
APA StyleCao, Y., Chen, Y., Shi, M., Li, C., Wu, W., Li, Y., Guo, X., & Sun, X. (2023). Impact of Derived Features from the Controlled Environment Agriculture Scenarios on Energy Consumption Prediction Model. Buildings, 13(1), 250. https://doi.org/10.3390/buildings13010250