First time here? Check our help page!
1

OpenStudio Analysis Spreadsheet Failed to Load Measure

I am trying to add the TimeseriesDiff measure from the Calibration_example folder within the OpenStudio analysis spreadsheet folder to an analysis that I am running on AWS. However, whenever I add the measure and associated arguments to the Variables tab of the spreadsheet, my runs don't even get through initialization. See the picture for details, but essentially the JSON message is telling me that the measure cannot be loaded. Any idea what would be causing this?

C:\fakepath\JSON Error Log.JPG

dpud12's avatar
1.3k
dpud12
asked 2017-07-19 13:24:02 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:28:20 -0500
edit flag offensive 0 remove flag close merge delete

Comments

@aparker any ideas?

dpud12's avatar dpud12 (2017-07-19 13:27:42 -0500) edit
add a comment see more comments

1 Answer

1

My best guess is that there is something wrong in either the measure.rb file or the measure.xml file. In particular, check that the measure.xml file doesn't contain an <error> element. If it does, this can mean that the measure.rb file has a syntax error and won't load successfully. If the <error> element does exist, it may contain a clue about a Ruby error in measure.rb. Fix that Ruby error, then delete the <error> element and try it again.

aparker's avatar
8.2k
aparker
answered 2017-07-21 11:13:30 -0500
edit flag offensive 0 remove flag delete link

Comments

1

Also, PAT 2.2.0 can do the same things that the spreadsheet can, but has validation code to help catch and address these types of issues. I'd suggest giving it a whirl at some point.

aparker's avatar aparker (2017-07-21 11:14:32 -0500) edit

@ljbrackney has re-created most if not all of the analysis spreadsheet examples as PAT examples

David Goldwasser's avatar David Goldwasser (2017-07-21 11:45:51 -0500) edit

Ahh! I have the measure xml file in the version of the measure that I am running on my desktop but didn't realize that the xml is also needed for the analysis spreadsheet, will check out PAT 2.2!

dpud12's avatar dpud12 (2017-07-21 21:57:28 -0500) edit
add a comment see more comments