The $P$ generator buses include the slack bus, so $N=P+Q$. The unknowns are the voltage angles at all buses except the slack ($N-1$) and the voltage magnitudes at the load buses ($Q$). The Jacobian is $(N-1+Q)\times(N-1+Q)$. Since $Q=N-P$, this is $(2N-1-P)\times(2N-1-P)$.
More Per-unit quantities, Bus admittance matrix, Gauss-Seidel and Newton-Raphson load flow methods questions
GATE 2026 EE Q41– A three-phase two-winding transformer has a voltage transformation ratio V PV…
GATE 2023 EE Q28– The bus admittance (Y bus) matrix of a 3-bus power system is given below. Y…
GATE 2023 EE Q41– The three-bus power system shown in the figure has one alternator connected to bus 2 which…
GATE 2021 EE Q19– Consider a power system consisting of N number of buses. Buses in this power system are…
GATE 2021 EE Q45– A 3-Bus network is shown. Consider generators as ideal voltage sources. If rows 1, 2 and 3…
GATE 2020 EE Q19– Out of the following options, the most relevant information needed to specify the real…