Conversation
…raint\settings.toml
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #368 +/- ##
===========================================
+ Coverage 71.29% 71.39% +0.10%
===========================================
Files 44 44
Lines 5880 5894 +14
Branches 1159 1162 +3
===========================================
+ Hits 4192 4208 +16
+ Misses 1366 1365 -1
+ Partials 322 321 -1 ☔ View full report in Codecov by Sentry. |
This was referenced Jun 24, 2024
8 tasks
Collaborator
Author
|
Not fixing the problem. |
Collaborator
|
@dalonsoa I still think we should do this. There's no reason not to include the MSF in this function, and as discussed in #423, this function is being used to calculate supply even when using the scipy solver (except, as discussed in #474, when using Long run we'll want to use the outputs directly from the scipy solver rather than using this function, but while we're using this function it might as well do the correct thing |
tsmbland
approved these changes
Oct 17, 2024
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a minimum service constraint to the supply calculation, so it is consistent with the constraints used in the investment. This change only affects to the outputs of a couple of examples and tutorials - and only the
MCAMetric-related outputs -, but none of the others, still producing the same outputs.Fixes #335 , identified and further discussed in #321
Why there are two measures of supply instead of using the production calculated by the solver is another question and a matter for a different PR. After this PR is merged, both figures in #321 become the same, and equal to the one on the right.
Type of change
Please add a line in the relevant section of
CHANGELOG.md to
document the change (include PR #) - note reverse order of PR #s.
Key checklist
$ python -m pytest$ python -m sphinx -b html docs docs/buildFurther checks