deltaFlow
BusData Struct Reference

Contains all relevant data for each bus in the power system. More...

#include <Data.H>

Public Attributes

Eigen::VectorXi ID
 Bus numbers.
 
std::vector< std::string > Name
 Bus names.
 
Eigen::VectorXi Type
 Bus type (1=Slack, 2=PV, 3=PQ)
 
Eigen::VectorXd V
 Voltage magnitude [p.u.].
 
Eigen::VectorXd delta
 Voltage angle [rad or deg].
 
Eigen::VectorXd Pg
 Active power generation [MW or p.u.].
 
Eigen::VectorXd Qg
 Reactive power generation [MVAr or p.u.].
 
Eigen::VectorXd Pl
 Active power load [MW or p.u.].
 
Eigen::VectorXd Ql
 Reactive power load [MVAr or p.u.].
 
Eigen::VectorXd Qgmax
 Max reactive power generation [MVAr or p.u.].
 
Eigen::VectorXd Qgmin
 Min reactive power generation [MVAr or p.u.].
 
Eigen::VectorXd Gs
 Shunt conductance ($$ G_{sh} $$) [p.u.].
 
Eigen::VectorXd Bs
 Shunt susceptance ($$ B_{sh} $$) [p.u.].
 

Detailed Description

Contains all relevant data for each bus in the power system.

  • ID: Integer bus numbers.
  • Name: String names of buses.
  • Type: Integer codes for bus type (e.g., 1=Slack, 2=PV, 3=PQ).
  • V: Voltage magnitude (p.u.).
  • delta: Voltage angle (radians or degrees).
  • Pg: Active power generation (MW or p.u.).
  • Qg: Reactive power generation (MVAr or p.u.).
  • Pl: Active power load (MW or p.u.).
  • Ql: Reactive power load (MVAr or p.u.).
  • Qgmax: Maximum reactive power generation.
  • Qgmin: Minimum reactive power generation.
  • Gs: Shunt conductance ($$ G_{sh} $$, p.u.).
  • Bs: Shunt susceptance ($$ B_{sh} $$, p.u.).

Definition at line 55 of file Data.H.

Member Data Documentation

◆ Bs

Eigen::VectorXd BusData::Bs

Shunt susceptance ($$ B_{sh} $$) [p.u.].

Definition at line 69 of file Data.H.

◆ delta

Eigen::VectorXd BusData::delta

Voltage angle [rad or deg].

Definition at line 61 of file Data.H.

◆ Gs

Eigen::VectorXd BusData::Gs

Shunt conductance ($$ G_{sh} $$) [p.u.].

Definition at line 68 of file Data.H.

◆ ID

Eigen::VectorXi BusData::ID

Bus numbers.

Definition at line 56 of file Data.H.

◆ Name

std::vector<std::string> BusData::Name

Bus names.

Definition at line 57 of file Data.H.

◆ Pg

Eigen::VectorXd BusData::Pg

Active power generation [MW or p.u.].

Definition at line 62 of file Data.H.

◆ Pl

Eigen::VectorXd BusData::Pl

Active power load [MW or p.u.].

Definition at line 64 of file Data.H.

◆ Qg

Eigen::VectorXd BusData::Qg

Reactive power generation [MVAr or p.u.].

Definition at line 63 of file Data.H.

◆ Qgmax

Eigen::VectorXd BusData::Qgmax

Max reactive power generation [MVAr or p.u.].

Definition at line 66 of file Data.H.

◆ Qgmin

Eigen::VectorXd BusData::Qgmin

Min reactive power generation [MVAr or p.u.].

Definition at line 67 of file Data.H.

◆ Ql

Eigen::VectorXd BusData::Ql

Reactive power load [MVAr or p.u.].

Definition at line 65 of file Data.H.

◆ Type

Eigen::VectorXi BusData::Type

Bus type (1=Slack, 2=PV, 3=PQ)

Definition at line 58 of file Data.H.

◆ V

Eigen::VectorXd BusData::V

Voltage magnitude [p.u.].

Definition at line 60 of file Data.H.


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