OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
This one has hit several users, and is particularly bad because it is very difficult to find the cause.
To replicate this bug:
Create a new PAT project, and select a baseline model.
Run. It should succeed, assuming you have a weather file and running baseline model.
Open the Online BCL Dialog
Under Reporting>QAQC, download "Standard Reports" and "Calibration Reports"
In PAT, click "Update BCL Measures." It should say 2 measures updated.
Run. It should fail.
The issue is that OpenStudio is hard-coded to expect the default Standard Reports and Calibration Reports Measures to live in scripts/StandardReports and scripts/CalibrationReports respectively. See the params.json file excerpt below. When it does not find the files in these locations, it fails, but does not report out the reason.
Since the same Standard Reports and Calibration Reports Measures that are default in PAT/OS App are also uploaded on BCL, if you happen to download those Measures from BCL and click "Update BCL Measures," the directory names get changed to the UIDs that are used for all other BCL Measures.
Here is what the scripts directory looks like before the update:
Here is what it looks like after the update:
These are the same 2 Measures, but with different folder names.
Possible fixes:
Make the UID of the installed Measures different than the BCL Measures
Hard code PAT and OS App to look for the UIDs instead of "StandardMeasures"
There are probably other that I haven't thought of
This one has hit several users, and is particularly bad because it is very difficult to find the cause.
To replicate this bug:
The issue is that OpenStudio is hard-coded to expect the default Standard Reports and Calibration Reports Measures to live in scripts/StandardReports and scripts/CalibrationReports respectively. See the params.json file excerpt below. When it does not find the files in these locations, it fails, but does not report out the reason.
Since the same Standard Reports and Calibration Reports Measures that are default in PAT/OS App are also uploaded on BCL, if you happen to download those Measures from BCL and click "Update BCL Measures," the directory names get changed to the UIDs that are used for all other BCL Measures.
Here is what the scripts directory looks like before the update:
Here is what it looks like after the update:
These are the same 2 Measures, but with different folder names.
Possible fixes: Make the UID of the installed Measures different than the BCL Measures Hard code PAT and OS App to look for the UIDs instead of "StandardMeasures" There are probably other that I haven't thought of