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

How do I fix IDF Editor "too many fields" error?

asked 2015-04-24 11:47:45 -0500

Yupeng's avatar

updated 2015-07-11 09:48:56 -0500

Is any one used Energy plus "ANSI/ASHRAE/IES Standard 90.1 Prototype Building Model Package" before? I tried to use the outpatient healthcare models. But all of these models have a same error when opened with IDF editor: Too many fields for objects: controller: mechanical ventilation. Is any one know how to fix it in text editor?

Thanks,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-04-24 14:02:11 -0500

updated 2015-04-24 14:22:03 -0500

The problem is that the number of fields in the Energy+.IDD file is not sufficient for the IDF Editor (it is not an issue for EnergyPlus itself). You can edit the Energy+.IDD file manually using a text editor to add fields to what ever object is causing a problem by following the pattern in the IDD. Make sure you have a comma after each intermediate field and a semicolon only after the last field. The original IDD file has the Controller:MechanicalVentilation ends with:

   A146,\field Zone 48 Name
        \type object-list
        \object-list ZoneAndZoneListNames
        \note A zone name or a zone list name may be used here
   A147,\field Design Specification Outdoor Air Object Name 48
        \type object-list
        \object-list DesignSpecificationOutdoorAirNames
   A148,\field Design Specification Zone Air Distribution Object Name 48
        \type object-list
        \object-list DesignSpecificationZoneAirDistributionNames
   A149,\field Zone 49 Name
        \type object-list
        \object-list ZoneAndZoneListNames
        \note A zone name or a zone list name may be used here
   A150,\field Design Specification Outdoor Air Object Name 49
        \type object-list
        \object-list DesignSpecificationOutdoorAirNames
   A151,\field Design Specification Zone Air Distribution Object Name 49
        \type object-list
        \object-list DesignSpecificationZoneAirDistributionNames
   A152,\field Zone 50 Name
        \type object-list
        \object-list ZoneAndZoneListNames
        \note A zone name or a zone list name may be used here
   A153,\field Design Specification Outdoor Air Object Name 50
        \type object-list
        \object-list DesignSpecificationOutdoorAirNames
   A154;\field Design Specification Zone Air Distribution Object Name 50

Following this pattern, replace the semicolon on the A154 line with a comma and keep adding fields until you get to 70 fields or so, which would look like:

   A209,\field Zone 69 Name
        \type object-list
        \object-list ZoneAndZoneListNames
        \note A zone name or a zone list name may be used here
   A210,\field Design Specification Outdoor Air Object Name 69
        \type object-list
        \object-list DesignSpecificationOutdoorAirNames
   A211,\field Design Specification Zone Air Distribution Object Name 69
        \type object-list
        \object-list DesignSpecificationZoneAirDistributionNames
   A212,\field Zone 70 Name
        \type object-list
        \object-list ZoneAndZoneListNames
        \note A zone name or a zone list name may be used here
   A213,\field Design Specification Outdoor Air Object Name 70
        \type object-list
        \object-list DesignSpecificationOutdoorAirNames
   A214;\field Design Specification Zone Air Distribution Object Name 70
        \type object-list
        \object-list DesignSpecificationZoneAirDistributionNames

I have been using EnergyPlus 8.3 after upgrading those files. I have a Energy+.idd that fixes that issue with that object that you can download here. The prototype building models can be found on energycodes.gov .

edit flag offensive delete link more

Comments

JSON lists cannot come soon enough...

__AmirRoth__'s avatar __AmirRoth__  ( 2015-04-24 15:13:31 -0500 )edit

@JasonGlazer After following the procedure above I receive an 'Unmatched Object Lists Found' window when I open the IDF editor. The warning states 'The following lists appear in the IDD for an \object-list but not in a \reference or \reference-class-name: DESIGNSPECIFICATIONZONEAIRDISTRIBUTIONNAMES'

All items in the IDF editor appear correctly and I can run the simulation without error. Is this warning anything to be wary of? I'm using EnergyPlus v8.2.0 Update 1.

Lyle K's avatar Lyle K  ( 2015-05-05 16:52:12 -0500 )edit

I am not sure why you are getting that error. Send me your edited energy+.idd file and I will take a look. Send to jglazer at gard.com

JasonGlazer's avatar JasonGlazer  ( 2015-05-06 05:48:21 -0500 )edit
1

Looks like it was just some extra "tab" characters causing the problem. I just sent you a revised IDD file.

JasonGlazer's avatar JasonGlazer  ( 2015-05-06 11:51:18 -0500 )edit

If others get the "unmatched object lists found" error after editing the Energy+.idd file, it would be a good idea to make sure no "tab" characters are used in the energy+.idd file. Many editors have a feature called "convert tabs to spaces" that should be used to see if it fixes this issue.

JasonGlazer's avatar JasonGlazer  ( 2016-10-06 10:06:21 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

4 followers

Stats

Asked: 2015-04-24 11:47:45 -0500

Seen: 1,524 times

Last updated: Apr 24 '15