make OPF automatically supply missing gencost
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 592
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
If a user tries to run an OPF with a case that does not define the gencost matrix, it would be nice if MATPOWER (warned and) created a default gencost that used equal linear costs to minimize system active power losses.
It would also make sense to add an option opf.objective that would allow the user to request loss minimization instead of using gencost even when it is provided. There may be other "auto-generated" objective options that could be useful as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin at the OPF entry point and trace how the gencost matrix is handled. Test a case without gencost, then define the behavior for warning and creating equal linear costs that minimize active power losses. Also determine how opf.objective should request loss minimization when gencost is present; done requires both behaviors to be specified and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100