电力系统数字仿真软件应用
王西田副教授
x.t.wang@126.com
电信大楼1-322:34204298
Terminology and Definitions
¾ Components
A component (sometimes referred to simply as a 'block') is essentially a graphical
representation of a device model, and is the basic building block of circuits created
in PSCAD. Components are usually designed to perform a specific function, and
can exist as either electrical, control, documentary or simply decorative in type.
9Definitions
A definition is essentially the underlying 'blueprint' of a component.
9Instances
A component instance is a graphical 'copy' of the component definition, and is normally
what is seen and used in a project.
¾Modules
Modules are a special type of component, where the basic function of the
component model is described using a combination of other basic components,
rather than code. Also referred to as 'sub-pages' or 'page components', modules are
also defined by a definition, but presently may only posses one instance per
definition.
Terminology and Definitions
¾ Projects
PSCAD allows the user to store everything involved in a particular simulation
(except output files) into one file called a project. Projects can contain stored
component definitions, on-line plots and controls, and of course the graphically
constructed system itself. There are two types of projects in PSCAD: Library and
case projects.
9Case
Case projects are saved with the file extension '*.psc'. In addition to performing the
functions of a library project, cases may be compiled, built and run. Simulated results
can be viewed directly within the project through on-line meters and/or plots.
9Library
Library projects are saved with the file extension '*.psl'. Library projects are used
primarily to store component definitions and viewable component instances. Instances of
component definitions stored in a library, can be used in any case project, provided that
the library is loaded first.
The Design Editor
The Design Editor includes a tab bar at the bottom of its window,
which includes tabs for the convenient access of information pertinent
to the project at hand. Three of the tabs represent the three main
sections of the Component Definition, and will become enabled when
the user decides to edit a particular Component Definition. These are:
Graphic
Parameters
Script
Main Program Structure
PSCAD Script
Internal Global Variables
9 STORx Arrays
9 Accessing Network Quantities
9 Electric Network Interface Variables
STORx Arrays
Include Files
9nd.h
9emstor.h
9s0.h
9s1.h
9s2.h
9branches.h
9emtconst.h
9fnames.h
Model Types
9Control Models
9Electric Models
Tutorial 12
912-1 Adder 直接计算的控制模型
912-2 Integrator 含存储变量的控制模型
912-3 Electrical Component – A simple DC Machine
912-4 How to use .obj or .o file 知识产权保护手段
MATLAB Interface
Examples
..\examples\matlab\
Important things:
9The MATLAB Interface is only compatible with the dynamic version of
EMTDC. That is, it will not function when using the free EGCS/GNU
Fortran 77 Compiler.
9MATLAB must be installed on your computer in order to use the
MATLAB interface!
9PSCAD can be interfaced with both MATLAB versions 5 and 6 library
files.
电力系统数字仿真软件应用
Terminology and Definitions
Terminology and Definitions
The Design Editor
Main Program Structure
PSCAD Script
Internal Global Variables
STORx Arrays
Include Files
Model Types
Tutorial 12
MATLAB Interface
Examples