You are on page 1of 19

U I Getting PSCAD/EMTDC

and d PC lab, l b h hopefully f ll on VLAB t too.


Version 4.2 and 4.5.1

ECE 404/504 Lecture 6

Education Edition available in the Senior Design Also a free student edition (15 node limit)
Version 4.5.1 Only available for Windows Vista or later (not XP)

Go to: http://www.pscad.com/
Create account through MyCentre Follow installation instructionsincluding Fortran compiler
1

Spring 2013

U I PSCAD 4.2 versus 4.5.1

ECE 404/504 Lecture 6

Examples will be created using version 4.2


Will run under 4.5.1 Cases created using 4.5.1 cant go back to version 4.2

May run into issues with 15 node limit in free


edition Try to learn from the examples that install with the program
2

Spring 2013

U I

Creating a file in PSCAD/EMTDC vers 4.2

ECE 404/504 Lecture 6

Create new project Set project as active


(blue icon) Double click on project to open schematic d drawing i pallet ll t
Can view an inactive project by not run it
3

Spring 2013

U I Adding components (1)


A few basic
components in bars on right of screen

ECE 404/504 Lecture 6

Spring 2013

U I Adding components (2)


Can also add
components by right clicking mouse in drawing area
Add Component

ECE 404/504 Lecture 6

Spring 2013

U I

Adding Components (3) Master Library

ECE 404/504 Lecture 6

Libraries for

different types of components


Select one to expand it Copy the component you want to use Need to double click on your project Paste the component
6

Spring 2013

U I

Moving Up Modules

ECE 404/504 Lecture 6

When y you are


in a submodule you can move up with:

Spring 2013

U I

Setting up your simulation

ECE 404/504 Lecture 6

Right g click in
drawing area
Select Project Settings

Spring 2013

U I
Runtime

Project Settings

ECE 404/504 Lecture 6

Usually y interested in
Duration Solution time step Channel plot step

May want to save


channel to disk
Spring 2013

U I

Adding a Single Phase Source


from library
1 0 [ohm] 1.0

ECE 404/504 Lecture 6

Copy py source
Double-click for dialog box

Several

pulldown menus
First configuration
10

Spring 2013

U I

Source Configuration

ECE 404/504 Lecture 6

Enter source name Source impedance


For example ideal

Can also specify

Circuit symbol changes when done

Grounding AC/DC Input internal or external


External allows user interactive or control loop
R=0

11

Spring 2013

U I Other data entry points


Signal parameters
RMS magnitude Ramp-up time
Remember no steadystate solution

ECE 404/504 Lecture 6

Initial phase (sine wave) Frequency

Impedance fields wont


allow entry for ideal
12

Spring 2013

U I

Resistors, Capacitors, Inductors

ECE 404/504 Lecture 6

For single phase branches can get from


menus in i window i d or master t lib library
Need to get from master library for polyphase Have option of 3 phase view of single line diagram view in later versions of program

Enter R in ohms, L in H and C in F

13

Spring 2013

U I

Switches and Faults


Fault F

ECE 404/504 Lecture 6

Copy from Master Library For F example, l for f a fault f lt


Need the fault switch itself And the fault timing control And need a signal node Signal name matches input name for fault (default is Fault) Fault )

Timed Fault Logic

Similar for a breaker


Need three parts

SignalName

14

Spring 2013

U I
Configuration:

Faults

ECE 404/504 Lecture 6

Fault

Fault name (control input)


Must match signal_name

Clearing and chopping are for switches

Main data
On and Off resistance (same for switchesopen close)
15

Spring 2013

U I
Internal Output

Faults

ECE 404/504 Lecture 6

Fault

Can request current output (can reduce node count)

Signal name:

SignalName

Set to match fault control input


Spring 2013

16

U I

Fault Timed Logic

ECE 404/504 Lecture 6

Set start time and


d ti of duration f fault f lt

Attach signal name to


end of line on icon:
Set to match fault control input
Timed Fault Logic Fault

17

Spring 2013

U I
Configuration

Breakers

BRK

ECE 404/504 Lecture 6

Breaker name is again control input

Can specify interrupting


current
Current chopping limit

Preinsertion resistance
Current limiting R

Symbol type
18

Spring 2013

U I
Main Data
Open/Closed resistance

Breakers

BRK

ECE 404/504 Lecture 6

Preinsertion

19

Spring 2013

U I
Output data

Breakers

ECE 404/504 Lecture 6

Current measure
Name appears on circuit symbol
IS1 BRK

20

Spring 2013

10

U I

Breaker Timing Logic


BRK

ECE 404/504 Lecture 6

Controls timing of
switching it hi
Again need signal input to match breaker control

Timed Breaker Logic Closed@t0

Timing g control
Number operations Initial state Timing of operations
21

Spring 2013

U I

Transformer Models

ECE 404/504 Lecture 6

Several Options
One O will ill b be shown h

Main dialog box


Per unit leakage reactance No load losses from open circuit test Copper losses from rated current through winding resistances
22

Spring 2013

11

U I

Winding voltages

ECE 404/504 Lecture 6

Note that three phase


transformer uses RMS L-L voltages for ratio and to convert per unit values to ohms and mH Additional menu options p

23

Spring 2013

U I

Connecting circuit together

ECE 404/504 Lecture 6

Wire icon on top toolbar


Pencil symbol appears Trace with left mouse clicks
Click each time change direction

Right click or escape to complete

Junction Junction to connect wires as cross each


other (otherwise disconnected
Get from right click in drawing space

Right click lets you select points to rescale

24

Spring 2013

12

U I

Voltage and Current measurements


V Vs

ECE 404/504 Lecture 6

Voltage measurements
Can do line to ground and arbitrary
Need to connect to circuit Name the measurement (default is Ea)

Ea

Current measurement
Need to connect to the line line, dont don t copy on top of a wire.

Ia

25

Spring 2013

U I

Output Channels
Vs

ECE 404/504 Lecture 6

Create output channel next


Again need signal Vs Connect to Output channel

Choose Input/Output
Reference

IFault

IFault

26

Spring 2013

13

U I

Input/Output Reference Graphs

ECE 404/504 Lecture 6

Several Options
Add Overlay Graph Most Common If choose Add as Curve Paste to existing graph
Right g click in white p part
y (kV)

Main : Graphs 2.00 1.50 1.00 0.50 0.00 -0.50 -1.00 -1.50 -2.00 0.000 0.010 0.020 0.030 0.040 0.050 0.060 0.070 0.080 0.090 0.100 Vs

27

Spring 2013

U I

Input/Output Reference: Meters

ECE 404/504 Lecture 6

Add as Meter Then select put a control


panel in your drawing (from right side tool bars or right click of mouse)
Right click - Paste
: Co...

28

Spring 2013

14

U I
Vs R=0 0.149 [ohm]

Complete Circuit
M ain : Graphs 30 20
0.00473[H]

ECE 404/504 Lecture 6

Vs

10 y (kV) 0 -10 -20 -30

Timed Fault Logic

Fault

Fault

Vs

Vs

0.000

0.010

0.020

0.030

0.040

0.050

0.060

0.070

0.080

0.090

0.100

M ain : Graphs
IFault IFault

M ain ... Vs

15.0 10.0 5.0 0.0 y (kA) -5.0 -10.0 -15.0 -20.0 -25.0 -30.0 0.000

IFault

6.38536e-010

0.010

0.020

0.030

0.040

0.050

0.060

0.070

0.080

0.090

0.100

29

Spring 2013

U I

Complete Circuit: without graphs shown


Vs R= =0 0.149 [ohm] 0.00473[H]

ECE 404/504 Lecture 6

Timed Fault Logic

Fault

Fault

Vs

V Vs

Main ... Vs

IFault

IFault

6.38536e-010
30

Spring 2013

15

U I

Power Electronic Circuits

ECE 404/504 Lecture 6

Start with the master


library Can build a converter from switches Or use a completed modules

31

Spring 2013

U I

Power Electronic Devices

ECE 404/504 Lecture 6

Symbols for several


devices Transistor, IGBT and GTO all very similar

32

Spring 2013

16

U I

Switch dialogs

ECE 404/504 Lecture 6

33

Spring 2013

U I

Switching controls

ECE 404/504 Lecture 6

Interpolated switching
Adjusts if switching instance falls between time steps Allows larger time steps Also interpolated controls to improve accuracy y

34

Spring 2013

17

U I

Switching controls
H L

ECE 404/504 Lecture 6

Interpolated switching
Adjusts if switching instance falls between time steps Allows larger time steps Also interpolated p controls to improve accuracy

H OFF L H ON L

Interpolated firing pulse generator


35

Spring 2013

U I

Switching controls

ECE 404/504 Lecture 6

One for thyristor and one for f controlled t ll d turn off devices
H L H OFF L H ON L

Interpolated firing pulse generator


36

Spring 2013

18

U I

Simple firing control


D + 0.4 Duty Ratio F

ECE 404/504 Lecture 6

1.0

D + F

Tria_off

H OFF L H ON L

Tria_on

37

Spring 2013

19