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