Power System Platform  2024w23a
Loading...
Searching...
No Matches
PowerElement.h File Reference
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 class  ElectricalUnit : int {
  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 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

◆ ElectricalUnit

enum class ElectricalUnit : int
strong

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 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

◆ PlotStudy

enum class PlotStudy : int
strong
Enumerator
STABILITY 

Stability studies

FREQRESPONSE 

Frequency resonse (Harmonics)

◆ 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)

◆ SwitchingType

enum class SwitchingType : int
strong

Type of switching.

Enumerator
SW_INSERT 

Insert element

SW_REMOVE 

Remove element