Submitted:
05 December 2023
Posted:
06 December 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Experimental Details
2.1. Cooling system in SIT @ NYP
2.2. Brief description of LSTM
2.3. HVAC LSTM load predictor model
2.4. Energy management optimization using Gurobi
- 1)
- Battery SOC within limit at all time
- 2)
- Battery SOC at the start of the day is the same as the end of day to ensure continuous operation of BESS.
- 3)
- Maximum infeed power at PCC is 200kW at any time. And no power flow into the main grid.
- 4)
- Power is balanced at all time
2.5. Digital Twin modelling
- 1)
- Siemens MGC
- 2)
- Engineering PC
- 3)
- Real-time simulator
- 4)
- Toolbox Server
| Unit | Voltage | Rated Power/Capacity |
| PV | 415 V | 300kW |
| BESS | 275V/415 V | 300kW/200kWh |
| 2 x 1:1 transformer | 415V/415V | 400kVA |
3. Results and Discussion
3.1. Cooling prediction
3.1.1. LSTM-1
3.1.2. LSTM-2
3.2. Energy optimization in microgrid.
3.3. Microgrid digital twin result and discussion


4. Conclusion
Funding
References
- F.Mtibaa , K.-K. Nguyen, M.Azam, A. Papachristou et al, “LSTM-based indoor air temperature prediction framework for HVAC systems in smart buildings”. Neural Computing and Applications 32(3). [CrossRef]
- S. F.Ahmed, Md. S. B.Alam, M. Hassan, M. R. Rozbu, T. Ishtiak, N. Rafa, M. Mofijur, A. B. M. Shawkat Ali & Amir H. Gandomi, “Deep learning modelling techniques: current progress, applications, advantages, and challenges”, Artificial Int. Rev. 56, pp13521 – 13617 (2023). [CrossRef]
- H. S. Lim, G. Kim, “Prediction model of Cooling Load considering time-lag for preemptive action in buildings” Energy Build. 151, 53–65 (2017). [CrossRef]
- J. Zhang, Y. Zeng, B. Starly, “Recurrent neural networks with long term temporal dependencies in machine tool wear diagnosis and prognosis” SN Applied Science, 3, 442 (2021). [CrossRef]
- Q. Wang, R-Q. Peng, J.-Q. Wang, Z. Li, H-B. Qu, “NEWLSTM: An Optimized Long Short-Term Memory Language Model for Sequence Prediction”, IEEE , pp65395-65401 (2020). [CrossRef]
- C. Zhou, Z. Fang, X. Xu, X. Zhong. Y. Ding. X. Jiang, Y. Ji “Using long short-term memory networks to predict energy consumption of air-conditioning systems”, Sustainable Cities and Society, v55, p10200 (2020). [CrossRef]
- M Mavsar, M Deniša, B Nemec, A Ude, “Intention Recognition with Recurrent Neural Networks for Dynamic Human-Robot Collaboration”, IEEE Conf.: 2021 20th International Conference on Advanced Robotics (ICAR). [CrossRef]
- R. Chalapathy, N. L. D. Khoa, S. Sethuvenkatraman “Comparing multi-step ahead building cooling load prediction using shallow machine learning and deep learning models” Sust. Energy, Grids and Networks, 28 p100543 (2021). [CrossRef]
- Y. Cui, F. Xiao. W. Wang, X. He, C. Zhang, Y. Zhang et al, “Digital Twin for Power System Steady-state Modelling, Simulation, and Analysis”, 2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2). [CrossRef]
- T. Iqbal, Z. Khitab, F. Girbau, A. Sumper at el, “Energy Management System for Optimal Operatioin of Microgrids Network” 2018 IEEE International Conference on Smart Energy Grid Engineering (SEGE). [CrossRef]
- H. Jiang, Rudy Tjandra, W. J. Lim, S. Cao, C. B. Soh, K. T.Tan, Sivaneasan B.Krishnan, "Unleashing the Potential of Digital Twin Technology in Microgrid – A Case Study of a Tropical Microgrid", 2023 6th International Conference on Electrical Engineering and Green Energy (CEEGE), pp.165-170, 2023. [CrossRef]
- Wei Feng, Chen Xuebing, Cao Shuyu, Soh Chew Beng, Cai Zhiqiang, Tseng King Jet, D. Mahinda Vilathgamuwa, "MPC Based Dynamic Voltage Regulation Using Grid-Side BESPS With the Consideration of Communication Delay", IEEE Transactions on Energy Conversion, vol.38, no.2, pp.838-848, 2023. [CrossRef]
- W. WANG. J. Wang, J. Tian, J. Lu, R. Xiong, “Application of Digital Twin in Smart Battery Management Systems”, Chin. J. Mech. Eng. 2021) 34:57. [CrossRef]
















| No | Feature | LSTM-1 | LSTM-2 | Notes |
|---|---|---|---|---|
| 1 | chiller water supply temperature | Yes | Yes | |
| 2 | chiller water return temperature | Yes | Yes | |
| 3 | chiller water flow | Yes | Yes | |
| 4 | compressor water supply temperature | Yes | Yes | |
| 5 | compressor water return temperature | Yes | Yes | |
| 6 | compressor water flow | Yes | Yes | |
| 7 | calculated load tonnage | Yes | No | |
| 8 | heat out | Yes | No | |
| 9 | total HVAC cooling load | Yes | No | Total HVAC cooling load recorded by BMS |
| 10 | wet bulb temperature | Yes | No | Weather station measurement |
| 11 | ambient temperature | Yes | No | Weather station measurement |
| 12 | Irradiation | Yes | No | Weather station measurement |
| 13 | HVAC on/off | Yes | No | Scheduled HVAC system turn on/off |
| 14 | Day of week | No | Yes | Weekday: 0, Saturday: 0.5, andSunday: 1 |
| 15 | Minute of day | No | Yes | Minutes of the day |
| Architecture | Scaling | Train Data | Test Data | RMSE | MAE | Bias |
|---|---|---|---|---|---|---|
| One-layer LSTM | MinMax | Jul to Sep 2020 | Oct 2020 | 11.81 | 5.67 | -1.03 |
| MinMax | Jul to Sep 2020 | Sep 2022 | 15.23 | 7.36 | 0.68 | |
| MinMax | Jul to Sep 2020 | Oct 2022 | 74.63 | 38.04 | 34.89 | |
| Mean | 33.9 | 17 | 11.5 | |||
| One-layer LSTM | Standard | Jul to Sep 2020 | Oct 2020 | 11.6 | 5.82 | 2.4 |
| Standard | Jul to Sep 2020 | Sep 2022 | 18.18 | 8.88 | -5.2 | |
| Standard | Jul to Sep 2020 | Oct 2022 | 41.86 | 21.2 | -4.72 | |
| Mean | 23.8 | 11.9 | -2.5 | |||
| Two-layers LSTM | MinMax | Jul to Sep 2020 | Oct 2020 | 12.75 | 7.71 | -3.13 |
| MinMax | Jul to Sep 2020 | Sep 2022 | 19.1 | 11.11 | -6.16 | |
| MinMax | Jul to Sep 2020 | Oct 2022 | 52.44 | 23.05 | 14.17 | |
| Mean | 28.1 | 13.9 | 1.6 | |||
| Two-layers LSTM | Standard | Jul to Sep 2020 | Oct 2020 | 11.3 | 4.83 | -0.87 |
| Standard | Jul to Sep 2020 | Sep 2022 | 16.94 | 9.92 | -1.53 | |
| Standard | Jul to Sep 2020 | Oct 2022 | 39.36 | 18.54 | 3.72 | |
| Mean | 22.5 | 11.1 | 0.4 |
| Architecture | Scaling | Train Data | Test Data | RMSE | MAE | Bias |
|---|---|---|---|---|---|---|
| One-layer LSTM | MinMax | 1st - 6th Sep 2022 | 7th - 8th Sep 2022 | 21.48 | 13.83 | 5.01 |
| One-layer LSTM | Standard | 1st - 6th Sep 2022 | 7th - 8th Sep 2022 | 20.98 | 11.91 | 0.17 |
| Two-layers LSTM | MinMax | 1st - 6th Sep 2022 | 7th - 8th Sep 2022 | 26.02 | 17.79 | 11.17 |
| Two-layers LSTM | Standard | 1st - 6th Sep 2022 | 7th - 8th Sep 2022 | 22.64 | 14.25 | 2.08 |
| Architecture | Scaling | Train Data | Test Data | RMSE | MAE | Bias |
|---|---|---|---|---|---|---|
| 1 Layer LSTM | MinMaxScaler | Jul to Sep 2020 | Oct 2020 | 33.29 | 14.17 | 8.14 |
| MinMaxScaler | Jul to Sep 2020 | Sep 2022 | 30.42 | 15.1 | 6.59 | |
| MinMaxScaler | Jul to Sep 2020 | Oct 2022 | 47.38 | 26.04 | -2.7 | |
| Mean | 37.03 | 18.43 | 4 | |||
| 1 Layer LSTM | StandardScaler | Jul to Sep 2020 | Oct 2020 | 40.79 | 16.56 | 8.6 |
| StandardScaler | Jul to Sep 2020 | Sep 2022 | 41.95 | 18.21 | 5.3 | |
| StandardScaler | Jul to Sep 2020 | Oct 2022 | 53.08 | 25.26 | 11.86 | |
| Mean | 45.27 | 20 | 8.58 | |||
| 2 Layer LSTM | MinMaxScaler | Jul to Sep 2020 | Oct 2020 | 37.66 | 16.23 | 9.94 |
| MinMaxScaler | Jul to Sep 2020 | Sep 2022 | 41.5 | 18.44 | 7.95 | |
| MinMaxScaler | Jul to Sep 2020 | Oct 2022 | 68.07 | 36.72 | 1.02 | |
| Mean | 49.07 | 23.8 | 6.3 | |||
| 2 Layer LSTM | StandardScaler | Jul to Sep 2020 | Oct 2020 | 41.67 | 17.87 | 8.57 |
| StandardScaler | Jul to Sep 2020 | Sep 2022 | 48.08 | 21.05 | 12.67 | |
| StandardScaler | Jul to Sep 2020 | Oct 2022 | 48.77 | 24 | -0.16 | |
| Mean | 46.17 | 20.97 | 7.02 |
| Architecture | Scaling | Train Data | Test Data | RMSE | MAE | Bias |
|---|---|---|---|---|---|---|
| 1 Layer LSTM | MinMaxScaler | 1-6 Sep 2022 | 7-8 Sep 2022 | 21.22 | 12.28 | -1.52 |
| 1 Layer LSTM | StandardScaler | 1-6 Sep 2022 | 7-8 Sep 2022 | 22.41 | 13.07 | -3.12 |
| 2 Layer LSTM | MinMaxScaler | 1-6 Sep 2022 | 7-8 Sep 2022 | 23.73 | 13.18 | -2.21 |
| 2 Layer LSTM | StandardScaler | 1-6 Sep 2022 | 7-8 Sep 2022 | 23.7 | 13.18 | -1.57 |

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 (http://creativecommons.org/licenses/by/4.0/).