#include <BusVoltageListener.h>
Public Member Functions | |
BusVoltageListener (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) |
This listener records voltage at all of the loads.
Definition at line 10 of file BusVoltageListener.h.
BusVoltageListener::BusVoltageListener | ( | ElectricalModel * | model, | |
double | cint = 1E-1 , |
|||
std::string | model_name = "" | |||
) |
The listener will record bus voltage magnitudes from the provided ElectricalModel model. Values are recorded at most at intervals cint. Data is stored in model_name+"_all_volts.dat". The output data is in p.u. volts.