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

Public Attributes

wxString name = ""
 
double nominalPower = 100.0
 
ElectricalUnit nominalPowerUnit = ElectricalUnit::UNIT_MVA
 
double nominalVoltage = 13.8
 
ElectricalUnit nominalVoltageUnit = ElectricalUnit::UNIT_kV
 
double activePower = 100.0
 
ElectricalUnit activePowerUnit = ElectricalUnit::UNIT_MW
 
double reactivePower = 0.0
 
ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_Mvar
 
bool haveMaxReactive = false
 
double maxReactive = 9999.0
 
ElectricalUnit maxReactiveUnit = ElectricalUnit::UNIT_Mvar
 
bool haveMinReactive = false
 
double minReactive = -9999.0
 
ElectricalUnit minReactiveUnit = ElectricalUnit::UNIT_Mvar
 
bool useMachineBase = true
 
double positiveResistance = 0.0
 
double positiveReactance = 1.0
 
double negativeResistance = 0.0
 
double negativeReactance = 1.0
 
double zeroResistance = 0.0
 
double zeroReactance = 1.0
 
double groundResistance = 0.0
 
double groundReactance = 0.0
 
bool groundNeutral = true
 
std::complex< double > faultCurrent [3]
 
bool plotSyncMachine = false
 
double inertia = 1.0
 
double damping = 0.0
 
bool useAVR = false
 
bool useSpeedGovernor = false
 
double armResistance = 0.0
 
double potierReactance = 0.0
 
double satFactor = 0.0
 
double ocFrequency = 60.0
 
double syncXd = 0.0
 
double syncXq = 0.0
 
double transXd = 1.0
 
double transXq = 0.0
 
double transTd0 = 0.0
 
double transTq0 = 0.0
 
double subXd = 0.0
 
double subXq = 0.0
 
double subTd0 = 0.0
 
double subTq0 = 0.0
 
std::complex< double > terminalVoltage
 
std::vector< double > terminalVoltageVector
 
std::complex< double > electricalPower
 
std::vector< std::complex< double > > electricalPowerVector
 
double pm
 
std::vector< double > mechanicalPowerVector
 
double speed
 
std::vector< double > freqVector
 
double fieldVoltage
 
std::vector< double > fieldVoltageVector
 
double delta
 
std::vector< double > deltaVector
 
double initialFieldVoltage
 
double tranEq
 
double tranEd
 
double subEq
 
double subEd
 
double pe
 
double id
 
double iq
 
double sd
 
double sq
 
double oldId
 
double oldIq
 
double oldPe
 
double oldSd
 
double oldSq
 
IntegrationConstant icSpeed
 
IntegrationConstant icDelta
 
IntegrationConstant icTranEq
 
IntegrationConstant icTranEd
 
IntegrationConstant icSubEq
 
IntegrationConstant icSubEd
 
ControlElementContaineravr = nullptr
 
ControlElementContainerspeedGov = nullptr
 
std::shared_ptr< ControlElementSolveravrSolver
 
std::shared_ptr< ControlElementSolverspeedGovSolver
 
Machines::SyncMachineModel model = Machines::SM_MODEL_1
 

Detailed Description

Definition at line 25 of file SyncGenerator.h.

Member Data Documentation

◆ activePower

double SyncGeneratorElectricalData::activePower = 100.0

Definition at line 32 of file SyncGenerator.h.

◆ activePowerUnit

ElectricalUnit SyncGeneratorElectricalData::activePowerUnit = ElectricalUnit::UNIT_MW

Definition at line 33 of file SyncGenerator.h.

◆ armResistance

double SyncGeneratorElectricalData::armResistance = 0.0

Definition at line 65 of file SyncGenerator.h.

◆ avr

ControlElementContainer* SyncGeneratorElectricalData::avr = nullptr

Definition at line 124 of file SyncGenerator.h.

◆ avrSolver

std::shared_ptr<ControlElementSolver> SyncGeneratorElectricalData::avrSolver

Definition at line 131 of file SyncGenerator.h.

◆ damping

double SyncGeneratorElectricalData::damping = 0.0

Definition at line 61 of file SyncGenerator.h.

◆ delta

double SyncGeneratorElectricalData::delta

Definition at line 92 of file SyncGenerator.h.

◆ deltaVector

std::vector<double> SyncGeneratorElectricalData::deltaVector

Definition at line 93 of file SyncGenerator.h.

◆ electricalPower

std::complex<double> SyncGeneratorElectricalData::electricalPower

Definition at line 84 of file SyncGenerator.h.

◆ electricalPowerVector

std::vector<std::complex<double> > SyncGeneratorElectricalData::electricalPowerVector

Definition at line 85 of file SyncGenerator.h.

◆ faultCurrent

std::complex<double> SyncGeneratorElectricalData::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 55 of file SyncGenerator.h.

55 { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
56 std::complex<double>(0.0, 0.0) };

◆ fieldVoltage

double SyncGeneratorElectricalData::fieldVoltage

Definition at line 90 of file SyncGenerator.h.

◆ fieldVoltageVector

std::vector<double> SyncGeneratorElectricalData::fieldVoltageVector

Definition at line 91 of file SyncGenerator.h.

◆ freqVector

std::vector<double> SyncGeneratorElectricalData::freqVector

Definition at line 89 of file SyncGenerator.h.

◆ groundNeutral

bool SyncGeneratorElectricalData::groundNeutral = true

Definition at line 53 of file SyncGenerator.h.

◆ groundReactance

double SyncGeneratorElectricalData::groundReactance = 0.0

Definition at line 52 of file SyncGenerator.h.

◆ groundResistance

double SyncGeneratorElectricalData::groundResistance = 0.0

Definition at line 51 of file SyncGenerator.h.

◆ haveMaxReactive

bool SyncGeneratorElectricalData::haveMaxReactive = false

Definition at line 36 of file SyncGenerator.h.

◆ haveMinReactive

bool SyncGeneratorElectricalData::haveMinReactive = false

Definition at line 39 of file SyncGenerator.h.

◆ icDelta

IntegrationConstant SyncGeneratorElectricalData::icDelta

Definition at line 117 of file SyncGenerator.h.

◆ icSpeed

IntegrationConstant SyncGeneratorElectricalData::icSpeed

Definition at line 116 of file SyncGenerator.h.

◆ icSubEd

IntegrationConstant SyncGeneratorElectricalData::icSubEd

Definition at line 121 of file SyncGenerator.h.

◆ icSubEq

IntegrationConstant SyncGeneratorElectricalData::icSubEq

Definition at line 120 of file SyncGenerator.h.

◆ icTranEd

IntegrationConstant SyncGeneratorElectricalData::icTranEd

Definition at line 119 of file SyncGenerator.h.

◆ icTranEq

IntegrationConstant SyncGeneratorElectricalData::icTranEq

Definition at line 118 of file SyncGenerator.h.

◆ id

double SyncGeneratorElectricalData::id

Definition at line 103 of file SyncGenerator.h.

◆ inertia

double SyncGeneratorElectricalData::inertia = 1.0

Definition at line 60 of file SyncGenerator.h.

◆ initialFieldVoltage

double SyncGeneratorElectricalData::initialFieldVoltage

Definition at line 95 of file SyncGenerator.h.

◆ iq

double SyncGeneratorElectricalData::iq

Definition at line 104 of file SyncGenerator.h.

◆ maxReactive

double SyncGeneratorElectricalData::maxReactive = 9999.0

Definition at line 37 of file SyncGenerator.h.

◆ maxReactiveUnit

ElectricalUnit SyncGeneratorElectricalData::maxReactiveUnit = ElectricalUnit::UNIT_Mvar

Definition at line 38 of file SyncGenerator.h.

◆ mechanicalPowerVector

std::vector<double> SyncGeneratorElectricalData::mechanicalPowerVector

Definition at line 87 of file SyncGenerator.h.

◆ minReactive

double SyncGeneratorElectricalData::minReactive = -9999.0

Definition at line 40 of file SyncGenerator.h.

◆ minReactiveUnit

ElectricalUnit SyncGeneratorElectricalData::minReactiveUnit = ElectricalUnit::UNIT_Mvar

Definition at line 41 of file SyncGenerator.h.

◆ model

Machines::SyncMachineModel SyncGeneratorElectricalData::model = Machines::SM_MODEL_1

Definition at line 135 of file SyncGenerator.h.

◆ name

wxString SyncGeneratorElectricalData::name = ""

Definition at line 27 of file SyncGenerator.h.

◆ negativeReactance

double SyncGeneratorElectricalData::negativeReactance = 1.0

Definition at line 48 of file SyncGenerator.h.

◆ negativeResistance

double SyncGeneratorElectricalData::negativeResistance = 0.0

Definition at line 47 of file SyncGenerator.h.

◆ nominalPower

double SyncGeneratorElectricalData::nominalPower = 100.0

Definition at line 28 of file SyncGenerator.h.

◆ nominalPowerUnit

ElectricalUnit SyncGeneratorElectricalData::nominalPowerUnit = ElectricalUnit::UNIT_MVA

Definition at line 29 of file SyncGenerator.h.

◆ nominalVoltage

double SyncGeneratorElectricalData::nominalVoltage = 13.8

Definition at line 30 of file SyncGenerator.h.

◆ nominalVoltageUnit

ElectricalUnit SyncGeneratorElectricalData::nominalVoltageUnit = ElectricalUnit::UNIT_kV

Definition at line 31 of file SyncGenerator.h.

◆ ocFrequency

double SyncGeneratorElectricalData::ocFrequency = 60.0

Definition at line 68 of file SyncGenerator.h.

◆ oldId

double SyncGeneratorElectricalData::oldId

Definition at line 109 of file SyncGenerator.h.

◆ oldIq

double SyncGeneratorElectricalData::oldIq

Definition at line 110 of file SyncGenerator.h.

◆ oldPe

double SyncGeneratorElectricalData::oldPe

Definition at line 111 of file SyncGenerator.h.

◆ oldSd

double SyncGeneratorElectricalData::oldSd

Definition at line 112 of file SyncGenerator.h.

◆ oldSq

double SyncGeneratorElectricalData::oldSq

Definition at line 113 of file SyncGenerator.h.

◆ pe

double SyncGeneratorElectricalData::pe

Definition at line 102 of file SyncGenerator.h.

◆ plotSyncMachine

bool SyncGeneratorElectricalData::plotSyncMachine = false

Definition at line 59 of file SyncGenerator.h.

◆ pm

double SyncGeneratorElectricalData::pm

Definition at line 86 of file SyncGenerator.h.

◆ positiveReactance

double SyncGeneratorElectricalData::positiveReactance = 1.0

Definition at line 46 of file SyncGenerator.h.

◆ positiveResistance

double SyncGeneratorElectricalData::positiveResistance = 0.0

Definition at line 45 of file SyncGenerator.h.

◆ potierReactance

double SyncGeneratorElectricalData::potierReactance = 0.0

Definition at line 66 of file SyncGenerator.h.

◆ reactivePower

double SyncGeneratorElectricalData::reactivePower = 0.0

Definition at line 34 of file SyncGenerator.h.

◆ reactivePowerUnit

ElectricalUnit SyncGeneratorElectricalData::reactivePowerUnit = ElectricalUnit::UNIT_Mvar

Definition at line 35 of file SyncGenerator.h.

◆ satFactor

double SyncGeneratorElectricalData::satFactor = 0.0

Definition at line 67 of file SyncGenerator.h.

◆ sd

double SyncGeneratorElectricalData::sd

Definition at line 105 of file SyncGenerator.h.

◆ speed

double SyncGeneratorElectricalData::speed

Definition at line 88 of file SyncGenerator.h.

◆ speedGov

ControlElementContainer* SyncGeneratorElectricalData::speedGov = nullptr

Definition at line 125 of file SyncGenerator.h.

◆ speedGovSolver

std::shared_ptr<ControlElementSolver> SyncGeneratorElectricalData::speedGovSolver

Definition at line 133 of file SyncGenerator.h.

◆ sq

double SyncGeneratorElectricalData::sq

Definition at line 106 of file SyncGenerator.h.

◆ subEd

double SyncGeneratorElectricalData::subEd

Definition at line 101 of file SyncGenerator.h.

◆ subEq

double SyncGeneratorElectricalData::subEq

Definition at line 100 of file SyncGenerator.h.

◆ subTd0

double SyncGeneratorElectricalData::subTd0 = 0.0

Definition at line 78 of file SyncGenerator.h.

◆ subTq0

double SyncGeneratorElectricalData::subTq0 = 0.0

Definition at line 79 of file SyncGenerator.h.

◆ subXd

double SyncGeneratorElectricalData::subXd = 0.0

Definition at line 76 of file SyncGenerator.h.

◆ subXq

double SyncGeneratorElectricalData::subXq = 0.0

Definition at line 77 of file SyncGenerator.h.

◆ syncXd

double SyncGeneratorElectricalData::syncXd = 0.0

Definition at line 70 of file SyncGenerator.h.

◆ syncXq

double SyncGeneratorElectricalData::syncXq = 0.0

Definition at line 71 of file SyncGenerator.h.

◆ terminalVoltage

std::complex<double> SyncGeneratorElectricalData::terminalVoltage

Definition at line 82 of file SyncGenerator.h.

◆ terminalVoltageVector

std::vector<double> SyncGeneratorElectricalData::terminalVoltageVector

Definition at line 83 of file SyncGenerator.h.

◆ tranEd

double SyncGeneratorElectricalData::tranEd

Definition at line 99 of file SyncGenerator.h.

◆ tranEq

double SyncGeneratorElectricalData::tranEq

Definition at line 98 of file SyncGenerator.h.

◆ transTd0

double SyncGeneratorElectricalData::transTd0 = 0.0

Definition at line 74 of file SyncGenerator.h.

◆ transTq0

double SyncGeneratorElectricalData::transTq0 = 0.0

Definition at line 75 of file SyncGenerator.h.

◆ transXd

double SyncGeneratorElectricalData::transXd = 1.0

Definition at line 72 of file SyncGenerator.h.

◆ transXq

double SyncGeneratorElectricalData::transXq = 0.0

Definition at line 73 of file SyncGenerator.h.

◆ useAVR

bool SyncGeneratorElectricalData::useAVR = false

Definition at line 62 of file SyncGenerator.h.

◆ useMachineBase

bool SyncGeneratorElectricalData::useMachineBase = true

Definition at line 42 of file SyncGenerator.h.

◆ useSpeedGovernor

bool SyncGeneratorElectricalData::useSpeedGovernor = false

Definition at line 63 of file SyncGenerator.h.

◆ zeroReactance

double SyncGeneratorElectricalData::zeroReactance = 1.0

Definition at line 50 of file SyncGenerator.h.

◆ zeroResistance

double SyncGeneratorElectricalData::zeroResistance = 0.0

Definition at line 49 of file SyncGenerator.h.


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