BusPowerListener Class Reference

#include <BusPowerListener.h>

List of all members.

Public Member Functions

 BusPowerListener (ElectricalModel *model, double cint=1E-1, std::string model_name="")
void outputEvent (adevs::Event< adevs::PortValue< BasicEvent * > >, double)
void stateChange (adevs::Atomic< adevs::PortValue< BasicEvent * > > *model, double t)

Detailed Description

This listener records real and reactive demand for power at the loads.

Definition at line 11 of file BusPowerListener.h.


Constructor & Destructor Documentation

BusPowerListener::BusPowerListener ( ElectricalModel model,
double  cint = 1E-1,
std::string  model_name = "" 
)

The listener will record power demand at the buses in the provided ElectricalModel model. Values are recorded at most at intervals cint. Data is stored in model_name+"_all_P.dat". and model_name+"_all_Q.dat".


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

Generated on 17 Jul 2013 by  doxygen 1.6.1