Buildings (Dec 2023)

Automated PLC Code Generation for the Implementation of Mode-Based Control Algorithms in Buildings

  • Xiaoye Cai,
  • Zhijian Jin,
  • Hanyu Li,
  • Alexander Kümpel,
  • Dirk Müller

DOI
https://doi.org/10.3390/buildings14010073
Journal volume & issue
Vol. 14, no. 1
p. 73

Abstract

Read online

Faulty programming of control functions in Building Automation and Control Systems (BACS) might result in inefficient building operations. To reduce programming errors, an automated implementation process of control functions might be a promising solution. Recently, Building Information Modeling (BIM) contributes to digitizing building construction projects but is rarely used in the planning and implementation of control functions in BACS. The control description in BIM also remains unclear. Regarding these problems, a control documentation method for BIM and an automated control implementation approach can simplify control implementation in BACS and hence improve the building operation. In the previous work, we developed the MODI method for a structured planning process of mode-based control algorithms for building energy systems. This method showed the potential to support digitized control planning and implementation in BACS. Based on this, in this paper, we introduce a documentation method to report mode-based control algorithms in the industrial foundation class (IFC), enabling data sharing among BIM, and a software-assisted approach to automatically generate PLC codes for implementing these algorithms. The case study demonstrates the documentation of a desired mode-based control strategy for an energy supply network in IFC and the implementation of this strategy in a PLC program. In the simulation phase, we test the implemented control strategy to verify the functionalities of the PLC program. The results prove that mode-based control strategies can be fully automatically implemented in a PLC program based on IFC data.

Keywords