3

overwrite existing IDF schedules - EnergyPlus

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.

saddamateeg's avatar
31
saddamateeg
asked 2019-01-31 20:02:31 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2019-02-01 10:42:20 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

6

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.

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2019-02-01 10:43:04 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments