You are on page 1of 14

Computers, Environment and Urban Systems 62 (2017) 168181

Contents lists available at ScienceDirect

Computers, Environment and Urban Systems

journal homepage: www.elsevier.com/locate/ceus

Net-zero energy building clusters emulator for energy planning and


operation evaluation
Xiwang Li a,b,, Jin Wen b
a
Lawrence Berkeley National Laboratory, 1 Cyclotron Road, Berkeley, CA 94720, USA
b
Department of Civil, Architectural and Environmental Engineering, Drexel University, Philadelphia, PA 19104, USA

a r t i c l e i n f o a b s t r a c t

Article history: The emergence of smart grids, Net-zero energy buildings, and advanced building energy demand response tech-
Received 19 April 2016 nologies continuously drives the needs for better design and operation strategies for buildings and distributed
Received in revised form 27 September 2016 energy systems. It is envisioned that similar to micro-communities in a human society, neighboring buildings
Accepted 28 September 2016
will have the tendency to form a building cluster, an open cyber-physical system to exploit the economic oppor-
Available online 25 November 2016
tunities provided by smart grids and distributed energy systems. To realize this building cluster envision, it re-
Keywords:
quires better urban energy planning and operation control strategies to determine which type of buildings
Net-zero building cluster should be clustered and what operation strategies should be implemented to fully utilize the potential in load ag-
Net-zero buildings gregation, load shifting, and resource allocation. However, most of the current tools are focusing on single build-
Smart grids ings or devices, which are not suitable for building cluster studies. To this end, this study proposes to develop a
Distributed energy systems Net-zero building cluster emulator that can simulate realistic energy behaviors of a cluster of buildings and
Co-simulation their distributed energy devices as well as exchange operation data and control schemes with real-world building
control systems. The developed emulator has the exibility to integrate with different buildings and distributed
energy systems to study the performance of this building cluster to propose suggestions in urban energy planning
and operation. To show the application of this emulator, a proof-of-concept demonstration is also presented in
this paper.
2016 Elsevier Ltd. All rights reserved.

1. Introduction of smart grids, the power infrastructure in the United States is


experiencing a revolutionary transformation, from a centralized one-
Buildings are responsible for more than 40% of primary energy and way communication of power information to a decentralized network
70% of the electricity consumption in the United States (US DOE, with two-way communication (Friedman, 2009). With the trend of
2013a), of which approximately 1520% is wasted by nonoptimal con- moving from centralized building operation decision to decentralized
trol schemes and malfunction of equipment or performance degrada- operation control, it is envisioned that neighboring buildings will have
tion (Katipamula & Brambley, 2005). Moreover, the National Energy the tendency to form a building cluster, within which smart grids, dis-
Technology Laboratory estimated that more than one-fourth of the tributed power generation, and storage devices can freely share energy
713 GW of US electricity demand in 2010 could be dispatchable if only resource locally and globally and the entire cluster will achieve maxi-
buildings could respond to that dispatch through advanced building mum energy efciency (Hu, Weir, & Wu, 2012).
energy control and operation strategies and smart grid infrastructure In this direction, this study proposes a Net-zero building cluster con-
(National Energy Technology Laboratory (NETL), 2011). Load cept (Fig. 1). Different from the existing load aggregation concept, this
dispatching is to determine the operation of generation facilities to pro- building cluster concept may transform the energy industry by shifting
duce energy at minimum cost to serve consumers reliably, which can expensive on-site energy generation aimed at creating single Net-zero
assist the balance between power supply and demand in the power building one-at-a-time to an autonomous and adaptive system of build-
grids. Several distributed energy systems are developed and connected ings aimed at Net-zero clusters. Through optimized demand manage-
to the power grids, which brings in challenges to fully utilize the energy ment, these building clusters will likely reduce overall primary energy
saving and reliability maintaining potentials. To this end, there is an ur- consumption and peak time electricity demand to be more resilient to
gent requirement to develop better control and operation strategies for power disruptions. Before this Net-zero building cluster concept, exten-
buildings and distributed energy systems. Currently, with the spreading sive studies have focused on Net-zero building development from the
perspective of early design (Attia et al., 2012), renewable energy system
Corresponding author. integration (Dexter & Pakanen, 2001), and performance evaluation (Li,
E-mail addresses: xiwangli@lbl.gov, xiwangli2010@gmail.com (X. Li). Wen, & Wu, 2014). Together with the Net-zero building studies,

http://dx.doi.org/10.1016/j.compenvurbsys.2016.09.007
0198-9715/ 2016 Elsevier Ltd. All rights reserved.
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 169

Fig. 1. Building cluster connection and operation.

research has also focused on developing operation strategies to improve distributed energy systems in EnergyPlus and TRNSYS. These models
energy efciency, such as building energy forecasting (Building Energy are detailed enough to be used to assess the effectiveness of various con-
Software Tools, n.d.; Bonvini et al., 2014), building temperature control trol strategies, and have been experimentally validated in previous
(Lee & Braun, 2008; Ma et al., 2012; Li & Malkawi, 2016), distributed en- studies. To link all these models together and to enable simultaneous
ergy system integration (Hajiah & Krarti, 2012; Mulder, Ridder, & Six, simulation, this emulator uses a Building Controls Virtual Test Bed
2010), and operation optimization and fault detection (Oldewurtel et (BCVTB) developed by LBNL (Wetter & Haves, 2008). After various
al., 2012). Even though these studies have made signicant achieve- models are assembled to form a building cluster emulator, a proof-of-
ments, they focused on only single building and its interactions with concept operation demonstration is then presented. In this demonstra-
distributed systems. Moreover, the benets from Net-zero building tion, only two buildings, one ice tank, one PV panel, and one battery are
cluster concept have not been fully investigated. A comprehensive re- included in this building cluster, but the emulator has the exibility to
view paper introduced and summarized the state of art of building integrate more buildings and devices. Section 2 describes the overall
and distributed energy systems studies (Li & Wen, 2014), which also structure of this emulator, followed by the detailed information about
probed the necessities in studying interactions between different build- the module development and connection in Sections 3 and 4. Finally,
ings, energy systems, and smart grids. The effectiveness of building clus- Section 5 presents testing criteria of the proof-of-concept demonstra-
ter concept in improving energy efciency and resilience has been tion and the simulated results.
proved in limited number of studies (Lamoudi, Bguery, & Alamir,
2011; Maasoumy et al., 2014; Li, Wen, & Malkawi, 2016; Hu et al., 2. Emulator overall design and operation
2012). All these studies, however, use simplied physics based models
or data-driven models for operation simulation and control strategy de- 2.1. Emulator design
termination. The results from those highly simplied models are dif-
cult to verify against the reality of complex building clusters. The overall emulator design and connection are illustrated in Fig. 2.
Therefore, this study proposes to develop a building cluster emulator In this emulator, there are four simulation modules: building module,
that can simulate the operation of multiple buildings and distributed ice tank module, PV-battery module, and operation module. Besides
energy systems, and especially device sharing and resources allocation, these simulation modules, there is a simulation operation module,
by using more sophisticated simulation tools to verify and assess the which contains a database for simulation conditions and operation
proposed building cluster formation and operation schemes. strategies, and a simulation result analysis model. The PV-battery mod-
Most building energy simulation tools, unfortunately, focus only on ule and the ice tank module are shared within this building cluster.
single building or single energy system. For example, EnergyPlus EnergyPlus is chosen to simulate the buildings and ice tank thermal
(Crawley et al., 2001) is a detailed physics-based whole building simu- storage devices, because it is widely used and validated to provide de-
lation program that can simulate the targeted building energy con- tailed simulation results at a minimum 1-min time step. TRNSYS is se-
sumption from HVAC, lighting, and other equipment. TRNSYS is lected to simulate the PV panel power generation and battery system.
another exible graphics-based software environment used to simulate Operation module, which can provide the control and operation strate-
the behavior of transient systems. There are also several studies focus- gies, is present in MATLAB. BCVTB serves as a middleware to connect all
ing on developing distributed energy system models in TRNSYS, such the simulation models.
as PV panels models (De Soto, Klein, & Beckman, 2006) and battery
models (Kim, 2013). To the best of the authors' knowledge, no simula- 2.2. Emulator operation
tion tool exists that can simulate the Net-zero building cluster cases pro-
posed in this study. The proposed Net-zero building cluster emulator The emulator will store control and operation schemes in the data-
selects detailed physics-based simulation models for buildings and base and apply them in each module within this cluster through
170 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

Fig. 2. Emulator operation control diagram.

MATLAB and BCVTB. Table 1 summarizes the major inputs and outputs each time step and a set of new control signals will then be sent to the
of each module. cluster.
At each simulation time step, the emulator provides real-world-like
noisy and noise-free measurements according to the simulation re- 3. Emulator module development
sults, such as energy generation and performance data of energy storage
devices. The control signals sent from the operation module are building 3.1. Building module
heating and cooling setpoints (Tseph, Tsepc), operation energy generation
and storage (Si, Sb, Spv), and electricity purchasing and selling (Ep, Es); of Although the test bed can include any number and type of
these signals, the rst two are sent to the building module, Si is sent to EnergyPlus building models, only two different buildings are included
the ice tank module, Sb and Spv are sent to PV-battery module, and Ep in this demonstration. Building simulation models for two typical medi-
and Es are sent to the simulation operation module. Meanwhile, build- um-size ofce buildings in Philadelphia developed in a previous study
ing measurements (Eb, Tzone, etc.) are outputs from the building module, are selected for this cluster emulator (Hendricken et al., 2012). This
ice tank measurements (SOCice, Tchlw, Mchlw, and Eice) are output from rst building is a one-story, 464.5-m2 commercial building and the
the ice tank module, PV-battery measurements (Epv, Ebat, and SOCbat) other one is a three-story, 1393.55-m2 commercial building. The win-
are output from the PV-battery module, and Ptou, Pc, and Pe are output dow-to-wall ratio for both buildings is approximately 0.29. The win-
from the power grid module. All these outputs will be transferred to dows are of various single- and double-pane construction with 3- and
the simulation operation module to assess the control strategies at 6-mm glass and either 6- or 13-mm argon or air gap. The U-factors of
the single- and double-pane windows are 0.173 and 0.086 W/m2 K,

Table 1
Building cluster inputoutput summary.
Table 2
Simulation Input Major output Building internal and external heat gains.
module
Heat source Value Unit
Building Tseph (heating Eb (building energy consumption), Edc
model setpoint) (dedicated chiller energy consumption), Ebc Occupant 0.1 Person/square meter
Tsepc (cooling (base chiller energy consumption), Tzone Ventilation 0.0125 Cubic meter/second person
setpoint) (building zone temperature), Hzone (Building Lighting power 15 Watts/square meter
zone humidity) Interior Plug Loads 10 Watts/square meter
Ice tank Si (operation state SOCice (ice tank state of charge), Eice (charging Envelope Inltration 9.4E-4 Cubic meter/second square meter
of ice tank) and discharging rate), Tchlw (chilled water
in/out temperature), Mchlw (chilled water
in/out temperature ow rate)
Battery Sb (operation state SOCbat (battery state of battery), Ebat (charging Table 3
model of battery) and discharging rate), Ibat (charging and Building mechanical systems.
discharging current)
Building I Building II
PV model Spv (operation state Epv (Power generation)
of PV panel) System 3 CAV, RTUs 3 CAV, AHUs
Power Ep (Power buying Rtou(Time-of-use price), Pc(electricity costs), Main cooling coil DX, COP 3 Chilled water
grid from power grid) Pe(electricity earnings) Main heating coil Hot water Hot water
model Es (Power selling to Zone reheat Hot water Eclectic
power grid) Heat plant Central boiler Central boiler
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 171

Fig. 3. PV panel-battery system conguration.

respectively. Both buildings have deck roofs with R-15 insulation and 3.2. PV-battery module
solar absorptivity of 0.9. A summary of the heat gains is presented in
Table 2. The rst building system is a single-duct constant air volume PV panel power generation and battery electricity storage are
(CAV) rooftop unit (RTU) system, and the other one is a single-duct modeled together as a PV-battery module in this emulator. As shown
CAV air-handling unit (AHU) system. in Fig. 3, the PV-battery system module contains a PV panel model, a
A summary of the mechanical systems is presented in Table 3. The battery model, a power grid model, a local operation controller model,
rst building system is a single-duct CAV RTU system and the other and two inverter models.
one is a single-duct CAV AHU system. All these components are modeled individually and interconnected
in TRNSYS. The PV panel is modeled using Type 194 in TRNSYS, which
is based on the diode equivalent circuit model to calculate the power
generation rate, outlet current, and voltage (Fry, 1998):
   
Table 4 q
PV panel model parameter. I I L I0 exp V IRs 1 1
kT c
Parameter Value Unit

Open circuit voltage 21.6 V


Short circuit current 6.5 A Table 5
Maximum power voltage 17 V Battery model parameter.
Maximum power current 5.9 A
Parameter Value Unit
Temperature coefcients at open circuit voltage 0.079
Temperature coefcients at short circuit current 0.02 Capacity 1380 Ah
Nominal operating cell temperature (NOCT) 298 K Nominal voltage 12 V
Insolation at NOCT 800 W/m2 Voltage at no charge 1.9 V
Number of modules in series 51 AC/DC inverter efciency 0.9
Number of modules in parallel 6 Maximum round efciency 0.9
Module area 0.89 m2 Minimum round efciency 0.7
172 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

Fig. 4. PV panel-battery system model in TRNSYS.

same TMY3 weather les for Philadelphia, which can easily be replaced
Table 6 with real weather condition les and other weather les for other loca-
Ice thermal storage tank and dedicated chiller parameter. tions. The MATLAB Controller component is connected with the over-
Parameter Value Unit all operation module, which passes the overall operation signals into
Ice tank capacity 0.2 GJ
the PV-battery module, such as schedules for PV charging battery,
Tank loss coefcient 0.0003 PV providing power to building, Battery discharging power to
Freezing temperature 0 C building.
Dedicated chilled capacity 7000 W
Dedicated chilled COP 3.2
3.3. Ice tank thermal storage module

Ice tank thermal energy storage system is another important build-


where I is the PV module output current, IL is the module photocurrent, ing energy management equipment, which is often used to reduce the
I0 is the saturation current, q is the electron charge constant, is PV high electricity demand from cooling load during peak hours associated
curve tting parameter, k is the Boltzmann constant, Tc is the module with real-time electricity price. The default ice tank model (object) in
temperature, V is the PV module voltage, and Rs is the module resis- EnergyPlus is chosen in this study for its accuracy and robustness.
tance. The major parameters used in PV panel TRNSYS model are sum- There are two different ice tank thermal storage objects in EnergyPlus:
marized in Table 4. simple model and detailed model. The detailed model allows user-de-
The battery system is developed using Type 47b in TRNSYS, which ned charging and discharging curves to model a specic ice storage de-
simulates a lead-acid storage battery in conjunction with PV panel. It vice more closely (US DOE, 2013b), which is used in this study. There
species how the battery state of charge (SOC) varies over time, given are three different operation modes in this model, namely dormant
the rate of charge and discharge. The parameters used in this project mode, charging mode, and discharging mode. In charging or discharging
are illustrated in Table 5. The output of this module is the power provid- modes, the SOC of the ice tank can be calculated from charging or
ed to the buildings in this cluster. discharging rate (u), as shown in Eq. (2). During the discharging period,
The overall component for PV-battery module in TRNSYS is illustrat- the ice tank storage system provides cooling to meet the cooling de-
ed in Fig. 4, where the weather condition model reads weather data mand from the demand side. The chilled water ow rate ( m _ ice is adjust-
such as outdoor temperature and solar radiation at each time step _
ed according to the load request ( Q and inlet chilled water
ice
from typical meteorological year weather le and converts them into temperature (Tinlet), as shown in Eq. 3 (Ihm, Krarti, & Henze, 2004):
a desired system of units, which generates all the weather variables
that PV panel model needs. The weather le used in this module is the
same as the one used in the building module. Both of them are the SOC t ut SOC tt 2

Fig. 5. (a): Ice tank thermal storage system conguration; (b): building chilled water conguration.
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 173

Fig. 6. Ice cooling component schematic.

Fig. 7. Virtual power generator (VPG) conguration.

Fig. 8. Time-of-Use electricity price.


174 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

Fig. 9. Emulator connection in BCVTB.

this emulator. As illustrated in Fig. 2, the ice tank system is modeled as


Table 7 an individual EnergyPlus model with a dedicated chiller. In the ice tank
Emulator proof-of-concept testing criteria. model, chilled water discharged from the ice storage system is sent to
Category Model Checking Checking method the different buildings separately. The ratio of the chilled water mass
variable ow rate for each building is determined by the operation module. The
Building EnergyPlus TH, TC, Trm Compare results of EnergyPlus and cooling load of each building is covered rst by the chilled water from
Control and Epv, Ebldg MATLAB the shared ice storage tank. The remaining cooling need is satised by
operation Compare TRNSYS and EnergyPlus the base chillers of each building. A dedicated chiller is used to charge
Ice tank EnergyPlus Tdc,stp, Tchi for charging and discharging, Q
the ice storage system. The charging and discharging schedule is con-
operation Qicetot, Qiice, request and provide, SOCice
SOCice trolled by the operation module through the dedicated chiller using
PV-battery TRNSYS Spv, Ppv, Control signals for charging and chilled water outlet temperature setpoints (US DOE, 2013b). Key param-
system Sbat Pbat, discharging, power generation, power eters of the ice storage system module are summarized in Table 6.
operation SOCbat to building, grid, and battery, SOCba With the ice tank model as an individual model, it is very important to
share and exchange chilled water from ice tank to other building models.
However, it is very difcult to split the chilled water ow in one
Q_ ice
_ ice
m  : 3 EnergyPlus model and connect to another one. The following schemes
C p T inlet T stp are used to mimic the mass and heat transfer between the ice storage sys-
tem and the buildings described above. A user-dened load prole
Because the default ice tank storage system model in EnergyPlus model is developed in the chilled water demand loop of ice storage
needs to be attached to a specic building, which cannot be shared with tank to represent the chilled water request from all the buildings. The
multiple buildings, a novel ice tank model conguration is developed in amount of chilled water request is determined in the operation module.

Table 8
Building and ice tank settings for summer (winter).

Time, Building I Building II Ice tank


h
Heating setpoint, Cooling setpoint, Heating setpoint, Cooling setpoint, Dedicated chiller setpoint, Load request Building I, Load request Building
C C C C C W II,W

08 18 (18) 28 (26) 20 (18) 22 (25) 7 (off) 0 (0) 0 (0)


812 20 (22) 22 (24) 24 (24) 26 (26) 90 (off) 13,000 (0) 9000 (0)
1218 20 (22) 22 (24) 24 (24) 26 (26) 90 (off) 13,000 (0) 9000 (0)
1820 20 (22) 22 (26) 24 (24) 26 (26) 45 (off) 0 (0) 0 (0)
2024 18 (18) 28 (26) 18 (18) 28 (25) 7 (off) 0 (0) 0 (0)
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 175

Table 9
PV-battery and ice tank schedule.

Therefore, the ice storage tank will cover the load request in this load 4. Emulator module connection
prole, representing the coverage of the building's cooling requests.
The overall schematic of the chilled water loop of the ice storage system 4.1. Virtual power generator model in EnergyPlus
is illustrated in Fig. 5a. To simulate the chilled water received by each
building model, a new user-dened component, ice cooling, is created Because the PV panel and battery system are modeled in TRNSYS, a
in the supply side of the chilled water loop within each building model. virtual power generator model is created in the building models to
Similar to a series chiller conguration, the new ice cooling component represent the electricity provided from the PV-battery module (Fig. 7).
is in a series conguration before the base chiller. The ice cooling com- This virtual power generator will be controlled by TrackSchedule
ponent will cover some part of the cooling load rst, and the base chiller scheme (US DOE, 2013b) to generate the same amount of power as
will then cover the remaining cooling loads. The building chilled water that provided by the PV-battery module. This power generation
loop conguration is illustrated in Fig. 5b. value is rst simulated in the TRNSYS PV-battery module and then
Appendix A provides the detailed program for ice cooling model imported into the MATLAB operation module, and nally transferred
development and chilled water exchanging. The overall schematic of to the virtual power generator in EnergyPlus through the BCVTB. Energy
ice cooling is illustrated in Fig. 6. management system (EMS) is used to develop the virtual power gener-
As introduced before, the temperature of returning chilled water will ator and exchange the information through an external interface. Ap-
be decreased by the ice cooling component and then sent into the base pendix A provides the detailed EMS program for this interconnection
chiller: between PV-battery and building modules.

Q ice 4.2. Energy cost estimation model


T CWout T CWin ; 4
MCW CP CW
All these submodels in this building cluster, such as building models,
where TCWout is the chilled water temperature at the outlet of the ice PV-battery models, and ice tank storage models, are connected to the
cooling component, which is also the chilled water temperature at the power grid, where electricity price plays a key role in determining oper-
inlet of the base chiller, TCWin is the chilled water temperature at the ation strategies. It is noted that a number of public utility commissions
inlet of the ice cooling component, Qice is the building request cooling and utilities have started to use time-of-use (TOU) electricity price or
from the ice storage tank, MCW is the chilled water mass ow rate in even real-time price. Real-time pricing usually focuses more on large
the chilled water loop, and CPCW is the specic heat of chilled water. commercial and industrial customers. For small commercial buildings,
TOU price is much more common. Fig. 8 shows the TOU electricity
3.4. Operation module price plan used in this project (SCE, 2008).
On the basis of this TOU price, an energy cost estimation model is
The major role of the MATLAB operation module is to provide opera- then developed to calculate the electricity cost based on the amount
tion strategies for the whole building cluster. It can also work with opti- of electricity bought from and sold to the power grid. The total energy
mization methods to determine the building cluster operation signals. cost of this building cluster can be estimated as
The objective of this study is to develop an emulator for building cluster
simulation and provide real-world-like operation data to evaluate the
m H  
performance of the proposed operation strategies. All the control signals, C g Rp;i; j P tou; j Rs;i; j P s; j 6
either generated from optimization models or provided by the users, will i1 j1

be combined in this operation module and then sent to other simulation


modules. The format of the control signals is shown in Eq. (5) where Cg is the net electricity cost ($ for the demonstration case), m is
the number of the buildings in this cluster emulator, H is the building
h i
S T dc;stp ; Q icetot ; T iH ; T iC ; P iPB ; Q iice ; SPV ; Sbat ; Sice 5 operation time, and all other variables have been introduced in Table 1.

where Tdc,stp and Qicetot are signals controlling the ice storage tank, that is,
ice storage dedicated chiller outlet water temperature setpoint and total
cooling request from all the buildings, respectively; TiH , TiC , PiPB, and Qiice
are the control signals to ith building; TiH and TiC are heating and cooling
temperature setpoints; PiPB is the electricity provided to the building
from PV and battery system; Qiice is the cooling provided to the building
from ice storage tank; and SPV, Sbat, and Sice are the operation status
(charging, discharging, or dormant) of PV panel, battery, and ice tank sys-
tems, respectively. The reason why Tdc, stp is provided in the operation
module is that the charging and discharging schedule of the ice storage
thermal storage model in EnergyPlus is controlled by the dedicated chill-
er outlet temperature and the ice storage outlet temperature setpoints.
Details of the ice tank operation control in EnergyPlus can be found in
EnergyPlus InputOutput Reference (US DOE, 2013b). Fig. 10. Building temperature simulation results: (a) building I and (b) building II.
176 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

5. Emulator proof-of-concept operation testing

5.1. Emulator testing scheme

The development and connection of each module in the building


cluster emulator have been discussed. All the models used in this emu-
lator demonstration have been validated in previous studies. Therefore,
the operation testing will focus on the module connection and data ex-
change. Table 7 summarizes the overall testing criteria. This proof-of-
concept demonstration will compare results from different modules to
check the success of data exchange. This demonstration will also verify
the operation of each module against the control signals in the opera-
Fig. 11. PV-battery operation results.
tion module. For example, ice tank should be in charging state if the
dedicated chiller outlet temperature setpoint is 7 C, and it should
be in discharging state if the temperature setpoint is 90 C.
4.3. Emulator realization in BCVTB The control signals can be obtained from either optimization models
or other predened operation strategies. It is common knowledge that it
In this project, all the developed modules and models are connected is very difcult to use detailed physics-based models to calculate the op-
with each other through BCVTB, as shown in Fig. 9. The EnergyPlus I timal control strategies, because it is expensive and very time consum-
and EnergyPlus II are the building simulators. The Ice Tank is the ing to develop and validate this emulator. In addition, the calculation
ice storage tank simulator. The MATLAB simulator is the operation speed is not fast enough to be used in the searching-based optimization
module and PV-battery TRNSYS module connector, which will provide method. Therefore, in this demonstration, some predened operation
operation and control signals and call the PV-battery TRNSYS module strategies are applied in this emulator.
at every time step. To be more specic of the connection, an external in- All the temperature setpoints for building temperature control and
terface is created in these three EnergyPlus models, which is used to ice tank scheduling as well as ice tank load request are summarized in
connect EnergyPlus with BCVTB through a built-in Ptolemy server. Table 8. Two different sets of heating and cooling setpoints are applied
Once EnergyPlus model and BCVTB are connected, the control signals to the building cluster for summer and winter simulation. Ice tank is in
for the building module are transferred though this interface from charging state at night from 8:00 PM to 8:00 AM until it becomes fully
BCVTB to EnergyPlus models during the simulation. Meanwhile, the charged and in discharging state from 8:00 AM to 6:00 PM until it de-
control signals from the operation module are sent to BCVTB through pletes. Between 6:00 PM and 8:00 PM, the ice tank will be kept dormant.
a shared socket connection from MATLAB. Appendix A provides the de- The operation of PV panel and battery system is shown in Table 9. PV
tailed code for the module connection and interface development. panel energy generation will charge battery rst and then provide

Fig. 12. Ice tank operation results. (For interpretation of the references to color in this gure, the reader is referred to the web version of this article.)
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 177

Fig. 13. Building electricity consumption and cost.

power to buildings. In summer, the ice tank is charged by a dedicated Similarly, Fig. 11 plots the PV-battery module simulation results.
chiller at night and discharges chilled water to buildings in the peak Identical to the operation signals in Table 8, PV panel starts to charge
hours. The ice tank is kept completely off in winter. The building cluster battery in early morning and provides power to the building after the
test operation results under these operation strategies will be discussed battery is fully charged. Starting from 12:00 PM, the PV panel and bat-
in the following sections. tery provide power to the buildings together to reduce the peak de-
mand. In the PV-battery model, 60% of the outputted power is
provided to building I, which is the same as the control signals.
5.2. Emulator testing results As predetermined in Table 8, the shared ice storage tank is covering
part of load for building I and building II from 9:00 AM to 9:00 PM, until
5.2.1. Building cluster simulation results the ice tank is depleted. The simulation results are shown in Fig. 12. The
The proof-of-concept study is conducted on August 1st for summer blue line shows the ice tank storage SOC, which stays full until 8:00 AM
case and on January 3rd for winter case. The location of this building when it starts to discharge until it is depleted. During the discharge peri-
cluster is Philadelphia, PA, USA. Fig. 10 shows the temperature simula- od, the dedicated chiller is also working to meet the cooling requirement
tion results of these two buildings from EnergyPlus for summer and of the buildings. The green line is the amount of ice cooling provided to
winter simulations. These two building models use the same weather building I, which is 60% of the total discharged rate (red line). This test
condition le and internal load schedule, but different temperature validates the ice tank share method described in Section 3.3.
setpoints. In these two plots, the heating and cooling setpoints are iden-
tical to their operation settings in the operation module (Table 8), and 5.2.2. Building cluster energy consumption and cost
the building room temperature is effectively controlled by the temper- The energy consumption and the cost of the building cluster under the
ature setpoints. In Fig. 10 (a), room temperature is beyond control testing condition are shown in Fig. 13. The energy cost does not include
from 8:00 AM to 5:00 PM in the summer case. This is because the peak demand charging, which is usually for large commercial and industri-
cooling demand exceeds the capacity of the air conditioning system. al buildings. The energy consumption at peak hours, from 12:00 PM to
The room temperature is under control in all other cases. 4:00 PM, is reduced in these two buildings, because of the power

Table 10
Building cluster electricity consumption summary.

Electricity consumption [kWh] Electricity cost [US $] Peak demand [kW]

Building I Building II Building I Building II Building I Building II

Summer case 927.5 3214.8 203.1 711.5 79.7 210.9


Winter case 1325.2 3520.0 291.7 781.7 92.6 227.7
178 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

generation PV panel and battery power discharging, which would save sig- are interconnected through the BCVTB to the MATLAB model. A proof-
nicant energy cost. During off peak hours, ice tank would be charged by of-concept test case is conducted to illustrate the use of this test bed
the power grid, utilizing the lower electricity price. Building type and ther- and verify the data exchange within this emulator. Comparing building
mal mass signicantly affect the building energy consumption and opera- I and building II, however, building thermal mass as an important build-
tion. In this study, building II is larger than building I, and hence consumes ing characteristic plays a signicant role in building operation and energy
more energy (Table 10). The peak demand of building I is approximately savings. Weather conditions such as outdoor air temperature and solar
80 kW, which is less than the power provided by peak PV-battery. There- radiation also greatly affect the energy consumption and energy genera-
fore, the electricity purchasing is zero at noon for about 30 min. From the tion. On the contrary, energy costs of the cluster during off-peak and on-
simulation results, the PV-battery power provided 886.2-kWh electricity peak periods show that building operation, especially the operation of en-
and saved US $205.6, without considering the peak demand charging. ergy generation and storage devices, should be updated according to the
electricity price changing to fully utilize electricity at low rate in off-peak
6. Conclusions and future work hours. Future studies will focus on testing the data exchanging of this em-
ulator with real buildings and distributed energy systems.
In this study, an emulator test bed, which is designed to assess build-
ing cluster operation strategies and simulate a building cluster as well as Acknowledgments
energy generation and storage devices, is developed. In this building clus-
ter emulator, multiple buildings are connected and can share PV panels as Part of this study was conducted at Drexel University. Financial sup-
energy generation devices and battery and ice tank as energy storage sys- port from the National Science Foundation (award number: 1239257) is
tems. Various simulation environments, including EnergyPlus and highly appreciated. The author is also grateful to the Postdoctoral Fellow-
TRNSYS, are used to model different parts of this building cluster and ship from the Center for Green Buildings and Cities at Harvard University.

Appendix A. Building cluster emulator setup

1. EnergyPlus and BCVTB Connection


EnergyPlus and BCVTB are connected using Ptolemy through the external interface in EnergyPlus. Fig. A-1-1and Fig. A-1-2 show the external in-
terface and transferring variables.

Fig. A-1. External interface in EnergyPlus.

Fig. A-2. Control variable transferring.

To declare the data exchange, a conguration le is also needed:


2. TRNSYS and BCVTB connection
There is a MATLAB module in BCVTB for MATLAB, and TRNSYS and BCVTN are connected through MATLAB:
X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 179
180 X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181

3. EnergyPlus EMS for ice tank module


X. Li, J. Wen / Computers, Environment and Urban Systems 62 (2017) 168181 181

References Kim, S. H. (2013). Building demand-side control using thermal energy storage under un-
certainty: An adaptive multiple model-based predictive control (MMPC) approach.
Attia, S., et al. (2012). Simulation-based decision support tool for early stages of zero-en- Building and Environment, 67, 111128.
ergy building design. Energy and Buildings, 49, 215. Lamoudi, M. Y., Bguery, P., & Alamir, M. (2011). Use of simulation for the validation of a
Bonvini, M., et al. (2014). Robust on-line fault detection diagnosis for HVAC components model predictive control strategy for energy management in buildings. Proceedings of
based on nonlinear state estimation techniques. Applied Energy, 124, 156166. building simulation.
Building Energy Software Tools. Lee, K. H., & Braun, J. E. (2008). Model-based demand-limiting control of building thermal
Crawley, D. B., et al. (2001). EnergyPlus: Creating a new-generation building energy sim- mass. Building and Environment, 43(10), 16331646.
ulation program. Energy and Buildings, 33(4), 319331. Li, X., & Wen, J. (2014). Review of building energy modeling for control and operation.
De Soto, W., Klein, S. A., & Beckman, W. A. (2006). Improvement and validation of a model Renewable and Sustainable Energy Reviews, 37, 517537.
for photovoltaic array performance. Solar Energy, 80(1), 7888. Li, X., & Malkawi, A. (2016). Multi-objective optimization for thermal mass model predic-
Dexter, A., & Pakanen, J. F. (2001). Fault detection and diagnosis methods in real buildings. tive control in small and medium size commercial buildings under summer weather
Energy conservation in buildings and community systems, IEA Annex 34: Computer-aided conditions. Energy, 112, 11941206.
evaluation of HVAC system performance. Li, X., Wen, J., & Wu, T. (2014). Net-zero energy impact building clusters emulator for op-
Friedman, H. (2009). Wiring the smart grid for energy savings: Integrating buildings to max- eration strategy development. ASHRAE Transactions, 120.
imize investment. Portland, Oregon: Portland Energy Conservation Inc. (PECI.). Li, X., Wen, J., & Malkawi, A. (2016). An operation optimization and decision framework
Fry, B. A. (1998). Simulation of grid-tied building integrated photovoltaic systems. Master's for a building cluster with distributed energy systems. Applied Energy, 178, 98109.
Thesis University of Wisconsin-Madison. Ma, J., et al. (2012). Demand reduction in building energy systems based on economic
Hajiah, A., & Krarti, M. (2012). Optimal control of building storage systems using both ice model predictive control. Chemical Engineering Science, 67(1), 92100.
storage and thermal mass Part I: Simulation environment. Energy Conversion and Maasoumy, M., et al. (2014). Selecting building predictive control based on model
Management, 64(0), 499508. uncertaintyAmerican Control Conference (ACC) 2014. IEEE.
Hendricken, L., et al. (2012). Capital costs and energy savings achieved by energy conser- Mulder, G., Ridder, F. D., & Six, D. (2010). Electricity storage for grid-connected household
vation measures for ofce buildings in the greater Philadephia Region. SimBuild dwellings with PV panels. Solar Energy, 84(7), 12841293.
(Madison, WI). National Energy Technology Laboratory (NETL) (August 2011). Demand DispatchIntelligent
Hu, M., Weir, J. D., & Wu, T. (2012). Decentralized operation strategies for an integrated Demand for a More Efcient Grid. DOE/NETL-DE-FE0004001 (Morgantown, West Virginia).
building energy system using a memetic algorithm. European Journal of Operational Oldewurtel, F., et al. (2012). Use of model predictive control and weather forecasts for en-
Research, 217(1), 185197. ergy efcient building climate control. Energy and Buildings, 45, 1527.
Ihm, P., Krarti, M., & Henze, G. P. (2004). Development of a thermal energy storage model US DOE (2013a). Buildings Energy Data Book. http://buildingsdatabook.eren.doe.gov
for EnergyPlus. Energy and Buildings, 36(8), 807814. US DOE (2013b). EnergyPlus Engineering Reference. Input and Output Reference, 6.
Katipamula, S., & Brambley, M. R. (2005). Review article: Methods for fault detection, di- Wetter, M., & Haves, P. (2008). A Modular building controls virtual test Bed for the Integra-
agnostics, and prognostics for building systemsA review, Part I. HVAC&R Research, tion of heterogeneous systems Proceedings of 3rd Nation Conference of IBPSA-USA
11(1), 325. SimBuild (Berkeley, California).

You might also like