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

sylvan-energy / gridpath / 29040303337
89%

Build:
DEFAULT BRANCH: develop
Ran 09 Jul 2026 06:34PM UTC
Jobs 1
Files 788
Run time 2min
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

09 Jul 2026 06:20PM UTC coverage: 88.443% (-0.01%) from 88.454%
29040303337

push

github

web-flow
Memory efficiency enhancements (#1390)

* Refactor updating results dataframes to use a new update_results_df() helper function

This adds a results dataframe's columns to the consolidated frame at the source column's dtype and fills values in instead of first assigning None. This replaces the df[c] = None + .update() that created object-dtype columns with much higher memory requirements.

* Use params for availability when possible

If every required availability type produces a constant derate (no variables in the derate, e.g. all-exogenous), make the derate components Params rather than Expressions, as params are much more memory-efficient and we usually don't have endogenous availability.

* Don't store zero-valued reserve to energy adjustments

* Add option to skip duals

* Use SetOf for AVL_EXOG_OPR_TMPS and VAR_OM_COST_ALL_PRJS_OPR_TMPS

When we only have exogenous availability time, don't create AVL_EXOG_OPR_TMPS set, but use SetOf(m.PRJ_OPRT_TMPS).

When we only have simple var costs, don't create VAR_OM_COST_ALL_PRJS_OPR_TMPS, but use SetOf(m.VAR_OM_COST_SIMPLE_PRJ_OPR_TMPS)

* Remove defaults for var cost params

* Tx_Availability_Derate as param, not expression, unless endogenous

* Test common functions

213 of 232 new or added lines in 72 files covered. (91.81%)

28630 of 32371 relevant lines covered (88.44%)

0.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
59.67
-0.08% gridpath/run_scenario.py
1
75.81
0.81% gridpath/common_functions.py
1
47.56
1.13% gridpath/project/operations/reserves/frequency_response.py
1
56.76
2.91% gridpath/system/policy/carbon_credits/sell_credits.py
1
56.52
2.36% gridpath/system/reliability/prm/elcc_surface.py
1
94.55
-1.61% gridpath/transmission/availability/availability.py
1
93.48
5.24% gridpath/transmission/operations/operations.py
1
97.22
tests/test_common_functions.py
Jobs
ID Job ID Ran Files Coverage
1 29040303337.1 09 Jul 2026 06:34PM UTC 788
88.44
GitHub Action Run
Source Files on build 29040303337
  • Tree
  • List 788
  • Changed 72
  • Source Changed 0
  • Coverage Changed 72
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3b04407c on github
  • Prev Build on develop (#28978970101)
  • Next Build on develop (#29041811415)
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