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

Root Directory to OpenStudio

asked 2023-10-11 09:42:13 -0600

MHW's avatar

updated 2023-10-11 14:46:27 -0600

Hi,

I have successfully installed the SketchUp Pro (2023) and OpenStudio Application (v3.6.0). Following this, I installed the OpenStudio SketchUp Plug-in which was as per the compatibility matrix provided on OpenStudio Coalition website (https://github.com/openstudiocoalitio...).

Compatibility doesn't seem an issue here but when I open SketchUp it gives me following prompt:

"Select OpenStudio Root Directory"

Even when I specify the root directory it still throws an error: C:/Ruby/openstudio_modeleditor.rb does not exist.

I am not sure why it says that.

Any solution to this will be appreciated.

Thanks and Regards

edit retag flag offensive close merge delete

Comments

What did you enter for "OpenStudio Root Directory"? C:\openstudioapplication-1.6.0 ? Is your OSApp installed there?

Julien Marrec's avatar Julien Marrec  ( 2023-10-12 01:45:36 -0600 )edit

Hi Julien, no I entered "C:\openstudio-3.6.0". This is where the OS App is installed but it still gives the same error.

Further, I had installed the Plug-in from "Extension Warehouse" within SketchUp. It installed properly and is showing "Signed" in the "Extension Manager".

I hope this information helps.

MHW's avatar MHW  ( 2023-10-12 03:17:02 -0600 )edit

Well at least I got rid of one error but it now shows me another error, can't find "openstudio.so" file, when its already there in the specified root directory.

Don't know what's going on behind the scenes.

MHW's avatar MHW  ( 2023-10-13 03:49:16 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-10-16 08:01:36 -0600

updated 2023-10-16 08:02:18 -0600

I know it's confusing, but you must install the OpenStudio Application, not the OpenStudio SDK.

Re-read the wiki at: https://github.com/openstudiocoalitio...

Get the 1.6.0 from https://github.com/openstudiocoalitio....

The OpenStudio Application 1.6.1 will also include internally the OpenStudio SDK 3.6.1, so no need to install it separately. The OpenStudio Application has - in addition to the Graphical User Inferface - special ruby bindings that the OpenStudio SDK does not have, and that the openstudio-sketchup-plugin needs to work.

Point the OpenStudio Root Directory to C:\openstudioapplication-1.6.0 once you have installed the OpenStudio Application 1.6.0.

edit flag offensive delete link more

Comments

Hi Julien,

Thanks for the response. Much appreciated. I already solved the issue, had posted the answer to my own question earlier but apparently it wasn't posted.

I did the same thing as you narrated above, it worked!

While we are at it, just one minor question related to the OpenStudio Application. It also comes with Python Application binding, does it have provision for scripting in Python and implementing the script on the Building Simulation Model. If so, to what extent? Can we test AI based algorithms on the simulation models?

Best, Mubashir

MHW's avatar MHW  ( 2023-10-16 08:10:15 -0600 )edit
1

If you want to run code to interact with the E+ simulation (eg: at each timestep), you probably want to look into the EnergyPlus Python:Plugin or EnergyPlus Python (or C) API: https://energyplus.readthedocs.io/en/...

Julien Marrec's avatar Julien Marrec  ( 2023-10-17 14:32:48 -0600 )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

Careers

Question Tools

Stats

Asked: 2023-10-11 09:42:13 -0600

Seen: 1,211 times

Last updated: Oct 17 '23