#include <GridWise2.h>
Public Types | |
enum | Direction { UP, DOWN } |
Public Member Functions | |
GridFriendly2Sensor (GridFriendly2Load *actuator, Direction dir, int *freq_pos) | |
void | trip (ElectricalSensorInterface *evars) |
Method called when the sensor trips. | |
double | distFromTrip (ElectricalSensorInterface *evars) |
Distance (in freq) to the tripping or reset point. | |
Direction | getDirection () const |
Get the frequency in p.u. when the sensor last tripped. | |
~GridFriendly2Sensor () | |
Destructor. | |
Static Public Member Functions | |
static void | makeSensors (GridFriendly2Load *actuator, GridFriendly2Sensor **up, GridFriendly2Sensor **down) |
Make a linked pair of UP/DOWN sensors. |
This is a model of a sensor that triggers action in a GridFriendlyLoad2.
Definition at line 63 of file GridWise2.h.
These sensors trip at regular intervals. Each load has two sensors, one for the frequency going up and the other for the frequency going down.
Definition at line 72 of file GridWise2.h.