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

NatLabRockies / ssc / 41878472402
56%

Build:
DEFAULT BRANCH: patch
Ran 04 Nov 2026 06:44PM UTC
Jobs 1
Files 467
Run time 1min
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

04 Nov 2026 05:33PM UTC coverage: 56.113% (+0.02%) from 56.091%
41878472402

push

github

web-flow
Output lifetime fuel usage from custom generation (ssc #1422) (#1429)

* Output lifetime fuel usage from custom generation

In lifetime mode cmod_custom_generation only reported year 1 fuel usage,
so the financial models repeated it every year and fuel expenses ignored
changes in annual generation. Output annual_fuel_usage_lifetime, computed
from each year's generation after availability. merchantplant,
singleowner, singleowner_heat, cashloan, cashloan_heat and communitysolar
already use it when system_use_lifetime_output=1.

Fixes #1422

* Use lifetime fuel usage in all financial models

equpartflip, levpartflip, saleleaseback and host_developer multiplied the
fuel expense by year 1 annual_fuel_usage in every year, even in lifetime
mode when annual_fuel_usage_lifetime is available. Move the per-year fuel
usage lookup that singleowner, singleowner_heat, merchantplant, cashloan,
cashloan_heat and communitysolar already did into a shared
fuel_use_by_year() in common_financial, and use it in all ten models.
The six models that already handled this behave as before.

No compute module inputs change: annual_fuel_usage_lifetime is already
an input of all ten models through vtab_oandm / vtab_oandm_heat.

Add CMCustomGeneration.LifetimeFuelUsage_* tests for the four models,
sharing the merchant plant test setup.

68955 of 122885 relevant lines covered (56.11%)

3432993.55 hits per line

Coverage Regressions

Lines Coverage ∆ File
265
0.0
0.0% ssc/ssc/cmod_cashloan_heat.cpp
182
77.18
0.11% ssc/ssc/cmod_singleowner_heat.cpp
159
81.88
0.13% ssc/ssc/cmod_communitysolar.cpp
83
92.08
0.04% ssc/ssc/cmod_singleowner.cpp
76
91.66
0.21% ssc/ssc/cmod_merchantplant.cpp
46
79.17
-0.0% ssc/ssc/common_financial.cpp
25
95.89
0.1% ssc/ssc/cmod_cashloan.cpp
12
90.34
17.16% ssc/ssc/cmod_custom_generation.cpp
Jobs
ID Job ID Ran Files Coverage
1 41878472402.1 04 Nov 2026 06:44PM UTC 467
56.11
GitHub Action Run
Source Files on build 41878472402
  • Tree
  • List 467
  • Changed 13
  • Source Changed 13
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41878472402
  • 6ce13d26 on github
  • Prev Build on patch (#41867173032)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc