Hello, I’m a new user to Pollination exporting my first model from Revit to IESVE. I followed the steps and validated the model, which shows no errors or warnings, but I’m getting the following error message when exporting. It seems to be indicating a negative room volume somewhere, but I can’t tell what room. Can you help?
""Traceback (most recent call last):
File "/lib/python313.zip/\_pyodide/\_base.py", line 597, in eval_code_async
await CodeRunner(
...<9 lines>...
.run_async(globals, locals)
File "/lib/python313.zip/\_pyodide/\_base.py", line 411, in run_async
coroutine = eval(self.code, globals, locals)
File "", line 38, in
File "/home/pyodide/dragonfly/model.py", line 2058, in to_honeybee
model.\_properties = self.properties.to_honeybee(model)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^
File "/home/pyodide/dragonfly/properties.py", line 332, in to_honeybee
return self.\_add_extension_attr_to_honeybee(host, hb_prop)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^
File "/home/pyodide/dragonfly/properties.py", line 198, in \_add_extension_attr_to_honeybee
raise Exception('Failed to translate {} to_honeybee: {}'.format(var, e))
Exception: Failed to translate Model Energy Properties: 80b50981-d440-4b83-a810-0955cb2bc333 to_honeybee: Input number room volume in meters must be between 0 and inf. Got -1144.410416187836"
Do you happen to have a multi-story room in your model? My best guess is that the issue is happening because the rooms are not fully aligned and the vertical intersection after extruding the rooms is causing this issue.
Can you share the PoMF with me? You can email it to me at mostapha [at] ladybug [dot] tools or send a private message here if you don’t want to share it publicly. I can take it from there.
@mlee, I sent you an email with a recording that shows how to fix the issue. The source of the issue was the misalignments.
I keep this open for now until @chriswmackey gets a chance to review the model and see if there is a way that we can automate the process of resolving this issue or find a better way to inform the user about this issue.