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

Revision history [back]

@Bo_Lin, looks like an issue in the measure that isn't cleanly handing space type that don't have any spaces assigned (or more specifically have a floor area of 0.0), that are flagged as one of these standard space types. As a result we end up dividing by 0 and getting NaN error (Not a Number).

# standards space types
affected_space_types << "BreakRoom"
affected_space_types << "Conference"
affected_space_types << "Office"
affected_space_types << "Restroom"
affected_space_types << "Stair"

I'll file an issue document this so the measure can be updated, but in the mean time try one of these two approaches to resolve the error.

  1. Remove un-used space types from the model, in particular the types listed above.
  2. Instead of removing the space type change the standard type to something else. The measure already has a check to skip it if it isn't one of these types.

Just as a note, if lights in the model are per person, and a space doesn't have any people (as many stairs or restrooms may not, you would hit a similar error, but hopefully those spaces don't have lights defined per person.