Skip to content

add outage_production_fraction - #735

Closed
adfarth wants to merge 1 commit into
masterfrom
resilience-prod
Closed

adfarth wants to merge 1 commit into
masterfrom
resilience-prod

Conversation

@adfarth

@adfarth adfarth commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Any new Django model inputs have also been added to job/test/posts/all_inputs_test.json

Added

  • Inputs PV.outage_production_fraction and Wind.outage_production_fraction to optionally reduce production during modeled outages. Only applies with multiple outage modeling using inputs outage_start_time_steps and outage_durations.

Does this PR introduce a breaking change?

No

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Non-default outage derating behavior lacks integration coverage, and the changelog headings violate documented formatting.

Review effort: Balanced
Findings: 1 Medium severity · 1 Low severity

Open (2)
What changed in this PR

Adds configurable PV and wind production derating during multi-outage modeling.

Changes:

  • Adds validated outage_production_fraction inputs.
  • Adds database migration and input fixture entries.
  • Documents the feature in the changelog.
File Description
reoptjl/​models.py Defines the PV and wind inputs.
reoptjl/​migrations/​0126_pvinputs_outage_production_fraction_and_more.py Adds corresponding database fields.
reoptjl/​test/​posts/​all_inputs_test.json Adds inputs to the comprehensive fixture.
CHANGELOG.md Records the new inputs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"can_curtail": true,
"operating_reserve_required_fraction": 0.0
"operating_reserve_required_fraction": 0.0,
"outage_production_fraction": 1.0
Comment thread CHANGELOG.md
Comment on lines +29 to +31
## add-outage-prod-option
### Minor Updates
#### Added
@adfarth adfarth closed this Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants