OpenStudio-Standards won't load

asked 2015-11-17 09:27:04 -0500

updated 2015-11-18 03:49:47 -0500

In the past few weeks we've been creating our country's standard file (openstudio-standards) based on the NREL's OpenStudio Standards (the fork now is: BHRC standards.)

The generator builds the file successfully and then tests goes without error but when I replace the JSON files of OpenStudio with the one I have generated OpenStudio loads non of them and the Inspector loads empty.

What should I do?

edit retag flag offensive close merge delete



Which JSON file are you replacing in OpenStudio? This one? If so, replacing that file would require you to rebuild OpenStudio since this is a resource that get's configured into the binaries, have you done that? We will be moving towards a more dynamic approach where the files are loaded at run time but the first implementation requires building the software.

macumber gravatar image macumber  ( 2015-11-17 13:04:31 -0500 )edit

@aparker has been doing a lot of work on the standards gem in the past week or so, and it's quite possible recent versions in the repo are broken. He told me yesterday that recent versions of the prototype building measure that are integrating the gem are definitely broken. That's always always a risk when pulling the tip from a repo under active development.

ljbrackney gravatar image ljbrackney  ( 2015-11-19 10:44:19 -0500 )edit

@ljbrackney actually I have fixed many stuff with the generator and my version works fine and I made a pull request (it's not something important, I just made it work on mac and added error handling when need also formatted the code so I could read. the pull request is still open. and generator works fine here) What I didn't know was the what @macumber just said. And I think sooner or later we have to have an OpenStudio fork so why not... Standards actually is not a risk. We know this and will update in parallel with the original repo.

Pouya Kary gravatar image Pouya Kary  ( 2015-11-20 03:16:18 -0500 )edit

@macumber thanks a lot! Sorry that I ask too much!

Pouya Kary gravatar image Pouya Kary  ( 2015-11-20 03:17:22 -0500 )edit