Unable to Run honeybee energy simulation due to (degenerate surface) and (unable to calculate surface volume)

Hello, I am trying to run an energy simulation on my structure, which later can be used to generate comfort analysis. But the following warning shows up:

  1. The simulation has not run correctly because of this severe error:
    ** Severe ** GetSurfaceData: There are 3 degenerate surfaces; Degenerate surfaces are those with number of sides < 3.
  2. The simulation has not run correctly because of this severe error:
    ** Severe ** For zone: ZONE_3 it is not possible to calculate the volume from the surrounding surfaces so either provide the volume value or define all the surfaces to fully enclose the zone.

My original model has curved surfaces, since HB does not accept curved geometry, I had to construct, based on my original geometry, a closed Brep with multiple planar surfaces to run the HB analysis.
It’s possible that the warning from HB is due to the new Brep I created based on my original curved geometry, but I couldn’t find out the root of the problem.
I attached the grasshopper fileDec19.gh (641.5 KB)
, in case anyone is willing to help me solve this problem, any help wil be greatly appreciated !!

the script labeled red is where my problem is.
p.s: you can replace the weather file to any other ones

I have no knowledge of debugging or error codes, but i can recommend you check out the ladybug/honeybee forum.
They have most likely seen the issue before and are more likely to be able to help with it.

Thank you !! I will give it a try