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

Why is the IDF Editor showing the following Parsing Error related to "Spacelist" object?

asked 2024-08-19 07:20:49 -0500

MHW's avatar

updated 2024-08-20 11:54:08 -0500

Hi,

I know the community has answered some similar questions related to this but I could not find a viable solution as of now - pertaining to this.

When I export the OS Model as IDF, and open it using the IDF Editor, it shows the following prompt at first (see the image). After I click "Ok", this is followed by same pop-up (several times) - for different Spaces, after which the IDF Editor closes. Therefore, not allowing me to edit the IDF.

However, when I run the same model in OS Application, it (EnergyPlus Simulation) runs without any issue till completion.

Can anyone please guide me to sort this out - so that I can happily edit the IDF?

C:\fakepath\IDF Parsing Error.PNG

Thank you.

============================================================================================

Edit-1:

@Denis

Hi Denis,

Hope you are well. Thank you for a prompt response.

As required:

1. One of the invalid SpaceList objects (from run/in.idf):

SpaceList, 189.1-2009 - Office - ClosedOffice - CZ1-3, !- Name T2_Office_L12, !- Space Name 1 T2_Office_L6, !- Space Name 2 T1_Office_L11, !- Space Name 3 T2_Office_L4, !- Space Name 4 T2_Office_G01, !- Space Name 5 T2_Office_L1, !- Space Name 6 T2_Office_L2, !- Space Name 7 T2_Office_L3, !- Space Name 8 T1_Office_L32, !- Space Name 9 T2_Office_L5, !- Space Name 10 T1_Office_L2, !- Space Name 11 T2_Office_L7, !- Space Name 12 T2_Office_L8, !- Space Name 13 T1_Office_L23, !- Space Name 14 T2_Office_L9, !- Space Name 15 T2_Office_L10, !- Space Name 16 T2_Office_L11, !- Space Name 17 T2_Office_L13, !- Space Name 18 T1_Office_L6, !- Space Name 19 T1_Office_L10, !- Space Name 20 T1_Office_L42, !- Space Name 21 T1_Office_L28, !- Space Name 22 T1_Office_G01, !- Space Name 23 T1_Office_L29, !- Space Name 24 T1_Office_L3, !- Space Name 25 T1_Office_L4, !- Space Name 26 T1_Office_L5, !- Space Name 27 T1_Office_L7, !- Space Name 28 T1_Office_L8, !- Space Name 29 T1_Office_L9, !- Space Name 30 T1_Office_L12, !- Space Name 31 T1_Office_L13, !- Space Name 32 T1_Office_L14, !- Space Name 33 T1_Office_L15, !- Space Name 34 T1_Office_L16, !- Space Name 35 T1_Office_L17, !- Space Name 36 T1_Office_L18, !- Space Name 37 T1_Office_L19, !- Space Name 38 T1_Office_L20, !- Space Name 39 T1_Office_L21, !- Space Name 40 T1_Office_L30, !- Space Name 41 T1_Office_L22, !- Space Name 42 T1_Office_L27, !- Space Name 43 T1_Office_L24, !- Space Name 44 T1_Office_L25, !- Space Name 45 T1_Office_L26, !- Space Name 46 T1_Office_L31, !- Space Name 47 T1_Office_L33, !- Space Name 48 T1_Office_L34, !- Space Name 49 T1_Office_L35, !- Space Name 50 T1_Office_L36, !- Space Name 51 T1_Office_L37, !- Space Name 52 T1_Office_L38, !- Space Name 53 T1_Office_L39, !- Space Name 54 T1_Office_L40, !- Space Name 55 T1_Office_L41, !- Space Name 56 T1_Office_L1; !- Space Name 57

2. Same object from the IDF I exported:

SpaceList, 189.1-2009 - Office - ClosedOffice - CZ1-3, !- Name T2_Office_L12, !- Space Name 1 T2_Office_L6, !- Space Name 2 T1_Office_L11, !- Space Name 3 T2_Office_L4, !- Space Name 4 T2_Office_G01, !- Space Name 5 T2_Office_L1, !- Space Name 6 T2_Office_L2, !- Space Name 7 T2_Office_L3, !- Space Name 8 T1_Office_L32, !- Space Name 9 T2_Office_L5, !- Space Name 10 T1_Office_L2, !- Space Name 11 T2_Office_L7, !- Space Name 12 T2_Office_L8, !- Space Name 13 T1_Office_L23, !- Space Name 14 T2_Office_L9, !- Space Name 15 T2_Office_L10, !- Space Name 16 T2_Office_L11, !- Space Name 17 T2_Office_L13, !- Space Name 18 T1_Office_L6, !- Space Name 19 T1_Office_L10, !- Space Name 20 T1_Office_L42, !- Space Name 21 T1_Office_L28, !- Space Name 22 T1_Office_G01, !- Space Name 23 T1_Office_L29, !- Space Name 24 T1_Office_L3, !- Space Name 25 T1_Office_L4, !- Space Name 26 ... (more)

edit retag flag offensive close merge delete

Comments

1

Could you post one of these invalid SpaceList objects (from both the run/in.idf file, as well as the IDF you're exporting)? These are pretty simple objects, so it should be straightforward to spot the error (the reported message suggests a missing semi-colon at the end). Could you also post which versions of OpenStudio (or OpenStudioApplication) vs IDF Editor you're using?

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-08-19 07:53:04 -0500 )edit

Hi Denis,

I have provided the required information in/under "Edit-1" of my original post/question.

Thanks once again.

MHW's avatar MHW  ( 2024-08-19 08:45:09 -0500 )edit
1

It is possible that just before the SpaceList object is an object that doesn't end with a semi-colon. It might be easiest to diagnose the problem if you share your entire file.

JasonGlazer's avatar JasonGlazer  ( 2024-08-19 08:49:21 -0500 )edit
2

Actually since you have 57 spaces listed and the native energy+.idd file only has 50 spaces, I think this is a case that you need to manually extend the energy+.idd file. See this question.

JasonGlazer's avatar JasonGlazer  ( 2024-08-19 08:54:49 -0500 )edit
1

@JasonGlazer raises great points. I'm curious however how OpenStudio manages to launch EnergyPlus with the same inputs. @MHW, do you see any related issues reported in the run/eplusout.err file, when it runs successfully?

Denis Bourgeois's avatar Denis Bourgeois  ( 2024-08-19 10:13:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-08-19 23:26:17 -0500

MHW's avatar

updated 2024-08-20 07:57:53 -0500

As could be drawn from the above discussion, the solution to this issue is not related to EnergyPlus. It is related to IDF Editor.

@JasonGlazer and @Denis Bourgeois raise some good points for the same and this answer stems from their guidance.

The solution to the above problem is as follows:

  1. Open the IDD file of EnergyPlus in Notepad or any suitable editor.
  2. Find the "Spacelist" object. This shall have these (click the link) parameters, as provided by @Denis Bourgeois in above comment. It will look like this in Notepad:

A1 , \field Name \note Name of the SpaceList. \note This name must be unique across Zone, Space, ZoneList, and SpaceList names. \required-field \type alpha \reference SpaceListNames \reference SpaceAndSpaceListNames \reference ZoneAndZoneListAndSpaceAndSpaceListNames A2 , \field Space 1 Name \begin-extensible \required-field \type object-list \object-list SpaceNames ... and so on till A50; \field Space 49 Name \type object-list \object-list SpaceNames

  1. Open the IDF file in Notepad or any suitable editor.
  2. Find the "Spacelist" object. Investigate the maximum number of "Space Names" in IDF. In my case this was "87" as indicated by the following (copying a portion of a Spacelist object from my IDF):

... T5_Residential_L14, !- Space Name 80 T5_Residential_L18, !- Space Name 81 T5_Residential_L8, !- Space Name 82 T5_Residential_L32, !- Space Name 83 T5_Residential_L4, !- Space Name 84 T5_Residential_L29, !- Space Name 85 T5_Residential_L5, !- Space Name 86 T5_Residential_L20; !- Space Name 87

  1. Go back to IDD file in Notepad.
  2. Remove the semicolon (;) after "A50" and replace it with comma (,)
  3. After:

A50, \field Space 49 Name \type object-list \object-list SpaceNames

... add the following:

A51, \field Space 50 Name \type object-list \object-list SpaceNames

  1. Keep repeating this (adding/incrementing fields) till you have:

A88; \field Space 87 Name \type object-list \object-list SpaceNames

  1. Save and close the IDD file.
  2. Open IDF in IDF Editor, it shall work fine.

========================================================================

Cheers!

If you find this answer helpful, please upvote. Thank you.

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2024-08-19 07:20:49 -0500

Seen: 141 times

Last updated: Aug 20