Grasshopper

algorithmic modeling for Rhino

Why does the calculated Definition (D50) in my simulation report show as NaN?

D50 is defined as the ratio between the acoustic energy arriving within the first 50 ms (including the direct sound and early reflections) and the total acoustic energy of the entire impulse response at the receiver position. Therefore, it is possible that the total acoustic energy is zero or not properly computed.

I would greatly appreciate any guidance from colleagues on how to correctly calculate the Definition (D50), because as far as I understand, if D50 appears as NaN, other related acoustic parameters may also be incorrect. I have included the relevant figures (.jpeg) and model settings (.gh) below.

Views: 22

Attachments:

Replies to This Discussion

Can you send a model? Nan would mean that the late part was zero. It could be something to do with your room, or maybe a scale error.

Thank you very much for your reply! I previously attached a .gh file in my earlier post, but it was quite messy. I’m re-uploading it here. I’m using Rhino 8, and everything in the simulation seems to work except for C50. I’ve tried checking the Impulse Response (IR), but I’m unable to export it, and I’m honestly feeling quite desperate at this point.GAM8_Generate%20data-D50.gh

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service