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

Generate Schedule:File from Schedule:Compact

asked 2018-11-01 14:59:07 -0500

k gravatar image

updated 2018-11-01 16:42:10 -0500

I currently have my schedules defined as Schedule:Compact in my IDF files. I would like to automatically convert these to 8760 files suitable for use in an IDF as a Schedule:File input.

Is there a way I can use EnergyPlus to read in my IDFs containing Schedule:Compact elements and somehow generate the equivalent hourly 8760 data file for use as a Schedule:File?

Thank you!

edit retag flag offensive close merge delete

Comments

Sniff. Sniff sniff. I smell a Python script!

__AmirRoth__ gravatar image__AmirRoth__ ( 2018-11-01 16:43:01 -0500 )edit

A python script would be the preferred solution - can you point me in the right direction?

I have tried using both the epquery and ladybug python modules to do this, but neither seem to have an internal representation of Schedule that would allow converting from Schedule:Compact to Schedule:File.

k gravatar imagek ( 2018-11-01 17:32:48 -0500 )edit

What I meant was "you could probably write a python script to do this." Not that one already existed. Sorry.

__AmirRoth__ gravatar image__AmirRoth__ ( 2018-11-02 09:34:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-11-02 20:15:28 -0500

One method I can think of is to run your simulation and report only 1 variable as:

Output:Variable,"schedule name",Schedule Value,hourly;

Then you will have "YourFileName.csv" and will be an 8760 data file. You can then use that file, after changing the name to whatever you like, as a schedule file.

edit flag offensive delete link more

Comments

This works! Thank you!

k gravatar imagek ( 2018-11-05 15:31:38 -0500 )edit

Your Answer

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

Add Answer

 



Question Tools

2 followers

Stats

Asked: 2018-11-01 14:59:07 -0500

Seen: 80 times

Last updated: Nov 02 '18