Power System Platform  2018w15a
Classes | Enumerations
PowerElement.h File Reference
#include "Element.h"
#include "ElementPlotData.h"
Include dependency graph for PowerElement.h:
This graph shows which files directly or indirectly include this file:

Classes

class  SwitchingData
 Switching data of power elements. More...
 
class  IntegrationConstant
 Integration constants to calculate dynamic elements through trapezoidal integration method. More...
 
class  PowerElement
 Abstract class of power elements. More...
 

Enumerations

enum  ElectricalUnit {
  UNIT_PU = 0, UNIT_V, UNIT_kV, UNIT_A,
  UNIT_kA, UNIT_W, UNIT_kW, UNIT_MW,
  UNIT_VA, UNIT_kVA, UNIT_MVA, UNIT_VAr,
  UNIT_kVAr, UNIT_MVAr, UNIT_OHM, UNIT_OHM_km,
  UNIT_S, UNIT_S_km, UNIT_DEGREE, UNIT_RADIAN
}
 Electrical units. More...
 
enum  FaultData {
  FAULT_THREEPHASE = 0, FAULT_2LINE, FAULT_2LINE_GROUND, FAULT_LINE_GROUND,
  FAULT_LINE_A, FAULT_LINE_B, FAULT_LINE_C
}
 Information about fault (type and location). More...
 
enum  SwitchingType { SW_INSERT = 0, SW_REMOVE }
 Type of switching. More...
 
enum  PowerFlowDirection {
  PF_NONE = 0, PF_TO_BUS, PF_TO_ELEMENT, PF_BUS1_TO_BUS2,
  PF_BUS2_TO_BUS1
}
 Direction of power flow arrows. More...
 

Enumeration Type Documentation

◆ ElectricalUnit

Electrical units.

Enumerator
UNIT_PU 

Per unit (p.u.)

UNIT_V 

Volt

UNIT_kV 

Kilovolts

UNIT_A 

Ampere

UNIT_kA 

Kiloampere

UNIT_W 

Watts

UNIT_kW 

Kilowatts

UNIT_MW 

Megawatts

UNIT_VA 

Volt-ampere

UNIT_kVA 

Kilovolt-ampere

UNIT_MVA 

Megavolt-ampere

UNIT_VAr 

Volt-ampere reactive

UNIT_kVAr 

Kilovolt-ampere reactive

UNIT_MVAr 

Megavolt-ampere reactive

UNIT_OHM 

Ohm

UNIT_OHM_km 

Ohm/km

UNIT_S 

Siemens

UNIT_S_km 

Siemens/km

UNIT_DEGREE 

Degree

UNIT_RADIAN 

Radian

◆ FaultData

enum FaultData

Information about fault (type and location).

Enumerator
FAULT_THREEPHASE 

Three-phase fault

FAULT_2LINE 

Line-to-line fault

FAULT_2LINE_GROUND 

Double line-to-ground fault

FAULT_LINE_GROUND 

Line-to-ground fault

FAULT_LINE_A 

Fault on phase A or phase AB

FAULT_LINE_B 

Fault on phase B or phase BC

FAULT_LINE_C 

Fault on phase C or phase CA

◆ PowerFlowDirection

Direction of power flow arrows.

Enumerator
PF_NONE 

No direction (no arrows printed)

PF_TO_BUS 

Element to bus

PF_TO_ELEMENT 

Bus to element

PF_BUS1_TO_BUS2 

First bus to secont bus (branch elements)

PF_BUS2_TO_BUS1 

Second bus to first bus (branch elements)

◆ SwitchingType

Type of switching.

Enumerator
SW_INSERT 

Insert element

SW_REMOVE 

Remove element