• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NREL / SolTrace
89%

Build:
DEFAULT BRANCH: develop
Repo Added 16 Apr 2025 09:42PM UTC
Files 67
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH develop
branch: develop
CHANGE BRANCH
x
Reset
  • develop
  • 74-fix-parabola-intersection-missed-case
  • 80-add-status-and-cancel-functions-to-simulationrunner-api
  • coveralls
  • jm-dev-branch
  • new_sun_models
  • parabolic_ZAperture_fix
  • sun_position_calcs
  • trace_embree
  • trace_refactor

14 Nov 2025 11:30PM UTC coverage: 88.752% (-1.3%) from 90.052%
19380488106

push

github

web-flow
Sun position calcs (#83)

* adding solar position calculators

* adding initial sun position tests

* Remove unused solar calculator utility modules

Deleted lib_pv_incidence_modifier, lib_util, and lib_weatherfile modules from solar_position_calculators, and updated CMakeLists and includes accordingly. These files are no longer required for current solar position calculations (SPA).

* Add SolarPositionCalculator class and tests

Introduces SolarPositionCalculator with multiple calculation methods (LEGACY, DUFFIE, SOLPOS, SPA_ORIGINAL, SPA), input validation, and output retrieval. Updates CMakeLists and headers for integration, refactors sun position logic, and adds comprehensive unit tests for validation and cross-method consistency.

* fixing some compiler errors and warnings

* Guard M_PI definition with preprocessor check

Added a preprocessor guard to define M_PI only if it is not already defined, preventing potential redefinition errors. DTOR and RTOD constants are now always defined without constexpr.

* Update google-tests/unit-tests/simulation_data/sun_position_test.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* addressing PR comments

* Update sun_position_test.cpp

updating test value

* Update expected sun vector values in test

Adjusted the expected_sun_x value and relaxed the precision for sun_x comparison in the CrossValidationTest to reflect updated calculation results.

* minor changes

* Initialize elevation in SunPositionCalculator

* Update solar_position_calculator.cpp

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Taylor Brown <60201147+taylorbrown75@users.noreply.github.com>

996 of 1195 new or added lines in 4 files covered. (83.35%)

5492 of 6188 relevant lines covered (88.75%)

8572678.39 hits per line

Relevant lines Covered
Build:
Build:
6188 RELEVANT LINES 5492 COVERED LINES
8572678.39 HITS PER LINE
Source Files on develop
  • Tree
  • List 67
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19380488106 develop Sun position calcs (#83) * adding solar position calculators * adding initial sun position tests * Remove unused solar calculator utility modules Deleted lib_pv_incidence_modifier, lib_util, and lib_weatherfile modules from solar_position_calc... push 14 Nov 2025 11:34PM UTC web-flow github
88.75
19040526713 develop Merge pull request #77 from NREL/74-fix-parabola-intersection-missed-case 74 fix parabola intersection missed case push 03 Nov 2025 03:54PM UTC web-flow github
90.05
18984697163 develop New sun models (#75) * Refactor sun shape handling to use SunShape enum Introduces a new SunShape enum to distinguish sun shape types from error distribution types, updating all relevant interfaces, implementations, and tests. This improves clar... push 31 Oct 2025 08:55PM UTC web-flow github
89.64
18699726594 develop adding quick mocks of new logo push 21 Oct 2025 10:45PM UTC qualand github
89.95
18693753548 develop Fix coverage badge link in README.md Updated the coverage badge in README.md to reflect the correct branch. push 21 Oct 2025 06:28PM UTC web-flow github
89.95
18544749821 develop Restructured backend for SolTrace (#63) * Initial API for refactored SolTrace * Updates to various APIs; first pass at element/ray source container implementation * Use existing matrix-vector code as backend for matrix and vector classes; start... push 15 Oct 2025 10:52PM UTC web-flow github
89.95
17777305476 develop Fix ZAperture calculation for parabolic surfaces. (#69) push 16 Sep 2025 07:54PM UTC web-flow github
44.17
15936363106 develop Merge branch 'develop' of https://github.com/NREL/SolTrace into develop push 27 Jun 2025 09:34PM UTC qualand github
44.15
14868946365 develop Refactor the Trace function (and related functions) (#65) * Duplicate trace function to be refactored. * Move element hit loop into dedicated function. * Move interaction calculation to dedicated function. * Develop refactored trace function. ... push 06 May 2025 08:22PM UTC web-flow github
44.15
14624968113 develop Adding coverage report (#64) * initial coverage actions * adding build * removing test run * changing paths * removing targets in build * adding running tests * adding badging * adding branch to CI to test badging * updating badging link ... push 23 Apr 2025 06:06PM UTC web-flow github
43.62
See All Builds (104)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc