First time here? Check out the Help page!

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

Occupancy Sensor Measure Error

asked 7 years ago

BL's avatar

updated 6 years ago

I applied the this measure, occupancy_sensors_for_lighting and received following errors, any ideas how to solve ? image description

Besides is there any way to specify which spaces or thermal zones will be controlled by the sensor ? Now it seems like that it will be applied to the entire building.

Thanks

Preview: (hide)

Comments

@Eric Ringold Do you have any idea how to solve this ?

BL's avatar BL  ( 7 years ago )

Looks like you're tripping the error here. I would start by investigating why lpd_area_change might be returning NaN.

ericringold's avatar ericringold  ( 7 years ago )

Hi @Eric Ringold , can you provide more information to solve ? I defined all space lighting energy as watt/sq ft.

BL's avatar BL  ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

@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.

Preview: (hide)
link

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: 7 years ago

Seen: 182 times

Last updated: May 22 '17