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

Revision history [back]

click to hide/show revision 1
initial version

Naming convention for arguments in osw file

I am trying to use command line interface to run OpenStudio applying measure Set Output Table to IP units referring to this page.
Even though I confirmed that seed file can run without error, when I try to run through command line using below batch file, seems they dont run without showing any message.

D: cd\C:\openstudio-2.4.0\bin\ "openstudio.exe" run --debug --workflow D:\Projects\Katsuya\1802_Grasshopper_Lecture\test\case4\OpenStudio\workflow.osw

I am wondering this problem is caused by missing arguments and try to find how the arguments should be specified but couldnt find.
Does anyone know how arguments should be specified for this measure? and any convention how arguments should be specified from xml file which suppose to summarize arguments for measure?
I added osw file below for your reference.

   {
   "created_at" : "20180626T033154Z",
   "seed_file" : "D:/Projects/Katsuya/1802_Grasshopper_Lecture/test/case4/OpenStudio/case4.osm",
   "steps" : [
      {
         "arguments" : {},
         "measure_dir_name" : "Set_Output_Table_to_IP_units"
      }
   ],
   "updated_at" : "20180626T033155Z"
}

Naming convention for arguments in osw file

I am trying to use command line interface to run OpenStudio applying measure Set Output Table to IP units referring to this page.
Even though I confirmed that seed file can run without error, when I try to run through command line using below batch file, seems they dont run without showing any message.

D: cd\C:\openstudio-2.4.0\bin\ "openstudio.exe" run --debug --workflow D:\Projects\Katsuya\1802_Grasshopper_Lecture\test\case4\OpenStudio\workflow.osw

I am wondering this problem is caused by missing arguments and try to find how the arguments should be specified but couldnt find.
Does anyone know how arguments should be specified for this measure? and any convention how arguments should be specified from xml file which suppose to summarize arguments for measure?
I added osw file below for your reference.

   {
   "created_at" : "20180626T033154Z",
   "seed_file" : "D:/Projects/Katsuya/1802_Grasshopper_Lecture/test/case4/OpenStudio/case4.osm",
   "steps" : [
      {
         "arguments" : {},
         "measure_dir_name" : "Set_Output_Table_to_IP_units"
      }
   ],
   "updated_at" : "20180626T033155Z"
}

Updated osw file:

 {
   "created_at" : "20180626T062141Z",
   "seed_file" : "D:/Projects/Katsuya/1802_Grasshopper_Lecture/test/case4/OpenStudio/case4.osm",
   "weather_file": "E:/Reference/Climate/epw/CHN_Hong.Kong.SAR.450070_CityUHK.epw",
   "steps" : [
      {
         "measure_dir_name" : "Set_Output_Table_to_IP_units",
     "arguments" : {
        "table_units":"JtoKWH"
     }
      }
   ],
   "updated_at" : "20180626T062142Z"
}

Naming convention for arguments in osw file

I am trying to use command line interface to run OpenStudio applying measure Set Output Table to IP units referring to this page.
Even though I confirmed that seed file can run without error, when I try to run through command line using below batch file, seems they dont run without showing any message.

D: cd\C:\openstudio-2.4.0\bin\ "openstudio.exe" run --debug --workflow D:\Projects\Katsuya\1802_Grasshopper_Lecture\test\case4\OpenStudio\workflow.osw

I am wondering this problem is caused by missing arguments and try to find how the arguments should be specified but couldnt find.
Does anyone know how arguments should be specified for this measure? and any convention how arguments should be specified from xml file which suppose to summarize arguments for measure?
I added osw file below for your reference.

   {
   "created_at" : "20180626T033154Z",
   "seed_file" : "D:/Projects/Katsuya/1802_Grasshopper_Lecture/test/case4/OpenStudio/case4.osm",
   "steps" : [
      {
         "arguments" : {},
         "measure_dir_name" : "Set_Output_Table_to_IP_units"
      }
   ],
   "updated_at" : "20180626T033155Z"
}

Updated osw file:

 {
   "created_at" : "20180626T062141Z",
   "seed_file" : "D:/Projects/Katsuya/1802_Grasshopper_Lecture/test/case4/OpenStudio/case4.osm",
   "weather_file": "E:/Reference/Climate/epw/CHN_Hong.Kong.SAR.450070_CityUHK.epw",
   "steps" : [
      {
         "measure_dir_name" : "Set_Output_Table_to_IP_units",
     "arguments" : {
        "table_units":"JtoKWH"
     }
      }
   ],
   "updated_at" : "20180626T062142Z"
}