The challenges of using live-streamed data in a predictive digital twin
Published in Journal of Building Performance Simulation, 2023
Rebecca Ward, Ruchi Choudary, Melanie Jans Singh, Flora Roumpani, Tomas Lazauskas, May Yong, Nicholas Barlow, Markus Hauru
The CROP software is predominantly written in Python (Python Software Foundation 2022), using Flask (The Pallets Projects 2022) and SQLAlchemy (SQLAlchemy 2022) for the backend and API, and Jinja (The Pallets Projects 2022) and Bootstrap (Bootstrap 2022), for frontend presentation. Docker (Docker Inc. 2022) is used as a means of deploying web applications and automated ingress functions on Azure. Though there are options for many different software stacks, this configuration allows flexibility, adaptability and easy version control. The combination of SQLAlchemy, Flask, and Jinja, allows the backend and API to be developed entirely on one language (Python) which simplifies the development process. In that way there is a core system from which different front-end applications can modularly attach and be used to visualize the real-time information.