HP-FLEX MPC v0.1.0

RESOURCE

Abstract

HP-FLEX MPC is control software developed by Lawrence Berkeley National Laboratory with support from the California Energy Commission (CEC) through EPIC-19-301. HP-FLEX aims to provide load flexibility for heat pumps (HPs) in response to dynamic grid signals (including Time-of-Use, Dynamic Pricing, and Critical Peak Pricing) while maintaining thermostat temperatures within user-specified bounds. The software includes a system-identification module, which models the dynamics of the building envelope with thermostat data, and a control module based on a model predictive controller (MPC) to make optimal decisions. HP-FLEX receives forecasts of outdoor air temperature, solar irradiation, and internal gain (if available), as well as trajectories of energy price, temperature lower and upper bounds over a prediction horizon. It then optimizes heating and cooling capacities to minimize energy cost and peak power (with a user-defined weight on peak power) over the prediction horizon, while maintaining room air temperature within the temperature constraints, and outputs the optimal thermostat setpoints.
Developers:
Kim, Donghun [1] Ham, Sang woo [1]
  1. Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Release Date:
2024-11-18
Project Type:
Open Source, Publicly Available Repository
Software Type:
Scientific
Licenses:
BSD 3-clause "New" or "Revised" License
Sponsoring Org.:
Code ID:
158609
Site Accession Number:
2025-028
Research Org.:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Country of Origin:
United States

RESOURCE

Citation Formats

Kim, Donghun, and Ham, Sang woo. HP-FLEX MPC v0.1.0. Computer Software. https://bitbucket.org/berkeleylab/hp-flex-mpc. USDOE. 18 Nov. 2024. Web. doi:10.11578/dc.20250725.2.
Kim, Donghun, & Ham, Sang woo. (2024, November 18). HP-FLEX MPC v0.1.0. [Computer software]. https://bitbucket.org/berkeleylab/hp-flex-mpc. https://doi.org/10.11578/dc.20250725.2.
Kim, Donghun, and Ham, Sang woo. "HP-FLEX MPC v0.1.0." Computer software. November 18, 2024. https://bitbucket.org/berkeleylab/hp-flex-mpc. https://doi.org/10.11578/dc.20250725.2.
@misc{ doecode_158609,
title = {HP-FLEX MPC v0.1.0},
author = {Kim, Donghun and Ham, Sang woo},
abstractNote = {HP-FLEX MPC is control software developed by Lawrence Berkeley National Laboratory with support from the California Energy Commission (CEC) through EPIC-19-301. HP-FLEX aims to provide load flexibility for heat pumps (HPs) in response to dynamic grid signals (including Time-of-Use, Dynamic Pricing, and Critical Peak Pricing) while maintaining thermostat temperatures within user-specified bounds. The software includes a system-identification module, which models the dynamics of the building envelope with thermostat data, and a control module based on a model predictive controller (MPC) to make optimal decisions. HP-FLEX receives forecasts of outdoor air temperature, solar irradiation, and internal gain (if available), as well as trajectories of energy price, temperature lower and upper bounds over a prediction horizon. It then optimizes heating and cooling capacities to minimize energy cost and peak power (with a user-defined weight on peak power) over the prediction horizon, while maintaining room air temperature within the temperature constraints, and outputs the optimal thermostat setpoints.},
doi = {10.11578/dc.20250725.2},
url = {https://doi.org/10.11578/dc.20250725.2},
howpublished = {[Computer Software] \url{https://doi.org/10.11578/dc.20250725.2}},
year = {2024},
month = {nov}
}