improve slack distribution among multiple gens at slack bus
Open
@rdzman is already working on this.
Since Mar 11, 2019.
enhancement
- Dominant language
- MATLAB
- Stars
- 592
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
Currently, when there are multiple generators at the slack bus, MATPOWER's power flow considers the first generator at the bus to be the slack generator, taking up all of the slack. However, I'm not sure if this convention is documented anywhere and it is probably not the behavior intuitively expected by most users.
I propose to update MATPOWER's handling of slack allocation among multiple generators at a slack bus in the following way:
- If area participation factors (
APFcolumn ofgenmatrix) are provided, split the slack according to the proportions indicated by the relative participation factors. - If area participation factors are not provided (i.e. set to 0), the slack will be distributed according to the size of the generator. I.e. for identical generators it will be distributed evenly.
This also needs to be mentioned explicitly in the documentation.
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.
Assessment
This issue has not been assessed yet.