Power System Platform  2024w23a
Loading...
Searching...
No Matches
BusElectricalData Struct Reference

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
 
std::vector< std::complex< double > > stabVoltageVector
 
bool plotPQData = false
 
std::vector< int > harmonicOrder
 
std::vector< std::complex< double > > harmonicVoltage
 
double thd = 0.0
 
std::vector< double > absImpedanceVector
 

Member Data Documentation

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

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

The documentation for this struct was generated from the following file: