#include <GridWise2.h>
Public Types | |
enum | ControlType { PROP, NONLIP } |
Public Member Functions | |
GridFriendly2Load (unsigned BusID, ElectricalData *init_data) | |
unsigned | getBusID () const |
Get the BusID where this load is located. | |
void | delta_int () |
void | delta_ext (double e, const adevs::Bag< adevs::PortValue< BasicEvent * > > &xb) |
Inputs to the model are SensorEvent objects. | |
void | delta_conf (const adevs::Bag< adevs::PortValue< BasicEvent * > > &xb) |
void | output_func (adevs::Bag< adevs::PortValue< BasicEvent * > > &yb) |
Output from the model are LoadEvent objects. | |
double | ta () |
void | gc_output (adevs::Bag< adevs::PortValue< BasicEvent * > > &gc) |
This method deletes the events in the garbage list. | |
Static Public Member Functions | |
static void | setControlParams (double R, double freq_interval, double gfl_frac, ControlType control_type, double lip_exponent=0.5) |
Static Public Attributes | |
static const int | sensor_input = 1 |
Input from the sensor. | |
static const int | base_load = 2 |
LoadEvent to change the base load. | |
static adevs::rv | r |
Friends | |
class | GridFriendly2Sensor |
This is a revised form of the GridWise loads. These are designed to provide a load response that is proportional to the freq. excursion and to have a "5% droop" and recovery characteristics that are similar to a generator.
Definition at line 15 of file GridWise2.h.
GridFriendly2Load::GridFriendly2Load | ( | unsigned | BusID, | |
ElectricalData * | init_data | |||
) |
Create a node with a specified base load and percentage of grid friendly appliances.
Definition at line 26 of file GridFriendly2Load.cpp.
void GridFriendly2Load::setControlParams | ( | double | R, | |
double | freq_interval, | |||
double | gfl_frac, | |||
ControlType | control_type, | |||
double | lip_exponent = 0.5 | |||
) | [static] |
Set the parameters for the load controllers. R is the droop percentage and freq_interval is the trip interval in Hz. The gfl_frac is the fraction of load with these controllers.
Definition at line 16 of file GridFriendly2Load.cpp.