First time here? Check out the Help page!
1 | initial version |
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);