Skip to content

Add PWL average systems for PSI testing#181

Merged
jd-lara merged 1 commit into
mainfrom
gks/add_pwl_average_systems
Jan 22, 2026
Merged

Add PWL average systems for PSI testing#181
jd-lara merged 1 commit into
mainfrom
gks/add_pwl_average_systems

Conversation

@GabrielKS

Copy link
Copy Markdown
Contributor

To support Sienna-Platform/PowerSimulations.jl#1446, we need some test systems with PiecewiseAverageCurves in them. Here I create such by using our built-in conversions to transform ValueCurves in existing incremental systems — thus we have that c_pwl_average_cost_test should represent the same system as c_pwl_incremental_cost_test and c_pwl_average_fuel_test as c_pwl_incremental_fuel_test, except with PiecewiseAverageCurves instead of PiecewiseIncrementalCurves.

@codecov

codecov Bot commented Jan 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.66%. Comparing base (77d1112) to head (20964dc).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   92.62%   92.66%   +0.04%     
==========================================
  Files          18       18              
  Lines        4458     4474      +16     
==========================================
+ Hits         4129     4146      +17     
+ Misses        329      328       -1     
Flag Coverage Δ
unittests 92.66% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/library/psitest_library.jl 99.26% <100.00%> (+<0.01%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jd-lara jd-lara merged commit c4e6509 into main Jan 22, 2026
9 of 10 checks passed
@jd-lara jd-lara deleted the gks/add_pwl_average_systems branch January 22, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants