Describe the bug
The migrated C# component GhSolarUnobstructed.cs is extremely slow with many inputs. The problem is likely rooted in RegisterInputParams: it reads tilt angles and azimuths in as lists, however surface area only as item. Therefore, it probably conducts p.CalcIrradiationMT way too many times.
Expected behavior
Should be faster. Change inputs either all to items, or all (include surface area) to lists and make proper multi-threading.
Describe the bug The migrated C# component
GhSolarUnobstructed.cs
is extremely slow with many inputs. The problem is likely rooted inRegisterInputParams
: it reads tilt angles and azimuths in as lists, however surface area only as item. Therefore, it probably conductsp.CalcIrradiationMT
way too many times.Expected behavior Should be faster. Change inputs either all to items, or all (include surface area) to lists and make proper multi-threading.
Software