-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenStudio Results Measure is broken #722
Comments
The OpenStudio Application does filter out incompatible measures based on min_compatible tags. However, the code where we were automatically updating the results measure did not have that check |
I'm having the same issue with the newest version (v3.8.0 and v1.8.0). The suggestion of copying the directory from the source code helped here as well. |
I thought this issue was fixed. Can you give some more details on the problem models? Did the OSM model exist (with OpenStudio Results measure) in a previous version before you updated to 1.8.0? Does the OSM model have an openstudio_results measure in its measures directory? If so, what are the values of |
Yes, it is an existing model with the measure in the folder. This is how the measure looks like in the measure tab: When I delete the measure, I cannot add it back in (Note: I have several OpenStudio versions, ranging from 1.4 to 1.8 on my computer). Here are the
Here is the link to a sample model. |
I opened the model in 1.8.0 and saw the same broken measure message. However, I was able to delete the measure from my model, save the model, then drag in the OpenStudio Results measure from the BCL. Have you tried downloading the new version of the OpenStudio Results measure from the BCL? You could try cleaning up your local BCL. The easiest thing to do is just delete it (it's at
|
Issue overview
Current Behavior
When the OpenStudio Application is launched it searches for updates to the OpenStudio Results measure. NREL has just released a new version of the OpenStudio Results measure which is not backwards compatible (the minimum OS SDK version is 3.8.0). When creating a new model using the OpenStudio Application 1.7.1 or earlier, this measure will be added to the workflow by default. However, when the model is run, the OpenStudio Results measure will fail with:
Expected Behavior
The OpenStudio Results measure should not be automatically updated to a non-compatible version.
Steps to Reproduce
Using OpenStudio Application 1.7.1 or below, create and run a new model.
Possible Solution
Going forward, update OpenStudio Application to not automatically download updates to the OpenStudio Results measure.
For users on OpenStudio Application 1.7.1 or below, download the openstudio-common-measures-gem source code as a zip file. Unzip the source code and copy the directory
lib/measures/openstudio_results
to your "My Measures" directory (click the folder icon that says "My") in the OpenStudio Application. Delete the "OpenStudio Results" measure in your current model and replace it with the downloaded measure.Before workaround (OpenStudio Results is a "BCL Measure"):
After workaround (OpenStudio Results is a "My Measure"):
Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: