Terminology and Definitions
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.
A definition is essentially the underlying 'blueprint' of a component.
A component instance is a graphical 'copy' of the component definition, and is normally what is seen and used in a project.
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
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.
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.
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
Internal Global Variables
STORx Arrays Accessing Network Quantities Electric Network Interface Variables
nd.h emstor.h s0.h s1.h s2.h branches.h emtconst.h fnames.h
Control Models Electric Models
12-1 Adder 直接计算的控制模型
12-2 Integrator 含存储变量的控制模型 12-3 Electrical Component – A simple DC Machine 12-4 How to use .obj or .o file 知识产权保护手段
..\examples\matlab\ Important things:
The 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. MATLAB must be installed on your computer in order to use the MATLAB interface! PSCAD can be interfaced with both MATLAB versions 5 and 6 library files.