AndCondition#
module wntr.network.controls
- class AndCondition[source]#
Bases:
ControlCondition
Combine two WNTR Conditions with an AND
- Parameters:
cond1 (ControlCondition) – The first condition
cond2 (ControlCondition) – The second condition
- requires()[source]#
Returns a set of objects required to evaluate this condition
- Returns:
required_objects
- Return type:
OrderedSet of object