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

how to link openstudio sdk with visual studio code

asked 2023-02-03 05:57:53 -0500

Rocker's avatar

updated 2023-02-03 13:49:37 -0500

Hi am workink on project of integrating openstudio for energy calculations, Can any one help me doing this

edit retag flag offensive close merge delete

Comments

I recently came across a Linkedin post, that you might find useful, on Using Ruby and OpenStudio to create a whole building Energy Model within a Jupyter Notebook on Windows by @Luis Lara .

Ammar De's avatar Ammar De  ( 2023-02-05 14:43:29 -0500 )edit
1

You want to link the OpenStudio SDK with a C++ project in Visual Studio, is that right? What language is your code written in?

macumber's avatar macumber  ( 2023-02-05 17:22:23 -0500 )edit

I have just begun my programming carrier, I have very little knowledge about these workflows, I am writing my code in C++

Rocker's avatar Rocker  ( 2023-02-05 22:34:32 -0500 )edit

Actually I am facing issue with linking it to my c++ code. It would be great if you suggest me the correct way of linking it, And also the way to check weather it is linked properly or not

Rocker's avatar Rocker  ( 2023-02-06 01:18:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-02-07 21:40:35 -0500

The OpenStudio SDK installer can install components for a C++ API, C# API, Ruby API, or Python. Depending on which programing language you are using, you can install the appropriate API. How you use the OpenStudio SDK after installing it depends on the programming language you are using as well. The OpenStudio Application is one example of a C++ program that uses the OpenStudio SDK's C++ API. The OpenStudio Application uses CMake for it's build configuration system, it uses a CMake finder to find and use the OpenStudio SDK's C++ API. You can see this finder here. You can see how the OpenStudio SDK libraries are then linked with OpenStudio Application here.

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

Careers

Question Tools

1 follower

Stats

Asked: 2023-02-03 05:57:53 -0500

Seen: 211 times

Last updated: Feb 07 '23