6

Too many fields for object:Schedule Compact

Hello,

I am getting an error "Too many fields for object:Schedule Compact" when trying to open a idf file that was exported using OS v2.5.0 . I used a measure (courtesy of @Lyle K , for sharing the measure) to bring in 8760 hourly data and assigned it to load profile plant object.

One of the discussion threads suggested that adding more lines to "Energy+idd file" would help resolve the issue. However, I didn't quite understand what piece of text to add to the idd file. Any input on this would be helpful.

My goal is to ultimately open the file using IDF editor and attempt to add more customization on the plant loop.

Attached is the idf file.

Thank you, -Aditya

adireddi's avatar
145
adireddi
asked 2018-04-25 20:50:32 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2018-04-26 10:36:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

6

It does sound like there are insufficient fields in the IDD for IDF Editor to properly read it. What you'll need to do is find the "Energy+.idd" file in your E+ installation and open it in a text editor. Be careful if you are on Windows, I'm not sure Notepad will work for this. Search for the string "Schedule:Compact", and not that there's a line in there that says:

\extensible:1 - repeat last field, remembering to remove ; from "inner" fields.

This is telling you that the object is extensible one field at a time. Other objects have to be extended in chunks of multiple fields. If you scroll down to the end of the object, you should see a line like this:

A4488,A4489,A4490,A4491,A4492,A4493,A4494,A4495,A4496,A4497,A4498,A4499,A4500; \note fields as indicated

What you're going to need to is to delete that ';' and add a A4501 etc. after this line (and make sure you end it all with a ';'). You'll probably need to add a lot of fields.

You might want to consider using Schedule:File instead of Schedule:Compact. Schedule:File isn't presently supported by OpenStudio, but since you can edit those files with just about any spreadsheet program it might be worth your while to translate your schedules into that format.

Jason DeGraw's avatar
2.2k
Jason DeGraw
answered 2018-04-26 10:56:02 -0500
edit flag offensive 0 remove flag delete link

Comments

@Jason DeGraw - Thank you for the prompt response. Yes, that's a lot of fields to add. I will explore the option of adding "Schedule:File" and calling the .csv file using the idf editor.

adireddi's avatar adireddi (2018-04-26 14:10:12 -0500) edit

Obviously a scripting program would help you to generate the remaining fields to be copy pasted into the E+.idd (don't do it by hand). Here's a python one-liner: ",".join(['A{:.0f}'.format(i) for i in range(4501,9000)]) + ";" and the output it generates is here (you can copy that)

Julien Marrec's avatar Julien Marrec (2018-04-26 14:31:17 -0500) edit

Thanks! Julien for the Python code and data points.

adireddi's avatar adireddi (2018-04-26 20:59:21 -0500) edit
add a comment see more comments
4

The Schedule:File is what you want to use for 8760 data. The BCL measure Add Interval Schedule From File will add a Schedule:File object to your OpenStudio model from a .csv file of values.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2018-04-26 17:55:42 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you Matt, for pointing me towards the BCL measure. It worked!

adireddi's avatar adireddi (2018-04-26 21:01:45 -0500) edit
add a comment see more comments