The functions GetEquipment, GetRelay, GetBusEquipment, plus several other PowerScript functions require you to enter an equipment type code to identify the object type of interest. The complete type code list is in the table 3.2.
NOTE: Items in table 3.2 and 3.3 that are shownwith underlined type are new in OneLiner Version14
Table 3.2. List of PowerScript equipment type
codes
Equipment type |
Code |
Bus |
TC_BUS |
Load |
TC_LOAD |
Load unit |
TC_LOADUNIT |
Shunt |
TC_SHUNT |
Shunt unit |
TC_SHUNTUNIT |
Generator |
TC_GEN |
Generator unit |
TC_GENUNIT |
Switched shunt |
TC_SVD |
Branch connection |
TC_BRANCH |
Transmission Line |
TC_LINE |
Mutual coupling pair |
TC_MU |
2-winding transformer |
TC_XFMR |
3-winding transformer |
TC_XFMR3 |
Phase shifter |
TC_PS |
Switch |
TC_SWITCH |
Series capacitor |
TC_SCAP |
System parameter |
TC_SYS |
Relay group |
TC_RLYGROUP |
Overcurrent ground relay |
TC_RLYOCG |
Overcurrent phase relay |
TC_RLYOCP |
DS ground relay |
TC_RLYDSG |
DS phase relay |
TC_RLYDSP |
Differential relay |
TC_RLYD |
Voltage relay |
TC_RLYV |
Fuse |
TC_FUSE |
Breaker |
TC_BREAKER |
Recloser - ground unit |
TC_RECLSRG |
Recloser - phase unit |
TC_RECLSRP |
Voltage controlled current source |
TC_CCGEN |
Logic scheme |
TC_SCHEME |
Power flow case |
TC_PF |
Short circuit case |
TC_SC |
First selected object on the 1-line diagram |
TC_PICKED, TC_PICKED1 |
Second and third selected object on the 1-line diagram |
TC_PICKED2, TC_PICKED3 |