Script for distribution of solar panels

Hello,

I would like to write a script (or load an existing script) for the optimal distribution of solar panels. For this, I would like to be able to parametrically specify the size of the panel, how many rows should be under each other and how many solar panels side by side per row.

Is there a tutorial for such a script?

Thanks in advance!

Sincerely,

Bjorn

Hola amigo @b.vrenken bienvenido. lucky for you, not only is there a post on the same dynamo Bim page but there are a series of interesting videos that show the process you are looking for, I hope it helps and gives you some ideas!
https://dynamobim.org/