Due to the high-fidelity mapping of the physical buildings and the intelligent performance shown in their lifecycle, digital twins (DTs) have gained increasing attention in the building sector. Although digital twins based on building information modeling (BIM) have become a hot research topic, existing works emphasize the digitization of building static and dynamic information and lack a unified consideration of the inherent physical mechanisms and interactive behaviors of buildings. To this end, this paper proposes a foundation model for building digital twins which realizes the unification of building static information, physical mechanisms and interaction patterns. The conceptual framework of the model is given first and then formal modeling and verification with time automata theory are performed to demonstrate the plausibility of the model. Finally, a practical digital twin of a chiller is developed based on the proposed foundation model as an example, thus, indicating its effectiveness and credibility.
Insect intelligent building (I2B) is a novel decentralized, flat-structured intelligent building platform with excellent flexibility and scalability. I2B allows users to develop applications that include control strategies for efficiently managing and controlling buildings. However, developing I2B APPs (applications) is considered a challenging and complex task due to the complex structural features and parallel computing models of the I2B platform. Existing studies have been shown to encounter difficulty in supporting a high degree of abstraction and in allowing users to define control scenarios in a concise and comprehensible way. This paper aims to facilitate the development of such applications and to reduce the programming difficulty. We propose Touch, a textual domain-specific language (DSL) that provides a high-level abstraction of I2B APPs. Specifically, we first establish the conceptual programming architecture of the I2B APP, making the application more intuitive by abstracting different levels of physical entities in I2B. Then, we present special language elements to effectively support the parallel computing model of the I2B platform and provide a formal definition of the concrete Touch syntax. We also implement supporting tools for Touch, including a development environment as well as target code generation. Finally, we present experimental results to demonstrate the effectiveness and efficiency of Touch.
Insect Intelligent Building (I2B) is a novel platform of intelligent buildings. The outstanding feature of I2B is the decentralized network structure connected by smart nodes. I2B can employ APPs (applications) developed by various practitioners or programming fans to manage and control buildings. However, due to the unique parallel operation of I2B platform and the popularization of APP developers, there still exists no effective approach to supporting I2B APP development. To deal with the challenges and provide meaningful guidance for describing and developing I2B APP and motivating the prospective programming language design, we propose INR, a programming model for I2B APP development. Three submodels in INR, namely, Individual, Neighborhood, and Region, are defined and implemented, respectively, for describing different task requirements. Moreover, new mechanisms of Tag-based programming and Clustering operation are established to support the plug-and-play and parallel abilities of APPs in I2B. Finally, we apply the programming model into an application case to illustrate the developing pattern of the I2B APP and verify the effectiveness of our approach.
The emerging Insect Intelligent Building (I2B) platform is pioneering a new realm in intelligent buildings. I2B has a distributed and decentralized network structure with intelligent nodes, and the key enabler is an application (APP) that functions to process information from intelligent nodes and accomplish complex control tasks in a decentralized network. To develop APPs for I2B, a proper programming language is the foremost goal; however, existing programming languages cannot be applied directly due to I2B's unique structure and distinction of application domains. This paper aims to provide language support for a direct and friendly development of I2B APPs. We propose a graphical programming language that adapts to the operating characteristics of I2B and users' habits of buildings. Specifically, we first analyze the domain characteristics of the proposed language and present a general programming language model illustrated with a motivating example. Then, we investigate the detailed design, definition, and usage of graphic elements. Additionally, we implement a prototype support tool for the graphical programming language to develop I2B APPs. Moreover, we use the application example of a building's constant pressure control for evaluating the effectiveness of our work.
Self-adaptive software (SAS) is gaining in popularity as it can handle dynamic changes in the operational context or in itself. Time behaviors are of vital importance for SAS systems, as the self-adaptation loops bring in additional overhead time. However, early modeling and quantitative analysis of time behaviors for the SAS systems is challenging, especially under uncertainty environments. To tackle this problem, this paper proposed an approach called Timed-SAS to define, describe, analyze, and optimize the time behaviors within the SAS systems. Concretely, Timed-SAS: (1) provides a systematic definition on the deterministic time constraints, the uncertainty delay time constraints, and the time-based evaluation metrics for the SAS systems; (2) creates a set of formal modeling templates for the self-adaptation processes, the time behaviors and the uncertainty environment to consolidate design knowledge for reuse; and (3) provides a set of statistical model checking-based quantitative analysis templates to analyze and verify the self-adaptation properties and the time properties under uncertainty. To validate its effectiveness, we presented an example application and a subject-based experiment. The results demonstrated that the Timed-SAS approach can effectively reduce modeling and verification difficulties of the time behaviors, and can help to optimize the self-adaptation logic.