NREL / bifacial_radiance

Toolkit for working with RADIANCE for the ray-trace modeling of Bifacial Photovoltaics
https://bifacial-radiance.readthedocs.io
BSD 3-Clause "New" or "Revised" License
91 stars 48 forks source link

Adding ground geometry #481

Open lherrero01 opened 1 year ago

lherrero01 commented 1 year ago

Hi,

I am working on introducing a non-flat ground in my simulation. I have a topographic file containing a series of coordinate triplets (x,y,z) that represent a surface.

I have been looking at using the .makeCustomObject function to add the non flat ground as a new object. I would use the 'gensurf' generator from Radiance as the text input for .makeCustomObject. My idea is, once the new object is created, to add it to the scene using .appendtoScene.

However, by taking this approach I see the following problem; once the ground object is added, the z=0 coordinate remains the same, so my PV-modules would still be placed at a certain height from that z=0 coordinate, instead of from my new ground geometry.

Do you have any indications on how could I do this? The objective is to have my ground plane defined by my topograohic file, so that the modules are placed on top of it, representing the real situation more accurately. This way, the irregularities in the ground level and how they affect module placement and performance is taken into account.

Any help would be appreciated. Thank you for your great work!