Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use attach_constraint for src/constraints/storage.jl #967

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Conversation

abelsiqueira
Copy link
Member

@abelsiqueira abelsiqueira commented Dec 16, 2024

Use attach_constraint for balance_storage_rep_period.
Use attach_constraint for balance_storage_over_clustered_year.
Move variable bounds to src/variables/storage and clean up.

Closes #966

@abelsiqueira abelsiqueira added the benchmark PR only - Run benchmark on PR label Dec 16, 2024
Copy link
Contributor

github-actions bot commented Dec 16, 2024

Benchmark Results

59174a4... cabe9fb... 59174a4.../cabe9fbebf7ec5...
energy_problem/create_model 40.7 ± 1.3 s 39.2 ± 0.99 s 1.04
energy_problem/input_and_constructor 14.6 ± 0.34 s 14.7 ± 0.23 s 0.995
time_to_load 3.96 ± 0.0084 s 3.96 ± 0.016 s 1
59174a4... cabe9fb... 59174a4.../cabe9fbebf7ec5...
energy_problem/create_model 0.611 G allocs: 21.3 GB 0.614 G allocs: 21.3 GB 0.999
energy_problem/input_and_constructor 0.0432 G allocs: 1.69 GB 0.0432 G allocs: 1.69 GB 1
time_to_load 0.159 k allocs: 11.2 kB 0.159 k allocs: 11.2 kB 1

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

@abelsiqueira abelsiqueira changed the title 966 storage Use attach_constraint for src/constraints/storage.jl Dec 16, 2024
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.91%. Comparing base (59174a4) to head (cabe9fb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #967      +/-   ##
==========================================
+ Coverage   94.85%   94.91%   +0.06%     
==========================================
  Files          29       29              
  Lines        1049     1062      +13     
==========================================
+ Hits          995     1008      +13     
  Misses         54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abelsiqueira abelsiqueira marked this pull request as ready for review December 16, 2024 08:58
Copy link
Member

@datejada datejada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by pair programming

@datejada datejada merged commit 50b8a4d into main Dec 16, 2024
5 of 7 checks passed
@datejada datejada deleted the 966-storage branch December 16, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark PR only - Run benchmark on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename, split, create new constraints for storage.jl
2 participants