# BEST代写-线上编程学术专家

Best代写-最专业靠谱代写IT | CS | 留学生作业 | 编程代写Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代写

# Matlab代写｜EE3123 Introduction to Electric Power Systems Project

## 1 Objectives

In this project, you will

1. learn the procedure of power flow calculations in a power system;
2. implement AC and DC power flow calculation algorithms via MATLAB codes;
3. develop a basic cascading failure simulation program using an open-source power system simu
lation tool: MATPOWER.

### 2.1 Task 1: Investigation of power flow analysis

1. Based on what has been covered in lectures, describe in detail the procedure of power flow
analysis, including the derivations of AC and DC power flow equations.

2. Explain the main ideas of three numerical methods for solving power flow equations, including
the Newton-Raphson method, the Gauss-Seidel method, and the DC power flow approach.
Include a detailed comparison of the these three methods in the report.

### 2.2 Task 2: Implementation of AC and DC power flow calculations

1. Using the Newton{Raphson method, please develop a program to compute AC power flow on
each line of the IEEE 14-bus and IEEE 118-bus power test cases. It is noted that the input
data, including the power test cases data and the bus admittance matrix, are provided. Please
show the flowchart of your program in the report.

2. The DC power flow model can achieve good approximation of power flows in a power network
with reduced computation. Develop a computer program to compute DC power flow on each
line of the IEEE 14-bus and IEEE 118-bus power test cases. Also, try to compare the results
using the Newton{Raphson method and the DC power flow model.

The cascading failure process in a power grid can be viewed as a sequence of tripping events, leading
eventually to a power outage affecting a very number of users over a wide geographic area [2, 3]. It
is of high significance to develop a useful model for describe the dynamic cascading failure process
and to have a clear understanding of the cause, mitigation, and prevention of larger power blackouts.

According to the flowchart shown in Fig. 1, the simulation process includes:

• Initialization: After running a power flow calculation, the power flow on each line can be ob
tained, and the capacity of each line, namely the maximum power over which the line will be
cut by the protective action, can be set as 1.2 times the initial power flow on the line.

• Initial failure: A certain number of power lines are selected to be removed from the power
network. The time is set as t = 0.

• Update network: After line removal, the topology of the power network is changed, and updating
the network topology is necessary.

• Subnetwork detection: Check whether the updated power network is split into multiple sub
networks. For the subnetwork which has serving generators having output power, perform
power restoration and run the power flow calculation. For the subnetwork which has no serving
generator, set all consumed power in loads to zero in the subnetwork.

• Restoration of power balance: If the generated power is larger than the consumed power in the
subnetwork, cut the generated power in each generator uniformly to maintain the power balance
between generators and loads. If the generated power is smaller than the consumed power in
the subnetwork, cut the consumed power in each load uniformly. Note that this operation is a
simplified operation based on the realistic operation in a real power system.

• Power flow calculation: Apply the developed power flow model and compute the power flow on
each line of the power network.

• Detecting overloaded components: When all the subnetworks are updated, a power network
with updated topology and power flow is obtained. If there is no overloaded line, the simulation
ends. 