Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
José Conto
Principal, Dynamic Studies
ERCOT System Planning
April 5, 2017
Dynamic Studies
Report – 20 pgs.
PUBLIC 2
CHANNELS.PY
tool to rank dynamic simulation results
• Quickly scan many OUTs files to rank channels’ performance based on
User’s criteria. List channels that failed the criteria, with option to plot.
• Dependency:
Matplotlib*, numpy*, dyntools*, excelpy*, PyPDF2
(*) Installed with PSSe
PUBLIC 3
CHANNELS.PY
index – ranking of signal performance
PUBLIC 4
CHANNELS.PY
index - 2
User INI input data
[OUTfiles] Limit Violations Sheet output:
outlst = OUTs\CMLD154_b18_*.out OUTFILE CHANNEL BUS BNAME KV ID VIOLATION INDEX DEVIATION FINAL MIN MAX
//outlst = ['OUT1\A_7.out','OUT2\B_7.out'] OUTs\CMLD154_b_
SB1_b152.out 59 152 MID500 500 - LOWLIMIT 0.399 0.377 0.985 0.703 1.079
[channels] OUTs\CMLD154_b_
SB1_b152.out 61 202 EAST500 500 - LOWLIMIT 0.367 0.372 0.980 0.702 1.074
//channels= 61:64 OUTs\CMLD154_b_
SB1_b152.out 41 153 MID230 230 - LOWLIMIT 0.364 0.373 0.965 0.685 1.057
//channels= [1,2,3,4,5,6] OUTs\CMLD154_b_
SB1_b152.out 48 3006 UPTOWN 230 - LOWLIMIT 0.341 0.372 0.969 0.690 1.061
chanMask = VOLT
KVmask = [400.0,500.0]
//Chanexcl = ['W','S','F','1']
/chanbus = [3011,3018]
/Chan_fx = 100.0 * A
/chanref = 30
[INDEX] UVOV Violations Sheet output:
Time_begin = 1.1
Ylowlimit = 0.85 OUTFILE CHANNEL BUS BNAME KV ID VIOLATION INDEX Tstart Tend Vtresh Trecovery
PUBLIC 5
CHANNELS.PY
other goodies
PUBLIC 6
CHANNELS.PY
info & export Channels export
– *.out for specific channel
Channels Information type (VOLT, ANGL,…)
– *.out for specific channel – Export to *.dat or *.xls
type (VOLT, ANGL,…)
PUBLIC 7
CHANNELS.PY
plotting
– ‘all-in-one’ plot
– p.u. plotting
PUBLIC 8
CHANNELS.PY ‘all-in-one’ plot
plotting - 2
p.u. plotting
Limit line
PUBLIC 9
CHANNELS.PY
plotting - 3
plot + profile
PUBLIC 10
CHANNELS.PY
plotting – 4 comparing plots
PUBLIC 11
Thanks!
José Conto
Principal, Dynamic Studies
ERCOT System Planning
Phone: +1 (512) 248-3141
E-mail: Jose.Conto@ercot.com
12