OrCondition#
module wntr.network.controls
- class OrCondition[source]#
Bases:
ControlCondition
Combine two WNTR Conditions with an OR.
- 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