ENgetpremise {epanet2toolkit} | R Documentation |
Gets the properties of a premise in a rule-based control.
Description
Gets the properties of a premise in a rule-based control.
Usage
ENgetpremise(ruleIndex, premiseIndex)
Arguments
ruleIndex |
the rule's index (starting from 1). |
premiseIndex |
the position of the premise in the rule's list of premises (starting from 1). |
Value
list with components:
- logop
the premise's logical operator ( IF = 1, AND = 2, OR = 3 )
- object
the type of object the premise refers to
- objIndex
the index of the object (e.g. the index of a tank)
- variable
the object's variable being compared
- relop
the premise's comparison operator
- status
the status that the object's status is compared to
- value
the value that the object's variable is compared to
[Package epanet2toolkit version 1.0.5 Index]