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 -0600

Yupeng gravatar image

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

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 -0600

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

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__ gravatar image__AmirRoth__ ( 2015-04-24 15:13:31 -0600 )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 gravatar imageLyle K ( 2015-05-05 16:52:12 -0600 )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 gravatar imageJasonGlazer ( 2015-05-06 05:48:21 -0600 )edit
1

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

JasonGlazer gravatar imageJasonGlazer ( 2015-05-06 11:51:18 -0600 )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 gravatar imageJasonGlazer ( 2016-10-06 10:06:21 -0600 )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

3 followers

Stats

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

Seen: 437 times

Last updated: Apr 24 '15