Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
ElectricCalculation.h File Reference

Go to the source code of this file.

Classes

struct  ReactiveLimits
 Stores reactive power limits and their status for a bus. More...
 
struct  ReactiveMachine
 Auxiliary structure used to distribute reactive power among machines connected to a bus. More...
 
class  ElectricCalculation
 Base class for electrical calculations providing general utility methods. More...
 

Enumerations

enum  BusType { BUS_SLACK = 0 , BUS_PV , BUS_PQ }
 Types of buses used in power flow analysis. More...
 
enum  ReactiveLimitsType {
  RL_UNLIMITED = 0 , RL_LIMITED , RL_UNLIMITED_SOURCE , RL_MAX_REACHED ,
  RL_MIN_REACHED , RL_NONE_REACHED
}
 Types of reactive power limit conditions for buses. More...
 
enum  YBusSequence { POSITIVE_SEQ = 0 , NEGATIVE_SEQ , ZERO_SEQ }
 Sequence type used when building the system admittance matrix. More...
 

Enumeration Type Documentation

◆ BusType

enum BusType

Types of buses used in power flow analysis.

Enumerator
BUS_SLACK 

Slack (reference) bus. Voltage magnitude and angle are specified.

BUS_PV 

PV bus (generator bus). Active power and voltage magnitude are specified.

BUS_PQ 

PQ bus (load bus). Active and reactive powers are specified.

Definition at line 44 of file ElectricCalculation.h.

44 {
45 BUS_SLACK = 0,
46 BUS_PV,
47 BUS_PQ
48};
@ BUS_SLACK

◆ ReactiveLimitsType

Types of reactive power limit conditions for buses.

Enumerator
RL_UNLIMITED 

The bus can generate any amount of reactive power.

RL_LIMITED 

The bus reactive power generation is limited.

RL_UNLIMITED_SOURCE 

The bus has at least one source capable of unlimited reactive power.

RL_MAX_REACHED 

Maximum reactive power limit reached.

RL_MIN_REACHED 

Minimum reactive power limit reached.

RL_NONE_REACHED 

No reactive power limits reached.

Definition at line 54 of file ElectricCalculation.h.

54 {
55 RL_UNLIMITED = 0,
61};
@ RL_MAX_REACHED
@ RL_MIN_REACHED
@ RL_NONE_REACHED
@ RL_LIMITED
@ RL_UNLIMITED
@ RL_UNLIMITED_SOURCE

◆ YBusSequence

Sequence type used when building the system admittance matrix.

Enumerator
POSITIVE_SEQ 

Positive sequence admittance matrix.

NEGATIVE_SEQ 

Negative sequence admittance matrix.

ZERO_SEQ 

Zero sequence admittance matrix.

Definition at line 67 of file ElectricCalculation.h.

67 {
68 POSITIVE_SEQ = 0,
71};
@ POSITIVE_SEQ
@ NEGATIVE_SEQ