Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

How to realize Model Predicitve Control with OpenStudio

asked 2018-04-09 06:22:49 -0500

Alex1993's avatar


I am trying to use MPC algorithms with an Openstudio model.

The procedure propsed in the paper "Building energy model reduction for model predictive control using OpenStudio" by Wesley Cole ( seems to be a good fit.

Unfortunately I am unable to find the mentioned script (in section IV "Model reduction Methodology") with which I would be able to reduce the model.

Does anyone know where I can find this script? Or is there another script I could use performing a similar task?

Besides that I also found that there exists some other software like BCVTB with which, as far as I can see, one could perform MPC without model reduction. Has anyone expierence with such software and knows how computationally that is?

Thanks for your help!

edit retag flag offensive close merge delete


Hi Alex. I'm curious to know how far you got with this idea. Did you manage to get an MPC running with an OpenStudio model in the end?

workless's avatar workless  ( 2023-11-01 15:11:35 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-04-12 00:46:06 -0500

While I think one could set up an MPC algorithm with the BCVTB, it has not been developed for this purpose. You may rather want to look at

Whether you need to do a model reduction is somewhat a separate question, and opinions differ on this and highly depend on the model you have. We typically use simplified reduced order models for MPC, as they simplify the state and parameter estimation, and the solution of the optimization problem.

edit flag offensive delete link more


Ok thanks for the hint.

Do you also have software recommendation for 'automatic' model reduction using an RC-network? Or do you tend to create the reduction by hand?

So far I have found the BRCM MatLab Toolbox.

Alex1993's avatar Alex1993  ( 2018-04-12 03:28:06 -0500 )edit

@Alex1993 take a look at this question, which has several links to simplified modeling methods. In particular, this one:

MatthewSteen's avatar MatthewSteen  ( 2018-04-12 09:59:37 -0500 )edit

@Alex1993: Model reduction, in particular for commercial buildings and for HVAC systems, is not far enough along to be automated. The suited model structure depends largely on the system and the time scales of interest. See also for an approach.

Michael Wetter's avatar Michael Wetter  ( 2018-04-12 17:39:51 -0500 )edit

answered 2018-04-11 10:24:40 -0500

OpenStudio no longer uses Dakota, so those methods in that paper are all deprecated.

Instead, you can use the PAT tool to do the sampling thats mentioned in the paper.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2018-04-09 06:22:49 -0500

Seen: 355 times

Last updated: Apr 12 '18