-
Notifications
You must be signed in to change notification settings - Fork 54
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
one penalty to rule them all #259
one penalty to rule them all #259
Conversation
## set these penalties in relation to each other, from higher quality service to lower | ||
model.RegulationPenalty = Param(within=NonNegativeReals, | ||
initialize=system.get('regulation_penalty_price', default_reg_pen), | ||
rule=make_penalty_rule(model, 'regulation_penalty_price', 4.), |
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.
General comment: these are sufficiently important constants that I think they warrant a big comment block in the corresponding files, defining the values and the hierarchy/presence.
@@ -194,28 +194,26 @@ def load_params(model, model_data, slack_type): | |||
# penalty costs for constraint violation # | |||
########################################## | |||
|
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.
General comment: these are sufficiently important constants that I think they warrant a big comment block in the corresponding files, defining the values and the hierarchy/presence.
@jeanpaulwatson I added comment blocks in both params.py and services.py, which hopefully make the intention clear. |
* initial pass at 5bus example * allowing default forecastables * relaxing line limits * adding runner script * correcting issue with REAL_TIME period resolution * Revert "relaxing line limits" This reverts commit b7d9eb3. * updating network and adding generator * ensure reserve factor is honored even if not pre-existing * first pass at enabling contingency monitoring * considering more flexible thermal units * adding contingency reporting * updating price thresholds * switching penalty logic to use grid-parity-exchange/Egret#259 * NFC: removing finished TODO * fixing names * adding python simulator script * more reasonable mipgap * removing violation, for now * Fix spelling, update variable name Co-authored-by: Darryl Melander <[email protected]>
Fixes # .
Summary/Motivation:
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: