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

Duplicate name error E+ error

asked 2020-01-29 10:26:17 -0600

jugonzal07's avatar

updated 2020-01-31 10:38:16 -0600

Hi all,

I've been getting an error when working on the 90.1 prototypical Outpatient building.

The Error:

I receive an error that reads:

Last severe error=Duplicate name found. name: "Basement Floor F: 1.26 Perim: 0.0 Area: 5.2". Overwriting existing object.


As you can see, I create a Construction:FfactorGroundFloor object that lays out the parameters in the name. I do this using Ruby code that ensures I don't create a Construction:FfactorGroundFloor that already exists in the model:

# Record combination of perimeter and area. Each unique combination requires a FFactorGroundFloorConstruction
  f_floor_const_name ="Basement Floor F: #{f_factor.round(2).to_s} Perim: #{perimeter.round(2).to_s} Area: #{area.round(2).to_s}"

  # Check if the floor construction has been constructed already. If so, look it up in the model
  if model.getFFactorGroundFloorConstructionByName(f_floor_const_name).is_initialized
    f_floor_construction = model.getFFactorGroundFloorConstructionByName(f_floor_const_name).get
    f_floor_construction =

I then go on to set the construction to the appropriate surfaces.

In this IDF I do in fact have a Construction:FfactorGroundFloor used by multiple surfaces, but as far as I know it's not unusual for multiple surfaces to use a common construction.

Here is what I've tried to fix the issue:

Did not fix this issue:

  • Forget it, allow the code to recreate identical constructions. The Construction:FfactorGroundFloor name instead gets a 1 appended to it, but I still get the same error. This is odd, as it is no longer duplicated.
  • Tried playing with the special characters (e.g. the colon, using underscores in place of spaces). I still got the same error but with the new name.

Did fix the issue, but I'm unhappy with the result:

  • This is the strangest one: if I go into the IDF generated by the ruby code and manually change the problematic name to something else, it works.

Any ideas what is going on? Why does that object name cause this error?

IDF and OSM files can be found here

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-30 10:43:56 -0600

jugonzal07's avatar

updated 2020-01-31 08:23:54 -0600

Current working working solution:

  • My colleague tried many combinations and had this work format work:

    "Foundation F #{f_factor.round(2).to_s} Perim #{perimeter.round(2).to_s} Area #{area.round(2).to_s}".gsub('.','')

The gsub removes the '.' to get you Foundation F 126 Perim 00 Area 52.

What makes this weird, is that we still received the same error if we replaced the dot with the letter 'p'. We're unsure if it's somehow related to this

UPDATE: This seems to be a known E+ bug. More information can be found here

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

Question Tools


Asked: 2020-01-29 10:26:17 -0600

Seen: 359 times

Last updated: Jan 31 '20