#include <ElectricalSensorInterface.h>
Public Member Functions | |
| virtual Complex | getVoltage (unsigned bus)=0 |
| Get the complex voltage at the specified bus. | |
| virtual double | getBusAngle (unsigned bus)=0 |
| Get the voltage angle at a bus. | |
| virtual double | getGenrFreq (unsigned genr_number)=0 |
| Get the frequency in radians at the specified generator. | |
| virtual double | getRealGenrPower (unsigned genr_number)=0 |
| Get the real power output at the specified generator. | |
| virtual double | getBusFreq (unsigned bus)=0 |
| Get the frequency at a load. | |
| virtual Complex | getLoadPower (unsigned bus)=0 |
| Get the complex power demanded at the bus. | |
| virtual bool | genrOffLine (unsigned genr_number)=0 |
| Is the generator offline? | |
| virtual double | getVoltageWaveform (unsigned bus) |
| virtual | ~ElectricalSensorInterface () |
| Destructor. | |
This is an interface for accessing the state variables of the electrical model.
Definition at line 10 of file ElectricalSensorInterface.h.
| virtual double ElectricalSensorInterface::getVoltageWaveform | ( | unsigned | bus | ) | [inline, virtual] |
Calculate the time varying voltage waveform at a bus. This should approximate the raw voltage signal that would be observed by voltage sensor attached to that bus. The default throws a adevs::method_not_supported exception.
Reimplemented in ElectricalModel.
Definition at line 34 of file ElectricalSensorInterface.h.
1.6.1