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

NREL / ssc / 14267854697

04 Apr 2025 02:39PM UTC coverage: 54.709% (+0.01%) from 54.698%
14267854697

push

github

web-flow
Retail rates dispatch grid export (#1303)

* Add grid export option to retail rates dispatch. Improves NPV by 1% for CA NBT cases. Some ideas for future tweaks to maybe beat manual dispatch

* Put grid export after the load/purchase cost focused export

* Update test to match new behavior with break cases on remaining energy

* Add integration tests for grid export with retail rates dispatch

* Filter for failing test on GitHub Actions.

CMPvsamv1BatteryIntegration_cmod_pvsamv1.ResidentialDCBatteryModelPriceSignalDispatchGridExport
/Users/imacuser/Public/Projects/GitHub/NREL/ssc/test/ssc_test/cmod_battery_pvsamv1_test.cpp:1248: Failure
The difference between batt_stats.peakKwCharge and peakKwCharge is 0.24956223857071747, which exceeds m_error_tolerance_lo, where
batt_stats.peakKwCharge evaluates to -4.1395622385707176,
peakKwCharge evaluates to -3.8900000000000001, and
m_error_tolerance_lo evaluates to 0.10000000000000001.
[  FAILED  ] CMPvsamv1BatteryIntegration_cmod_pvsamv1.ResidentialDCBatteryModelPriceSignalDispatchGridExport (31634 ms)

* Update test tolerance for mac, comment out gtest restriction, fix net billing buy and sell rates issue

* Correct or net billing statement to avoid divide by zero errors

* print ssc test log

* Update ci.yml

* Update ci.yml

* Increase another tolerance due to mac differences

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Correct tiebreaker for export per kwh

---------

Co-authored-by: sjanzou <sjanzou@gmail.com>
Co-authored-by: Darice L Guittet <dguittet@nrel.gov>

64322 of 117572 relevant lines covered (54.71%)

4567082.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.84
/shared/lib_battery_dispatch_automatic_btm.cpp


Source Not Available

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

© 2026 Coveralls, Inc