When we perform a DC power flow, all bus angles are obtained. Then we can calculate line power flows. Then I would also like to calculate the real power injected by the reference (Slack) bus to the grid since we have not specified any power to this bus to begin with.
However, the power obtained...