Sei sulla pagina 1di 12

CHANNELS

tool to rank dynamic simulation results

José Conto
Principal, Dynamic Studies
ERCOT System Planning

April 5, 2017
Dynamic Studies

Report – 20 pgs.

TPL Study Plots – 2000 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.

• Criteria - scanning channels for min, max violation, UV/OV delay


recovery, peak-to-peak and delta violation

• User sets time range to process channels (post-clearing of fault to


end), with basic f(x) to scale f-channels, Pe-channels, etc.

• Flexible option to select channels for processing

• Dependency:
Matplotlib*, numpy*, dyntools*, excelpy*, PyPDF2
(*) Installed with PSSe

PUBLIC 3
CHANNELS.PY
index – ranking of signal performance

For each OUT files and all


channels selected:

1. Detect signal going outside


Vmin, Vmax

2. Detects when signal violates


delay recovery criteria

3. Select lowest-value (or


upper-value) channels

4. ID channels that ‘tripped’

5. Plot only those channels


outside criteria

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

Yhighlimit = 1.1 OUTs\IEEE118_fault_p1_[line138_tannr


sck-madison_25-27_1].out 396 25 TANNRSCK V 138 - OVDR 0.294 1.520 6.524 1.05 5
chanminval = 5 OUTs\IEEE118_fault_p1_[line138_philo
-newcmrst_49-51_1].out 501 66 MUSKNGUM V 345 - OVDR 0.270 1.484 6.488 1.05 5
chanmaxval = 5
OUTs\IEEE118_fault_p1_[line138_field
UVDR = 0.9 ale-danville_110-112_1].out 501 66 MUSKNGUM V 345 - OVDR 0.251 1.988 6.992 1.05 5

UVDRtime= 5.0 OUTs\IEEE118_fault_p1_[line138_beav


erck-hazard_85-86_1].out 396 25 TANNRSCK V 138 - OVDR 0.249 3.464 8.468 1.05 5
OVDR = 1.05
OVDRtime= 5.0

PUBLIC 5
CHANNELS.PY
other goodies

• Flexible option to select channels (use in ranking, plotting, exporting


and channel information functions.)
ch# CHANNEL ID
7 POWR 101[NUC-A 21.600]1

• Plotting new features include all-at-once plot, p.u. plotting, comparing


(plot same channel from multiple OUTs files)

• PDF file merging

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

– *.out for specific channel type (VOLT, ANGL,…)

– ‘all-in-one’ plot

– p.u. plotting

– Limit lines & performance profiles

– Comparative plots (same channel, multiple *.out)

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

Potrebbero piacerti anche