Rename Surfaces Measure Creates Severe Error

asked 2018-08-23 05:07:20 -0600

Ery Djunaedy's avatar

updated 2018-08-23 08:23:18 -0600

All, I am a fan of "Rename Space Surfaces Based on Parent Space and Orientation" measure, and I have been using it without any problem ... until now.

My model generates a severe error:

   ** Severe  ** Duplicate name found. name: "Space 105 - Wall 0:a". Overwriting existing object.

The problem is: there is no duplicate. I have been scratching my head on this, and I thought I post the solution.

The crux of the problem is: EnergyPlus does not like the name "Space 105 - Wall 0:a", for whatever reason.

The measure is supposed to give the surface name based on space name, space type (wall, floor, roof), and orientation (000, 090, 180, 270).

So the name of the surface at the above example is supposed to be "Space 105 - Wall 000:a". But for whatever reason, the three zeros got truncated. This happens in zones with many surfaces on north orientation (000). At random times, the three zeros become one. And that creates the problem in EnergyPlus.

Solution: Manually renaming the surface to something else, like "Space 105 - Wall 000:aa", will solve the problem.

Hope this helps people who uses this measure. Or, is it just me using this measure? :)

Here is an example with the error, though the error is hand made, not the result of the measure. Example

edit retag flag offensive close merge delete

Comments

Try replacing line 71 of the measure, from if surface_azimuth == "360" then surface_azimuth = "0" end to : if surface_azimuth == "360" then surface_azimuth = "000" end though I doubt E+ has a specific issue with "0:a" rather than "000:a". It'd be more helpful to share a model on which we can run the measure AND produce an error.

Julien Marrec's avatar Julien Marrec  ( 2018-08-23 08:28:32 -0600 )edit

I commented about this on an issue filed here. It's not just you, and renaming the surfaces (or tweaking the measure) will work. Something is messed up in the JSON input validation.

ericringold's avatar ericringold  ( 2018-08-23 08:39:29 -0600 )edit