Question - Create power flow program to solve using either Gauss-Seidel or Newton Raphson method.
Develop a program that solves the power flow using the Gauss-Seidel or Newton-Raphson Method. The program should take the following values as an input:
- Number of buses,
- Number of lines,
- Reactance of the lines,
- Topology of the network (Lines that are connected to buses),
- Generators connected to the system,
- Voltage and location of Slack bus,
- Voltage set points for the Generator buses (PV),
- Loads at each bus (PQ) buses.
The output of the program is the voltage magnitude (V) and voltage angle (δ) for the buses, the flow of the lines (SL), and the real and reactive power on the slack bus (P,Q).