Comparison#
module wntr.network.controls
- class Comparison[source]#
Bases:
Enum
An enum class for comparison operators.
Enum Members
greater than
greater than or equal to
less than
less than or equal to
equal to
not equal to
- eq = (5, <ufunc 'equal'>)#
- property func#
The function call to use for this comparison
- ge = (2, <ufunc 'greater_equal'>)#
- gt = (1, <ufunc 'greater'>)#
- le = (4, <ufunc 'less_equal'>)#
- lt = (3, <ufunc 'less'>)#
- ne = (6, <ufunc 'not_equal'>)#
- property symbol#
- property text#