8
SimBuild 2010 Fourth National Conference of IBPSA-USA New York City, New York August 11 – 13, 2010 419 UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES Sebastian Burhenne 1,* , Dirk Jacob 1 , and Gregor P. Henze 2 1 Fraunhofer Institute for Solar Energy Systems, Freiburg, Germany 2 University of Colorado, Boulder, USA * Corresponding author. E-mail address: [email protected] ABSTRACT From a modeling perspective, the thermal characteris- tics of buildings must be described with the help of param- eters that often cannot be estimated with high accuracy. Results from simulations relying on erroneous parameter values can lead to inaccuracies which are hard to quantify, and small perturbations to a sensitive parameter can influ- ence the results significantly. By examining the impact of uncertainties, it is possible to increase simulation quality, and thus inferences from the results. In this paper, the un- certainty associated with model parameters of a building using a solar thermal collector for heating and domestic hot water is analyzed. The influence of the uncertain pa- rameters and variables on the solar fraction is quantified through the use of Monte Carlo simulations. The relation- ship between uncertainty analysis and sensitivity analysis is examined, as well as a practical methodology suggested to support the building design process and related decision making. INTRODUCTION Energy efficient buildings and advanced plant equip- ment commonly necessitate a more complex design pro- cess. Employing simulations in this process has the ad- vantage that the part load behavior as well as the the inter- actions between plant equipment and the building can be fully examined. The results of the analysis are very useful to designing and optimizing energy systems or to perform critical plant sizing. Although simulations are often used in building research and practice, uncertainties are hardly ever quantified. One reason for that could be the lack of simple tools and methodologies which are applicable to this specific problem. A mismatch between detailed and computationally expensive simulations on the one hand and crude parameter assumptions according to some rules of thumb on the other can often be found in literature and practice. This is misleading as the high accuracy of the results is only simulated creating a false sense of valid- ity and engineering rigor. Whereas in other fields of sci- ence uncertainty analysis is widely used (Saltelli, Ratto, Andres et al. (2008), page 5-6), Lomas et al. (1992) con- ducted one of the first studies about Monte Carlo analysis for building simulations (Lomas, and Eppel (1992)). Mac- donald conducted further research on uncertainty analy- sis. He analyzed in his dissertation Quantifying the Ef- fects of Uncertainty in Building Simulation the influence of uncertain parameters in building simulations (Macdon- ald (2002)). Parameters, notorious for their difficulty in estimation include building occupancy, air change rates, and domes- tic hot water consumption. Herkel et al. (2008) performed a literature review and analyzed user behavior in an office building. He came to the conclusion that a model of user behavior regarding window openings should depend on the season, the outdoor and indoor temperature, the time of the day and the presence of occupants (Herkel, Knapp, and Pfafferott (2008)). Another way to handle uncertain knowledge are Bayesian networks. Dodier (1999) analyzed these belief networks in his work Unified Prediction and Diagnosis in Engineering Systems by Means of Distributed Belief Net- works concerning their applicability to engineering sys- tems (Dodier (1999)). In this paper, a Monte Carlo technique is used to quan- tify the influence of uncertain parameters and variables in building simulation. The aim is to assign a probability density function (pdf) to each uncertain input of the sim- ulation and to obtain a joint pdf for the result. In this way, it is possible to analyze the likely variation of the output given the uncertain set of inputs. It is also possible to cal- culate with which probability a target of a design process will be reached; an application that extends the classical building simulation analysis since the result gives not just the answer yes or no to a design question. In Figure 1 a comparison of the classical simulation approach and the analyzed approach is shown. Different to past building related studies, where sensitivity and uncertainty analysis were often analyzed separately, the link between both is examined. SIMULATION Analyzed building and plant equipment The building simulated is a typical German build- ing with a net floor area of 436 m 2 . There is no air-

UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

  • Upload
    vocong

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

Page 1: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

419

UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLOTECHNIQUES

Sebastian Burhenne1,∗, Dirk Jacob1, and Gregor P. Henze2

1Fraunhofer Institute for Solar Energy Systems, Freiburg, Germany2University of Colorado, Boulder, USA

∗Corresponding author. E-mail address: [email protected]

ABSTRACTFrom a modeling perspective, the thermal characteris-

tics of buildings must be described with the help of param-eters that often cannot be estimated with high accuracy.Results from simulations relying on erroneous parametervalues can lead to inaccuracies which are hard to quantify,and small perturbations to a sensitive parameter can influ-ence the results significantly. By examining the impact ofuncertainties, it is possible to increase simulation quality,and thus inferences from the results. In this paper, the un-certainty associated with model parameters of a buildingusing a solar thermal collector for heating and domestichot water is analyzed. The influence of the uncertain pa-rameters and variables on the solar fraction is quantifiedthrough the use of Monte Carlo simulations. The relation-ship between uncertainty analysis and sensitivity analysisis examined, as well as a practical methodology suggestedto support the building design process and related decisionmaking.

INTRODUCTIONEnergy efficient buildings and advanced plant equip-

ment commonly necessitate a more complex design pro-cess. Employing simulations in this process has the ad-vantage that the part load behavior as well as the the inter-actions between plant equipment and the building can befully examined. The results of the analysis are very usefulto designing and optimizing energy systems or to performcritical plant sizing. Although simulations are often usedin building research and practice, uncertainties are hardlyever quantified. One reason for that could be the lack ofsimple tools and methodologies which are applicable tothis specific problem. A mismatch between detailed andcomputationally expensive simulations on the one handand crude parameter assumptions according to some rulesof thumb on the other can often be found in literature andpractice. This is misleading as the high accuracy of theresults is only simulated creating a false sense of valid-ity and engineering rigor. Whereas in other fields of sci-ence uncertainty analysis is widely used (Saltelli, Ratto,Andres et al. (2008), page 5-6), Lomas et al. (1992) con-ducted one of the first studies about Monte Carlo analysis

for building simulations (Lomas, and Eppel (1992)). Mac-donald conducted further research on uncertainty analy-sis. He analyzed in his dissertation Quantifying the Ef-fects of Uncertainty in Building Simulation the influenceof uncertain parameters in building simulations (Macdon-ald (2002)).

Parameters, notorious for their difficulty in estimationinclude building occupancy, air change rates, and domes-tic hot water consumption. Herkel et al. (2008) performeda literature review and analyzed user behavior in an officebuilding. He came to the conclusion that a model of userbehavior regarding window openings should depend onthe season, the outdoor and indoor temperature, the timeof the day and the presence of occupants (Herkel, Knapp,and Pfafferott (2008)).

Another way to handle uncertain knowledge areBayesian networks. Dodier (1999) analyzed these beliefnetworks in his work Unified Prediction and Diagnosis inEngineering Systems by Means of Distributed Belief Net-works concerning their applicability to engineering sys-tems (Dodier (1999)).

In this paper, a Monte Carlo technique is used to quan-tify the influence of uncertain parameters and variables inbuilding simulation. The aim is to assign a probabilitydensity function (pdf) to each uncertain input of the sim-ulation and to obtain a joint pdf for the result. In this way,it is possible to analyze the likely variation of the outputgiven the uncertain set of inputs. It is also possible to cal-culate with which probability a target of a design processwill be reached; an application that extends the classicalbuilding simulation analysis since the result gives not justthe answer yes or no to a design question. In Figure 1 acomparison of the classical simulation approach and theanalyzed approach is shown. Different to past buildingrelated studies, where sensitivity and uncertainty analysiswere often analyzed separately, the link between both isexamined.

SIMULATIONAnalyzed building and plant equipment

The building simulated is a typical German build-ing with a net floor area of 436 m2. There is no air-

Page 2: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

420

Figure 1: Classical building simulation approach versus building simulation approach with uncertainty analysis. Theclassical approach has single numbers as input and yields a single number (e.g. specific yearly energy consumption)with unknown accuracy which is often not acceptable given the uncertain inputs. The analyzed approach indicates howinputs might vary and quantifies the uncertainty in the result. The solid blue line in the probability density functionsindicates the expected value and the dashed blue lines indicate the expected value plus/minus one standard deviation.

conditioning available in the building and the heat is emit-ted by radiators equipped with thermostatic valves. Thebuilding is equipped with sensors (outside temperature,heat meter, room temperatures etc.) to allow for a valida-tion of the simulation. The main building parameters areshown in Table 1 and Figure 2 is a 3D-plan of the building.

Table 1: Building parameters.

parameter value unitAV (area to volume ratio) 0.38 m−1

U-value (mean U-value) 0.53 Wm2K

Awin (total window area) 106 m2

Simulation modelMonte Carlo (MC) simulations require many simula-

tion runs and are therefore computationally expensive. Inorder to reduce the computing time, it is necessary to findan appropriate simple model for thermal building simula-

Figure 2: 3D-plan of the building.

tion. Furthermore, a model with many parameters is oftennot better than one with just a few parameters (Deque,Ollivier, and Poblador (2000)). In this context it is imper-ative to determine the parameters with the greatest influ-ence. In the case of building simulation, important param-eters are the occupancy and the control parameters. For asimple zone model the simple hourly method (SHM) ac-

Page 3: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

421

cording to the ISO 13790 standard is used (ISO 13790(2007)). This zone model is based on five resistances andone capacity. The model was calibrated for this building;it showed a good agreement with the measured room tem-perature and the heating power of the building (Burhenne,and Jacob (2008)).

The object-oriented and equation-based modeling lan-guage Modelica is used to describe the system (Elmqvist(1997)) and the simulations are conducted using thesoftware Dymola 6 (Dynasim AB (2004), Dynasim AB(2007)).

In actuality, the building is an office building heatedby a gas boiler. For this analysis, however, it is assumedthat it is a residential building with 12 occupants. A solarthermal collector with 19 m2 area and a 1000 liter storagetank are modeled. The collector model was implementedin Modelica using the plug flow model description of Isak-son and Eriksson (Isakson, and Eriksson (1993)). The col-lector flow rate is controlled by an on/off controller. Thetank is modeled as a simple one capacitor / one resistornetwork and an ideal boiler is used for keeping the tanktemperature at 60◦C as long as the maximum power is suf-ficient. The radiation processor is implemented accord-ing to an equation-based model (written in the modelinglanguage Neutral Model Format; Sahlin (1996)) from thesimulation software IDA-ICE (Sahlin, Eriksson, Grozmanet al. (2004)). Due to the similar structure, it is straight-forward to translate other equation-based modeling lan-guages into the Modelica language. The solar thermalsystem is designed for domestic hot water and heating.When the heat from this system is not sufficient, a gasboiler meets the load of the building. Figure 3 shows thegraphical representation of the models.

Monte Carlo simulationsIn a Monte Carlo analysis, a large number of evalua-

tions of the model is performed with randomly sampledmodel inputs (Saltelli, Chan, and Scott (2000), p. 20-24).It contains the following main steps:

1. Selection of probability density functions (pdf) foreach uncertain input (Xi).

2. Generation of a sample from each pdf.

3. Evaluation of the model for each element of the sam-ple.

4. Result analysis.

It is assumed that the mass flow rate of the domestic hotwater (m) and the air change rate (ACH) are uncertain.Furthermore, the times (k) when people leave or comeback to the building and how many people are present(occ) at a particular time cannot be determined exactly.Therefore, these times and the number of people who are

in the building are sampled. Figure 4 shows the basis ofthe occupancy schedule with the distributions which indi-cate which values are sampled. The domestic hot waterflow rates are generated with a program which was de-veloped in the Solar Heating and Cooling Program of theInternational Energy Agency (IEA-SHC), Task 26: SolarCombisystems (Jordan, and Vajen (2003)). The samplingwas done by multiplying a sampled factor with the massflow value, which is generated with the step size of 60 s.The infiltration air change rates are implemented accord-ing to a schedule (Figure 5) and the value is multipliedwith a sampled factor (ACH).

Figure 4: Schedule for the occupancy of the building. Thedistributions indicate which values are sampled.

Figure 5: Schedule for the infiltration rate (air changerate) in the building.

The sampling (step 2) generates the input matrix (Equa-tion 1). The parameters for the distributions which wereused for the sampling can be found in Table 2.

Page 4: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

422

Figure 3: Graphical representation of the models and their connections between each other.

MInput =

m(1) ACH(1) k(1)

1 · · · k(1)6 occ(1)

1 · · · occ(1)3

m(2) ACH(2) k(2)1 · · · k(2)

6 occ(2)1 · · · occ(2)

3...

......

. . ....

.... . .

...m(n−1) ACH(n−1) k(n−1)

1 · · · k(n−1)6 occ(n−1)

1 · · · occ(n−1)3

m(n) ACH(n) k(n)1 · · · k(n)

6 occ(n)1 · · · occ(n)

3

(1)

In this paper the solar fraction (SolFrac) is used to an-alyze the design of the solar thermal system. Its definitionis

SolFrac =Qcollector

Qtotal. (2)

Once the model is evaluated for each sample set (step3), the result vector is obtained (Equation 3).

YOutput =

SolFrac(1)

SolFrac(2)

...SolFrac(n−1)

SolFrac(n)

(3)

Other results which could be analyzed include theyearly end or primary energy consumption of the gasboiler, life cycle costs for the plant system, and CO2-emissions.

A crucial point in applying Monte Carlo techniques isthe sample size. Macdonald analyzed this problem withrespect to building simulation and stated that simple ran-dom sampling with a sample size of 100 should be used(Macdonald (2009)). However, in this paper a sample sizeof 1000 is used to generate the samples and it is done bya simple random sampling algorithm. The language andenvironment R (R Development Core Team (2009)) forstatistical computing is used to draw a sample, change the

Page 5: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

423

Table 2: Distribution parameters.parameter distribution µ σ

m (scaling factor) normal 1 0.1ACH (scaling factor) normal 1 0.2k1 (time occupancy) normal 7 0.5k2 (time occupancy) normal 8 0.5k3 (time occupancy) normal 12 0.5k4 (time occupancy) normal 13 0.5k5 (time occupancy) normal 17 0.5k6 (time occupancy) normal 18 0.5occ1 (number of occupants) normal 12 0.5occ2 (number of occupants) normal 8 0.5occ3 (number of occupants) normal 4 0.5

simulation input file, call the simulation program, analyze,and visualize the result.

DISCUSSION AND RESULT ANALYSISFirst set of Monte Carlo simulations

For each simulation, one solar fraction is obtained. Fig-ure 6 shows the histogram for the result vector.

solar fraction [--]

frequency

0.14 0.16 0.18 0.20 0.22 0.24 0.26 0.28

050

100

150

Figure 6: Histogram of the result vector.

This gives a first indication how the result varies giventhe uncertainties in the inputs. A practical design questionmight be:

• What is the probability to reach a solar fraction of≥ 20 %?

After normalizing the histogram, one obtains the proba-bility density function of the result (Figure 7).

solar fraction [--]

prob

abili

ty d

ensit

y

0.14 0.16 0.18 0.20 0.22 0.24 0.26 0.28

010

2030

Figure 7: Probability density function of the result. Theblue area under the distribution represents the probabilitythat the solar fraction is above 20 %.

The pdf can be described with a normal distribution:

p(x) =1

σ√

2πexp

(−1

2

(x−µ

σ

)2)

. (4)

The parameters for the normal distribution can be foundin Table 3.

Table 3: Distribution parameters for the result.result distribution µ σ

SolFrac normal 0.1847 0.01309

With this function it is possible to calculate the answerto the defined design question with

P(SolFrac≥ 20%) =Z +∞

0.2p(SolFrac) dSolFrac (5)

≈ 0.121∼= 12.1%.

With such an answer available, decision makers can de-cide whether the design of the plant equipment should bechanged or not. However, with the current design it isnot very probable to achieve the design target of 20 % orgreater solar fraction.

Second set of Monte Carlo simulationsThe tank size in the simulated example was 1000 L and

the collector had an area of 19 m2. Now we assume thatthe decision maker (e.g. client) formulates a new designquestion. The question is:

• What is the probability to reach a solar fraction of≥ 20 % given a tank size of 2000 L and a collectorarea of 25 m2?

Page 6: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

424

After running the Monte Carlo simulations with the samesample set but with different parameters for the tank sizeand the collector area, a new pdf can be computed (Figure8). Using the same sample set is important to make surethat the result does not change because of the sampledinput. This, however, will have no significant influencewhen a large sample size is used.

solar fraction [--]

prob

abili

ty d

ensit

y

0.14 0.16 0.18 0.20 0.22 0.24 0.26 0.28

010

2030

Figure 8: Probability density function of the result for thesecond set of Monte Carlo simulations. The blue areaunder the distribution represents the probability that thesolar fraction is above 20 %.

The parameters for the normal distribution of the sec-ond Monte Carlo simulation can be found in Table 4.

Table 4: Distribution parameters for the result of the sec-ond set of Monte Carlo simulations.

result distribution µ σ

SolFrac normal 0.2253 0.01564

The answer of the newly defined design question isnow:

P(SolFrac≥ 20%) =Z +∞

0.2p(SolFrac) dSolFrac (6)

≈ 0.947∼= 94.7%.

Now the decision maker has been properly informedabout the probability of achieving the design target. To-gether with cost data associated with the plant equipmenthe would even know how much he has to pay for the in-creased probability of solar fractions in excess of 20 %.

Sensitivity analysisSince a large number of simulation runs were con-

ducted for the Monte Carlo analyses, it is possible to fur-ther exploit this available data. One way is to analyzethe sensitivity of the sampled input parameters, giving the

modeler information about the sensitivity of the differentparameters and in which manner they influence the result.An interesting and simple method is a graphical sensitivityanalysis. The analysis is conducted for the first design ofthe system (19 m2 collector area and 1000 L tank volume).Each sample and its corresponding result (e.g. ACH1,Q1;... ; ACHn,Qn) is plotted in a scatter plot. Figure 9 showsa matrix of scatter plots for the sampled inputs as well asthe solar fraction, the total energy demand of the buildingand the total collector energy over one year.

It can be seen that the total heat consumption of thebuilding (Qtotal) and the solar fraction (SolFrac) are verysensitive to the air change rate (ACH). Furthermore, thelinear dependency between the variable and the results isvisible.

The collector energy (Qcoll) is sensitive to the flow rateof the domestic hot water (m). This dependency is notlinear since at some point the area of the collector is notsufficient to meet the higher demand.

The other pairs do not show such a strong dependency.Nonetheless, it would be worthwhile to apply another sen-sitivity analysis method to further examine the dependen-cies in the model.

CONCLUSIONIn this paper, a Monte Carlo based approach to quan-

tify the influence of uncertain parameters and variableswas discussed. The method is applicable to answer ques-tions during the design process. It was demonstrated thatstatistical methods can extend the use of classical buildingsimulations. Two designs were compared. The probabil-ity that the first design meets the defined design target wasapproximately 12 % whereas the second design is morelikely (≈ 95 %) to meet the requirements. With a classi-cal building simulation the answer would have been eitheryes or no depending on the assumptions. It appears to bedesirable to account for the world’s uncertainty even – orbetter especially – in building simulation.

Furthermore, a way of presenting a sensitivity analysiswas shown, which is very useful to determine the sensi-tive parameters. It offers insight into the influence of theinput as well as to the model behavior under changing pa-rameters or variables.

Future workIn this paper, the uncertain input variables were con-

sidered independent of each other. This is easy to im-plement and to handle within the complex simulation en-vironment. Nonetheless, variables such as the occupancy,the air change rate and the domestic hot water flow rate areunfortunately not independent. Assuming independencefor these variables leads to an overestimation of the influ-ence brought upon by the uncertain input. Future workwill address the problem of dealing with dependent in-

Page 7: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

425

Figure 9: Scatter plot matrix for sensitivity analysis.

put variables and will include user models such as the onepresented in Herkel, Knapp, and Pfafferott (2008) in theuncertainty analysis procedure.

Furthermore, the assumptions of the distributions fromwhich the sample was drawn need to be verified. There-fore measured data from several buildings and buildingconfigurations should be analyzed to obtain reasonable as-sumptions for the prior distributions.

The analysis in this example was conducted on the ba-sis of cumulative annual energy consumption. However, itwould be interesting to develop a method which improvesand automates the visualization of temporally resolved re-sults (e.g. time series plot with uncertainty band).

ACKNOWLEDGMENTThis study was funded by the Reiner Lemoine Stiftung

and the German Federal Ministry of Economics andTechnology (BMWi) under the program ”EnOB” (BMWi0327410A). Special thanks to Robert H. Dodier for in-

sightful discussions on statistical problems.

REFERENCESBurhenne, Sebastian, and Dirk Jacob. 2008. “Simulation

models to optimize the energy consumption of build-ings.” Proceedings International Conference for En-hanced Building Operations (ICEBO) 2008, Berlin,Germany (2008).

Deque, F., F. Ollivier, and A. Poblador. 2000. “Greyboxes used to represent buildings with a minimumnumber of geometric and thermal parameters.” En-ergy and Buildings 31 (2000): 29–35.

Dodier, Robert H.. 1999. Unified Prediction and Di-agnosis in Engineering Systems by Means of Dis-tributed Belief Networks. PhD Thesis. University ofColorado, Boulder, USA.

Dymosim AB. 2004. Dymola Multi-Engineering Model-

Page 8: UNCERTAINTY ANALYSIS IN BUILDING SIMULATION … · UNCERTAINTY ANALYSIS IN BUILDING SIMULATION WITH MONTE CARLO TECHNIQUES ... to support the building design process and related decision

SimBuild2010

Fourth National Conference of IBPSA-USANew York City, New York

August 11 – 13, 2010

426

ing and Simulation. Dymola User Manual. DymasimAB, Lund, Sweden.

Dymosim AB. 2007. Dymola Multi-Engineering Mod-eling and Simulation. Dymola User Manual. Dymola6 Additions. Dymasim AB, Lund, Sweden.

Elmqvist, Hilding. 1997. “Modelica – A unified object-oriented language for physical systems modeling.”Simulation Practice and Theory 5, no. 6.

Herkel, Sebastian, Ulla Knapp, and Jens Pfafferott.2008. “Towards a model of user behaviour regardingthe manual control of windows in office buildings.”Building and Environment 43 (2008): 588–600.

Isakson, Per, and Lars O. Eriksson. 1993. MFC 1.0β.Matched Flow Collector Model for simulation andtesting. User’s manual. IEA SH&CP Task 14. RoyalInstitute of Technology (KTH), Stockholm, Sweden.

ISO 13790. 2007. Energy performance of buildings-Calculation of energy use for space heating andcooling. Geneva: International Organization forStandardization.

Jordan, Ulrike, and Klaus Vajen. 2003. Handbuch DHW-calc. Werkzeug zur Generierung von Trinkwasser-Zapfprofilen auf statistischer Basis. Version 1.10.

Lomas, Kevin J., and Herbert Eppel. 1992. “Sensitivityanalysis techniques for building thermal simulationprograms.” Energy and Buildings 19 (1992): 21–44.

Macdonald, Iain A.. 2002. Quantifying the Effects of Un-certainty in Building Simulation. PhD Thesis. Uni-versity of Strathclyde, Glasgow, UK.

Macdonald, Iain A.. 2009. “Comparison of samplingtechniques on the performance of Monte-Carlo basedsensitivity analysis.” Proceedings Building Simula-tion 2009, Glasgow, UK (2009): 992–999.

R Development Core Team. 2009. R: A Language andEnvironment for Statistical Computing. Manual. RFoundation for Statistical Computing, Vienna, Aus-tria.

Sahlin, Per. 1996. NMF Handbook. An Introduction tothe Neutral Model Format. NMF version 3.02. RoyalInstitute of Technology (KTH), Stockholm, Sweden.

Sahlin, Per, Lars Eriksson, Pavel Grozman, Hans Johns-son, Alexander Shapovalov, and Mika Vuolle. 2004.“Whole-building simulation with symbolic DAEequations and general purpose solvers.” Building andEnvironment 39 (2004): 949–958.

Saltelli, Andrea, Marco Ratto, Terry Andres, FrancescaCampolongo, Jessica Cariboni , Debora Gatelli,Michaela Saisana, and Stefano Tarantola. 2008.Global Sensitivity Analysis: The Primer. John Wi-ley and Sons, Ltd.

Saltelli, Andrea, Karen Chan, and E. Marian Scott. 2000.Sensitivity Analysis. John Wiley and Sons, Ltd.

NOMENCLATUREACH air change rate (scaling factor)E(x) expected value of a variable xMInput input matrixm mass flow rate for domestic hot water

(scaling factor)n number of samplesP(x) probability of xp(x) probability desity function of xSolFrac solar fractionk sampled value for time in the occu-

pancy scheduleQ energyocc sampled value for occupancyYOutput result vector