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

OpenStudio Analysis Spreadsheet Failed to Load Measure

asked 2017-07-19 13:24:02 -0600

dpud12's avatar

updated 2017-08-05 07:28:20 -0600

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

edit retag flag offensive close merge delete

Comments

@aparker any ideas?

dpud12's avatar dpud12  ( 2017-07-19 13:27:42 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-07-21 11:13:30 -0600

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.

edit flag offensive delete link more

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 -0600 )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 -0600 )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 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2017-07-19 13:24:02 -0600

Seen: 198 times

Last updated: Jul 21 '17