Daylight analysis failing when using "air walls"

My question is kindof similar to this from 2015:
AirWalls E+ and Daylight Analysis (and InternalMass problem?)

However, the issues were solved using Grasshopper components, and I’m writing to the HBJSON file directly (converting my own format to HBJSON). So I really need to understand this more deeply.