Skip to content

Configuring the ray tracer

Pablo Benito edited this page May 12, 2015 · 3 revisions

The ray tracing is the technique that Tonatiuh uses to simulate analyze de solar concentration systems. The rays are generated in a light source, the sun for Tonatiuh, and then these rays intersection with system surfaces are calculated.

Before execute the ray tracer, some parameters can be configured in the following dialog, available from the menu "Ray Trace">"Ray Trace Options ...":

Figure 1.Ray Tracer Options dialog.

Settings

The first parameters to configure are related with the ray generation:

  • Number of rays: The number of rays to simulate.
  • Random Generator: Random number generator algorithm.
  • With divisions and Height divisions: A grid is defined in the sun plane for generate rays for the cells of this grid that are enabled (a cell is enabled if a ray with origin in the cell can intersect with a surface). The divisions define de number of cells for each dimension for the grid.

Draw

The draw option are the parameters that define how de simulation results will be showed in the 3D view.

  • Show rays: Check this option to show the path of the simulated rays.
  • Show photons: A photon is the data associated with an ray intersection with a scene surface. Check this option to show the photons intersection positions.

In the simulation can be selected to create only photons of one surfaces intersections. If this functionality is used, the draw options are not used and after the simulation the rays and the photons will not be drawn.

PhotonMap

The photon map is the structure that stores the photons in memory. This structure can be configured as following:

  • Buffer size: maximum number of photons to store in the photon map.
  • Construction: This option defines if in consecutive simulations must start with an empty structure (New Photon Map) or continue adding (Increase photon map) photons to the photon map created in the previous simulation.

User's Guide | Wiki Home

Clone this wiki locally