Power System Platform  2026w23a-beta
Loading...
Searching...
No Matches
PowerElement.h File Reference

Go to the source code of 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 class  FaultData : int {
  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 class  SwitchingType : int { SW_INSERT = 0 , SW_REMOVE }
 Type of switching. More...
 
enum class  PowerFlowDirection : int {
  PF_NONE = 0 , PF_TO_BUS , PF_TO_ELEMENT , PF_BUS1_TO_BUS2 ,
  PF_BUS2_TO_BUS1
}
 Direction of power flow arrows. More...
 
enum class  PlotStudy : int { STABILITY = 0 , FREQRESPONSE }
 

Enumeration Type Documentation

◆ FaultData

enum class FaultData : int
strong

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

Definition at line 28 of file PowerElement.h.

◆ PlotStudy

enum class PlotStudy : int
strong
Enumerator
STABILITY 

Stability studies

FREQRESPONSE 

Frequency resonse (Harmonics)

Definition at line 59 of file PowerElement.h.

59 : int {
60 STABILITY = 0,
62};

◆ PowerFlowDirection

enum class PowerFlowDirection : int
strong

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)

Definition at line 51 of file PowerElement.h.

◆ SwitchingType

enum class SwitchingType : int
strong

Type of switching.

Enumerator
SW_INSERT 

Insert element

SW_REMOVE 

Remove element

Definition at line 42 of file PowerElement.h.

42 : int {
43 SW_INSERT = 0,
45};