Parallel Execution of Functional Mock-up Units in Buildings Modeling | |
Ozmen, Ozgur1  Nutaro, James J.1  New, Joshua Ryan1  | |
[1] Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States) | |
关键词: Modelica; FMI; OpenMP; Dymola; Buildings Modeling; | |
DOI : 10.2172/1257905 RP-ID : ORNL/TM--2016/173 PID : OSTI ID: 1257905 Others : Other: BT0305000 Others : CEBT105 |
|
学科分类:数学(综合) | |
美国|英语 | |
来源: SciTech Connect | |
【 摘 要 】
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.
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
3626KB | download |