Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “modelica”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 145 records · Page 8

Development of A Hardware-In-the-Loop (HIL) Testbed for Cyber-Physical Security in Smart Buildings

As smart buildings move towards open communication technologies, providing access to the Building Automation System (BAS) through the building's intranet, or even remotely through the Internet, has become a common practice. However, BAS was historically developed as a closed environment and designed with limited cyber-security considerations. Thus, smart buildings are vulnerable to cyber-attacks with the increased accessibility. This study introduces the development and capability of a Hardware-in-the-Loop (HIT) testbed for testing and evaluating the cyber-physical security of typical BASs in smart buildings. The testbed consists of three subsystems: (1) a real-time HIL emulator simulating the behavior of a virtual building as well as the Heating, Ventilation, and Air Conditioning (HVAC) equipment via a dynamic simulation in Modelica; (2) a set of real HVAC controllers monitoring the virtual building operation and providing local control signals to control HVAC equipment in the HIL emulator; and (3) a BAS server along with a web-based service for users to fully access the schedule, setpoints, trends, alarms, and other control functions of the HVAC controllers remotely through the BACnet network. The server generates rule-based setpoints to local HVAC controllers. Based on these three subsystems, the HIL testbed supports attack/fault-free and attack/fault-injection experiments at various levels of the building system. The resulting test data can be used to inform the building community and support the cyber-physical security technology transfer to the building industry.

Li, Guowen↗

Maximum-impact Adversary Design for Network-based Control System: A Case Study on Grid-interactive Efficient Buildings

The Internet of Things (IoT) technology has dramatically improved the efficiency of today's building operation and management. By connecting controllable devices into a communication network, control signals can be easily passed to the devices, and operating status can be acquired from measurable ends with minimal effort. However, this all-connected configuration could also expose the network-based control system (NBCS) to malicious actions, such as cyberattacks. One of the common NBCSs is the building automation system. With the promotion of grid-interactive efficient buildings (GEBs), there has been increasing attention on securing the buildings from the network perspective. This research proposes a maximum-impact adversary design framework so that the adversary can provide the most adversarial impact on the controlled system while remaining stealthy. The proposed framework is numerically demonstrated on a network-based building energy and control system. The building energy system is built in a Modelica-based simulation environment and controlled by the state-of-the-art ASHRAE Guideline 36 control sequences. The control commands at the supervisory level, generated from the Guideline 36 controller, are assumed to be sent to local devices through communication networks using the BACnet protocol. Simulation results show that the proposed maximum-impact adversary on such a system can stealthily affect the building system's performance to its maximum extent. It is anticipated that results can be used by researchers and practitioners in the building automation industry to design efficient and robust cyber-attack detection algorithms, especially for stealthy attacks.

Chu, Mengyuan↗

Alfalfa Virtual Building Service: Software Engineering Best Practices Applied to Runtime Interaction with Building Energy Models

Buildings are active participants in increasingly complex energy systems. Building Energy Modeling (BEM) has a key role to play in planning and de-risking an equitable energy transition, with BEM-backed "virtual buildings" critical path for diverse applications that include workforce training tools, Hardware-in-the-Loop (HIL) experimentation to study equipment performance under a range of conditions, Control-Hardware-in-the-Loop (CHIL) experimentation to de-risk commercial control implementations at equipment through grid orchestration levels, and integration of dynamic load profiles into grid modeling tools for energy system experimentation at the urban scale. Modeling requirements vary across these applications, but many software engineering tasks do not. The Alfalfa Virtual Building Service (AVBS, see https://github.com/NREL/alfalfa/wiki) is an open-source web service that solves these common tasks robustly in one place, providing a foundational platform for power users to bootstrap their own applications. AVBS abstracts the specifics of runtime interaction with OpenStudio, Modelica, and Spawn of EnergyPlus models behind a unified REST API. Additionally, AVBS provides resources for cloud deployment and scaling to 100s of parallel simulations, a growing library of modular Operational Technology (OT) integrations for emulation of real-world interfaces, and scripts to automate the population of communities of virtual buildings from URBANopt, ResStock and ComStock.

building automation↗

Modeling and Validation of a Residential Multi-Functional Variable Refrigerant Flow Heat Pump System with Heat Recovery

To bridge the existing gap in modeling the variable refrigerant flow heat pump systems with heat recovery (VRFHR), we developed a suite of dynamic VRFHR system models in Modelica. These models are specifically tailored for residential multi-functional VRFHR (MF-VRFHR) applications, including space conditioning and domestic hot water (DHW) heating, utilizing both the TIL library for HVAC equipment and the Buildings library for thermal load calculations. The development comprises essential component models, including the newly developed heat recovery unit (HRU), along with system models that integrate the heat pump system and building envelope. These system models accommodate various operational modes such as heating-only, cooling-only, and heating-recovery (including heating-dominant and cooling-dominant) modes. Furthermore, we propose an efficient optimization-based model calibration method that identifies critical model parameters while utilizing a small amount of data obtained from either real systems or manufacturer's specifications. We demonstrate the effectiveness of these models and the proposed calibration method for a MF-VRFHR system installed in Richland, WA. The developed models are calibrated and validated using data collected under different operational modes during both heating and cooling seasons. The results show that the models capture the system dynamics and achieve high accuracy, with the coefficient of the variation of the root-mean-square-error less than 15% for variables such as outdoor unit power consumption, compressor speed, space temperature and DHW temperature. The validated models serve as a reliable representation of the MF-VRFHR system, facilitating the development and validation of optimized controls needed to realize the full benefits of integrated heat pump systems. Future research will utilize these models to develop advanced controls and optimize system performance for improved energy efficiency and demand flexibility.

Modeling, Variable refrigerant flow (VRF) systems,↗

Developing Near Optimal Control Sequences for Chiller Plants with Water-side Economizers: A Case Study in a Warm and Marine Climate

Various advanced control sequences for chiller plants with water-side economizers (WSE) have been proposed in literature, but the optimization of those controls is limited. It is possible to maximize energy savings by developing near-optimal control sequences, which are dependent on several factors such as the load profile. To address these gaps, we first identify an advanced control sequence and three key control parameters for chiller plants with WSE. Next, optimizations are performed to minimize energy consumption for seven combinations of control parameters. A chiller plant with WSE system in a warm and marine climate is studied and two load profiles are considered. The system and controls are modeled using the Modelica Buildings library. The results show optimizing the selected control parameters can reduce energy consumption by up to 11% depending on the load profile. Specifically, optimizing the cooling tower efficiency threshold in the condenser water reset control can significantly reduce energy savings for the variable load profile by efficiently shifting the load from the cooling tower to the chiller. This paper provides practical guidance for developing near-optimal control sequences for chiller plant with WSE systems considering impacts such as the load profile.

chiller plant↗

Feasibility Analysis for the Use of Retrofitted Air-Conditioners Using Thermal Energy Storage (TES) for High Ambient Temperature (HAT) Countries

In high ambient temperature (HAT) countries, summer temperatures exceed 35℃, degrading the performance of air-conditioning systems and straining power grids. In this paper, a feasibility analysis was conducted to investigate potential savings during the peak using latent Thermal Energy Storage (TES) at near room phase-change temperatures, replacing condensers, thus, minimizing temperature lifts. Weather data, building loads, and baseline air-conditioning systems data were gathered for Dubai. A transient vapor-compression model in Modelica was used to compare the COP, total power input and cooling capacity of the air-conditioner at peak hours when ambient temperatures range between 35 – 45 ⁰C versus the TES-Phase-Change Material (PCM) melting temperatures from 22 – 28⁰C. The results indicate that the TES-PCM can enhance the system COP at the peak by a factor 1.4 and 2 for during for outdoor temperatures of 35 – 40⁰C, and 40 – 45⁰C, respectively. Lower melting temperature PCMs were able to reduce the required power input by 30-50%, with more savings occurring at higher temperature days. On the other hand, higher temperature PCMs enhancements were minimal especially at outdoor ambient temperatures ranging between 35 – 40⁰C. Improvements to the cooling capacity range from 8 – 18 % for the outdoor temperature range of 35 – 45 ⁰C. An economic analysis was conducted to find the potential saving in utility costs for 30%, 60%, and 90% of the space cooling demands of Dubai, and find the trade-off points between utility savings and cost of PCM-TES implementation. If the peak loads are to be shifted by 6 hours daily, the percentage utility savings for the city is 18%. Using estimated costs of the PCM-TES, ranging from $200-500/kWh, the daily load shifting hours were estimated to range from 4 hours at the lowest cost systems to 2.5 hours at the highest costs.

25 ENERGY STORAGE↗

Performance Assessment of a Dual-purpose HP-TES for a Typical Year Comparing Different Climate Zones

Complete electrification of heating and cooling systems in the United States would overload the existing electrical grid. To this end, recent research efforts have focused on energy storage as one way to reduce ever-increasing peak electricity demands. One such technology is heat pump integrated thermal-energy storage (HP-TES) systems, which can enable load-shifting and reduce demand during peak hours. In this work, a Modelica model of a 4-Ton, dual-mode (heating and cooling) HP-TES system using a room-temperature phase-change material (PCM) integrated through a secondary hydronic loop was developed and simulated for a typical meteorological year in Riverside, CA (ASHRAE Climate Zone 2B), and Chicago, IL (ASHRAE Climate Zone 5A), for a DOE small office prototype building. The COP improvement and demand reduction were analyzed during the time-of-use peak hours along with the required recharge cycle energy demand. A typical summer in Riverside, CA resulted in model-predicted peak COP increases of 50 – 100% compared to the baseline heat pump, especially at higher outdoor temperatures, coupled with maximum peak energy reductions of 22%. During shoulder and winter season simulations, heating energy savings were higher as outdoor temperatures dropped below the PCM phase change temperature. For Chicago, IL, backup heating was necessary to meet the required system capacity for very cold ambient conditions, resulting in winter peak energy savings between 16 – 60% when accounting for backup heating requirements. The recharge energy was found to be mostly below the baseline HP energy during the peak. With improved component selections and controls, the recharge energy may be reduced. The outcomes from the simulations can provide first-order estimates for potential peak energy savings, challenges, and required controls in any location before conducting any field testing.

25 ENERGY STORAGE↗

Recharge Demand Mitigation for Latent Heat Thermal Energy Storage at Off-peak Hours

The utilization of integrated heat pump thermal energy storage (HP-TES) systems for space conditioning applications can reduce electrical power demand and achieve utility savings resulting from peak shaving and load shifting. However, issues arise when the energy required to recharge the TES exceeds the shifted energy demand, especially in extreme climates where high-temperature lifts between the outdoor air conditions and phase-change materials (PCMs) during recharging may occur. In this work, a single room-temperature (22°C) PCM-TES is integrated into a single-speed heat pump system using a secondary hydronic loop where the TES is recharged using the outdoor unit during off-peak hours. Three recharge strategies were investigated as potential pathways to reduce recharging power demand: (i) considering different heat source/sink temperatures, (ii) using a variable-speed compressor, and (iii) using a variable-speed pump. Simulations were conducted using Modelica for HP-TES recharging at different heat source/sink temperatures from -30 – 20℃ in heating mode and 0 – 30℃ in cooling mode. Results show that the most effective recharge demand reduction strategy is an HP-TES system using a single-speed compressor with a variable-speed pump for the hydronic loop run at preferable heat source/sink temperatures when the temperature lifts were reduced. Utilizing a variable-speed compressor for the HP-TES system reduced recharge time in extreme cases at the cost of additional compressor power input. The findings motivate potential control strategies that minimize recharge energy and maximize peak energy savings, hence reducing overall operating costs and annual energy consumption for HP-TES systems for space conditioning applications.

25 ENERGY STORAGE↗

Influence of Thermal Energy Storage Integration Strategy on System Performance and Refrigerant Charge for Small-Scale R290 Heat Pumps

As small-scale (2.5 – 5 kW) heat pumps across the US increase straining the grid during peak hours, integrated heat pump thermal energy storage (HP-TES) systems can assist by load shifting. However, challenges arise when assembling these systems, as direct refrigerant-phase change material (PCM) heat exchangers (HXs) increase refrigerant charge, and indirect secondary loops degrade HP-TES performance. In this work, direct and indirect HP-TES configurations were sized using commercially available HXs to compare the available load shift time and performance at similar refrigerant charges. For the same indirect 5 kW HP-TES refrigerant charge, directly HP-TES can operate up to 72 and 145 minutes in cooling and heating modes, respectively, using small diameter tubes. Using Modelica, COP increases for direct and indirect HP-TES were 22% and 9%, respectively, given the parasitic losses in the indirect HP-TES. Overall, small-scale direct HP-TES can have comparable refrigerant charges with indirect HP-TES maximizing COP improvements.

25 ENERGY STORAGE↗

Influence of Phase-Change Materials and Operating Periods on Load Shifting for Thermal Storage Heat Pumps in European Climate Zones

As the reliance on heat pumps (HPs) for space conditioning increases worldwide, ex-tensive grid strains during utility peak hours are expected. Significant research efforts focus on investigating the use of integrated thermal energy storage (TES) systems to reduce peak energy demands. Conventionally, TES systems are often integrated to store and provide either cooling or heating, but not both. In this work, a single room-temperature phase-change material (PCM)-TES was integrated for dual-mode opera-tion with an R290 air-to-water 10.5 kW (3-Ton) HP. Two PCM melting temperatures (17°C, 22°C) were assessed to investigate their impact on system performance and cost reductions for Milan, Italy (4A); Barcelona, Spain (3A); and Oslo, Norway (6A). HP and HP-TES performance maps were generated using Modelica-based transient models and co-simulated with a prototype residential building using the Spawn of En-ergyPlusTM with simple rule-based controls. Our simulations indicate that PCM-17°C provided annual cost savings at higher peak-to-off-peak cost ratios, as the demand re-duction dominated the savings potential. The recharge energy costs and requirements became more dominant at lower cost ratios, making PCM-22°C more beneficial at lower cost ratios. Finally, despite Oslo's heating-dominated climate, the utility peak hours favor cooling demand reductions, making PCM-17°C more appealing. In all cases, the cost savings potential stabilized between 4 – 10% regardless of cost ratio, suggesting that system-level component and operation control optimization is required to maximize cost savings further.

25 ENERGY STORAGE↗

Electrical and Thermal Load Impacts of Three District Heating and Cooling Designs for an Existing Community in Washington, DC

District energy systems that provide building heating and cooling are a promising option to provide low-cost, energy efficient heating and cooling solutions for communities. As some buildings move to electrified heating designs, there may be significant increases in electric grid demand, particularly in the winter. District energy systems may be able to help reduce these high electrical demands on the electric grid, while also providing decreased overall energy consumption with an increased flexibility in electrical energy usage. To evaluate and compare district options for district-based heating and cooling, an existing neighborhood of Washington, DC consisting of 35 existing buildings was selected as a case study. This study models and compares a fourth generation (4G) district heating and cooling systems that provide hot and chilled water from a central plant directly to each prosumer and a fifth generation (5G) district heating and cooling systems that provide near-ambient water via geothermal boreholes to interface with an energy transfer station with a heat pump at each prosumer. These district systems are compared against a baseline of the non-connected buildings with their self-contained and current HVAC systems. The neighborhood was selected as a good candidate for a district system for its diversity of loads (mix of different commercial and property types) and the availability of building characteristics. URBANopt District Energy Systems (DES) was used to model the buildings and create initial Modelica models for the district systems. Finally, the DES models were tuned and simulated in Dymola, and the outputs were post-processed for verification and to calculate the electrical and thermal grid impact metrics. This is the first documentation of this workflow and its complete analysis. The three designed systems are compared via their grid metrics including: total energy consumption, electrical demand peak loads, daily peak-to-valley ratios, and system ramping. A detailed discussion is provided about how each system impacts and interacts with the electric grid.

15 GEOTHERMAL ENERGY↗

LC-Opt: Benchmarking Reinforcement Learning and Agentic AI for End-to-End Liquid Cooling Optimization in Data Centers

Liquid cooling is critical for thermal management in high-density data centers with the rising AI workloads. However, machine learning-based controllers are essential to unlock greater energy efficiency and reliability, promoting sustainability. We present LC-Opt, a Sustainable Liquid Cooling (LC) benchmark environment, for reinforcement learning (RL) control strategies in energy-efficient liquid cooling of high-performance computing (HPC) systems. Built on the baseline of a high-fidelity digital twin of Oak Ridge National Lab's Frontier Supercomputer cooling system, LC-Opt provides detailed Modelica-based end-to-end models spanning site-level cooling towers to data center cabinets and server blade groups. RL agents optimize critical thermal controls like liquid supply temperature, flow rate, and granular valve actuation at the IT cabinet level, as well as cooling tower (CT) setpoints through a Gymnasium interface, with dynamic changes in workloads. This environment creates a multi-objective real-time optimization challenge balancing local thermal regulation and global energy efficiency, and also supports additional components like a heat recovery unit (HRU). We benchmark centralized and decentralized multi-agent RL approaches, demonstrate policy distillation into decision and regression trees for interpretable control, and explore LLM-based methods that explain control actions in natural language through an agentic mesh architecture designed to foster user trust and simplify system management. LC-Opt democratizes access to detailed, customizable liquid cooling models, enabling the ML community, operators, and vendors to develop sustainable data center liquid cooling control solutions.

Naug, Avisek [Hewlett Packard Enterprise]↗

Simulation and Experimental Validation of an Integrated Heat Pump – Thermal Energy Storage Using a Room-Temperature Phase Change Material

As the dependence on electrical heat pumps (HPs) and intermittent renewables increases, grid strains are expected to grow. This necessitates an energy storage system to reduce the mismatch between energy supply and demand. Thus, a proposed dual-mode commercially available 14.1 kW HP was integrated with a single 22°C phase change material (PCM) thermal storage system (TES) to load-shift both cooling and heating loads. The HP-TES system was manufactured and experimentally tested using a novel test matrix based on AHRI 210/240 psychrometric conditions. Furthermore, transient dual-mode system-level HP-TES models were developed in Modelica and validated using the experimental test conditions. Base HP cooling and heating experimental tests at ambient temperatures of 35°C and −8.3°C show that the modified HP-TES maintained the rated system capacity and performance. The HP-TES discharge provided approximately 30% and 50% reductions in cooling and heating demand, respectively. The transient HP-TES models predicted system capacity and total power input for discharge and recharge operating modes within ±4% mean percentage error, and recharge power input within ±2%, with maximum errors occurring at the equipment startup. During system operation, the sources of model deviations are first-order polynomial fits of the PCM digital scanning calorimetry (DSC) data and unaccounted supercooling in the PCM during solidification. Nonetheless, the model predictions agree with the experimental tests, demonstrating the availability of robust, accurate, and validated transient models that can be used for further validation and the development of system controls.

25 ENERGY STORAGE↗

Resilient cooling through geothermal district energy system

Decarbonization and resilience to heat waves have recently become high priorities for building and district energy systems. Geothermal coupled district heating and cooling systems that operate a water loop near ground temperature gain increasing adoption to support decarbonization. In these systems, vapor-compression machines, distributed in the energy transfer stations, lift the temperature up or down to the needs of the particular building. In principle, these systems can provide low-power, free cooling from the geothermal bore field during heat waves when electricity is often scarce. However, the performance of such a resilience operation mode and its implication on the energy system configuration and the sizing of the bore field and HVAC equipment is not yet understood. Consequently, we are assessing their resilience, power use and design implications under a scenario of a heat wave on five working days during which chillers are switched off to reduce electrical consumption. Our analysis is based on high-fidelity, coupled dynamic models of district energy, building-side HVAC and actual control logic, with whole building energy simulation used to assess thermal conditions in a 2004 vintage multi-zone office building in Chicago, IL. The results show that relying only on waterside economizer cooling, the indoor thermal conditions can be maintained in a tolerable range for the majority of the building zones with half the electrical energy compared to standard chiller operation. Thermal comfort in the hottest zones can be further improved by oversizing the cooling coil. However, the waterside economizer has significant implications on the system configuration and sizing: The geothermal bore field needs to be sized about 30% larger than the upper limit of the range observed for conventional geothermal systems. Nevertheless, if a central chiller plant is added, the bore field can be downsized to the typical design range. The latter configuration still allows compressor-less cooling during the heat wave with peak power reduced by 60% compared to the standard design and chiller operation.

15 GEOTHERMAL ENERGY↗