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

Are the View_Data and View_Model Measures Broken?

asked 2016-03-21 17:48:36 -0500

updated 2017-08-05 08:05:55 -0500

I was doing an analysis today and neither the View_Data nor View_Model measures produced any output on my Mac.

image description

edit retag flag offensive close merge delete


ericringold's avatar ericringold  ( 2016-03-21 19:07:38 -0500 )edit

UnmetHours is now Twitter!

__AmirRoth__'s avatar __AmirRoth__  ( 2016-03-21 19:46:37 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-03-21 17:55:03 -0500

updated 2016-03-21 17:55:35 -0500

The online source of one of the Javascript libraries used by these measures changed. The measures have been updated to point to the correct source, the new measures are available on the BCL. You can get the updated measures from the BCL using the Find Measures dialog. Once you have downloaded the measures, make sure to press the Sync Project Measures with Library button in the OpenStudio Application or PAT.

edit flag offensive delete link more



That did it! Gotta have those measures in my workflow.

ljbrackney's avatar ljbrackney  ( 2016-03-21 22:57:29 -0500 )edit

Is view_data compatible with the OpenStudio App v1.0.0?

I can download the measure and add to my project, but the input fields don't show up, and the simulation fails with errors like this: [12:26:59.446645 ERROR] wrong constant name [12:26:59.446710 ERROR] :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb failed with message Error requiring measure :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb. Failed with wrong constant name ...

max.melchior's avatar max.melchior  ( 2020-05-24 14:50:53 -0500 )edit

@max.melchior, I got the same problem.

J Monteiro's avatar J Monteiro  ( 2020-05-25 10:10:57 -0500 )edit

This is the change that broke the measures in 3.0. I've fixed it and released new packages here. If this works for you, can you ask about the measure in a new question to get wider visibility?

macumber's avatar macumber  ( 2020-05-25 17:19:50 -0500 )edit

@macumber, it works, but I had to manual apply the measure, when it gonna be available in BCL?

J Monteiro's avatar J Monteiro  ( 2020-05-26 03:13:36 -0500 )edit

answered 2016-03-22 15:43:41 -0500

hodor's avatar

updated 2016-03-22 15:44:06 -0500

Sounds like this sums it up pretty well, cool that you can just get the updates from the BCL :-)

image description

edit flag offensive delete link more


Sadly, that campaign was recently discontinued! Or maybe they're just looking for someone even more interesting. I volunteer!

__AmirRoth__'s avatar __AmirRoth__  ( 2016-03-22 16:00:47 -0500 )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


Question Tools

1 follower


Asked: 2016-03-21 17:48:36 -0500

Seen: 364 times

Last updated: Mar 22 '16