Document not found! Please try again

Modeling and Identification of a Large Multi-Zone ... - Seed Engineering

0 downloads 0 Views 932KB Size Report
a comprehensive study of modeling of a large multi-zone office building. Many of the .... model for clarity. Zones of the same sub-system are colored alike.
Modeling and Identification of a Large Multi-Zone Office Building Samuel Pr´ıvara, Zdenˇek V´anˇ a, Dimitrios Gyalistras, Jiˇr´ı Cigler, Carina Sagerschnig, Manfred Morari, Luk´asˇ Ferkl

Abstract— Predictive control in buildings has undergone an intensive research in the past years. Model identification plays a central role in a predictive control approach. This paper presents a comprehensive study of modeling of a large multi-zone office building. Many of the common methods used for modeling of the buildings, such as a detailed modeling of the physical properties, RC modeling, etc., appeared to be unfeasible because of the complexity of the problem. Moreover, most of the research papers dealing with this topic presents identification (and control) of either a single-zone building, or a single building sub-system. On contrary, we proposed a novel approach combining a detailed modeling by a building-design software with a black-box subspace identification. The uniqueness of the presented approach is not only in the size of the problem, but also in the way of getting the model and interconnecting several computational and simulation tools.

I. I NTRODUCTION Climate changes, diminishing world supplies of the “traditional” fuels, ecological as well as economical aspects are only some of the many factors of a huge effort of today to save energy. Besides significant focus on renewable energy sources broaden, the goals can be reached only if the energy consumption is optimized. As the buildings account for about 40% of total final energy consumption (and its amount has been increasing at a rate 0.5–5 % per annum in developed countries [1]), the efficient building climate control can significantly contribute to reduction of the power consumption as well as the greenhouse gas emissions. Energy savings with minimal additional cost can be achieved by improvement of building automation system (BAS), which can nowadays control both heating, ventilation and air conditioning (HVAC) systems and the blind positioning and lighting systems [2], [3]. One of the control strategies suitable for building automation is the Model Predictive Control (MPC); unfortunately, the modeling and identification is rather difficult and time-consuming, not only in MPC. The special requirement for MPC is that the S. Pr´ıvara and J. Cigler are with Department of Control Engineering (DCE), Faculty of Electrical Engineering (FEE) of Czech Technical University (CTU) in Prague, Czech Republic and with Automatic Control Laboratory (ACL), Department of Information Technology and Electrical Engineering (DITEE), ETH Zurich, Switzerland [email protected] Zdenˇek V´anˇ a and Luk´asˇ Ferkl are with DCE, FEE CTU in Prague, Czech Republic Carina Sagerschnig is with Gruner AG, Gellertstrasse 55, CH-4020 Basel, Switzerland Dimitrios Gyalistras and Manfred Morari are with Automatic Control Laboratory, DITEE, ETH Zurich, Switzerland

model should be reasonably simple and have good prediction properties on the control-relevant frequency range (see e.g. [4], [5], [6], [7]). One approach is to use the first-principle models (see [8], [9]), which are often used on systems such as TRNSYS, EnergyPlus (EP), ESP-r, etc., but these models are not explicit and cannot be used for control directly. The alternative is to use statistically-based, i.e. data-driven models [10]; in this approach, problems with sufficient excitation of the system modes arise. In this work, we combined the benefits of both above mentioned approaches. A physical model in a building simulation software was created, such that it describes the real building as close as possible. Then identification signals were fed into the simulation software to obtain the high-quality identification data, and consequently these were used for obtaining a suitable control-oriented model. The main contribution of this paper is twofold: Firstly, it presents in a detail the unique two step modeling procedure (real building → EnergyPlus model → linear-time invariant model for control), secondly it handles set-up of a large variety of tools used in different communities to deal with a problem of extraordinary size. This paper is structured as follows: In the following section we will describe the problem and introduce the basic setup. Section III deals with identification and modeling procedures, describes the tools and algorithms used for obtaining the model. Section IV provides the results of the presented approach. Section V concludes the paper. II. P ROBLEM DESCRIPTION AND SETUP A. Description of the building The 20 000 m2 office building has six floors above ground. For this study, the entire third floor (as depicted in Figure 1), which is representative for all office floors, was modeled. Based on usage, fac¸ade orientation and HVAC supply, the floor can be divided into 24 zones which are mutually interconnected. Most zones are used as open-space offices; for modeling reasons, single offices were always lumped to a bigger zone. The total floor area of the simulation model is approx. 2 800 m2 . The fac¸ade of the building has a window-to-wall ratio of approx. 70 %. Fac¸ades to the atrium have a glazing ratio of approx. 50 %. Roughly 50 % of the windows have interior blinds, remaining blinds are in-between-glass blinds of double windows.

Fig. 1. 3D simulation model of the building: Investigated zones were on the third floor, other floors are greyed out. The zone layout is shown on top of the model for clarity. Zones of the same sub-system are colored alike. The core zones enabling the decoupling are dark blue.

When the building is brand new, real data are not available. From the aforementioned discussion, the only possible approach might be modeling of the building using RC network, which is quite challenging for multiple zone buildings. Therefore a new approach had to be introduced, which yields a model of a large multi-zone building. A very promising strategy might be a combination of a building simulation software (to have an implicit model of the building) used for identification experiments to get data for a standard statistical identification procedure. We used EP as the building simulation software and Building Controls Virtual Test Bed (BCVTB) as the middleware between EP and a controller written in Matlab (in terms of excitation signal generator). C. Software tools

There are the following actuators installed in the building: • Convectors: individual convector control is possible. • Radiant ceiling panels for cooling and heating: for control purposes ceiling panels of the floor are grouped into 24 zones that are controlled independently of each other. • Ventilation: There are two air handling units (AHU)s – for the north, and the south. The temperature of supply air can be set independently in both AHUs. • Venetian blinds are available for all windows in all zones. Controllable blinds of individual windows within the same zone are grouped together as one control input. Energy supply, i.e. hot and chilled water supply for the entire building, is provided by a central heating and cooling plant, which is located partly in the basement and partly on the roof. District heating is used for the building’s heat supply. Chilled water is provided locally by mechanical chillers. B. Choice of a modeling strategy As already stated, one of the objectives of this project was to find a convenient MPC-oriented modeling strategy suited for buildings, which would balance accuracy with the design-time demand. The first possible approach is based on detailed physical modeling, represented by e.g. equivalent RC-network [11]. Unfortunately, fitting of parameters of differential equations is infeasible for large-scale problems [12]. The second approach is based purely on measurements collected during the building operation, which are used for inputoutput statistical identification. Even though this procedure looks simple, the results are oftentimes far from good – some important assumptions, such as persistent excitation [13], are nearly always violated during building’s normal operation. The identification procedure can be improved by including some prior information [14] or by carrying out the identification experiment on the building which would excite all important system modes. Depending on the building size, the experiment might be rather expensive, but can bring high improvements to the resulting model [10].

A widely used tool for building energy performance simulation is EnergyPlus by the Lawrence Berkeley National Laboratory, which can be used for thermal load simulation and energy analysis of buildings. Besides the simulation itself, EP has a built-in energy management system that allows for integration of a rule-based control. Traditionally, EP is a stand-alone simulation engine which processes text-based input files. For developing and testing MPC models, co-simulation was necessary to allow more flexible simulation input. Cosimulation describes the integration of different tools by runtime coupling. This allows for example to couple building energy performance simulation tools to Matlab, and thus provide new possibilities to building simulation. Co-simulation fundamentals for building simulation such as coupling strategies and data transfer are described in [15]. Extensive capabilities for coupling simulation tools are provided by the Building Controls Virtual Testbed (BCVTB) [16]. It is a middleware tool that allows to couple different simulation programs for distributed simulation. Programs to be linked via the BCVTB are EP, Matlab, Modelica and Radiance. Data exchange with BACnet building automation systems is also featured. The BCVTB plays a master role in the data exchange, as depicted in Figure 2. For the entire simulation study, hourly weather data for Munich were used. The statistical weather data used were provided by the weather database of the US Department of Energy and prepared by ASHRAE1 based on International Weather for Energy Calculations (IWEC) data. III. I DENTIFICATION AND MODELING As was mentioned in previous sections, the identification and modeling is one of the most demanding tasks. We will describe the whole procedure of getting a building model in the following steps. Firstly, we describe the choice of suitable inputs and outputs for the identification, then we present software tools needed for handling and keeping all 1 American Society of Heating, Refrigerating and Air-Conditioning Engineers

%

+ %

% %

%

!"#$!

!"#

%$!"#/%.

$#"&'()*+,-

%



%$$. !"#!$%&'()*+,-+./ 0+1'

!145'2 012-13

%&'()*+,-./ % )

Fig. 3. Fig. 2.

Preparation of data for identification.

Use of BCVTB

+

information about system consistent, and finally mathematical tools necessary for successful system identification (SID). A. Choice of model inputs and outputs The choice of model inputs and outputs plays an important role for the particular identification procedure. According to the physical relationship between chosen inputs and outputs, one should opt for a suitable procedure which is able to handle underlying physics. In other words: if the input-output relation is non-linear, then linear identification methods may fail. The size of the problem is also quite an important factor – especially in the presented problem. Based on the aforementioned observations, we decided to choose heat fluxes affecting zone temperatures as system inputs and temperatures as outputs. The key benefit is that underlying physics is linear. Complete sets of inputs and outputs are described in Table I. Note that the model inputs are different from the inputs of the detailed EP model – direct manipulation of some heat fluxes is not allowed, and therefore we have to provide signals on a lower level (see Table I). The input set was divided into two categories: the first group represents the actuator heat fluxes, whilst the second represents disturbances affecting the system. The identification procedure does not distinguish between disturbances and manipulated variables, however, is needed for user orientation and consequent control as well. B. Step-by-Step to get a model Each of the following steps is actually a stand-alone software package which enables a specific task as follows. 1) GenEI: The main task of GenEI is a generation of sufficiently exciting input signals. Such signals are needed to satisfy key theoretical assumptions on reliable statistical identification – persistent exciting signals [17]. In real operation, this request is almost infeasible due to technical, physical or economical limitations. As the image of the building modeled in EP is at hand, a proper identification experiment can be designed. Obviously, when the objective is to build-up of a model suitable for control, the generated inputs do not need to cover the entire frequency domain, but rather some control-relevant selection. The prior knowledge of the time constants of the system is

+

often known or at least possible to estimate using some preliminary tests, thus the input signal is generated according to this information. We have proposed three different kinds of input signals, pseudo-random binary signal (PRBS), sum of sinusoids (SINE) and multilevel pseudo-random signal (MPRS). All of them have similar settings as follows. Let τH , τL denote the slowest and the fastest systems time constants, respectively. Then the required frequency spectrum to be covered by the generated signal is (ω∗ , ω ∗ ) and the following equation holds: ω∗ =

α ∗ 1 ≤ω≤ ω , βτH τL

(1)

where α defines the ratio of closed-and-open loop responses and β specifies the settling time. Typical values are α = 2 and β = 3, which corresponds to 95 % of settling time [18]. Due to the Nyquist-Shannon-Kotelnikov theorem, frequency range of the generated signal cannot be as in (1), but must be larger, and the range (1) should bear majority of the power of the signal. Furthermore, the choice of switching time is based on Ts ≤ 2.78 ω∗ . In case of MPRS, the input sequence is computed by Galoise fields [18] with the number of shift registers n and the length q, which defines the maximum possible multiple of harmonics to be suppressed. In the opposite way, let h be the maximum possible multiple of the harmonics to be suppressed. Then q has to be chosen such that q ≥ 2h −1. Next, the length n can be computed according to ω∗ ≥ Ts (q2π n −1) . Further on, the length of a signal cycle is Ncyc = q n − 1, which, in time domain, represents a signal of duration Tcyc = Ncyc · Ts . The number m of the signals to be generated has to be considered as well, but in practical applications, it is sufficient to generate only 1 signal, and shift it (m−1) times afterwards. It is indeed a very suitable solution as the signal generation is time consuming. Moreover, this technique guarantees the sufficient lack of crosscorrelation between the respective signals [19]. 2) GenSIO.: This block processes outputs produced by GenEI (inputs to EP), outputs of EP and some variables from schedules and databases, and produces the input and output data sets used in SID. The respective inputs, outputs and disturbances, as used in identification, are described in Table I and the procedure of data generation and preparation for identification is schematically depicted in Figure 3 and Figure 4, respectively.

TABLE I N OTATION OF THE VARIABLES USED FOR SYSTEM IDENTIFICATION ID

Variable Category

QCONV Convector heating rate ZCPCR Zone ceiling panel cooling rate

Type

Zone relevant EP equivalent

Input Input

Yes Yes

ZCPHR LG NRF FP

Zone ceiling panel heating rate Input Lighting gains Input Net radiation flux Disturbance Fan power Input

Yes Yes Yes Yes

ODBT EG OG ZT ZI

Outdoor dry bulb temperature Disturbance Equipment gains Disturbance Occupancy gains Disturbance Zone temperature Output Zone interior illuminance Output

No Yes Yes Yes Yes

Same quantity, power can be arbitrarily set within limits Supply water temperature and mass flow rate through plumbing can be adjusted. Together with return water temperature, they stand for heat flux of radiant ceiling Same as ZCPCR Same quantity, power can be arbitrarily set within limits Partly by means of blinds control Air flow rate (which is either 55 or 0 m3 /h) and supply air temperature. Together with return air temperature, they stand for heat flux of fans. Same quantity Same quantity Same quantity Same quantity Same quantity % %

3) Splitter.: Even the powerful servers (64bit machines, 16 cores @ 2.6 GHz and 24 GB RAM) are not able to compute the identification procedure because of the size of the problem. However, due to the floor layout, fac¸ade orientation and floor usage, the model of the third floor can be looked at as four decoupled subsystems. The ring-shaped layout of the floor houses also four cores (hosting infrastructural supply such as elevators, staircases, etc.) which separate the office spaces from each other. Thermal coupling of the investigated office zones via the cores is very loose and can be neglected, as far as control issues are concerned. The distributed heating, cooling and ventilation supply of the zones also support the idea of the system division said four subsystems. Consequently, each of the subsystems contains its zone-relevant signals and a copy of the signal, which was originally common for all subsystems. In other words, when a satisfactory computational power is at hand, the proposed procedure does not request special knowledge of the building’s physics, etc. On the other hand, it does not exclude the possibility of the system division due to computational or other reasons. 4) SID.: The choice of the identification method was determined by the factors described in previous sections, namely the size of the problem with a vast number of inputs and outputs, implying the multiple input multiple output (MIMO) system, and on the other hand, a huge set of generated (and/or measured) data suggesting the use of statistical identification procedures. Two different choices for subspace identification algorithm were implemented • N4SID function from System Identification toolbox for Matlab, (see [20], [13]). • Combined deterministic-stochastic algorithm [17], [21]. 5) Joiner.: The four resulting subsystems are merged together, when all the subsystems retain their zone-specific signals, whilst the common signals are joined. 6) Verification and validation.: Each of the identified system was verified using the verification data sets and residual and correlation analyzes. The joined system was repeatedly verified.

01* 3/6

!*-!+

!*

345 3/6N 01* 3/6

!*, (&)!*+

!"#$%%&'

!*, !*,

!"#!$%&'()*+,-+./ 0+1'

01*2345

./$)&'

:;#$6;%/'

!+

678%4.5'1%5'()*+,-+./ 0+1'(

!*, 23"%4.5'1%5'()*+,-+./ 0+1'(

:&'$

Suggest Documents