ElectricalData Class Reference

#include <ElectricalData.h>

Inheritance diagram for ElectricalData:
AutoInitializingData IEEE_CDF_Data PSSE_Raw_Data

List of all members.

Classes

struct  genr_t
struct  line_t
struct  load_param_t

Public Member Functions

 ElectricalData ()
 Constructor.
virtual unsigned getGenrCount ()=0
 Get the number of generators in the model.
virtual unsigned getNodeCount ()=0
 Get the total number of nodes in the model.
virtual const std::vector
< unsigned > & 
getGenrs ()=0
 Get the list of nodes that are generation points.
virtual const std::vector
< line_t > & 
getLines ()=0
 Get the list of electrical lines.
virtual Complex getAdmittance (unsigned node)=0
virtual load_param_t getLoadParams (unsigned node)=0
virtual genr_t getGenrParams (unsigned genr)=0
void buildAdmitMatrix (AdmittanceNetwork &Y)
virtual ~ElectricalData ()
 Destructor.

Detailed Description

This inteface class is used to access electrical data for the model. The electrical model consists of buses, or nodes, labeled from 0 to N-1, where N is the number of nodes. All units are assumed to be compatible with the "p.u." system.

Definition at line 14 of file ElectricalData.h.


Member Function Documentation

void ElectricalData::buildAdmitMatrix ( AdmittanceNetwork Y  ) 

Construct an admittance network for this data and store it in the supplied Ybus which must have the appropriate size.

Definition at line 75 of file ElectricalData.cpp.

References getAdmittance(), getGenrParams(), getGenrs(), getLines(), getNodeCount(), and ElectricalData::genr_t::Xd.

Referenced by AutoInitializingData::setInitialConditions().

virtual Complex ElectricalData::getAdmittance ( unsigned  node  )  [pure virtual]

Get the Norton equivalent admittance at a load node. If there is no load, then this should return zero.

Implemented in AutoInitializingData.

Referenced by buildAdmitMatrix().

virtual genr_t ElectricalData::getGenrParams ( unsigned  genr  )  [pure virtual]

Get the parameters for a synchronous machine.

Implemented in AutoInitializingData.

Referenced by buildAdmitMatrix(), ElectricalModelEqns::getVoltageWaveform(), and ElectricalModelEqns::init().

virtual load_param_t ElectricalData::getLoadParams ( unsigned  node  )  [pure virtual]

Get the parameters for the load model.

Implemented in AutoInitializingData.

Referenced by ElectricalModelEqns::alg_func().


The documentation for this class was generated from the following files:

Generated on 17 Jul 2013 by  doxygen 1.6.1