Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add fixed structure for Single Axis Tracking Hourly? #483

Open
Origin-Zhang opened this issue Nov 3, 2023 · 3 comments
Open

How to add fixed structure for Single Axis Tracking Hourly? #483

Origin-Zhang opened this issue Nov 3, 2023 · 3 comments

Comments

@Origin-Zhang
Copy link

Now, I discovered that I can add rotating structures (such as turquetube, frame and omega) to the PV modules in single axis tracking hourly, these structures and PV modules together form a 'rad' scene file. If the simulation is performed for 8760 hours a year, 8760 'rad' scene files will be generated. Then I want to add fixed structures (such as posts) to 8760 scenes. It seems that I can only manually add fixed structures to each scene 'rad' file separately (such as using a for loop to perform 8760 operations), which can be used directly in the software package. Does the API interface meet this requirement? I haven't found the API yet.

In addition, I also want to know how to sample multiple PV modules at the same time in one simulation. The analysis module seems to only be able to select specified PV modules in a specific row. In this way, if I want to achieve sampling of a row of PV modules (for example, Tutorial 16), it seems that I can only use Run the simulation multiple times. The simplified way I can think of at present is to set up an ultra-long PV module, divide the cells inside the module, and use the cells as components to achieve rough sampling of the irradiance distribution of a row in one simulation.

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

@shirubana
Copy link
Member

Hi

The "Tracking dictionary" pathway with makescene1axis, set1axis, etc does not currently support multiple scene objects/appended objects. @cdeline is working on it :)

  1. You can definitely modify the values for the frontscan and backscan and do what you suggest. We do have a function that was contributed that is supposed to go through a row analyzeRow and analyzeField but I think it's also for the non-trackerdict pathway, and it is internally just setting a loop. In terms of time it doesn't reduce that much to avoid the loop and do one analysis1axis/analysis instead of several, because what takes the time is the raytrace itself and it will still take the same time for 20 points at a time than doing it through 5 analysis of 4 points each.

@Origin-Zhang
Copy link
Author

Thank you very much for your answer,

Now I can add fixed structures, such as posts, to thousands of tracking scenes by using loops. Meanwhile, for sampling multiple photovoltaic modules, I also use loops for analysis, and select the photovoltaic modules I need to analyze in each loop. In addition, Currently, I am currently manually opening multiple Python files for parallel ray tracing calculations, but I am learning the content in the 'bifacial_radiance/HPCScripts' folder.

@shirubana
Copy link
Member

great! :) I'll try to answer if you have any other issues. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants