Experiment No. 2 Load Profile Analysis Using MATLAB Objectives
Experiment No. 2 Load Profile Analysis Using MATLAB Objectives
Objectives
To understand the pattern of electricity usage or demand pattern in power system such
as load profile, load duration characteristics and load factor.
To know the basic programming of MATLAB using M-Files editor that can be used
in power system analysis.
Tools
MATLAB
Introduction
The demand for power has increased exponentially over the last century. This has increased
the emphasis on the performance and efficiency of power supplies used in everyday
electronics as well as sophisticated electronic and communication systems. A power supply is
a component, subsystem, or system that converts electrical power from one form to another.
In power system, it is important to know the daily-load curve that consists of demand pattern
by various classes of users. In order to assess the usefulness of the generating plant, the load
factor is defined. The daily load factor is:
Multiplying the numerator and denominator of (1) by a time period of 24hr, we have:
In this experiment basically we will use the program function barcycle(data) that have been
developed by H. Saadat which obtains a plot of the load cycle for a given interval. The
demand interval and the load must be defined by the variable data in a three column matrix.
The first two columns are the demand interval and the third column is the load value. The
demand interval may be minutes, hours, or months, in ascending order. Hourly intervals must
be expressed in military time.
M-Files
It is useful for a large number of commands. We can write and save our commands in script
files called M-Files. When an M-File is run, MATLAB sequentially executes the commands
found in the file. The advantage of having M-File is that commands are saved and can be
easily modified without retyping the entire list of commands.
Example
The daily load on a power system varies as shown in Table 1. Use the “barcycle” function to
obtain a plot of the daily curve. Using the given data compute the average load and the daily
load factor.
data = [0 2 6
265
6 9 10
9 12 15
12 14 14
14 16 13
16 18 14
18 20 18
20 22 16
22 23 12
23 24 6];
Code
P = data (: , 3); % column array of load
Dt = data (: , 2) – data (:, 1) % column array of demand interval
W = P. ٭Dt; % total energy, area under curve
Pavg = W/ sum (Dt) % average load
Peak = max (P) % peak load
LF = Pavg/Peak * 100 %percentage of load factor
barcycle(data) %plot the load cycle
xlabel('Time, hr'), ylabel('P, MW')
3. Save the commands above in your thumb drive directory, save as exp2.m
4. Before execute or 'run', please request from your instructor the program function
barcycle.m.
5. Save the program function barcycle.m into the same folder with your file.
6. If step 5 is ok, then press 'run' button.
1. The total annual energy on a power system for a particular substation is 99 GW. The
peak load is on May, 16 MW. What is the annual load factor for that particular
substation?
Answer:
2. What is the annual load factor if that year is a leap year?
Answer:
3. The annual load of a substation is given in the Table 2. During each month, the power
is assumed constant at an average value. Using MATLAB and barcycle.m function,
obtain a plot of the annual load curve. Write the necessary statements to find the
average load and the annual load factor.