0% found this document useful (0 votes)
97 views37 pages

PSAT Tutorial

This document provides an overview of using the Power System Analyzer Toolbox (PSAT) to simulate electricity markets. PSAT is an open source MATLAB toolbox for solving power flow and optimal power flow problems. The document demonstrates how to install PSAT, load test case files, run optimal power flows to obtain outputs like generator schedules and nodal prices, and edit the input data files.

Uploaded by

Francival Dator
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views37 pages

PSAT Tutorial

This document provides an overview of using the Power System Analyzer Toolbox (PSAT) to simulate electricity markets. PSAT is an open source MATLAB toolbox for solving power flow and optimal power flow problems. The document demonstrates how to install PSAT, load test case files, run optimal power flows to obtain outputs like generator schedules and nodal prices, and edit the input data files.

Uploaded by

Francival Dator
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

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

 http://www.power.uwaterloo.ca/~fmilano/downloa
ds.htm

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

Bus.con

28

Line.con

29

SW.con

30

PV.con

31

PQ.con

32

Supply.con

33

Demand.con

34

PROGRAMMI"G ACTIVITY
35

Email Results: [email protected]

 Remove the whole Demand.con 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

You might also like