Power System Platform  2026w34a-beta
Loading...
Searching...
No Matches
BusElectricalData Struct Reference
Collaboration diagram for BusElectricalData:

Public Attributes

int number = 0
wxString name = ""
double nominalVoltage = 138.0
ElectricalUnit nominalVoltageUnit = ElectricalUnit::UNIT_kV
bool isVoltageControlled = false
double controlledVoltage = 1.0
int controlledVoltageUnitChoice = 0
bool slackBus = false
bool isConnected = true
std::complex< double > voltage = std::complex<double>(1.0, 0.0)
std::complex< double > power = std::complex<double>(0.0, 0.0)
int busType = 2
bool hasFault = false
FaultData faultType = FaultData::FAULT_THREEPHASE
FaultData faultLocation = FaultData::FAULT_LINE_A
double faultResistance = 0.0
double faultReactance = 0.0
std::complex< double > faultCurrent [3]
std::complex< double > faultVoltage [3]
double scPower = 0.0
bool plotBus = false
bool stabHasFault = false
double stabFaultTime = 0.0
double stabFaultLength = 0.0
double stabFaultResistance = 0.0
double stabFaultReactance = 0.0
double oldAngle = 0.0
double filteredAngle = 0.0
double dxt = 0.0
double filteredVelocity = 0.0
double ddw = 0.0
double stabFreq = 60.0
std::vector< std::complex< double > > stabVoltageVector
std::vector< double > stabFreqVector
bool plotPQData = false
std::vector< int > harmonicOrder
std::vector< std::complex< double > > harmonicVoltage
double thd = 0.0
std::vector< double > absImpedanceVector
std::vector< std::complex< double > > complexImpedanceVector
ArcFlashData arcFlash

Detailed Description

Definition at line 69 of file Bus.h.

Member Data Documentation

◆ absImpedanceVector

std::vector<double> BusElectricalData::absImpedanceVector

Definition at line 120 of file Bus.h.

◆ arcFlash

ArcFlashData BusElectricalData::arcFlash

Definition at line 124 of file Bus.h.

◆ busType

int BusElectricalData::busType = 2

Definition at line 83 of file Bus.h.

◆ complexImpedanceVector

std::vector< std::complex<double> > BusElectricalData::complexImpedanceVector

Definition at line 121 of file Bus.h.

◆ controlledVoltage

double BusElectricalData::controlledVoltage = 1.0

Definition at line 75 of file Bus.h.

◆ controlledVoltageUnitChoice

int BusElectricalData::controlledVoltageUnitChoice = 0

Definition at line 76 of file Bus.h.

◆ ddw

double BusElectricalData::ddw = 0.0

Definition at line 109 of file Bus.h.

◆ dxt

double BusElectricalData::dxt = 0.0

Definition at line 107 of file Bus.h.

◆ faultCurrent

std::complex<double> BusElectricalData::faultCurrent[3]
Initial value:
= { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0) }

Definition at line 92 of file Bus.h.

92 { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
93 std::complex<double>(0.0, 0.0) };

◆ faultLocation

FaultData BusElectricalData::faultLocation = FaultData::FAULT_LINE_A

Definition at line 88 of file Bus.h.

◆ faultReactance

double BusElectricalData::faultReactance = 0.0

Definition at line 91 of file Bus.h.

◆ faultResistance

double BusElectricalData::faultResistance = 0.0

Definition at line 90 of file Bus.h.

◆ faultType

FaultData BusElectricalData::faultType = FaultData::FAULT_THREEPHASE

Definition at line 87 of file Bus.h.

◆ faultVoltage

std::complex<double> BusElectricalData::faultVoltage[3]
Initial value:
= { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0) }

Definition at line 94 of file Bus.h.

94 { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
95 std::complex<double>(0.0, 0.0) };

◆ filteredAngle

double BusElectricalData::filteredAngle = 0.0

Definition at line 106 of file Bus.h.

◆ filteredVelocity

double BusElectricalData::filteredVelocity = 0.0

Definition at line 108 of file Bus.h.

◆ harmonicOrder

std::vector<int> BusElectricalData::harmonicOrder

Definition at line 116 of file Bus.h.

◆ harmonicVoltage

std::vector< std::complex<double> > BusElectricalData::harmonicVoltage

Definition at line 117 of file Bus.h.

◆ hasFault

bool BusElectricalData::hasFault = false

Definition at line 86 of file Bus.h.

◆ isConnected

bool BusElectricalData::isConnected = true

Definition at line 78 of file Bus.h.

◆ isVoltageControlled

bool BusElectricalData::isVoltageControlled = false

Definition at line 74 of file Bus.h.

◆ name

wxString BusElectricalData::name = ""

Definition at line 71 of file Bus.h.

◆ nominalVoltage

double BusElectricalData::nominalVoltage = 138.0

Definition at line 72 of file Bus.h.

◆ nominalVoltageUnit

ElectricalUnit BusElectricalData::nominalVoltageUnit = ElectricalUnit::UNIT_kV

Definition at line 73 of file Bus.h.

◆ number

int BusElectricalData::number = 0

Definition at line 70 of file Bus.h.

◆ oldAngle

double BusElectricalData::oldAngle = 0.0

Definition at line 105 of file Bus.h.

◆ plotBus

bool BusElectricalData::plotBus = false

Definition at line 99 of file Bus.h.

◆ plotPQData

bool BusElectricalData::plotPQData = false

Definition at line 115 of file Bus.h.

◆ power

std::complex<double> BusElectricalData::power = std::complex<double>(0.0, 0.0)

Definition at line 82 of file Bus.h.

◆ scPower

double BusElectricalData::scPower = 0.0

Definition at line 96 of file Bus.h.

◆ slackBus

bool BusElectricalData::slackBus = false

Definition at line 77 of file Bus.h.

◆ stabFaultLength

double BusElectricalData::stabFaultLength = 0.0

Definition at line 102 of file Bus.h.

◆ stabFaultReactance

double BusElectricalData::stabFaultReactance = 0.0

Definition at line 104 of file Bus.h.

◆ stabFaultResistance

double BusElectricalData::stabFaultResistance = 0.0

Definition at line 103 of file Bus.h.

◆ stabFaultTime

double BusElectricalData::stabFaultTime = 0.0

Definition at line 101 of file Bus.h.

◆ stabFreq

double BusElectricalData::stabFreq = 60.0

Definition at line 110 of file Bus.h.

◆ stabFreqVector

std::vector<double> BusElectricalData::stabFreqVector

Definition at line 112 of file Bus.h.

◆ stabHasFault

bool BusElectricalData::stabHasFault = false

Definition at line 100 of file Bus.h.

◆ stabVoltageVector

std::vector<std::complex<double> > BusElectricalData::stabVoltageVector

Definition at line 111 of file Bus.h.

◆ thd

double BusElectricalData::thd = 0.0

Definition at line 118 of file Bus.h.

◆ voltage

std::complex<double> BusElectricalData::voltage = std::complex<double>(1.0, 0.0)

Definition at line 81 of file Bus.h.


The documentation for this struct was generated from the following file:
  • Project/elements/powerElement/Bus.h