skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Parallel Execution of Functional Mock-up Units in Buildings Modeling

Abstract

A Functional Mock-up Interface (FMI) defines a standardized interface to be used in computer simulations to develop complex cyber-physical systems. FMI implementation by a software modeling tool enables the creation of a simulation model that can be interconnected, or the creation of a software library called a Functional Mock-up Unit (FMU). This report describes an FMU wrapper implementation that imports FMUs into a C++ environment and uses an Euler solver that executes FMUs in parallel using Open Multi-Processing (OpenMP). The purpose of this report is to elucidate the runtime performance of the solver when a multi-component system is imported as a single FMU (for the whole system) or as multiple FMUs (for different groups of components as sub-systems). This performance comparison is conducted using two test cases: (1) a simple, multi-tank problem; and (2) a more realistic use case based on the Modelica Buildings Library. In both test cases, the performance gains are promising when each FMU consists of a large number of states and state events that are wrapped in a single FMU. Load balancing is demonstrated to be a critical factor in speeding up parallel execution of multiple FMUs.

Authors:
 [1];  [1];  [1]
  1. Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
Publication Date:
Research Org.:
Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
Sponsoring Org.:
USDOE Office of Energy Efficiency and Renewable Energy (EERE)
OSTI Identifier:
1257905
Report Number(s):
ORNL/TM-2016/173
BT0305000; CEBT105
DOE Contract Number:
AC05-00OR22725
Resource Type:
Technical Report
Country of Publication:
United States
Language:
English
Subject:
97 MATHEMATICS AND COMPUTING; Modelica; FMI; OpenMP; Dymola; Buildings Modeling

Citation Formats

Ozmen, Ozgur, Nutaro, James J., and New, Joshua Ryan. Parallel Execution of Functional Mock-up Units in Buildings Modeling. United States: N. p., 2016. Web. doi:10.2172/1257905.
Ozmen, Ozgur, Nutaro, James J., & New, Joshua Ryan. Parallel Execution of Functional Mock-up Units in Buildings Modeling. United States. doi:10.2172/1257905.
Ozmen, Ozgur, Nutaro, James J., and New, Joshua Ryan. Thu . "Parallel Execution of Functional Mock-up Units in Buildings Modeling". United States. doi:10.2172/1257905. https://www.osti.gov/servlets/purl/1257905.
@article{osti_1257905,
title = {Parallel Execution of Functional Mock-up Units in Buildings Modeling},
author = {Ozmen, Ozgur and Nutaro, James J. and New, Joshua Ryan},
abstractNote = {A Functional Mock-up Interface (FMI) defines a standardized interface to be used in computer simulations to develop complex cyber-physical systems. FMI implementation by a software modeling tool enables the creation of a simulation model that can be interconnected, or the creation of a software library called a Functional Mock-up Unit (FMU). This report describes an FMU wrapper implementation that imports FMUs into a C++ environment and uses an Euler solver that executes FMUs in parallel using Open Multi-Processing (OpenMP). The purpose of this report is to elucidate the runtime performance of the solver when a multi-component system is imported as a single FMU (for the whole system) or as multiple FMUs (for different groups of components as sub-systems). This performance comparison is conducted using two test cases: (1) a simple, multi-tank problem; and (2) a more realistic use case based on the Modelica Buildings Library. In both test cases, the performance gains are promising when each FMU consists of a large number of states and state events that are wrapped in a single FMU. Load balancing is demonstrated to be a critical factor in speeding up parallel execution of multiple FMUs.},
doi = {10.2172/1257905},
journal = {},
number = ,
volume = ,
place = {United States},
year = {Thu Jun 30 00:00:00 EDT 2016},
month = {Thu Jun 30 00:00:00 EDT 2016}
}

Technical Report:

Save / Share: