-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathGroupListIfc.java
More file actions
114 lines (97 loc) · 2.91 KB
/
GroupListIfc.java
File metadata and controls
114 lines (97 loc) · 2.91 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
package com.powerdata.openpa;
/*
* Copyright (c) 2016, PowerData Corporation, Incremental Systems Corporation
* All rights reserved.
* Licensed under the BSD-3 Clause License.
* See full license at https://powerdata.github.io/openpa/LICENSE.md
*/
public interface GroupListIfc<T extends Group> extends BaseList<T>
{
/**
* Get Buses contained in group
* @param ndx group index
* @return Buses contained in group
*/
BusList getBuses(int ndx) throws PAModelException;
/**
* Get Switches contained in group
* @param ndx group index
* @return Switches contained in group
*/
SwitchList getSwitches(int ndx) throws PAModelException;
/**
* Get Lines contained in group
* @param ndx group index
* @return Lines contained in group
*/
LineList getLines(int ndx) throws PAModelException;
/**
* Get Series Reactors contained in group
* @param ndx group index
* @return Series Reactors contained in group
*/
SeriesReacList getSeriesReactors(int ndx) throws PAModelException;
/**
* Get Series Capacitors contained in group
* @param ndx group index
* @return Series Capacitors contained in group
*/
SeriesCapList getSeriesCapacitors(int ndx) throws PAModelException;
/**
* Get Transformers contained in group
* @param ndx group index
* @return Transformers contained in group
*/
TransformerList getTransformers(int ndx) throws PAModelException;
/**
* Get Phase Shifters contained in group
* @param ndx group index
* @return Phase Shifters contained in group
*/
PhaseShifterList getPhaseShifters(int ndx) throws PAModelException;
/**
* Get Two-Terminal DC Lines contained in group
* @param ndx group index
* @return Two-Terminal DC Lines contained in group
*/
TwoTermDCLineList getTwoTermDCLines(int ndx) throws PAModelException;
/**
* Get Generators contained in group
* @param ndx group index
* @return Generators contained in group
*/
GenList getGenerators(int ndx) throws PAModelException;
/**
* Get Loads contained in group
* @param ndx group index
* @return Loads contained in group
*/
LoadList getLoads(int ndx) throws PAModelException;
/**
* Get Shunt Reactors contained in group
* @param ndx group index
* @return Shunt Reactors contained in group
*/
ShuntReacList getShuntReactors(int ndx) throws PAModelException;
/**
* Get Shunt Capacitors contained in group
* @param ndx group index
* @return Shunt Capacitors contained in group
*/
ShuntCapList getShuntCapacitors(int ndx) throws PAModelException;
/**
* Get Static Var Compensators contained in group
* @param ndx group index
* @return Static Var Compensators contained in group
*/
SVCList getSVCs(int ndx) throws PAModelException;
/**
* Return a group object by Bus
* @param b
* @return
* @throws PAModelException
*/
T getByBus(Bus b) throws PAModelException;
/** bulk convert a set of bus indexes to indexes of this list */
int[] translateBusIndexes(int[] indexes);
}