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

942 compact capacity #1004

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

942 compact capacity #1004

wants to merge 12 commits into from

Conversation

abelsiqueira
Copy link
Member

  • [WIP] Replace accumulated_units_compact_method in src/constraints/capacity.jl
  • [WIP] Don't use old profile in first expression of src/constraints/capacity.jl
  • [WIP] Nothing makes sense

@abelsiqueira abelsiqueira added the benchmark PR only - Run benchmark on PR label Jan 22, 2025
Copy link
Contributor

github-actions bot commented Jan 22, 2025

Benchmark Results

Benchmark in progress...

@abelsiqueira abelsiqueira force-pushed the 942-compact-capacity branch 2 times, most recently from fce2fe1 to 58236c5 Compare January 22, 2025 16:04
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.25%. Comparing base (7f70787) to head (58236c5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1004      +/-   ##
==========================================
+ Coverage   95.22%   95.25%   +0.03%     
==========================================
  Files          29       29              
  Lines        1151     1159       +8     
==========================================
+ Hits         1096     1104       +8     
  Misses         55       55              

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

AND asset_milestone.milestone_year = expr_acc.milestone_year
GROUP BY
asset_milestone.asset,
asset_milestone.milestone_year
Copy link
Member Author

Choose a reason for hiding this comment

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

WHERE asset.type = 'storage'

Comment on lines +108 to +113
(row, acc_export_unit, acc_import_unit) in zip(
eachrow(expr_accumulated_flow_units.indices),
expr_accumulated_flow_units.expressions[:export],
expr_accumulated_flow_units.expressions[:import],
)
Copy link
Member Author

Choose a reason for hiding this comment

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

Also filter for row.investable = flow_milestone.investable to match previous behaviour. @gnawin will check if that is still the case or has to be modified

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.

1 participant