-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclosepsat.m
88 lines (63 loc) · 1.55 KB
/
closepsat.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
% CLOSEPSAT clear all PSAT global variables from workspace
%
% CLOSEPSAT
%
% Author: Federico Milano
% Date: 22-Feb-2004
% Version: 1.0.0
%
% E-mail: [email protected]
% Web-site: faraday1.ucd.ie/psat.html
%
% Copyright (C) 2002-2019 Federico Milano
% General System Variables
clear Settings Fig Path File Hdl clpsat
clear History Snapshot Theme Source jay
% User Defined Model variables
clear Comp Algeb Buses Initl Param Servc State
% Outputs and variable names
clear Varout Varname
% Basic System structures
clear DAE LIB SNB OPF CPF SSSA PMU
% Libraries
clear LA EQUIV
% Interface Structures
clear GAMS UWPFLOW
% Traditional Power Flow Buses
clear Bus Line SW PV PQ Shunt Lines Twt
% Static and dynamic nonlinear loads
clear Pl Mn Fl Thload Tap
% Components for CPF and OPF
clear Demand Supply Rsrv Rmpg Rmpl Vltn Ypdp
% Fault Variables
clear Fault Breaker
% Basic Dyanmic Components
clear Syn Ind Ltc
% Regulators
clear Exc Tg Pss Oxl Pod COI
% FACTS
clear Svc Tcsc Statcom Sssc Upfc
% HVDC components
clear Hvdc
% Other dynamic components
clear Mass SSR
% Fuel Cell Model
clear Sofc
% Secondary Voltage Regulation
clear Cac Cluster
% Exponential recovery load
clear Exload
% Phase Shifting Transformer
clear Phs
% Wind Turbine
clear Wind Cswt Dfig Ddsg WTFR
% Bus frequency measurement
clear Busfreq
% Phasor measurement unit
clear Pmu
% Jimma's load
clear Jimma
% Mixed load
clear Mixload
% Solar Photo-voltaic generators
clear Spv Spq