Hi @Martin6 ,
Thanks for bringing up this issue. I was able to create a simple case where the solar enclosure data was not matched with the correct Room. So your hunch was right and there is a bug for the case where you have multiple solar enclosures (aka. multiple groups of rooms that are continuously connected by air boundaries).
For some reason, the E+ and OpenStudio developers made it extraordinarily difficult to get the solar enclosure info out of the EnergyPlus calculation and there’s currently no way to do it with the OpenStudio SDK since you have to add this object to the IDF, which is not supported by OpenStudio:
ViewFactorInfo; !- Report Type
However, it seems like the E+ developers built a “back door” way to figure out the solar enclosures, which is that they always seem to sort the rooms alphabetically by the Zone name before they group and assign an enclosure number to them. I hate having to rely on something that isn’t documented and is really just a guess on my part but I have tested this with more than 20 combinations of Rooms and it always seems to match the Rooms with the correct enclosure.
So I pushed a fix for the Color Rooms component that simply does this alphabetical sorting:
When you get the chance, can you run the LB Versioner and test the fix with your model? Thanks again for all of your help here.