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

How do I run a simulation by using c# (Openstudio API) in absence of runmanager?

asked 2018-05-29 21:12:20 -0500

Mahdi gravatar image

updated 2018-05-31 08:07:32 -0500

I read the post regarding running a simulation by using c#, but since in new versions, runmanager has been omitted, how can I do that? Specifically, I want to load an existing Openstudio model, implement some measures and run the simulation and rad the results using C#. is that possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-05-30 18:08:08 -0500

Maybe not the answer you're looking for, but since no one else has replied...

One option is to make a system call to the OpenStudio CLI. You just have to write a workflow JSON file in C# that describes your seed model and the (openstudio, reporting, etc.) measures you want to apply, and then call the CLI. Documentation on the CLI can be found 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

 

Question Tools

1 follower

Stats

Asked: 2018-05-29 21:12:20 -0500

Seen: 206 times

Last updated: May 30 '18