Zigfred Viray
Zigfred Nio C. Viray, MSEE
Lecture 5
Electricity Market Simulation using PSAT
EE 224 Computer Application in
Power System
Developed by Dr. Federico Milano, University
of Waterloo
Its Free!
Load Flow
Optimal Power Flow
Continuation Power Flow
An open source MATLAB toolbox that was
developed to solve
Power System Analyzer Toolbox
Powerful implementation of Non-Linear OPF
to simulate market environment
Useful for electricity market scenario
PSAT in Electricity Market
I"STALLI"G PSAT
4
After downloading the file, extract the file
using any extracting utility i.e. winrar, winzip
RUN MATLAB and go to directory where file
is installed
Type psat, to execute program
[Link]
[Link]
Get copy of PSAT-MATLAB
PSAT Installation
PSAT
6
PSAT Main Screen
Double click
the Data File
field
Loading Data File
Loading Data File
Select the folder where
data file is located in this
example tests folder
Loading Data File
Double click
the specific
data File
10
Running PSAT OPF
Once file is loaded,
click OPF button to
run optimal power
flow
11
Viewing Result
Click the View
Report Button
12
Viewing Report
13
In the Summary
window click report
for full data
Viewing Report
14
Objective Cost: Total Cost of Solution
Report Contents
15
Generator Schedule
Report Contents
This column
contains the
generator
schedule
16
Reactive Power Schedule
Report Contents
This column
contains the
reactive power
schedule
17
Voltages
Reports Contents
This column
contains the bus
voltage
18
Nodal Prices
Report Contents
This column
contains the price
for delivering real
power
19
Line Flow
Report Contents
This column
contains line flow
20
Summary
Report Contents
21
EDITI"G I"PUT DATA
22
Go To directory of the test folder where file is
located and open it in MATLAB
Opening and Editing Data File
23
In this case it is in
tests folder
Opening Data File
24
Opening Data File
Open the data file:
d_003_mdl.m
25
The Data File
26
DATA FORMAT
27
[Link]
28
[Link]
29
[Link]
30
[Link]
31
[Link]
32
[Link]
33
[Link]
34
PROGRAMMI"G ACTIVITY
35
Email Results: zigfredviray2@[Link]
Remove the whole [Link] matrix
What are the generator schedules?
What are the Nodal Prices?
Perform OPF using Modified Case
What are the generator schedules?
What are the Nodal Prices?
Draw the system with loads and generators
Perform OPF using original Case
Using the file d_003_mdl.m
Instruction
36
PSAT User Guide ver. 2.1.2, June 2008
Reference
37