30 enum ControlType {TANK_LEVEL, PRESSURE_LEVEL, ELAPSED_TIME, TIME_OF_DAY,
32 enum StatusType {CLOSED_STATUS, OPEN_STATUS, NO_STATUS};
33 enum LevelType {LOW_LEVEL, HI_LEVEL, NO_LEVEL};
36 Control(
int type_, std::string name_);
40 static void applyPressureControls(
Network* network);
54 std::string toStr(
Network* network);
57 void convertUnits(
Network* network);
64 int timeToActivate(
Network* network,
int t,
int tod);
67 void apply(
Network* network,
int t,
int tod);
81 bool activate(
bool makeChange, std::ostream& msgLog);
Abstract parent class for all pipe network components.
Definition: element.h:19
Describes the Element class.
A connection point between links in a network.
Definition: node.h:30
A fixed head Node with storage volume.
Definition: tank.h:27
A class that controls pumps and valves based on a single condition.
Definition: control.h:27
Contains the data elements that describe a pipe network.
Definition: network.h:41
A conveyance element that connects two nodes together.
Definition: link.h:30