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
2

How to use "Schedule: File" object in EnergyPlus?

asked 7 years ago

surajtalele's avatar

I am trying to use the "Schedule: File" object in energyplus. But, when I add path to locate the .csv file after running the simulation It shows me a severe error. The error is that EnergyPlus cannot locate the file.

Can someone guide me to how to provide the path of the .csv file in "Schedule: File" object?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 7 years ago

The File Name input field of the Schedule:File object can either be a simple or full path. For example, if you have the IDF and CSV files saved in different folders like the following folder structure:

  • C:\Projects
    • EnergyPlus
      • project.idf
    • Schedule
      • schedule.csv

Then the input can be set to "..\Schedule\schedule.csv" for a simple path of where the CSV is saved in relation to where the IDF is saved, or "C:\Projects\Schedule\schedule.csv" for a full path to the CSV. According to the Input/Output Reference, use full path for best results.

If you have this entered correctly, then there are a few rules that could be causing you an issue:

  • File name must be <= 100 characters
  • File name must not include commas or an exclamation point
  • If using RunEPlus.bat to run EnergyPlus from the command line, a relative path or a simple file name may work if RunEPlus.bat is run from the folder that contains EnergyPlus.exe (e.g. C:\EnergyPlusv8-8-0)
Preview: (hide)
link

Comments

Great!! It worked.... I guess I was providing the path incorrectly!! Thank you so much Aaron....

surajtalele's avatar surajtalele  ( 7 years ago )

Is there any specific format, I need to add data in the .csv file?

divsood04's avatar divsood04  ( 3 years ago )

@divsood04 if you define the schedule in a CSV file, there is no special formatting needed. The important thing is that values are separated by commas, which a CSV file does automatically. The important thing is making sure the Schedule:File object has inputs to account for column headers and other information to read the CSV file's data correctly for the EnergyPlus model.

Aaron Boranian's avatar Aaron Boranian  ( 3 years ago )

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

2 followers

Stats

Asked: 7 years ago

Seen: 1,467 times

Last updated: Feb 16 '18