Tonatiuh

蒙特卡罗射线追踪器,用于太阳能聚光系统的光学模拟。(A Monte Carlo ray tracer for the optical simulation of solar concentrating systems.)

Github stars Tracking Chart

Tonatiuh项目旨在为太阳能聚光系统的光学模拟创建一个开源、尖端、准确且易于使用的蒙特卡罗射线追踪器。它旨在推进可用于太阳能聚光系统设计和分析的仿真工具的最新技术,并使任何有兴趣使用和改进它们的人都可以免费使用这些工具。

Tonatiuh的一些最相关的设计目标是:
  • 开发一个强大的理论基础,以促进几乎任何类型的太阳能聚光系统的光学模拟。
  • 为了展示一个干净灵活的软件架构,用户可以轻松地调整,扩展,增加和修改其功能。
  • 在源级别实现操作系统独立性,并在所有主要平台上运行,对其源代码进行无修改或次要修改。
  • 为用户提供先进且易于使用的图形用户界面(GUI)。有关此开源项目的基本原理以及Tonatiuh的目标,一般特征和当前状态的更多信息,请参见以下两个视频。第一个视频基于2008年9月塞维利亚大学Manuel J. Blanco博士的Pecha Kucha演讲。尽管音频曲目是西班牙语,但视频在西班牙语中是封闭式的,并且是英文字幕。有关如何使用YouTube视频的隐藏字幕/字幕功能的信息,请访问此处。第二个视频是基于Manuel J. Blanco博士于9月17日在德国柏林举行的2009年国际能源机构SolarPACES研讨会上发表的题为“Tonatiuh的初步验证”的论文的口头报告。
特性

使用扩展的Open Inventor文件来表示“场景”(即太阳能聚光系统,阳光模型等)先进且易于使用的GUI提供:

  • 要模拟的“场景”的3D和树视图。
  • 处理程序和操纵器,用于使用3D视图修改和查询场景对象。
  • 用于管理用户操作的撤消和重做的界面元素。
  • 接口元素,用于定义要执行的蒙特卡罗光线跟踪类型。一种普遍的插件架构,可以让用户分享:
  • 添加新的阳光模型。
  • 添加新的几何表面。
  • 添加新的反光材料。
  • (计划)添加新的折射材料。
  • (计划)添加新的光子贴图和其他结果分析器以及后处理器。
  • (计划)添加新的频谱模型。

要求

与任何其他雄心勃勃的开源程序一样,Tonatiuh使用并利用了几个现有的开源库和工具。 Tonatiuh使用的主要开源资源是:

  • 诺基亚QT用于图形用户界面(GUI)。
  • 用于3D图形可视化的Coin3D工具包。
  • 用于测试代码的CPPUnit。所有这些工具都用于在整个开发团队使用的标准开发环境中在Eclipse IDE中开发Tonatiuh。

Source Link(en): http://iat-cener.github.io/tonatiuh/

Overview

Name With Owneriat-cener/tonatiuh
Primary LanguageC++
Program languageQMake (Language Count: 4)
PlatformWindows
License:GNU General Public License v3.0
Release Count27
Last Release Namev2.2.4 (Posted on )
First Release Namev0.9.4 (Posted on )
Created At2015-05-08 10:51:30
Pushed At2023-03-27 11:35:22
Last Commit At2023-03-27 13:34:44
Stargazers Count52
Watchers Count17
Fork Count14
Commits Count1.2k
Has Issues Enabled
Issues Count126
Issue Open Count53
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

http://tonatiuhdocs.googlepages.com/Logodefinitivo301x115.gif

News

Tonatiuh release 2.2.4 is now available!

In this release some bugs have been solved. The most relevant one is a bugs in ShapeCAD instersection algorithm only visible in some operating systems. In addition, Pillbox distribution function removed from material errors in order to avoid some simulations errors by using this distribution function

Find the last release following this link: https://github.com/iat-cener/tonatiuh/releases/tag/v2.2.4

First workshop on Tonatiuh

First TONATIUH workshop, with title “An introduction to TONATIUH”, has been successfully delivered by Amaia Mutuberria, Senior researcher of CENER Solar Thermal Energy Department.
The course was organized within the activities that are being performed in WP12 of STAGE STAE (STAGE-STE project, http://stage-ste.eu/, has received funding from the European Union´s Horizon FP7 under grant agreement nº 609837).

The workshop was online and took place on 16th and 17th of September, 3 hours course per day. It was a success with a mass participation: more than 20 attenders of 10 different countries.

The main aim of this workshop was to explain how to design and analyze different CSP technologies using TONATIUH. In this workshop R programming language was used for the post-processing of TONATIUH's simulation output files, in order to transform raw photon data into flux distributions estimates, and to present those fluxes estimates as graphs.

Advanced level workshop will take place coming soon (second week of November expected). The main aim of this webinar will be to introduce the users in the development of the source code. After these sessions the attendants will be able to modify the code of the tool and they will be able to develop new plug-ins for TONATIUH.

Mrs. Amaia Mutuberria is a CENER senior researcher with more than 8 years of experience in the field of design and development of software for CSP systems simulations.

Amaia had the cooperation of Mr. Juan Manuel Quintanilla, Researcher of CENER Solar Thermal Energy Department, making ready the examples done during the presentation.

Overview

The Tonatiuh project aims to create an open source, cutting-edge, accurate, and easy to use Monte Carlo ray tracer for the optical simulation of solar concentrating systems. It intends to advance the state-of-the-art of the simulation tools available for the design and analysis of solar concentrating systems, and to make those tools freely available to anyone interested in using and improving them.
Some of the most relevant design goals of Tonatiuh are:

  • To develop a robust theoretical foundation that will facilitate the optical simulation of almost any type of solar concentrating systems.
  • To exhibit a clean and flexible software architecture, that will allow the user to adapt, expand, increase, and modify its functionalities with ease.
  • To achieve operating system independence at source level, and run on all major platforms with none, or minor, modifications to its source code.
  • To provide the users with an advanced and easy-of-use Graphic User Interface (GUI).
    Additional information on the rationale for this open source project, and on the goals, general characteristics, and current status of Tonatiuh is given in the two following videos. The first video is based on a Pecha Kucha presentation given by Dr. Manuel J. Blanco at the University of Seville in September 2008. Although, the audio track is in Spanish, the video is closed-captioned in Spanih, and subtitled in English. Information on how to use the close-caption/subtitle features of YouTube videos can be found here. The second video is based on an oral presentation of the paper entitled "Preliminary validation of Tonatiuh" given by Dr. Manuel J. Blanco on September 17th, at the 2009 International Energy Agency's SolarPACES Symposium, celebrated in Berlin, Germany., , , :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------, :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------, ## Features ##
    The use of extended Open Inventor files to represent the "scene" (i.e. the solar concentrating system, the sunlight model, etc.)
    An advance and easy-to-use GUI providing:
  • 3D and tree views of the "scene" to simulate.
  • Handlers and manipulators to modify and query scene objects using 3D views.
  • Interface elements to manage the undo and redo of user actions.
  • Interface elements to define de type of Monte Carlo ray tracing to execute.
    A pervasive plugin architecture which allos the user to:
  • Add new sunlight models.
  • Add new geometric surfaces.
  • Add new reflective materials.
  • (planned) Add new refractive materials.
  • (planned) Add new photon map and other results analyzers, and post-processors.
  • (planned) Add new spectrum models.

Requirements

As any other ambitious open source program, Tonatiuh uses and leverages on several existing open source libraries, and tools. The principal open source resources used by Tonatiuh are:

  • Digia Qt for the Graphic User Interface (GUI).
  • Coin3D Toolkit for 3D Graphics Visualization.
  • Marble generic geographical map widget and framework.
  • CPPUnit for testing the code.
    All these tools are used for developing Tonatiuh within the Eclipse IDE in a standard development environment used by the entire developing team.

Tonatiuh's output files format

From version 2.0.1 the format of the outputs of simulations has been changed to be more flexible for post-processing. You can find a description of the format Tonatiuh's output files format .

Citing Tonatiuh

These are some of the most relevant references:

  • Blanco, M., Mutuberria, A., Monreal, A., & Albert, R. (2011). Results of the empirical validation of Tonatiuh at Mini-Pegase CNRS-PROMES facility. Proc SolarPACES.
  • Blanco, M. J., Mutuberria, A., & Martinez, D. (2010). Experimental validation of Tonatiuh using the Plataforma Solar de Almería secondary concentrator test campaign data. In 16th annual SolarPACES symposium.
  • Blanco, M. J., Mutuberria, A., Garcia, P., Gastesi, R., & Martin, V. (2009). Preliminary validation of Tonatiuh SOLARPACES Symposium. Berlin, Germany.
  • Blanco, M. J., Amieva, J. M., & Mancillas, A. (2005, January). The Tonatiuh Software Development Project: An open source approach to the simulation of solar concentrating systems. In ASME 2005 International Mechanical Engineering Congress and Exposition (pp. 157-164). American Society of Mechanical Engineers.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

To the top