openstudiocoalition / OpenStudioApplication

The OpenStudio Application is a fully featured graphical interface to OpenStudio models including envelope, loads, schedules, and HVAC.
https://openstudiocoalition.org
Other
137 stars 25 forks source link

This measure requires a newer version of OpenStudio #751

Open macumber opened 2 months ago

macumber commented 2 months ago

Issue overview

User can see the measure in BCL search results but sees a message saying "This measure requires a newer version of OpenStudio"

image

Current Behavior

This message is generated at https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/src/shared_gui_components/Component.cpp#L57 when the measures Min Compatible Version and Max Compatible Version range does not include current version of the OpenStudio SDK used by the OpenStudio Application. This prevents users from downloading incompatible measures.

Expected Behavior

A more advanced BCL Measure dialog could search for other versions of the measure to find a compatible one.

Steps to Reproduce

  1. Open OpenStudio Application 1.7.2
  2. Search for the OpenStudio Results measure on the BCL

Possible Solution

As a workaround, the user can search for the measure on the https://bcl.nrel.gov website directly. The measure page lists the GitHub directory as well as previous versions of the measure. The user can download a compatible version of the measure from one of these locations to their My Measures directory.

As another workaround, the user can upgrade their version of the OpenStudio Application to one with an OpenStudio SDK version compatible with the measure. See https://github.com/openstudiocoalition/OpenStudioApplication/wiki/OpenStudio-Application-Version-Compatibility-Matrix for the version of the OpenStudio SDK included in each version of the OpenStudio Application.

macumber commented 2 months ago

Moved from https://github.com/NREL/OpenStudio/issues/5238

jmarrec commented 2 months ago