Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 11 committers (9.1%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.3%) to scientific vocabulary
Repository
SolTrace
Basic Info
- Host: GitHub
- Owner: NREL
- License: other
- Language: C++
- Default Branch: develop
- Homepage: https://www.nrel.gov/csp/soltrace.html
- Size: 96.6 MB
Statistics
- Stars: 50
- Watchers: 16
- Forks: 39
- Open Issues: 24
- Releases: 1
Metadata Files
README.md
SolTrace
The SolTrace Open Source Project repository contains the source code, tools, and instructions to build a desktop version of the National Renewable Energy Laboratory's SolTrace. SolTrace is a software tool developed at NREL to model concentrating solar power (CSP) systems and analyze their optical performance. Although ideally suited for solar applications, the code can also be used to model and characterize many general optical systems. The creation of the code evolved out of a need to model more complex solar optical systems than could be modeled with existing tools. For more details about SolTrace's capabilities, see the SolTrace website. For details on integration with SAM, see the SAM website.
The desktop version of SolTrace for Windows or Linux builds from the following open source projects:
LK is a scripting language that is integrated into SAM and allows users to add functionality to the program.
wxWidgets is a cross-platform graphical user interface platform used for SAM's user interface, and for the development tools included with SSC (SDKtool) and LK (LKscript). The current version of SAM uses wxWidgets 3.1.0.
WEX is a set of extensions to wxWidgets for custom user-interface elements used by SAM, and by LKscript and DView, which are integrated into SAM.
This repository, SolTrace, provides the user interface to assign values to inputs of the computational modules, run the modules in the correct order, and display calculation results. It also includes tools for editing LK scripts and viewing ray intersection and flux map data.
SolTrace Python API
Users can also run simulations via the pysoltrace SolTrace Python API found in the folder app/deploy/api. Example files for running the API are found in the app/deploy/api/examples subfolder. Documentation is available in HTML or PDF format in the corresponding API subfolder.
The pysoltrace API is capable of running multi-threaded simulations, generating flux maps, creating 3D interactive trace plots, and provides other capabilities that are found in the SolTrace graphical interface. The functionality and flexibility of the API generally exceeds that of the graphical interface.
The API requires the compiled coretrace library. Project files for building this library are generated using CMake as outlined in the steps below. It is possible to build only coretrace and not build the graphical interface by following the steps 1-7, but only building the coretrace_api project in step 7.vii.
Steps for Building SolTrace
These are the general steps you need to follow to set up your computer for developing SolTrace:
- Set up your development tools:
* Windows: Visual Studio 2022 Community or other editions available at [https://www.visualstudio.com/](https://www.visualstudio.com/).
* Linux: g++ compiler available at [http://www.cprogramming.com/g++.html](http://www.cprogramming.com/g++.html) or as part of the Linux distribution.
Download and install CMake 3.28 or higher from https://cmake.org/download/ with the
Add CMake to the System Path for ...option selected.Download the wxWidgets 3.2.4 source code for your operating system from https://www.wxwidgets.org/downloads/.
Build wxWidgets.
In Windows, create the WXMSW3 environment variable on your computer to point to the wxWidgets installation folder, or Linux, create the dynamic link
/usr/<USERNAME>/local/bin/wx-config-3to point to/path/to/wxWidgets/bin/wx-config.As you did for wxWidgets, clone (download) the LK and WEX repositories and then (Windows only) create an environment variable pointing to the project folder.
Project Repository URL Windows Environment Variable Environment Variable Path LK https://github.com/NREL/lk LKDIR /path/to/lk WEX https://github.com/NREL/wex WEXDIR /path/to/wex Open a Git Bash window and navigate to the WEX directory. Check out the following tag:
cd wex git checkout tags/2021.12.02.r2.ssc.274Run CMake to create the project build files
- Copy the file
parent-dir-CMakeLists.txtinto the parent directory also containingsoltrace/ lk/ wex/andwxwidgets-3.x.x/folders. Rename this file to
CMakeLists.txtbefore running cmake. You may need to temporarily rename any other file in this directory with the same name.E.g., the file should be at
C:/stdev/CMakeLists.txtCreate a directory in the main parent folder to store the build files. E.g.,
C:/stdev/build-soltrace/Open a shell or command window, and navigate to the build folder you just created.
Copy the following cmake command to the shell and run. Replace the cmake target with a supported generator
cmake -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DCMAKE_SYSTEM_VERSION=10.0 -DSAM_SKIP_TOOLS=1 ..Confirm the project files built. If running visual studio, you should see a
soltrace_ui.slnfile in the build-soltrace/ directory.Build all files. The output is stored in the soltrace repository folder, e.g.,
C:/stdev/soltrace/app/deploy/soltrace.exe.Note that output is NOT stored in the
build-soltrace/directory!
- Copy the file
Contributing
If you would like to report an issue with SolTrace or make a feature request, please let us know by adding a new issue on the issues page.
If you would like to submit code to fix an issue or add a feature, you can use GitHub to do so. Please see Contributing for instructions.
License
SolTrace's open source code is copyrighted by the Alliance for Sustainable Energy and licensed under a mixed MIT and GPLv3 license. It allows for-profit and not-for-profit organizations to develop and redistribute software based on SolTrace under terms of an MIT license and requires that research entities including national laboratories, colleges and universities, and non-profit organizations make the source code of any redistribution publicly available under terms of a GPLv3 license.
Citing SolTrace
We appreciate your use of SolTrace, and ask that you appropriately cite the software in exchange for its open-source publication. Please use one of the following references in documentation that you provide on your work. For general usage citations, the preferred option is:
Wendelin, T. (2003). "SolTRACE: A New Optical Modeling Tool for Concentrating Solar Optics." Proceedings of the ISEC 2003: International Solar Energy Conference, 15-18 March 2003, Kohala Coast, Hawaii. New York: American Society of Mechanical Engineers, pp. 253-260; NREL Report No. CP-550-32866.
For citations in work that involves substantial development or extension of the existing code, the preferred option is:
Wendelin, T., Wagner, M.J. (2018). "SolTrace Open-Source Software Project: github.com/NREL/SolTrace". National Renewable Energy Laboratory. Golden, Colorado.
Owner
- Name: National Renewable Energy Laboratory
- Login: NREL
- Kind: organization
- Location: Golden, CO
- Website: http://www.nrel.gov
- Repositories: 599
- Profile: https://github.com/NREL
GitHub Events
Total
- Create event: 6
- Issues event: 4
- Release event: 1
- Watch event: 2
- Delete event: 4
- Issue comment event: 5
- Member event: 1
- Push event: 100
- Pull request review comment event: 41
- Pull request event: 18
- Pull request review event: 29
- Fork event: 8
Last Year
- Create event: 6
- Issues event: 4
- Release event: 1
- Watch event: 2
- Delete event: 4
- Issue comment event: 5
- Member event: 1
- Push event: 100
- Pull request review comment event: 41
- Pull request event: 18
- Pull request review event: 29
- Fork event: 8
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Mike Wagner | m****r@n****v | 54 |
| Davis | m****2@n****v | 40 |
| Milo Davis | M****s@n****v | 15 |
| jannamartinek | j****k@n****v | 13 |
| qualand | 3****d | 8 |
| Mike Wagner | m****2@w****u | 6 |
| nickdiorio | n****o@g****m | 3 |
| Taylor Brown | 6****5 | 2 |
| Jonathan Maack | j****k@n****v | 2 |
| Brooke Stanislawski | 3****i | 1 |
| Wagner | m****r@n****v | 1 |
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 29
- Total pull requests: 48
- Average time to close issues: 4 months
- Average time to close pull requests: 5 months
- Total issue authors: 19
- Total pull request authors: 11
- Average comments per issue: 1.21
- Average comments per pull request: 0.42
- Merged pull requests: 38
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 20
- Average time to close issues: N/A
- Average time to close pull requests: 6 days
- Issue authors: 3
- Pull request authors: 5
- Average comments per issue: 0.0
- Average comments per pull request: 0.5
- Merged pull requests: 16
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tamirlance (6)
- mjwagner2 (5)
- alexgrdem (2)
- austinmiller17 (1)
- LiuZengqiang (1)
- Samuel139 (1)
- JawwadAga (1)
- aface0427 (1)
- yx526 (1)
- giogio8427 (1)
- chetan201 (1)
- Gablegritule (1)
- jmaack24 (1)
- oriolgalceran (1)
- tyneises (1)
Pull Request Authors
- mjwagner2 (17)
- Amiable-Vagabond (6)
- jmaack24 (6)
- qualand (6)
- taylorbrown75 (4)
- jannamartinek (2)
- giogio8427 (2)
- brookeslawski (2)
- LuningFang (1)
- fenollp (1)
- sacorbet97 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
proxy.golang.org: github.com/nrel/soltrace
- Documentation: https://pkg.go.dev/github.com/nrel/soltrace#section-documentation
- License: other
-
Latest release: v3.4.0+incompatible
published over 1 year ago