GridFriendly2Sensor Class Reference

#include <GridWise2.h>

Inheritance diagram for GridFriendly2Sensor:
Sensor

List of all members.

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.

Detailed Description

This is a model of a sensor that triggers action in a GridFriendlyLoad2.

Definition at line 63 of file GridWise2.h.


Member Enumeration Documentation

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.


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

Generated on 17 Jul 2013 by  doxygen 1.6.1