ElectricalModel Class Reference

#include <ElectricalModel.h>

Inheritance diagram for ElectricalModel:
ElectricalSensorInterface

List of all members.

Public Member Functions

 ElectricalModel (ElectricalModelEqns *eqns, double h_max=1E-3)
Complex getVoltage (unsigned bus)
 Get the complex voltage at the specified bus.
double getBusAngle (unsigned bus)
 Get the voltage angle at a bus.
double getGenrFreq (unsigned genr_number)
 Get the frequency in radians at the specified generator.
double getRealGenrPower (unsigned genr_number)
 Get the real power output of the generator.
double getBusFreq (unsigned bus)
 Get the bus frequency.
bool genrOffLine (unsigned genr_number)
 Is the generator offline?
Complex getLoadPower (unsigned bus)
 Get power consumed at the bus.
double getVoltageWaveform (unsigned bus)
 Get the approximate voltage waveform at the bus.
ElectricalDatagetElectricalData ()
 Get the electrical data associated with this model.
ElectricalModelEqnsgetDynamicModel ()
 Get the dynamic equations.
double getErrTol () const
 Get the error tolerance for the numerical integrator.
 ~ElectricalModel ()
 Destructor.

Detailed Description

This is an atomic model to contain and simulate an ElectricalModelEqns object. Coupling should be done using the ports from the ElectricalModelEqns class.

Definition at line 15 of file ElectricalModel.h.


Constructor & Destructor Documentation

ElectricalModel::ElectricalModel ( ElectricalModelEqns eqns,
double  h_max = 1E-3 
)

The ElectricalModelEqns are adopted by the ElectricalModel and are destroyed when it is. If h_max is provided, it will be used as the largest time step for the numerical integration algorithm.

Definition at line 6 of file ElectricalModel.cpp.


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

Generated on 17 Jul 2013 by  doxygen 1.6.1