-
Notifications
You must be signed in to change notification settings - Fork 10
Min production considered in supply #368
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
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. |
alexdewar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems sensible!
|
Not fixing the problem. |
|
@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 |
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