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
1

Specifying Schedule:File path in OSW configuration

asked Apr 9

spqr's avatar

updated Apr 10

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"
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered Apr 11

I would expect Openstudio to pass the file_paths to EnergyPlus to use to find companion files.

EnergyPlus doesn't have any inputs for where to find schedule CSV files. It either expects absolute file paths or, if a relative file path is used, it looks relative to the IDF. In the case of ResStock/OS-HPXML, we always write relative file paths in the IDF so that you can move the files around (or download them from a supercomputer) and they still work.

I don't know what exactly you're doing, but my guess is you are hitting this bug. At the moment, you have to be a bit careful about where you place files and how you set up the OSW.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: Apr 9

Seen: 80 times

Last updated: Apr 11