wntr.network.controls#
The wntr.network.controls module includes methods to define network controls and control actions. These controls modify parameters in the network during simulation.
Classes
| Combine two WNTR Conditions with an AND | |
| A base class for deriving new control actions. | |
| An enum class for comparison operators. | |
| A class for controls. | |
| A general class for specifying a control action that simply modifies the attribute of an object (target). | |
| This is the base class for all control objects. | |
| A base class for control conditions | |
| An enum class for control priorities. | |
| A ControlCondition which calls a function to determine if the control needs activated or not. | |
| A base class for observers in the observer design pattern. | |
| Combine two WNTR Conditions with an OR. | |
| Compare attributes of two different objects (e.g., levels from tanks 1 and 2) This type of condition does not work with the EpanetSimulator, only the WNTRSimulator. | |
| A very general and flexible class for defining both controls rules. | |
| Condition based on time since start of the simulation. | |
| A subject base class for the observer design pattern | |
| A special type of ValueCondition for tank levels/heads/pressures. | |
| Time-of-day or "clocktime" based condition statement. | |
| Compare a network element attribute to a set value. | 
 
    
