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

reporting measure in Parametric Environment

asked 2017-01-17 12:09:14 -0600

Chienman gravatar image

updated 2017-08-05 07:40:46 -0600

I have been toying around with the OpenStudio-server and Openstudio-analysis-spreadsheet. I have been able to successfully get all of this working properly thanks to some input from NREL (thanks for that)

Now I am trying to write my own custom reporting measure to work in this environment. When I try to follow the instructions online from here.

I try to use the runner.lastOpenStudioModel call but in the OpenStudio-server environment my measure seems to fail. Does anyone know why it does? Do I need to point the measure to look in a certain place? That is my instinct but not sure how to do this.

I tried following the Dencity measure that comes packaged with the spreadsheet, but couldn't get much insight there either.

edit retag flag offensive close merge delete


does your measure run in the OS app? There are run logs for each datapoint run on the server that gives the output for each measure run. I would look in there for any error messages as well as the analysis run log.

BrianLBall gravatar image BrianLBall  ( 2017-01-17 16:58:38 -0600 )edit

also, did you include your measure in the variables tab of the spreadsheet? And set it to 'ReportingMeasure'?

BrianLBall gravatar image BrianLBall  ( 2017-01-17 17:13:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-18 01:07:08 -0600

Chienman gravatar image

Both pieces of advice were really helpful. It just turned out that I had gotten confused and tried to use a measure that was not a reporting measure. As soon as I used a reporting measure, my problem went away and everything worked great, so no real magic to report. Duh. Thanks for the help.

BTW-I did not set the measure to a ReportingMeasure, but it still worked just fine.

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


Question Tools


Asked: 2017-01-17 12:09:14 -0600

Seen: 82 times

Last updated: Jan 18 '17