forked from powerdata/com.powerdata.openpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PAModel.java
44 lines (36 loc) · 1.38 KB
/
PAModel.java
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
package com.powerdata.openpa;
import java.util.Set;
public interface PAModel extends PALists
{
float getSBASE() throws PAModelException;
/** Get a generic representation of a list based on its enumerated type
* @throws PAModelException */
BaseList<? extends BaseObject> getList(ListMetaType type) throws PAModelException;
/** return list of switched shunts */
SwitchedShuntList getSwitchedShunts() throws PAModelException;
/** return the islands */
IslandList getIslands() throws PAModelException;
/** refresh the island list to reflect changes to topology or generator state */
IslandList refreshIslands() throws PAModelException;
/** get Areas */
AreaList getAreas() throws PAModelException;
/** get owners */
OwnerList getOwners() throws PAModelException;
/** get Substations */
StationList getStations() throws PAModelException;
/** get Voltage Levels */
VoltageLevelList getVoltageLevels() throws PAModelException;
/** get Single Bus view of nodes interconnected by closed switches */
BusList getSingleBus() throws PAModelException;
GroupList createGroups(BusGrpMap map);
/**
* Get a set of changes made to the model
*
* @return Set of ColChange objects representing changes to the model
*/
Set<ColChange> getChanges();
/** clear changes */
void clearChanges();
// TODO: Check if this is really what we want to do
long refresh() throws PAModelException;
}