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

overwrite existing IDF schedules - EnergyPlus

asked 2019-01-31 20:02:31 -0600

saddamateeg's avatar

updated 2019-02-01 10:42:20 -0600

I have 1,000 Idf files, one for each building. I need to overwrite/update occupancy, HVAC, lighting, and plug load schedules of each file. This means I have 4 new different schedules for each building. Is there an automated way to do that? I've tried to use a package in Python called EPPY, but it was not helpful and there is only a few online resources on how to use it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-01 10:43:04 -0600

I would probably use eppy to do what you are suggesting but if you are familiar with using the command line and using the search and replace across files in a text editor there is another option that could be used.

Create a file that has all the new schedules in it using new unique names for the schedule names. Use the command line to append this new file to the 1000 existing files. Then using the text editor search and replace across files, replace the references to the old schedule names to the new ones (you will have to do this four times, once for each schedule name).

I would recommend that you keep the original set of files and do a file compare using WinMerge or some other text file comparison utility to make sure everything worked ok.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools



Asked: 2019-01-31 20:02:31 -0600

Seen: 367 times

Last updated: Feb 01 '19