So, I am trying to run OpenStudio from the command line in Windows 7 Pro 64. I have managed to cobble together a .OSW file as follows:
{ "seed_file": "Model (IECC 2015 & ASHRAE 90-1-2013 - RTU-FPB).osm", "steps": [ ] }
Notice that (for now), I am not defining any measures under "steps".
Furthermore, I am calling this .OSW file from a .BAT file as follows:
openstudio run --debug --workflow "Run (IECC 2015 & ASHRAE 90-1-2013 - RTU-FPB).osw"
The idea is to eventually add more lines to the .BAT file. Also, each .OSM file has its own weather file defined within it.
However, when I execute the .BAT file, I get the following error snippet regarding the weather file.
[08:56:58.378468 DEBUG] Getting the initial weather file
[08:56:58.394067 DEBUG] No weather file specified in OSW, looking in model
[08:56:58.394067 DEBUG] Searching for weather file #{weather_path}
[08:56:58.394067 ERROR] Found error in state 'initialization' with message ["Wea
ther file 'USA_TX_Corpus.Christi.NAS.722515_TMY3.epw' specified but cannot be fo
und::/ruby/2.2.0/gems/openstudio-workflow-1.3.1/lib/openstudio/workflow/jobs/run
_initialization.rb:158:in perform'\n:/ruby/2.2.0/gems/openstudio-workflow-1.3.1
/lib/openstudio/workflow/run.rb:261:in
step'\n:/ruby/2.2.0/gems/openstudio-work
flow-1.3.1/lib/openstudio/workflow/run.rb:210:in run'\n:/openstudio_cli.rb:804:
in
execute'\n:/openstudio_cli.rb:620:in execute'\n:/openstudio_cli.rb:1517:in
<main>'\neval:85:in eval'\neval:85:in
require_embedded_absolute'\neval:70:in
block in require'\neval:64:in
each'\neval:64:in require'\neval:2:in
<main>'"
]}
[08:56:58.394067 INFO] Finished workflow - communicating results and zipping fil
es
[08:56:58.409667 INFO] Workflow complete
So, I am wondering how can I make the command line interface find the weather file? I know it does exist, because when I run the .OSM from the OpenStudio GUI, it works just fine. So it must be a path issue. I even tried adding a "file_paths" entry to the .OSW, but that failed, probably because I did not get the syntax correct.
Any advice would be appreciated.