3

reporting measure in Parametric Environment

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.

Chienman's avatar
588
Chienman
asked 2017-01-17 12:09:14 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:40:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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's avatar BrianLBall (2017-01-17 16:58:38 -0500) edit

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

BrianLBall's avatar BrianLBall (2017-01-17 17:13:45 -0500) edit
add a comment see more comments

1 Answer

1

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.

Chienman's avatar
588
Chienman
answered 2017-01-18 01:07:08 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments