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 -0500

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

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 -0500 )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 -0500 )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 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

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

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

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 -0500 )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 -0500 )edit
1

answered 2025-07-28 18:42:34 -0500

Ruralist's avatar

Greetings All, I will chime in here for I like this forum. Seems to be good people looking for good answers. I recently followed the OpenStudioCoaltion's Installation and Introductory Tutoriallink texthttps://openstudiocoalition.org/getti... I tried the installation of OpenStudio-Sketchup-plugin versions v1.10.0 and V1.9.0 and had the self-inflicted errors during initial and subsequent launches of SketchUp Pro 2025 of a bad "Path to OpenStudio Root Directory" popup. When I initially installed the OpenStudio-Sketchup-plugin and was prompted to enter the image description I simply used Windows 11 File Explorer to Copy/Paste the [Path to the OpenStudio Root Directory] prompt box. This was:

  • List item "C:\OpenStudioApplication-1.10.0+14257a978b-Windows" and in the first case was
  • List item "C:\Program Files\OpenStudioApplication-1.10.0+14257a978b-Windows"

The use of "\" in the Windows environment and its use in the OpenStudio and SketchUP environments are seemingly not compatible. Changing the [Path to the OpenStudio Root Directory] to:

  • List item "C://OpenStudioApplication-1.10.0+14257a978b-Windows" and/or
  • List item "C://Program Files/OpenStudioApplication-1.10.0+14257a978b-Windows"

...this seemed to cure the self-inflicted injury.

This was seen by inspecting and understanding the Error report and the "Malformed version number string..." and noticing the use of "/" rather than "\". A simple syntax error within different coding environments or whatever you call them:). Although, I could be wrong.

Extension Errors Report SketchUp: 25.0.660 OS: Windows 11 Ruby: 3.2.2

Extension: OpenStudio (1.10.0) Error: ArgumentError (Malformed version number string C:/OpenStudioApplication-1.10.0+14257a978b-Windows) C:/Program Files/SketchUp/SketchUp 2025/SketchUp/Tools/RubyStdLib/rubygems/version.rb:223:in `initialize'

Everything is working good now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

Stats

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

Seen: 2,493 times

Last updated: Jul 28