Research Papers: Energy Systems Analysis

EnergyPlus Integration Into Cosimulation Environment to Improve Home Energy Saving Through Cyber-Physical Systems Development

[+] Author and Article Information
Joe Singer, Chenli Wang

Department of Mechanical Engineering,
Santa Clara University,
Santa Clara, CA 95053

Thomas Roth, Cuong Nguyen

National Institute of Standards and Technology,
Gaithersburg, MD 20899

Hohyun Lee

Department of Mechanical Engineering,
Santa Clara University,
Santa Clara, CA 95053
e-mail: hlee@scu.edu

1Corresponding author.

Contributed by the Advanced Energy Systems Division of ASME for publication in the JOURNAL OF ENERGY RESOURCES TECHNOLOGY. Manuscript received August 22, 2018; final manuscript received December 5, 2018; published online January 9, 2019. Assoc. Editor: Omid Askari.

J. Energy Resour. Technol 141(6), 062001 (Jan 09, 2019) (5 pages) Paper No: JERT-18-1645; doi: 10.1115/1.4042224 History: Received August 22, 2018; Revised December 05, 2018

This paper presents a co-simulation platform which combines a building simulation tool with a cyber-physical systems (CPS) approach. Residential buildings have a great potential of energy reduction by controlling home equipment based on usage information. A CPS can eliminate unnecessary energy usage on a small, local scale by autonomously optimizing equipment activity, based on sensor measurements from the home. It can also allow peak shaving from the grid if a collection of homes are connected. However, lack of verification tools limits effective development of CPS products. The present work integrates EnergyPlus, which is a widely adopted building simulation tool, into an open-source development environment for CPS released by the National Institute of Standards and Technology (NIST). The NIST environment utilizes the IEEE high-level architecture (HLA) standard for data exchange and logical timing control to integrate a suite of simulators into a common platform. A simple CPS model, which controls local heating, ventilation, and cooling (HVAC) temperature set-point based on environmental conditions, was tested with the developed co-simulation platform. The proposed platform can be expanded to integrate various simulation tools and various home simulations, thereby allowing for cosimulation of more intricate building energy systems.

Copyright © 2019 by ASME
Your Session has timed out. Please sign back in to continue.


Nguyen, T. A. , and Aiello, M. , 2013, “ Energy Intelligent Buildings Based on User Activity: A Survey,” Energy Build., 56, pp. 244–257. [CrossRef]
Griffor, E. R. , Greer, C. , Wollman, D. A. , and Burns, M. J. , 2017, “Framework for Cyber-Physical Systems: Volume 1 Overview,” National Institute of Standards and Technology, Rockville, MD, Report No. 1500-201. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.1500-201.pdf
Lawrence Livermore National Laboratory, 2016, “ Energy Flow Charts: Charting the Complex Relationships Among Energy, Water, and Carbon,” Lawrence Livermore National Laboratory, Livermore, CA, accessed Dec. 18, 2018, https://flowcharts.llnl.gov/
Alhafidh, B. M. H. , and Allen, W. H. , 2017, “ High Level Design of a Home Autonomous System Based on Cyber Physical System Modeling,” Institute of Electrical and Electronics Engineers, Piscataway, NJ, p. 45.
Hong, T. , Sun, H. , Chen, Y. , Taylor-Lange, S. C. , and Yan, D. , 2016, “ An Occupant Behavior Modeling Tool for Co-Simulation,” Energy Build., 117, pp. 272–281. [CrossRef]
Terpening, E. D. , and Littleton, A. , 2017, “ The State of Internet of Things in the Home—Part II: Opportunities and Challenges for Brands Selling Iot Products for the Home,” Altimeter Group, San Mateo, CA, Report. https://www.slideshare.net/Altimeter/state-of-internet-of-things-in-the-home-part-2-report-preview
Samanta, A. , Saha, S. , Biswas, J. , and Dutta, A. , 2014, “ Evaluation of Impact of Shading Devices on Energy Consumption of Buildings in Tropical Regions,” ASME J. Energy Resour. Technol., 136(2), p. 024503. [CrossRef]
Ma, S. , Zhou, D. , Zhang, H. , Weng, S. , and Shao, T. , 2018, “ Modeling and Operational Optimization Based on Energy Hubs for Complex Energy Networks With Distributed Energy Resources,” ASME J. Energy Resour. Technol., 141(2), p. 022002. [CrossRef]
Wong, K. V. , and Chan, R. , 2013, “ Smart Glass and Its Potential in Energy Savings,” ASME J. Energy Resour. Technol., 136(1), p. 012002. [CrossRef]
Oyarzábal, B. , von Spakovsky, M. R. , and Ellis, M. W. , 2004, “ Optimal Synthesis/Design of a Pem Fuel Cell Cogeneration System for Multi-Unit Residential Applications–Application of a Decomposition Strategy,” ASME J. Energy Resour. Technol., 126((1), pp. 30–39. [CrossRef]
Gunes, M. B. , and Ellis, M. W. , 2003, “ Evaluation of Energy, Environmental, and Economic Characteristics of Fuel Cell Combined Heat and Power Systems for Residential Applications,” ASME J. Energy Resour. Technol., 125(3), pp. 208–220. [CrossRef]
Priedeman, D. K. , Mem. ASME, Garrabrant, M. A. , Mathias, J. A. , Stout, R. E. , and Christensen, R. N. , 2001, “ Performance of a Residential-Sized GAX Absorption Chiller,” ASME J. Energy Resour. Technol., 123(3), pp. 236–241. [CrossRef]
Al-Hadban, Y. , Sreekanth, K. J. , Al-Taqi, H. , and Alasseri, R. , 2017, “ Implementation of Energy Efficiency Strategies in Cooling Towers—A Techno-Economic Analysis,” ASME J. Energy Resour. Technol., 140(1), p. 012001. [CrossRef]
Panna, R. , Thesrumluk, R. , and Chantrapornchai, C. , 2013, “ Development of Energy Saving Smart Home Prototype,” Int. J. Smart Home, 7(1), pp. 47–66 https://pdfs.semanticscholar.org/0bfc/42e9d9be9c242f1b33f2d1ab53a20ed6a923.pdf.
Bustamante, S. , Castro, P. , Laso, A. , Manana, M. , and Arroyo, A. , 2017, “ Smart Thermostats: An Experimental Facility to Test Their Capabilities and Savings Potential,” Sustainability, 9(8), p. 1462. [CrossRef]
Kontes, G. D. , Giannakis, G. I. , Horn, P. , Steiger, S. , and Rovas, D. V. , 2017, “ Using Thermostats for Indoor Climate Control in Office Buildings: The Effect on Thermal Comfort,” Energies, 2017, 10(9), p. 1368. [CrossRef]
Roth, T. , Song, E. , Burns, M. , Neema, H. , and Emfinger, W. , 2017, “ Cyber-Physical System Development Environment for Energy Applications,” ASME Paper No. ES2017-3589.
IEEE, 2010, “ IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)–Framework and Rules,” Institute of Electrical and Electronics Engineers, Piscataway, NJ, Standard No. 1516-2010.
U.S. DOE, BTO, and NREL, 2017, “ EnergyPlus,” Department of Energy's, Building Technologies Office and National Renewable Energy Laboratory, Philadelphia, PA, accessed Dec. 18, 2018, https://energyplus.net/
Hong, T. , and Lin, H.-W. , 2013, “ Occupant Behavior: Impact on Energy Use of Private Offices,” Ernest Orlando Lawrence Berkeley National Laboratory, Berkeley, CA, Paper No. LBNL-6128E. https://www.osti.gov/servlets/purl/1172115
Liu, Y. , Qiu, B. , Fan, X. , Zhu, H. , and Han, B. , 2016, “ Review of Smart Home Energy Management Systems,” Energy Procedia, 104, pp. 504–508. [CrossRef]
Modelisar, 2010, “ Functional Mock-Up Interface for Co-Simulation v1.0 (Documentation),” Modelica Association, Linkoping, Sweden, accessed Dec. 18, 2018, https://fmi-standard.org/


Grahic Jump Location
Fig. 1

EnergyPlus has capability to interface with an FMU. Using TCP/IP socket communication inside a generic FMU allows for connectivity to a UCEF Java federate for the HLA RTI data exchange.

Grahic Jump Location
Fig. 2

EnergyPlus as a master program for the FMI standard calls select functions throughout simulation to perform specific tasks. At each time-step, three functions are called to transfer EnergyPlus data to an FMU.

Grahic Jump Location
Fig. 3

Unified modeling language diagram representing data communication between the master EnergyPlus program and a UCEF Java federate via FMU slave instance

Grahic Jump Location
Fig. 4

Representation of the data transfer using run time infrastructure between the EnergyPlus Java federate and the thermostat controller Java federate

Grahic Jump Location
Fig. 5

Simulation results of temperature fluctuation controlled by constant heating and cooling set-points input

Grahic Jump Location
Fig. 6

Heating and cooling power consumptions respective to HVAC operation controlled by constant set-points (Fig. 5)

Grahic Jump Location
Fig. 7

Heating, ventilation, and cooling heating and cooling set-points based on external intelligent thermostat controller. Direct connection based and RTI connection yield consistent results.

Grahic Jump Location
Fig. 8

Heating, ventilation, and cooling monthly energy consumption of two simulation, constant set-point thermostat and intelligent thermostat controller



Some tools below are only available to our subscribers or users with an online account.

Related Content

Customize your page view by dragging and repositioning the boxes below.

Related Journal Articles
Related eBook Content
Topic Collections

Sorry! You do not have access to this content. For assistance or to subscribe, please contact us:

  • TELEPHONE: 1-800-843-2763 (Toll-free in the USA)
  • EMAIL: asmedigitalcollection@asme.org
Sign In