First time here? Check out the Help page!

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

asked Apr 9

spqr's avatar

Specifying Schedule:File path in OSW configuration

I am having an issue when running openstudio through the CLI where EnergyPlus can't find the schedule:file csv. I set the path in the .osw file using the "file_paths" parameter. However from the error message it appears EnergyPlus only searches the CWD and not any of the provided file_paths. I would expect Openstudio to pass the file_paths to EnergyPlus to use to find companion files. Is there another way to specify file_paths for EnergyPlus to search? Is this a bugy?

For context: I am generating an openstudio model (osm) and schedule file via buildstockbatch / ResStock / OS-HPXML. I then run a Python script to modify window and shading objects via the OS Python SDK, and then save the OSW. Then I call openstudio via the CLI: openstudio run --workflow test.osw. This creates a new run folder, which does not contain the schedule.csv file from the intial OS-HPXML measure, and I am adding the old run folder to the file_paths parameter.

EnergyPlus error message below:

   ** Severe  ** Schedule:File="LIGHTING_INTERIOR", File Name: "in.schedules.csv" not found.
   **   ~~~   **   Paths searched:
   **   ~~~   **     Current Working Directory: "C:\Users\test\resstock\ds_test\run1\runx"
   **   ~~~   **     EnergyPlus Executable Directory: "c:\openstudio-3.9.0\EnergyPlus"

Specifying Schedule:File path in OSW configuration

I am having an issue when running openstudio through the CLI where EnergyPlus can't find the schedule:file csv. I set the path in the .osw file using the "file_paths" parameter. However from the error message it appears EnergyPlus only searches the CWD and not any of the provided file_paths. I would expect Openstudio to pass the file_paths to EnergyPlus to use to find companion files. Is there another way to specify file_paths for EnergyPlus to search? Is this a bugy?

For context: I am generating an openstudio model (osm) and schedule file via buildstockbatch / ResStock / OS-HPXML. I then run a Python script to modify window and shading objects via the OS Python SDK, and then save the OSW. Then I call openstudio via the CLI: openstudio run --workflow test.osw. This creates a new run folder, which does not contain the schedule.csv file from the intial OS-HPXML measure, and I am adding the old run folder to the file_paths parameter.

EnergyPlus error message below:

   ** Severe  ** Schedule:File="LIGHTING_INTERIOR", File Name: "in.schedules.csv" not found.
   **   ~~~   **   Paths searched:
   **   ~~~   **     Current Working Directory: "C:\Users\test\resstock\ds_test\run1\runx"
   **   ~~~   **     EnergyPlus Executable Directory: "c:\openstudio-3.9.0\EnergyPlus"