I have an odd situation at hand, when I try to run PV potential using CEC PV Module on one particular facade of the brep I get an error (1. Solution exception:Attempted to divide by zero.)
I had a quick glance, and there are two things that are causing the issue:
NREL changed the structure of their CEC moduleās library since the time āImport CEC photovoltaics moduleā component was made (april 2017). It seems I have not been aware of this. Thank you for reporting it!
As I can not fix this issue immediately you can use an older CEC module library from this post. It has some 7000 modules less than the newest CEC modules library, but still it will be sufficient, at least for now.
There seems to be some tolerance issue when PVsurface is positioned exactly at 90 degrees tilt, like in your case.
Are you trying to put PV panels on a vertical building facade?
If that is so, the work around (for now, until the issue is fixed) is to slightly increase the tilt angle of the PVsurface. For example by 1 degree (91 degree tilt angle). This will get rid of the error message āAttempted to divide by zeroā.
Thank you once again for reporting this issues, and hopefully they will be fixed soon.
Until then you can use the upper two temporary fixes.