Saturday, December 17, 2016

Accelerating solar farm design in Energy3D with a new model of solar panel racks

Fig. 1: A solar farm of 5,672 solar panels on 8/16 in Boston
The solar simulation in Energy3D is based on discretizing a solar panel, a reflector, a solar water heater, a window, or any other surface into many small cells (mesh), calculating the solar radiation to the centers of the cells, and then summing the results up to obtain the total energy output. For example, a photovoltaic solar panel can be divided into 6x10 cells (this is also because many residential versions of solar panels are actually designed to have 6x10 solar cells). The simulation runs speedily when we have only a few dozen solar panels such is in the case of rooftop solar systems.

Fig. 2: Simulation of 5,672 solar panels on 8/16 in Boston
Unlike rooftop solar systems, large-scale solar farms typically involve thousands of solar panels (mega utility-scale solar farms may have hundreds of thousands of solar panels). If we use the same discretization method for each panel, the simulation would run very slowly (e.g., the speed drops to 1% when the number of solar panels are 100 times more). This slowdown basically makes Energy3D impractical to use by those who cannot afford to wait such as students in the classroom who need to get the results quickly.

Fig. 3: The result of the accelerated model
Fig. 4: The result of the original model
Luckily, solar panel arrays are often installed on parallel long racks in many solar farms (Figure 1). For such solar panel arrays, a lot of calculations could be spared without compromising the overall accuracy of the simulation too much. This allows us to develop a more efficient model of numeric simulation to do solar radiation calculation and even explore methods that use non-uniform meshes to better account for areas that are more likely to be shaded, such as the lower parts of the solar panel arrays. By implementing this new model, we have succeeded in speeding up the calculation dramatically. For example, the daily solar simulation of a solar farm consisting of more than 5,000 solar panels took about a second on my Surface Book computer (Figure 2 -- in this scene I deliberately added a couple of trees so that you can see the result of shading). With the previous model I would probably have to wait for hours to see the result and the graphics card of my computer would take a very deep breath to render more than 5,000 dynamic textures. This is a huge improvement.

Figures 3 and 4 show a comparison of the simulation results between the new and old models. Quantitatively, the total output of the new model is 93.63 kWh for the selected day of June 22 in Boston, compared with 93.25 kWh from the original model. Qualitatively, the color shading patterns that represent the distribution of solar radiation in the two cases are also similar.

The new rack model supports everything about solar panels. It has a smart user interface that allows the user to draw racks of any size and in any direction -- it automatically trims off any extra length so that you will never see a partial solar panel on a rack. When tracking systems are used with long, linear racks, there is only one way to do it -- horizontal single-axis tracker (HSAT). The new model can handle HSAT with the same degree of speed-up. For other trackers such as the vertical single-axis tracker (VSAT) or the altazimuth dual-axis trackers (AADAT), the speed-up will not be as significant, however, as the inter-rack shading is more dynamically complex and each rack must be treated independently.

No comments: