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

Revision history [back]

I think you entered the path of osm and osw incorrectly or you entered the openstudio cli startup command incorrectly, you can use this piece of code to start the simulation.

OpenStudio.WorkflowJSON workflowJSON = new OpenStudio.WorkflowJSON(); workflowJSON.setSeedFile(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath(OsmPath))); workflowJSON.setWeatherFile(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath("D:\\Pluginet\\Chiral\\Chiral\\WeatherFile\\IRN_Shiraz.408480_ITMY.epw"))); workflowJSON.saveAs(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath(OswPath))); System.Diagnostics.Process.Start("cmd.exe", "/C openstudio.exe run -w " + OswPath);