Repository navigation
Docs: improve documentation on slack bus + ideal source - #1463
Conversation
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
|
I wonder the usefulness of such a documentation for slack bus. In PGM implementation, we do not use slack bus at all. The name "slack bus" is just some convenient programming variable for the first found source in an island. It does not really have physical meaning. Explaining this to the user does not seem to be useful. We can indeed, only explain how to set source parameter so that it will behaves like a real power system slack bus (ideal source). That has actualy meaning for the user. |
|
@TonyXiang8787 This was asked in a recent post, so we thought that since we answered it there, perhaps other users would find that information useful as well, so why not add it to the documentation, since the effort is minimal. |
|
Its actually been asked multiple times in past, including the discussion thread. And the response has indeed been what you mention. This text itself in this PR does not seem to have incorrect statements if we are only comparing slack bus and source bus. It would indeed be misleading though.
|
Lets rewrite this doc in a different way that helps a non technical person draw a parallel amongst these concepts.
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
74f7025 to
1488a0c
Compare
|
|
As per offline discussions, we decided to go ahead with it. |
Sorry, but I got surprised to read "In PGM implementation, we do not use slack bus at all". Then, how do you solve the power flow if no slack bus is used? From a mathematical point of view, one has to define the slack node (to set the reference angle) to match the number of variables with the number of power flow equations (then to solve these nonlinear equations, e.g., with Newton Raphson algorithm). From a physical point of view, the selection of the slack bus is also relevant, and normally assigned to the largest generation unit, if there are multiples. Or to the low voltage side of a transformer for low voltage networks. |
Hi @llru-fhv, Yes exactly, that is where this whole PR came from. We are gradually trying to split the documentation for users from the internal documentation. Quoting the form of the internal documentation we settled on:
So, yes, we do in fact assign a slack bus internally (the Mathematical interpretation you mentioned), but it is not a slack bus in the classical sense (the Physical interpretation you mentioned). The reason we make this distinction is that - in principle - there is no "order" in the power flow equations - all nodes are equal. Choosing the gauge is required but arbitrary (by definition of gauge symmetry), so WLOG we can do what we are doing. I hope that somewhat explains the comment. |



Document answers in https://github.com/orgs/PowerGridModel/discussions/107