Power System Platform  2026w10a-beta
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
 
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
 

Detailed Description

Definition at line 24 of file Bus.h.

Member Data Documentation

◆ absImpedanceVector

std::vector<double> BusElectricalData::absImpedanceVector

Definition at line 75 of file Bus.h.

◆ busType

int BusElectricalData::busType = 2

Definition at line 38 of file Bus.h.

◆ controlledVoltage

double BusElectricalData::controlledVoltage = 1.0

Definition at line 30 of file Bus.h.

◆ controlledVoltageUnitChoice

int BusElectricalData::controlledVoltageUnitChoice = 0

Definition at line 31 of file Bus.h.

◆ ddw

double BusElectricalData::ddw = 0.0

Definition at line 64 of file Bus.h.

◆ dxt

double BusElectricalData::dxt = 0.0

Definition at line 62 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 47 of file Bus.h.

47 { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
48 std::complex<double>(0.0, 0.0) };

◆ faultLocation

FaultData BusElectricalData::faultLocation = FaultData::FAULT_LINE_A

Definition at line 43 of file Bus.h.

◆ faultReactance

double BusElectricalData::faultReactance = 0.0

Definition at line 46 of file Bus.h.

◆ faultResistance

double BusElectricalData::faultResistance = 0.0

Definition at line 45 of file Bus.h.

◆ faultType

FaultData BusElectricalData::faultType = FaultData::FAULT_THREEPHASE

Definition at line 42 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 49 of file Bus.h.

49 { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
50 std::complex<double>(0.0, 0.0) };

◆ filteredAngle

double BusElectricalData::filteredAngle = 0.0

Definition at line 61 of file Bus.h.

◆ filteredVelocity

double BusElectricalData::filteredVelocity = 0.0

Definition at line 63 of file Bus.h.

◆ harmonicOrder

std::vector<int> BusElectricalData::harmonicOrder

Definition at line 71 of file Bus.h.

◆ harmonicVoltage

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

Definition at line 72 of file Bus.h.

◆ hasFault

bool BusElectricalData::hasFault = false

Definition at line 41 of file Bus.h.

◆ isConnected

bool BusElectricalData::isConnected = true

Definition at line 33 of file Bus.h.

◆ isVoltageControlled

bool BusElectricalData::isVoltageControlled = false

Definition at line 29 of file Bus.h.

◆ name

wxString BusElectricalData::name = ""

Definition at line 26 of file Bus.h.

◆ nominalVoltage

double BusElectricalData::nominalVoltage = 138.0

Definition at line 27 of file Bus.h.

◆ nominalVoltageUnit

ElectricalUnit BusElectricalData::nominalVoltageUnit = ElectricalUnit::UNIT_kV

Definition at line 28 of file Bus.h.

◆ number

int BusElectricalData::number = 0

Definition at line 25 of file Bus.h.

◆ oldAngle

double BusElectricalData::oldAngle = 0.0

Definition at line 60 of file Bus.h.

◆ plotBus

bool BusElectricalData::plotBus = false

Definition at line 54 of file Bus.h.

◆ plotPQData

bool BusElectricalData::plotPQData = false

Definition at line 70 of file Bus.h.

◆ power

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

Definition at line 37 of file Bus.h.

◆ scPower

double BusElectricalData::scPower = 0.0

Definition at line 51 of file Bus.h.

◆ slackBus

bool BusElectricalData::slackBus = false

Definition at line 32 of file Bus.h.

◆ stabFaultLength

double BusElectricalData::stabFaultLength = 0.0

Definition at line 57 of file Bus.h.

◆ stabFaultReactance

double BusElectricalData::stabFaultReactance = 0.0

Definition at line 59 of file Bus.h.

◆ stabFaultResistance

double BusElectricalData::stabFaultResistance = 0.0

Definition at line 58 of file Bus.h.

◆ stabFaultTime

double BusElectricalData::stabFaultTime = 0.0

Definition at line 56 of file Bus.h.

◆ stabFreq

double BusElectricalData::stabFreq = 60.0

Definition at line 65 of file Bus.h.

◆ stabFreqVector

std::vector<double> BusElectricalData::stabFreqVector

Definition at line 67 of file Bus.h.

◆ stabHasFault

bool BusElectricalData::stabHasFault = false

Definition at line 55 of file Bus.h.

◆ stabVoltageVector

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

Definition at line 66 of file Bus.h.

◆ thd

double BusElectricalData::thd = 0.0

Definition at line 73 of file Bus.h.

◆ voltage

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

Definition at line 36 of file Bus.h.


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